From cc6264e8e6ef361491652ab7f15d3be463b69760 Mon Sep 17 00:00:00 2001 From: Xia Zekun Date: Tue, 16 Apr 2024 09:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E4=B8=B4=E6=97=B6=E6=9D=83?= =?UTF-8?q?=E9=99=90=E8=AE=BE=E7=BD=AE=EF=BC=8C=E9=BB=98=E8=AE=A4=E7=88=B6?= =?UTF-8?q?=E5=AD=90=E5=85=B3=E8=81=94=EF=BC=8C=E4=BC=98=E5=8C=96=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=B9=E6=A1=88=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jerobiz/modal/JSelectDepartModal.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/jerobiz/modal/JSelectDepartModal.vue b/src/components/jerobiz/modal/JSelectDepartModal.vue index a3f0711c..3a02ac05 100644 --- a/src/components/jerobiz/modal/JSelectDepartModal.vue +++ b/src/components/jerobiz/modal/JSelectDepartModal.vue @@ -43,7 +43,7 @@ {{ $t('cancelConnection') }} - {{ $t('treeOperation') }} + {{ treeOperationText }} {{ $t('close') }} @@ -75,6 +75,9 @@ export default { }, created () { this.loadDepart() + if (this.treeOpera) { + this.switchCheckStrictly(1) + } }, watch: { departId () { @@ -101,6 +104,9 @@ export default { fullscreen: this.fullscreen, 'radio-class': !this.multi } + }, + treeOperationText () { + return this.checkStrictly ? this.$t('cancelConnection') : this.$t('parentChildConnection') } }, methods: {