|
|
|
@ -90,6 +90,25 @@ |
|
|
|
:selectable="selectFlag" |
|
|
|
width="50"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="urgency" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="紧急程度" |
|
|
|
width="90"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="result" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="维修结论" |
|
|
|
width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="{fontWeight:'bold', color: scope.row.result =='维修失败' ? 'red' : scope.row.result =='维修完成' ? '#3ac252' : ''}"> |
|
|
|
{{ scope.row.result }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
@ -399,42 +418,42 @@ |
|
|
|
departmentList:[], |
|
|
|
// 展示列集 |
|
|
|
columnList: [ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101018, |
|
|
|
serialNumber: '101018TableOrderNo', |
|
|
|
tableId: "101018Table", |
|
|
|
tableName: "common", |
|
|
|
columnProp: 'urgency', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '紧急程度', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: true, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 90, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101014, |
|
|
|
serialNumber: '101014TableResult', |
|
|
|
tableId: "101014Table", |
|
|
|
tableName: "common", |
|
|
|
columnProp: 'result', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '维修结论', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: true, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80, |
|
|
|
}, |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 101018, |
|
|
|
// serialNumber: '101018TableOrderNo', |
|
|
|
// tableId: "101018Table", |
|
|
|
// tableName: "common", |
|
|
|
// columnProp: 'urgency', |
|
|
|
// headerAlign: "center", |
|
|
|
// align: "center", |
|
|
|
// columnLabel: '紧急程度', |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: true, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '', |
|
|
|
// columnWidth: 90, |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 101014, |
|
|
|
// serialNumber: '101014TableResult', |
|
|
|
// tableId: "101014Table", |
|
|
|
// tableName: "common", |
|
|
|
// columnProp: 'result', |
|
|
|
// headerAlign: "center", |
|
|
|
// align: "center", |
|
|
|
// columnLabel: '维修结论', |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: true, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '', |
|
|
|
// columnWidth: 80, |
|
|
|
// }, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 101014, |
|
|
|
|