fix(equipment): 修复设备保养配置查询逻辑
This commit is contained in:
parent
4987f328f2
commit
232e22d8d5
@ -142,8 +142,13 @@ export default {
|
||||
itemList: data.itemList || []
|
||||
}
|
||||
this.loading = false
|
||||
}).catch(() => {
|
||||
}).catch((err) => {
|
||||
this.loading = false
|
||||
this.dialogVisible = false
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: err.message || '获取数据失败'
|
||||
})
|
||||
})
|
||||
},
|
||||
getMainTypeLabel(value) {
|
||||
|
||||
@ -295,8 +295,13 @@ export default {
|
||||
})
|
||||
}
|
||||
this.loading = false
|
||||
}).catch(() => {
|
||||
}).catch((err) => {
|
||||
this.loading = false
|
||||
this.dialogVisible = false
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: err.message || '获取数据失败'
|
||||
})
|
||||
})
|
||||
},
|
||||
loadDeptList() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user