|
@@ -7,7 +7,7 @@
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div class="tabbox">
|
|
|
- <el-table height="100%" class="com-table" ref="multipleTable" :data="tableData" :show-summary="true" :summary-method="getSummaries"
|
|
|
+ <el-table :loading="loading" height="100%" class="com-table" ref="multipleTable" :data="tableData" :show-summary="true" :summary-method="getSummaries"
|
|
|
tooltip-effect="dark" size="small" border style="width: 100%" :header-cell-style="headerStyleFun" :cell-style="cellStyle">
|
|
|
<el-table-column prop="cityName" align="center" fixed="left" label="地市"></el-table-column>
|
|
|
<el-table-column align="center" width="800px" :label="tooltit">
|
|
@@ -76,6 +76,7 @@
|
|
|
pageSize: 1,
|
|
|
tableData: [],
|
|
|
params: new FormData(),
|
|
|
+ loading:false
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -121,6 +122,7 @@
|
|
|
},
|
|
|
//获取列表
|
|
|
getList(v, n) {
|
|
|
+ this.loading = true
|
|
|
this.pageSize = n;
|
|
|
this.$http({
|
|
|
url: "/market/antiSpoofing/getAllStandingBook",
|
|
@@ -141,7 +143,12 @@
|
|
|
})
|
|
|
this.tableData = res.data.data;
|
|
|
this.total = res.data.totalRecord;
|
|
|
+ this.loading = false
|
|
|
}
|
|
|
+ }).catch(() => {
|
|
|
+ this.tableData = []
|
|
|
+ this.total = 0
|
|
|
+ this.loading = false;
|
|
|
});
|
|
|
},
|
|
|
outList() {
|