From ebd074f442cfb1b1140dc1bb9e034c75fcc629fb Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Sat, 14 Sep 2024 14:55:13 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9UAT=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9A=E4=BC=81=E6=A0=87=E8=AE=A1=E5=88=92=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=BC=B9=E6=A1=86=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EnterprisePlanSelectionModal.vue | 107 +++++++++++------- 1 file changed, 68 insertions(+), 39 deletions(-) diff --git a/src/components/selection/EnterprisePlanSelectionModal.vue b/src/components/selection/EnterprisePlanSelectionModal.vue index 951e5995..e1e79bf9 100644 --- a/src/components/selection/EnterprisePlanSelectionModal.vue +++ b/src/components/selection/EnterprisePlanSelectionModal.vue @@ -24,46 +24,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - +
+ + {{ toggleSearchStatus ? $t('putAway') : $t('open') }} + + {{ $t('query') }} {{ $t('reset') }}
@@ -282,7 +306,8 @@ export default { } ], dataList: [], - categoryTreeList: [] // 组织机构下拉框数据 + categoryTreeList: [], // 组织机构下拉框数据 + toggleSearchStatus: false } }, mounted () { @@ -296,6 +321,9 @@ export default { this.replacePage() }) }, + handleToggleSearch () { + this.toggleSearchStatus = !this.toggleSearchStatus + }, // 获取组织机构树 getSysCategoryTree () { queryDepartTreeList().then((res) => { @@ -393,6 +421,7 @@ export default { showSizeChanger: true, total: 0 } + this.toggleSearchStatus = false } } }