diff --git a/src/views/hidden/commonly/commonly/components/companiesList.vue b/src/views/hidden/commonly/commonly/components/companiesList.vue index 5e3bd38..c972f85 100644 --- a/src/views/hidden/commonly/commonly/components/companiesList.vue +++ b/src/views/hidden/commonly/commonly/components/companiesList.vue @@ -101,6 +101,18 @@ style="width: 100%;"/> + + + + + @@ -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',