优化
This commit is contained in:
@@ -133,6 +133,7 @@ export default {
|
||||
name: 'Devicerepairrequest',
|
||||
components: { pagination, crudOperation, rrOperation, udOperation, DateRangePicker, Treeselect, PicDialog },
|
||||
mixins: [presenter(), header(), form(defaultForm), crud()],
|
||||
dicts: ['EM_FAULT_LEVEL'],
|
||||
cruds() {
|
||||
return CRUD({
|
||||
title: '设备报修处理',
|
||||
@@ -212,14 +213,8 @@ export default {
|
||||
})
|
||||
})
|
||||
},
|
||||
formaLevelName(row, cloum) {
|
||||
if (row.fault_level === '01') {
|
||||
return '一级'
|
||||
} else if (row.fault_level === '02') {
|
||||
return '二级'
|
||||
} else if (row.fault_level === '03') {
|
||||
return '三级'
|
||||
}
|
||||
formaLevelName(row) {
|
||||
return this.dict.label.EM_FAULT_LEVEL[row.fault_level]
|
||||
},
|
||||
formatStatusName(row, cloum) {
|
||||
if (row.status === '01') {
|
||||
|
||||
Reference in New Issue
Block a user