隐患排查治理系统 - 一般隐患管理支持按整改部门条件搜索

2024-07-22新BI页面
water_xu 2024-07-09 08:30:52 +08:00
parent 0832284f06
commit ba30331605
1 changed files with 28 additions and 2 deletions

View File

@ -101,6 +101,18 @@
style="width: 100%;"/>
</el-form-item>
</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-form-item label-width="10px">
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
@ -223,6 +235,7 @@ export default {
total: 0,
varList: [],
treeData: [],
departmentTreeData:[],
hiddenPartList: [],
hiddenTypeList: [], //
hiddenlevelList: [
@ -266,7 +279,8 @@ export default {
HIDDENFIND_NAME: '',
CORPINFO_ID: '',
HIDDEN_TYPE: '',
HIDDEN_STATUS: undefined
HIDDEN_STATUS: undefined,
RECTIFICATION_DEPT:''
}
}
},
@ -275,6 +289,7 @@ export default {
this.getList()
this.getDict()
this.getHiddenReginTreeList()
this.getTreeData()
},
methods: {
getQuery() {
@ -294,7 +309,8 @@ export default {
CONFIRM_USER: '',
CORPINFO_ID: '',
HIDDENFIND_NAME: '',
HIDDEN_STATUS: undefined
HIDDEN_STATUS: undefined,
RECTIFICATION_DEPT:''
}
this.$refs.deptTree_Select.clearHandle()
this.getQuery()
@ -331,6 +347,16 @@ export default {
}).catch((e) => {
})
},
//
getTreeData() {
requestFN(
'/department/listTreeCorpInfo',
{CORPINFO_ID:this.$parent.CORPINFO_ID}
).then((data) => {
this.departmentTreeData = JSON.parse(data.zTreeNodes)
}).catch((e) => {
})
},
getDict() {
// requestFN(
// '/dictionaries/listSelectTree',