|
@@ -75,6 +75,7 @@
|
|
|
:data="tableData"
|
|
|
:table-loading="tableLoading"
|
|
|
:option="tableOption"
|
|
|
+ @on-load="queryNWPDataByStationCode"
|
|
|
>
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
@@ -134,7 +135,11 @@ export default {
|
|
|
this.tableLoading = false
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
queryNWPDataByStationCode() {
|
|
|
+ if (this.stationCode=='' || this.stationCode==null){
|
|
|
+ return
|
|
|
+ }
|
|
|
const param = new URLSearchParams()
|
|
|
param.append('currentPage', this.page.currentPage)
|
|
|
param.append('pageSize', this.page.pageSize)
|