修改禅道已知bug
This commit is contained in:
@@ -117,7 +117,9 @@
|
||||
<a-icon type="plus"/>
|
||||
{{ $t('add') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="roleSwitchingClick">
|
||||
<div class="operator-text"
|
||||
v-if="roleSwitchingList.length > 1"
|
||||
@click="roleSwitchingClick">
|
||||
<a-icon type="select"/>
|
||||
{{ $t('roleSwitching') }}
|
||||
</div>
|
||||
@@ -136,6 +138,7 @@
|
||||
{{ $t('batSetting') }}
|
||||
</div>
|
||||
<div class="operator-text"
|
||||
v-if="roleSwitchingList.length > 1"
|
||||
@click="roleSwitchingClick">
|
||||
<a-icon type="select"/>
|
||||
{{ $t('roleSwitching') }}
|
||||
@@ -888,7 +891,7 @@
|
||||
return current && current < moment().subtract(1, 'day')
|
||||
},
|
||||
getRoleByUserId() {
|
||||
getAction('/sys/role/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
|
||||
getAction('/project/projectLawsInventoryEO/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.roleSwitchingList = res.result || []
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user