|
|
@ -13,7 +13,7 @@ |
|
|
|
<el-table-column label="序号" type="index" width="80" /> |
|
|
|
<!-- 上报事件 --> |
|
|
|
<el-table-column v-if="otherTabel === 'sbsj'" prop="categoryName" label="事件类型" /> |
|
|
|
<el-table-column v-if="otherTabel === 'sbsj'" prop="addeventContentress" label="事件描述" /> |
|
|
|
<el-table-column v-if="otherTabel === 'sbsj'" prop="eventContent" label="事件描述" /> |
|
|
|
<el-table-column v-if="otherTabel === 'sbsj'" prop="status" label="办理情况"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ getStatusMap(scope.row.status) }} |
|
|
@ -25,7 +25,7 @@ |
|
|
|
<el-table-column v-if="otherTabel === 'jmxq'" prop="content" label="需求描述" /> |
|
|
|
<el-table-column v-if="otherTabel === 'jmxq'" prop="status" label="办理情况"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ getStatusMap(scope.row.status) }} |
|
|
|
{{ getStatusMapsb(scope.row.status) }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="otherTabel === 'jmxq'" prop="reportTime" label="上报时间" /> |
|
|
@ -191,7 +191,7 @@ export default { |
|
|
|
this.rowId = null; |
|
|
|
}, |
|
|
|
handleView(row) { |
|
|
|
console.log('this.itemNav::', this.itemNav); |
|
|
|
console.log("this.itemNav::", this.itemNav); |
|
|
|
this.rowId = row.id; |
|
|
|
if (this.itemNav === 1 || this.itemNav === 2) { |
|
|
|
this.showDialogEvent = true; |
|
|
@ -206,7 +206,17 @@ export default { |
|
|
|
|
|
|
|
getStatusMap(s) { |
|
|
|
const statusMap = new Map([ |
|
|
|
["pending", "待处理"], |
|
|
|
["processing", "处理中"], |
|
|
|
["closed_case", "已结办"], |
|
|
|
// ["assigned", "已派单"], |
|
|
|
// ["have_order", "已接单"], |
|
|
|
// ["finished", "已完成"], |
|
|
|
]); |
|
|
|
return statusMap.get(s); |
|
|
|
}, |
|
|
|
getStatusMapsb(s) { |
|
|
|
const statusMap = new Map([ |
|
|
|
["pending", "带办理"], |
|
|
|
["canceled", "已取消"], |
|
|
|
["assigned", "已派单"], |
|
|
|
["have_order", "已接单"], |
|
|
|