diff --git a/src/views/keyprojects/outsourced/components/list.vue b/src/views/keyprojects/outsourced/components/list.vue index 1f403c0..e6665d0 100644 --- a/src/views/keyprojects/outsourced/components/list.vue +++ b/src/views/keyprojects/outsourced/components/list.vue @@ -32,7 +32,7 @@ - + { requestFN( - '/corpDepartment/listTreeManageAndCorp1', + '/department/listTreeCorpInfo', + { + CORPINFO_ID: this.CORPINFO_ID + } ).then((data) => { - this.treeDeptOptions = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') + // this.treeDeptOptions = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') this.treeDataInspectDept = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') resolve() }).catch((e) => { diff --git a/src/views/keyprojects/videomanager/components/list.vue b/src/views/keyprojects/videomanager/components/list.vue index abd4d82..81cb651 100644 --- a/src/views/keyprojects/videomanager/components/list.vue +++ b/src/views/keyprojects/videomanager/components/list.vue @@ -49,7 +49,7 @@ - + { requestFN( - '/corpDepartment/listTreeManageAndCorp1', + 'department/listTreeCorpInfo', + { + CORPINFO_ID: this.CORPINFO_ID + } ).then((data) => { - this.treeDeptOptions = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') + // this.treeDeptOptions = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') this.treeDataInspectDept = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') resolve() }).catch((e) => { @@ -305,7 +310,7 @@ export default { COMPETENT_DEPT_ID: this.COMPETENT_DEPT_ID, GROUP_UNIT: this.GROUP_UNIT, CORP_NAME: this.CORP_NAME, - CORPINFO_ID: this.$parent.CORPINFO_ID + CORPINFO_ID: this.CORPINFO_ID } ).then((data) => { this.listLoading = false