浏览代码

限制

master
张泽亮 1周前
父节点
当前提交
d1d8b2df03
共有 2 个文件被更改,包括 15 次插入9 次删除
  1. +7
    -4
      src/views/business/export/index.vue
  2. +8
    -5
      src/views/business/import/index.vue

+ 7
- 4
src/views/business/export/index.vue 查看文件

@@ -51,11 +51,10 @@
<el-col :span="1.5">
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['business:export:remove']">删除</el-button>
</el-col>
-->

<el-col :span="1.5">
<el-button type="success" plain icon="el-icon-upload2" size="mini" @click="handleImport" v-hasPermi="['business:export:import']">导入</el-button>
</el-col>
-->
<el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['business:export:export']">导出</el-button>
</el-col>
@@ -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;


+ 8
- 5
src/views/business/import/index.vue 查看文件

@@ -56,11 +56,10 @@
<el-col :span="1.5">
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['business:import:remove']">删除</el-button>
</el-col>
-->

<el-col :span="1.5">
<el-button type="success" plain icon="el-icon-upload2" size="mini" @click="handleImport" v-hasPermi="['business:import:import']">导入</el-button>
</el-col>
-->
<el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['business:import:export']">导出</el-button>
</el-col>
@@ -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;


正在加载...
取消
保存