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: {