企标临时权限设置,默认父子关联,优化显示方案。
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<a-menu-item key="2" @click="switchCheckStrictly(2)">{{ $t('cancelConnection') }}</a-menu-item>
|
||||
</a-menu>
|
||||
<a-button>
|
||||
{{ $t('treeOperation') }} <a-icon type="up" />
|
||||
{{ treeOperationText }} <a-icon type="up" />
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
<a-button @click="handleCancel" type="primary" style="margin-right: 0.8rem">{{ $t('close') }}</a-button>
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user