From 6123eb94a953ec00764ecef3d74945df4e871a3d Mon Sep 17 00:00:00 2001 From: zhaoyu Date: Fri, 15 Dec 2023 15:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=AF=E8=82=A1=E6=9F=A5=E8=AF=A2=E6=B8=AF?= =?UTF-8?q?=E8=82=A1=E7=9A=84=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/keyprojects/outsourced/components/list.vue | 8 +++++++- src/views/keyprojects/videomanager/components/list.vue | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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 }