|
|
@ -32,7 +32,7 @@ |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<!-- <ElTableColumn label="方向" prop="directionName" /> --> |
|
|
|
<ElTableColumn label="方向" prop="directionName" /> |
|
|
|
|
|
|
|
<ElTableColumn label="桩号" prop="stakeMark" /> |
|
|
|
<ElTableColumn label="当前烟感值" width="300" prop="smokeValue" /> |
|
|
@ -126,8 +126,8 @@ export default { |
|
|
|
}).then((result) => { |
|
|
|
if (result.code != 200) return Message.error(result?.msg); |
|
|
|
result.rows.forEach(e=>{ |
|
|
|
e.directionName = e.direction === 1 ? '菏泽方向' : |
|
|
|
(e.direction === 3 ? '济南方向' : '双向'); |
|
|
|
e.directionName = e.direction == 1 ? '菏泽方向' : |
|
|
|
(e.direction == 3 ? '济南方向' : '双向'); |
|
|
|
}) |
|
|
|
this.tableData = result.rows; |
|
|
|
this.total = result.total; |
|
|
@ -145,6 +145,10 @@ export default { |
|
|
|
method: "get", |
|
|
|
}).then((result) => { |
|
|
|
if (result.code != 200) return Message.error(result?.msg); |
|
|
|
result.rows.forEach(e=>{ |
|
|
|
e.directionName = e.direction == 1 ? '菏泽方向' : |
|
|
|
(e.direction == 3 ? '济南方向' : '双向'); |
|
|
|
}) |
|
|
|
this.tableData = result.rows; |
|
|
|
this.total = result.total; |
|
|
|
}); |
|
|
|