|
|
@@ -107,9 +107,9 @@
|
|
|
|
|
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
|
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
- <el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
+ <el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
|
|
<el-row>
|
|
|
- <el-col :span="12">
|
|
|
+ <el-col :span="30">
|
|
|
<el-form-item label="归属部门" prop="orgId">
|
|
|
<treeselect v-model="form.orgId" :options="deptOptions" :show-count="true" :normalizer="tenantIdnormalizer"
|
|
|
:props="{ checkStrictly: true, label: 'name' }" placeholder="请选择归属部门" />
|
|
|
@@ -118,7 +118,7 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
|
|
- <el-col :span="12">
|
|
|
+ <el-col :span="20">
|
|
|
<el-form-item label="区域名称">
|
|
|
<el-select v-model="form.areaId" placeholder="请选择区域名称" @change="changeSelect">
|
|
|
<el-option v-for="item in roleOptions" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
|
|
@@ -128,7 +128,7 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
|
|
- <el-col :span="12">
|
|
|
+ <el-col :span="20">
|
|
|
<el-form-item label="采集点名称">
|
|
|
<el-select v-model="form.checkId" placeholder="请选择采集点名称">
|
|
|
<el-option v-for="item in checkList" :key="item.id" :label="item.checkName" :value="item.id"></el-option>
|
|
|
@@ -165,7 +165,7 @@ import tableList from '@/mixins/tableList'
|
|
|
import treeselect from '@riophae/vue-treeselect'
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
import { listBind, getBind, delBind, addBind, updateBind } from "@/api/system/bind";
|
|
|
-import { deptTreeSelect } from "@/api/system/user";
|
|
|
+import { deptTreeSelect } from "@/api/system/public";
|
|
|
import { getCheckByAreaId } from "@/api/system/check";
|
|
|
export default {
|
|
|
/** 引入基础minxins*/
|
|
|
@@ -250,8 +250,8 @@ export default {
|
|
|
},
|
|
|
changeSelect(val) {
|
|
|
getCheckByAreaId(val).then(response => {
|
|
|
+ this.form.checkId = null;
|
|
|
this.checkList = response.data;
|
|
|
-
|
|
|
})
|
|
|
},
|
|
|
/** 查询【请填写功能名称】列表 */
|