对接认证清单角色切换
This commit is contained in:
@@ -207,12 +207,12 @@
|
||||
<a-icon type="plus" />
|
||||
{{ $t('add') }}
|
||||
</div>
|
||||
<div class="operator-text"
|
||||
v-if="roleSwitchingList.length > 1"
|
||||
@click="roleSwitchingClick">
|
||||
<a-icon type="select" />
|
||||
{{ $t('roleSwitching') }}
|
||||
</div>
|
||||
<!-- <div class="operator-text"-->
|
||||
<!-- v-if="roleSwitchingList.length > 1"-->
|
||||
<!-- @click="roleSwitchingClick">-->
|
||||
<!-- <a-icon type="select" />-->
|
||||
<!-- {{ $t('roleSwitching') }}-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div v-if="!isDisplay" style="float: right;margin-top: 1px;margin-bottom: 0px;margin-right: 20px">
|
||||
<div @click="handleExport" v-has="'projectLawsInventory:exportData'"
|
||||
@@ -233,12 +233,12 @@
|
||||
<a-icon type="setting" />
|
||||
{{ $t('batchSettingInformation') }}
|
||||
</div>
|
||||
<div class="operator-text"
|
||||
v-if="roleSwitchingList.length > 1"
|
||||
@click="roleSwitchingClick">
|
||||
<a-icon type="select" />
|
||||
{{ $t('roleSwitching') }}
|
||||
</div>
|
||||
<!-- <div class="operator-text"-->
|
||||
<!-- v-if="roleSwitchingList.length > 1"-->
|
||||
<!-- @click="roleSwitchingClick">-->
|
||||
<!-- <a-icon type="select" />-->
|
||||
<!-- {{ $t('roleSwitching') }}-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 100%">
|
||||
@@ -1504,7 +1504,8 @@ export default {
|
||||
getAndUserId() {
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id,
|
||||
userId: this.userInfo().id
|
||||
userId: this.userInfo().id,
|
||||
modelType:"Laws inventory"
|
||||
}
|
||||
getAction(this.url.AndUserId, query).then((res) => {
|
||||
if (res.success) {
|
||||
@@ -1528,9 +1529,6 @@ export default {
|
||||
this.isRoleSwitching = false
|
||||
}
|
||||
}
|
||||
console.log(this.formInlineRoleSwitching.roleSwitchingCode)
|
||||
console.log(this.isRoleSwitching)
|
||||
console.log(this.isDisplay)
|
||||
this.getList()
|
||||
// this.JLoading = false
|
||||
} else {
|
||||
@@ -1769,7 +1767,8 @@ export default {
|
||||
let query = {
|
||||
roleCode: this.formInlineRoleSwitching.roleSwitchingCode,
|
||||
id: this.AndUserId,
|
||||
projectLibraryId: this.$route.query.id
|
||||
projectLibraryId: this.$route.query.id,
|
||||
modelType:"Laws inventory",
|
||||
}
|
||||
this.confirmLoadingRoleSwitching = true
|
||||
postAction(this.url.AndUserIdEdit, query).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user