|
@ -107,8 +107,10 @@ export default { |
|
|
res.rows.forEach((it) => { |
|
|
res.rows.forEach((it) => { |
|
|
it.source = "非机预警"; |
|
|
it.source = "非机预警"; |
|
|
it.stringDirection = directionMapping[it.direction] || it.direction; |
|
|
it.stringDirection = directionMapping[it.direction] || it.direction; |
|
|
|
|
|
it.otherConfig = JSON.parse(it.otherConfig); |
|
|
}); |
|
|
}); |
|
|
this.data = res.rows; |
|
|
this.data = res.rows; |
|
|
|
|
|
console.log("darta", this.data); |
|
|
}); |
|
|
}); |
|
|
// request({ |
|
|
// request({ |
|
|
// // url: `/dc/system/event/dispatchEventList`, |
|
|
// // url: `/dc/system/event/dispatchEventList`, |
|
|