|
|
@ -1970,7 +1970,7 @@ export default { |
|
|
getOperatorList () { |
|
|
getOperatorList () { |
|
|
this.operatorData.bu = this.saveData.site + '_' + this.saveData.buNo |
|
|
this.operatorData.bu = this.saveData.site + '_' + this.saveData.buNo |
|
|
if (this.roleList.length > 0) { |
|
|
if (this.roleList.length > 0) { |
|
|
let filterList = this.roleList.filter(item => item.roleName === '机修人员') |
|
|
|
|
|
|
|
|
let filterList = this.roleList.filter(item => item.roleName === '机修') |
|
|
if (filterList.length > 0) { |
|
|
if (filterList.length > 0) { |
|
|
this.operatorData.roleId = filterList[0].roleId |
|
|
this.operatorData.roleId = filterList[0].roleId |
|
|
} else { |
|
|
} else { |
|
|
|