引用参数列搜索问题

This commit is contained in:
zyx.net
2022-12-29 15:27:53 +08:00
parent 6befb0b445
commit 40f1fbec1e
3 changed files with 11 additions and 4 deletions
@@ -59,6 +59,7 @@
<!-- v-show="!roleDisabled"-->
<a-form-item :label="$t('RoleAssignment')" :labelCol="labelCol" :wrapperCol="wrapperCol"
>
<a-select
mode="multiple"
style="width: 100%"
@@ -303,7 +304,7 @@
roleList: [],
selectedRole: [],
dutyTerritories: '',
brands: '',
brands: null,
labelCol: {
xs: { span: 24 },
sm: { span: 5 }
@@ -418,6 +419,7 @@
})
},
selectChange(value){
console.log(value,"value",this.roleList)
value.map((item,index) => {
this.roleList.map((val,index) => {
if(val.roleCode == 'Viewer' && item == val.id){
@@ -427,6 +429,7 @@
})
return
} else if(val.roleCode == 'BrandAdministrator' && item == val.id) {
this.brands = []
this.$nextTick(() => {
this.viewshowbrand = true
})