mirror of
https://github.com/shawncai/ERP.git
synced 2024-11-15 13:14:27 +08:00
11.2
This commit is contained in:
parent
6af50ce04e
commit
411000f3cf
1 changed files with 4 additions and 2 deletions
|
@ -195,7 +195,7 @@
|
||||||
<div class="container" style="margin-top: 37px">
|
<div class="container" style="margin-top: 37px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-radio-group v-model="personalForm.roleId" style="width: 100%">
|
<el-radio-group v-model="personalForm.roleId" style="width: 100%">
|
||||||
<el-col v-for="(item, index) in roleNames" :key="index" :span="12" style="text-align: center">
|
<el-col v-for="(item, index) in roleNames" :key="index" :span="12" style="text-align: left">
|
||||||
<el-radio :label="item.id" style="width: 100%">{{ item.name }}</el-radio>
|
<el-radio :label="item.id" style="width: 100%">{{ item.name }}</el-radio>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
|
@ -391,7 +391,9 @@ export default {
|
||||||
})
|
})
|
||||||
}))
|
}))
|
||||||
const listRoleName = list.filter(function(ele) {
|
const listRoleName = list.filter(function(ele) {
|
||||||
|
if (ele !== undefined) {
|
||||||
return (ele.name.indexOf('-') !== -1)
|
return (ele.name.indexOf('-') !== -1)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
console.log(listRoleName)
|
console.log(listRoleName)
|
||||||
const sss2 = listRoleName.map(function(item) {
|
const sss2 = listRoleName.map(function(item) {
|
||||||
|
|
Loading…
Reference in a new issue