From d1d8b2df030a37af1c98e8a06551cdfcc5ae3cfc Mon Sep 17 00:00:00 2001
From: zzl <961867786@qq.com>
Date: Mon, 8 Sep 2025 09:15:59 +0800
Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/business/export/index.vue | 11 +++++++----
src/views/business/import/index.vue | 13 ++++++++-----
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/views/business/export/index.vue b/src/views/business/export/index.vue
index 9e6801f..6428058 100644
--- a/src/views/business/export/index.vue
+++ b/src/views/business/export/index.vue
@@ -51,11 +51,10 @@
删除
- -->
-
导入
+ -->
导出
@@ -315,8 +314,8 @@ export default {
deptId: null,
deptName: null,
orgCode: null,
- fileType: null,
- coordinateSystem: null,
+ fileType: '1',
+ coordinateSystem: '2',
fileUrl: null,
taskStatus: '1',
}
@@ -340,6 +339,10 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
+ if(this.selectDeptName == null || this.selectDeptName == ''){
+ this.$modal.msgWarning("请先选择县级及以下行政区划!")
+ return
+ }
this.reset()
this.form.deptId = this.queryParams.deptId;
this.form.deptName = this.selectDeptName;
diff --git a/src/views/business/import/index.vue b/src/views/business/import/index.vue
index 05514ac..29a5976 100644
--- a/src/views/business/import/index.vue
+++ b/src/views/business/import/index.vue
@@ -56,11 +56,10 @@
删除
- -->
-
导入
+ -->
导出
@@ -346,9 +345,9 @@ export default {
deptId: null,
deptName: null,
orgCode: null,
- fileType: null,
- importType: null,
- coordinateSystem: null,
+ fileType: '1',
+ importType: '1',
+ coordinateSystem: '1',
fileUrl: null,
taskStatus: '1',
}
@@ -372,6 +371,10 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
+ if(this.selectDeptName == null || this.selectDeptName == ''){
+ this.$modal.msgWarning("请先选择县级及以下行政区划!")
+ return
+ }
this.reset()
this.open = true
this.form.deptId = this.queryParams.deptId;