diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 176ed00..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/router/index.js b/src/router/index.js index 6759f07..d35b6c8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,11 +6,11 @@ import residentAnalysis from '@/views/residentAnalysis/index.vue' Vue.use(VueRouter) const routes = [ - // { - // path: '/home', - // name: 'home', - // component: HomeView, - // }, + { + path: '/home', + name: 'home', + component: HomeView, + }, { path: '/', name: 'residentAnalysis', diff --git a/src/views/residentAnalysis/index.vue b/src/views/residentAnalysis/index.vue index 28f3fba..7e87ad3 100644 --- a/src/views/residentAnalysis/index.vue +++ b/src/views/residentAnalysis/index.vue @@ -7,7 +7,9 @@
确定
-
导出
+
+ 导出 +
json编辑
@@ -66,7 +68,14 @@ -
+
@@ -116,7 +125,7 @@
道路附属点 -
新增
+ 新增
@@ -159,7 +168,7 @@
道路附属线 -
新增
+ 新增
@@ -204,7 +213,7 @@
水系附属点 -
新增
+ 新增
@@ -247,7 +256,7 @@
水系附属线 -
新增
+ 新增
@@ -290,8 +299,8 @@ @@ -316,7 +325,6 @@ import {getStorage} from '@/utils/localStorage' import plantJson from '/public/config/plant.json' import soilJson from '/public/config/soil.json' -import FileSaver from 'file-saver' import axios from 'axios' import iniParser from 'ini-parser' @@ -1248,6 +1256,8 @@ export default { // 点击导出按钮 clickExport() { + if (this.showExport) return + this.rectangles.forEach((rectGraphic) => { this.selectRectangle(rectGraphic) }) @@ -1274,7 +1284,6 @@ export default { } ) .then((res) => { - this.$message.success(res) this.$message.success('导出成功!') }) .catch((error) => { @@ -1457,10 +1466,10 @@ export default { position: relative; top: 50%; transform: translateY(-50%); - cursor: pointer; margin-left: 32px; img { margin-right: 30px; + cursor: pointer; } } .btn { @@ -1491,6 +1500,7 @@ export default { background: #d4e5db; .title { color: #1c1c1c; + font-size: 16px; margin-bottom: 10px; } } @@ -1529,9 +1539,9 @@ export default { } .table-title { font-size: 16px; - font-weight: bold; + color: #1c1c1c; letter-spacing: 0.1em; - margin-bottom: 10px; + margin: 20px 0 10px 0; span { margin-right: 10px; }