企标临时权限设置,默认父子关联,优化显示方案。
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
<a-menu-item key="2" @click="switchCheckStrictly(2)">{{ $t('cancelConnection') }}</a-menu-item>
|
<a-menu-item key="2" @click="switchCheckStrictly(2)">{{ $t('cancelConnection') }}</a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
<a-button>
|
<a-button>
|
||||||
{{ $t('treeOperation') }} <a-icon type="up" />
|
{{ treeOperationText }} <a-icon type="up" />
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a-button @click="handleCancel" type="primary" style="margin-right: 0.8rem">{{ $t('close') }}</a-button>
|
<a-button @click="handleCancel" type="primary" style="margin-right: 0.8rem">{{ $t('close') }}</a-button>
|
||||||
@@ -75,6 +75,9 @@ export default {
|
|||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.loadDepart()
|
this.loadDepart()
|
||||||
|
if (this.treeOpera) {
|
||||||
|
this.switchCheckStrictly(1)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
departId () {
|
departId () {
|
||||||
@@ -101,6 +104,9 @@ export default {
|
|||||||
fullscreen: this.fullscreen,
|
fullscreen: this.fullscreen,
|
||||||
'radio-class': !this.multi
|
'radio-class': !this.multi
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
treeOperationText () {
|
||||||
|
return this.checkStrictly ? this.$t('cancelConnection') : this.$t('parentChildConnection')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user