前端品牌回显 + 后端大列表修改权限筛选

This commit is contained in:
CD
2022-12-27 16:11:22 +08:00
parent 35f05020c8
commit ca1fb97fc5
7 changed files with 37 additions and 35 deletions
@@ -85,7 +85,7 @@
<!-- :placeholder="$t('PleaseSelect')+$t('brand')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'brand'"/>-->
<a-select allowClear :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
<a-select allowClear mode="multiple" :getPopupContainer="triggerNode => triggerNode.parentNode" :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
v-model="brands">
<a-select-option v-for="(item, key) in brandsList" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.text || item.label ">
@@ -413,7 +413,7 @@
this.dutyTerritories = res.dutyTerritoryList.join(',')
}
if(res.brandList){
this.brands = res.brandList.join(',')
this.brands = res.brandList
}
})
},
@@ -462,7 +462,7 @@
ids: this.userId,
selectedroles: selectedRole.join(','),
dutyTerritories: dutyTerritorie,
brands: brand
brands: brand.join(',')
}
postAction('/sys/user/setRole', param).then((res) => {
if (res.success) {