修复监管端发起安全环保检查时,当选择第二个检查人员时,如果是错误的会清除之前选择的bug。
parent
cb0de8b3ad
commit
6b493efef0
|
@ -519,8 +519,8 @@ export default {
|
|||
).then((data) => {
|
||||
if (data.message!=null) {
|
||||
this.INSPECTION_DEPARTMENT_ID = ''
|
||||
this.INSPECTOR_List = []
|
||||
this.INSPECTION_USER_ID = ''
|
||||
this.form.inspectorList.splice(i,1)
|
||||
this.$message.error(data.message)
|
||||
}else {
|
||||
// 获取人员列表
|
||||
|
@ -544,9 +544,9 @@ export default {
|
|||
}).catch((e) => {
|
||||
})
|
||||
}
|
||||
this.form.inspectorList = []
|
||||
this.form.inspectorList.push({ INSPECTION_INSPECTOR_ID: item.INSPECTION_INSPECTOR_ID, INSPECTION_DEPARTMENT_ID: item.INSPECTION_DEPARTMENT_ID, INSPECTION_USER_ID: '', USER_SIDE: item.USER_SIDE })
|
||||
this.INSPECTOR_List.push([])
|
||||
// this.form.inspectorList = []
|
||||
// this.form.inspectorList.push({ INSPECTION_INSPECTOR_ID: item.INSPECTION_INSPECTOR_ID, INSPECTION_DEPARTMENT_ID: item.INSPECTION_DEPARTMENT_ID, INSPECTION_USER_ID: '', USER_SIDE: item.USER_SIDE })
|
||||
// this.INSPECTOR_List.push([])
|
||||
},
|
||||
// 获取人员列表
|
||||
getInspectorList(DEPARTMENT_ID, i) {
|
||||
|
|
Loading…
Reference in New Issue