隐患排查治理系统 - 一般隐患管理支持按整改部门条件搜索
parent
0832284f06
commit
ba30331605
|
@ -101,6 +101,18 @@
|
||||||
style="width: 100%;"/>
|
style="width: 100%;"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="6">
|
||||||
|
<el-form-item label="隐患整改部门">
|
||||||
|
<SelectTree
|
||||||
|
ref="deptTree_Select"
|
||||||
|
:clearable="false"
|
||||||
|
:options="departmentTreeData"
|
||||||
|
:props="defaultProps"
|
||||||
|
v-model="form.RECTIFICATION_DEPT"
|
||||||
|
placeholder="请选择部门"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="3">
|
<el-col :span="3">
|
||||||
<el-form-item label-width="10px">
|
<el-form-item label-width="10px">
|
||||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||||
|
@ -223,6 +235,7 @@ export default {
|
||||||
total: 0,
|
total: 0,
|
||||||
varList: [],
|
varList: [],
|
||||||
treeData: [],
|
treeData: [],
|
||||||
|
departmentTreeData:[],
|
||||||
hiddenPartList: [],
|
hiddenPartList: [],
|
||||||
hiddenTypeList: [], // 隐患类型
|
hiddenTypeList: [], // 隐患类型
|
||||||
hiddenlevelList: [
|
hiddenlevelList: [
|
||||||
|
@ -266,7 +279,8 @@ export default {
|
||||||
HIDDENFIND_NAME: '',
|
HIDDENFIND_NAME: '',
|
||||||
CORPINFO_ID: '',
|
CORPINFO_ID: '',
|
||||||
HIDDEN_TYPE: '',
|
HIDDEN_TYPE: '',
|
||||||
HIDDEN_STATUS: undefined
|
HIDDEN_STATUS: undefined,
|
||||||
|
RECTIFICATION_DEPT:''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -275,6 +289,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getDict()
|
this.getDict()
|
||||||
this.getHiddenReginTreeList()
|
this.getHiddenReginTreeList()
|
||||||
|
this.getTreeData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getQuery() {
|
getQuery() {
|
||||||
|
@ -294,7 +309,8 @@ export default {
|
||||||
CONFIRM_USER: '',
|
CONFIRM_USER: '',
|
||||||
CORPINFO_ID: '',
|
CORPINFO_ID: '',
|
||||||
HIDDENFIND_NAME: '',
|
HIDDENFIND_NAME: '',
|
||||||
HIDDEN_STATUS: undefined
|
HIDDEN_STATUS: undefined,
|
||||||
|
RECTIFICATION_DEPT:''
|
||||||
}
|
}
|
||||||
this.$refs.deptTree_Select.clearHandle()
|
this.$refs.deptTree_Select.clearHandle()
|
||||||
this.getQuery()
|
this.getQuery()
|
||||||
|
@ -331,6 +347,16 @@ export default {
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 获得部门树
|
||||||
|
getTreeData() {
|
||||||
|
requestFN(
|
||||||
|
'/department/listTreeCorpInfo',
|
||||||
|
{CORPINFO_ID:this.$parent.CORPINFO_ID}
|
||||||
|
).then((data) => {
|
||||||
|
this.departmentTreeData = JSON.parse(data.zTreeNodes)
|
||||||
|
}).catch((e) => {
|
||||||
|
})
|
||||||
|
},
|
||||||
getDict() {
|
getDict() {
|
||||||
// requestFN(
|
// requestFN(
|
||||||
// '/dictionaries/listSelectTree',
|
// '/dictionaries/listSelectTree',
|
||||||
|
|
Loading…
Reference in New Issue