统计代码优化
This commit is contained in:
@@ -31,9 +31,11 @@
|
||||
</a-row>
|
||||
</a-form>
|
||||
<!-- 表格 -->
|
||||
<a-spin :spinning="loading">
|
||||
<ele-pro-table ref="table" :datasource="datasource" :columns="columns" :where="where"
|
||||
:scroll="{ x: 'max-content' }" @done="(d) => (data = d.data)">
|
||||
</ele-pro-table>
|
||||
</a-spin>
|
||||
</a-card>
|
||||
</div>
|
||||
<!-- 编辑弹窗 -->
|
||||
@@ -107,6 +109,7 @@
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.loading = true;
|
||||
nationalWaterFunctionTotal().then((res) => {
|
||||
res.data.data.forEach((e) => {
|
||||
e.wTemp = "-1";
|
||||
@@ -142,6 +145,7 @@
|
||||
e.lprlMajorOverStandardItemsMultiples = "-1";
|
||||
})
|
||||
this.datasource = res.data.data;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user