|
|
@ -161,7 +161,7 @@ export default { |
|
|
|
getData() { |
|
|
|
if (this.activeName === '-1') { |
|
|
|
request({ |
|
|
|
url: `/perceivedEvents/warning/perceivedEventsList`, |
|
|
|
url: `/perceivedEvents/warning/perceivedEventsList`,//感知事件 |
|
|
|
method: "post", |
|
|
|
params: { pageNum: this.searchData.pageNum, pageSize: this.searchData.pageSize }, |
|
|
|
data: { ...this.searchData, warningState: 1 } |
|
|
@ -255,9 +255,9 @@ export default { |
|
|
|
}, |
|
|
|
firstBtnClick(id) { |
|
|
|
console.log("id", id); |
|
|
|
if (this.activeName == '-1') { |
|
|
|
if (this.activeName == '-1') { //除了 感知事件外的 事件专题 均须处理 |
|
|
|
request({ |
|
|
|
url: `/perceivedEvents/warning/getWarningById`, |
|
|
|
url: `/perceivedEvents/warning/getWarningById`,//感知事件 |
|
|
|
method: "post", |
|
|
|
data: { id } |
|
|
|
}).then((result) => { |
|
|
|