|
@@ -12,7 +12,6 @@
|
|
:data-source="data"
|
|
:data-source="data"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:scroll="{x: 1000, y: BaseTool.Constant.scrollY}"
|
|
:scroll="{x: 1000, y: BaseTool.Constant.scrollY}"
|
|
- tableLayout="auto"
|
|
|
|
rowKey="id"
|
|
rowKey="id"
|
|
>
|
|
>
|
|
<span slot="action" slot-scope="record">
|
|
<span slot="action" slot-scope="record">
|
|
@@ -85,6 +84,29 @@ export default {
|
|
return record.sbName
|
|
return record.sbName
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ title: '设备位号',
|
|
|
|
+ checked: true,
|
|
|
|
+ width: '120px',
|
|
|
|
+ dataIndex: 'positionNo'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '车间位置',
|
|
|
|
+ checked: true,
|
|
|
|
+ width: '120px',
|
|
|
|
+ dataIndex: 'sbPositionName'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '维修专业',
|
|
|
|
+ checked: true,
|
|
|
|
+ width: '120px',
|
|
|
|
+ dataIndex: 'repairProfessor',
|
|
|
|
+ customRender: (text, record, index) => {
|
|
|
|
+ return text.split(',').map(item => {
|
|
|
|
+ return this.BaseTool.Object.getField(this.professorMap, item)
|
|
|
|
+ }).join(',')
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '报修人',
|
|
title: '报修人',
|
|
checked: true,
|
|
checked: true,
|
|
@@ -115,6 +137,15 @@ export default {
|
|
return this.BaseTool.Object.getField(this.planFlagMap, text)
|
|
return this.BaseTool.Object.getField(this.planFlagMap, text)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ title: '送修部门',
|
|
|
|
+ checked: true,
|
|
|
|
+ width: '150px',
|
|
|
|
+ dataIndex: 'repairDeptName',
|
|
|
|
+ customRender: (text, record, index) => {
|
|
|
|
+ return text
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '报修时间',
|
|
title: '报修时间',
|
|
checked: true,
|
|
checked: true,
|
|
@@ -169,6 +200,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ title: '问题描述',
|
|
|
|
+ checked: true,
|
|
|
|
+ width: '120px',
|
|
|
|
+ dataIndex: 'content'
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '报修状态',
|
|
title: '报修状态',
|
|
checked: true,
|
|
checked: true,
|
|
@@ -177,6 +214,7 @@ export default {
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
scopedSlots: { customRender: 'status' }
|
|
scopedSlots: { customRender: 'status' }
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
title: '操作',
|
|
title: '操作',
|
|
checked: true,
|
|
checked: true,
|
|
@@ -192,6 +230,7 @@ export default {
|
|
levelMap: {},
|
|
levelMap: {},
|
|
needStopMap: {},
|
|
needStopMap: {},
|
|
planFlagMap: {},
|
|
planFlagMap: {},
|
|
|
|
+ professorMap:{},
|
|
data: []
|
|
data: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -202,6 +241,8 @@ export default {
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_STATUS)
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_STATUS)
|
|
this.needStopMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YES_NO)
|
|
this.needStopMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YES_NO)
|
|
this.planFlagMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_CATEGORY)
|
|
this.planFlagMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_CATEGORY)
|
|
|
|
+ this.professorMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_PROFESSOR)
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
base (record) {
|
|
base (record) {
|