diff --git a/src/views/keyprojects/outsourced/components/list.vue b/src/views/keyprojects/outsourced/components/list.vue index e6665d0..4cabb66 100644 --- a/src/views/keyprojects/outsourced/components/list.vue +++ b/src/views/keyprojects/outsourced/components/list.vue @@ -489,10 +489,16 @@ export default { }) }, selectDeptOption() { + var url = '' + if (this.CORPINFO_ID == '1') { + url = '/department/listTree' + } else { + url = '/department/listTreeCorpInfo' + } // 合并 return new Promise((resolve) => { requestFN( - '/department/listTreeCorpInfo', + url, { CORPINFO_ID: this.CORPINFO_ID } diff --git a/src/views/keyprojects/videomanager/components/list.vue b/src/views/keyprojects/videomanager/components/list.vue index 81cb651..cac0301 100644 --- a/src/views/keyprojects/videomanager/components/list.vue +++ b/src/views/keyprojects/videomanager/components/list.vue @@ -242,10 +242,16 @@ export default { }) }, selectDeptOption() { + var url = '' + if (this.CORPINFO_ID == '1') { + url = '/department/listTree' + } else { + url = '/department/listTreeCorpInfo' + } // 合并 return new Promise((resolve) => { requestFN( - 'department/listTreeCorpInfo', + url, { CORPINFO_ID: this.CORPINFO_ID }