|
@@ -136,7 +136,7 @@
|
|
|
<a-tag v-if="record.status === '1' || record.status === '2'" color="blue">{{ text }}</a-tag>
|
|
|
<a-tag v-if="record.status === '3' || record.status === '4'">{{ text }}</a-tag>
|
|
|
</span>
|
|
|
-
|
|
|
+
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleFeedback(record)" :disabled="record.repairstatus === '1'">维修反馈</a>
|
|
|
<!-- <a-divider type="vertical" /> -->
|
|
@@ -182,12 +182,14 @@
|
|
|
{
|
|
|
title:'优先级',
|
|
|
align:"center",
|
|
|
+ sorter: true,
|
|
|
dataIndex: 'priority_dictText',
|
|
|
scopedSlots: { customRender: 'priority' }
|
|
|
},
|
|
|
{
|
|
|
title:'工单编号',
|
|
|
align:"center",
|
|
|
+ sorter: true,
|
|
|
dataIndex: 'repaircode',
|
|
|
// customCell: (record, index)=>{ return this.customCellDetail(record, index, 'customerName')}
|
|
|
// customCell: this.customCellDetail
|
|
@@ -205,11 +207,13 @@
|
|
|
{
|
|
|
title:'设备编号',
|
|
|
align:"center",
|
|
|
+ sorter: true,
|
|
|
dataIndex: 'equipmentcode'
|
|
|
},
|
|
|
{
|
|
|
title:'故障日期',
|
|
|
align:"center",
|
|
|
+ sorter: true,
|
|
|
dataIndex: 'faultdate',
|
|
|
customRender:function (text) {
|
|
|
return !text?"":(text.length>10?text.substr(0,10):text)
|
|
@@ -233,6 +237,7 @@
|
|
|
{
|
|
|
title:'维修时间',
|
|
|
align:"center",
|
|
|
+ sorter: true,
|
|
|
dataIndex: 'repairdate',
|
|
|
customRender:function (text) {
|
|
|
return !text?"":(text.length>10?text.substr(0,10):text)
|
|
@@ -297,7 +302,7 @@
|
|
|
url: {
|
|
|
list: "/cmmsRepair/cmmsRepair/listMy",
|
|
|
// exportXlsUrl: "/cmmsRepairMy/cmmsRepairMy/exportXls",
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
dictOptions:{},
|
|
|
superFieldList:[],
|
|
@@ -353,7 +358,7 @@
|
|
|
console.log(999,this.deviceOptions)
|
|
|
},
|
|
|
// 解决筛选后option不回显问题
|
|
|
- filterOptions(input, option) {
|
|
|
+ filterOptions(input, option) {
|
|
|
return this.deviceOptions
|
|
|
},
|
|
|
handleFeedback(record){
|