更新
This commit is contained in:
@@ -68,10 +68,6 @@ const warehouseStorehouseStorageState = [
|
||||
name: '出库',
|
||||
id: 1,
|
||||
},
|
||||
{
|
||||
name: '移库',
|
||||
id: 2,
|
||||
},
|
||||
];
|
||||
export default {
|
||||
mixins: [basicPage],
|
||||
|
||||
@@ -207,9 +207,9 @@
|
||||
<el-select v-model="form.roleIds" multiple placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in roleOptions"
|
||||
:key="parseInt(item.id)"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="parseInt(item.id)"
|
||||
:value="item.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -549,6 +549,7 @@ export default {
|
||||
/** 提交按钮(角色权限) */
|
||||
submitRole: function() {
|
||||
if (this.form.id !== undefined) {
|
||||
console.log(this.form.roleIds)
|
||||
assignUserRole({
|
||||
userId: this.form.id,
|
||||
roleIds: this.form.roleIds,
|
||||
|
||||
Reference in New Issue
Block a user