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