[update] 按钮权限
This commit is contained in:
@@ -342,15 +342,6 @@
|
||||
this.LoginUserType = res.result
|
||||
this.getTableList()
|
||||
this.$emit('LoginUserType', this.LoginUserType)
|
||||
res.result.split(',').forEach((item, index) => {
|
||||
if (item === 'homo') {
|
||||
this.homo = 1
|
||||
} else if (item === 'sdt') {
|
||||
this.sdt = 1
|
||||
} else if (item === 'dre') {
|
||||
this.dre = 1
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
<span class="title-text-text" :title="$t('roleSwitching')">{{$t('roleSwitching')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModelComment itemitem" :prop="'roleSwitchingCode'">
|
||||
<a-select allowClear mode="multiple" :placeholder="$t('pleaseSelect')+$t('roleSwitching')"
|
||||
<a-select allowClear :placeholder="$t('pleaseSelect')+$t('roleSwitching')"
|
||||
v-model="formInlineRoleSwitching.roleSwitchingCode">
|
||||
<a-select-option v-for="(item, key) in RoleType" :key="key" :value="item.value">
|
||||
<span style="display: inline-block;width: 100%" :title=" item.label " >
|
||||
@@ -407,7 +407,6 @@ export default {
|
||||
this.visibleRoleSwitching = true
|
||||
},
|
||||
GetgetLoginUserType() {
|
||||
console.log('ooo')
|
||||
this.$refs.CollectionTabel.getLoginUserType()
|
||||
},
|
||||
GetgetTableList() {
|
||||
@@ -723,14 +722,12 @@ export default {
|
||||
return flag
|
||||
},
|
||||
LoginUserType(val) {
|
||||
val.split(',').forEach((item,index) => {
|
||||
if(item === 'homo') {
|
||||
this.homo = 1
|
||||
} else if(item === 'sdt') {
|
||||
this.sdt = 1
|
||||
} else if(item === 'dre') {
|
||||
this.dre = 1
|
||||
}
|
||||
this.RoleType = val
|
||||
val.forEach((item) => {
|
||||
console.log(item,'pppp')
|
||||
// if(item) {
|
||||
//
|
||||
// }
|
||||
})
|
||||
},
|
||||
// 表格所选中得行内容
|
||||
@@ -1286,7 +1283,7 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
height: 42px;
|
||||
line-height: 48px;
|
||||
line-height: 36px;
|
||||
}
|
||||
.box-input .ant-select-selection {
|
||||
height: 38px !important;
|
||||
|
||||
Reference in New Issue
Block a user