Browse Source

角色关联产线调整

pull/119/head
liwei 3 years ago
parent
commit
46266c3e23
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      src/views/role/ProductionLine.vue

+ 5
- 6
src/views/role/ProductionLine.vue View File

@ -37,12 +37,11 @@ export default {
methods:{
//
save(){
getRolerelInsert(this.value.map(e=>{
return{
"RoleRel-RoleId": this.operationItem.role_id || '',
"RoleRel-WorkLineid": e
}
})).then(({code})=>{
getRolerelInsert({
roleId:this.operationItem.role_id || '',
roleRelLi:this.value.map(e=>{return{"RoleRel-RoleId": this.operationItem.role_id || '',"RoleRel-WorkLineid": e}
})
}).then(({code})=>{
if(code===200){
this.$emit('setOperationItem', null)
}


Loading…
Cancel
Save