From 9e1de3e3591fb2b68faef8ab1f5a9fe8b138c509 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 4 Mar 2024 13:54:31 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E9=80=89=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=84=E4=BB=B6=E6=89=93=E5=BC=80=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E4=B8=8D=E8=AF=B7=E6=B1=82=E6=95=B0=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=9F=A5=E8=AF=A2=E5=90=8E=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/selection/UserSelectByContactModal.vue | 5 +---- src/components/selection/UserSelectByContactNoMergeModal.vue | 5 +---- src/components/selection/UserSelectByWorkGroupModal.vue | 3 +-- src/components/selection/UserSelectModal.vue | 2 +- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/components/selection/UserSelectByContactModal.vue b/src/components/selection/UserSelectByContactModal.vue index 850caabd..93b764af 100644 --- a/src/components/selection/UserSelectByContactModal.vue +++ b/src/components/selection/UserSelectByContactModal.vue @@ -206,13 +206,10 @@ export default { currentQueryAllData: [] // 当前查询条件下的所有数据 } }, - mounted () { - this.loadData() - }, methods: { open (value) { this.visible = true - this.loadData() + // this.loadData() if (value) { this.selectedRowKeys = value.split(',') this.getUserListByIds(value) diff --git a/src/components/selection/UserSelectByContactNoMergeModal.vue b/src/components/selection/UserSelectByContactNoMergeModal.vue index 190adb51..25bdb99d 100644 --- a/src/components/selection/UserSelectByContactNoMergeModal.vue +++ b/src/components/selection/UserSelectByContactNoMergeModal.vue @@ -232,13 +232,10 @@ export default { currentQueryAllData: [] // 当前查询条件下的所有数据 } }, - mounted () { - this.loadData() - }, methods: { open (value) { this.visible = true - this.loadData() + // this.loadData() if (value) { this.selectedRowKeys = value.split(',') } diff --git a/src/components/selection/UserSelectByWorkGroupModal.vue b/src/components/selection/UserSelectByWorkGroupModal.vue index 2cacb672..48c24acb 100644 --- a/src/components/selection/UserSelectByWorkGroupModal.vue +++ b/src/components/selection/UserSelectByWorkGroupModal.vue @@ -263,12 +263,11 @@ export default { mounted () { this.initTreeData() this.getWorkGroupTree() - this.loadData() }, methods: { open (value) { this.visible = true - this.loadData() + // this.loadData() if (value) { this.selectedRowKeys = value.split(',') this.getUserListByIds(value) diff --git a/src/components/selection/UserSelectModal.vue b/src/components/selection/UserSelectModal.vue index 4f8e7431..1c1472d4 100644 --- a/src/components/selection/UserSelectModal.vue +++ b/src/components/selection/UserSelectModal.vue @@ -236,7 +236,7 @@ export default { open (value) { this.getSysCategoryTree() this.initRoleList() - this.loadData() + // this.loadData() this.visible = true if (value) { this.selectedRowKeys = value.split(',')