|
@@ -97,7 +97,7 @@
|
|
|
>
|
|
|
<span slot="action" slot-scope="record">
|
|
|
<template>
|
|
|
- <a @click="handleView(record)">维修主页</a>
|
|
|
+ <a @click="handleView(record)">工单主页</a>
|
|
|
<!-- <operation-button
|
|
|
v-show="allocatedFlag"
|
|
|
v-if="(DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === record.status)"
|
|
@@ -213,10 +213,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '设备编号',
|
|
|
+ title: '工单编号',
|
|
|
checked: true,
|
|
|
width: '100px',
|
|
|
- dataIndex: 'sbNo'
|
|
|
+ dataIndex: 'no'
|
|
|
},
|
|
|
{
|
|
|
title: '设备名称',
|
|
@@ -228,32 +228,55 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '车间具体位置',
|
|
|
+ title: '设备位号',
|
|
|
checked: true,
|
|
|
- width: '120px',
|
|
|
- dataIndex: 'sbCph'
|
|
|
+ width: '100px',
|
|
|
+ dataIndex: 'positionNo'
|
|
|
},
|
|
|
{
|
|
|
- title: '故障描述',
|
|
|
+ title: '工作内容',
|
|
|
checked: true,
|
|
|
width: '150px',
|
|
|
dataIndex: 'content',
|
|
|
scopedSlots: { customRender: 'content' }
|
|
|
},
|
|
|
{
|
|
|
- title: '工单类型',
|
|
|
+ title: '录入时间',
|
|
|
+ checked: true,
|
|
|
+ width: '200px',
|
|
|
+ dataIndex: 'applyTime'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '来源分类',
|
|
|
checked: true,
|
|
|
width: '100px',
|
|
|
- dataIndex: 'category',
|
|
|
+ dataIndex: 'source',
|
|
|
customRender: (text, record, index) => {
|
|
|
- return this.BaseTool.Object.getField(this.planFlagMap, text)
|
|
|
+ if (text === 1) {
|
|
|
+ return '内部报修'
|
|
|
+ } else if (text === 2) {
|
|
|
+ return '生产报修'
|
|
|
+ } else if (text === 3) {
|
|
|
+ return '隐患排查'
|
|
|
+ } else if (text === 4) {
|
|
|
+ return '巡检'
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '报修时间',
|
|
|
+ title: '检修等级',
|
|
|
checked: true,
|
|
|
- width: '200px',
|
|
|
- dataIndex: 'applyTime'
|
|
|
+ width: '100px',
|
|
|
+ dataIndex: 'repairPlanLevel'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '工单类型',
|
|
|
+ checked: true,
|
|
|
+ width: '100px',
|
|
|
+ dataIndex: 'category',
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return this.BaseTool.Object.getField(this.planFlagMap, text)
|
|
|
+ }
|
|
|
},
|
|
|
/* {
|
|
|
title: '紧急等级',
|
|
@@ -273,50 +296,7 @@ export default {
|
|
|
}
|
|
|
}, */
|
|
|
{
|
|
|
- title: '创建日期',
|
|
|
- width: '200px',
|
|
|
- dataIndex: 'createdTime'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '报修人',
|
|
|
- checked: true,
|
|
|
- width: '120px',
|
|
|
- dataIndex: 'userName'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '维修人',
|
|
|
- checked: true,
|
|
|
- width: '120px',
|
|
|
- dataIndex: 'repairUserName'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '接收超时',
|
|
|
- checked: true,
|
|
|
- width: '100px',
|
|
|
- dataIndex: 'receiveOvertime',
|
|
|
- customRender: (text, record, index) => {
|
|
|
- if (text) {
|
|
|
- return '是'
|
|
|
- } else {
|
|
|
- return '否'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '维修超时',
|
|
|
- checked: true,
|
|
|
- width: '100px',
|
|
|
- dataIndex: 'repairOvertime',
|
|
|
- customRender: (text, record, index) => {
|
|
|
- if (text) {
|
|
|
- return '是'
|
|
|
- } else {
|
|
|
- return '否'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '报修状态',
|
|
|
+ title: '工单状态',
|
|
|
checked: true,
|
|
|
width: '100px',
|
|
|
fixed: 'right',
|