|
@@ -136,7 +136,7 @@ export default {
|
|
|
sysTime: sysTime,
|
|
|
lk: lk
|
|
|
}
|
|
|
- this.$axios.get('/nwpController/getDraw',{params: searchParams}).then((res) => {
|
|
|
+ await this.$axios.get('/nwpController/getDraw',{params: searchParams}).then((res) => {
|
|
|
this.drawData = res.data
|
|
|
}).catch((error) => {
|
|
|
this.$message.error('查询实时Nwp echarts出错' + error)
|
|
@@ -158,7 +158,7 @@ export default {
|
|
|
sysTime: sysTime,
|
|
|
lk: lk
|
|
|
}
|
|
|
- this.$axios.get('/nwpController/getAll',
|
|
|
+ await this.$axios.get('/nwpController/getAll',
|
|
|
{params: searchParams}).then((res) => {
|
|
|
this.tableData = res.data.records
|
|
|
this.total = res.data.total
|