饮用水框架页面

This commit is contained in:
庞东林
2021-12-10 11:39:22 +08:00
parent f7a430f8ca
commit 397fb28f4b
20 changed files with 1660 additions and 63 deletions

View File

@@ -25,7 +25,7 @@
>
<template #footer>
<div class="footer">
饮用水源水质监测累积月份统计样品数10
饮用水源水质监测累积月份统计样品数{{count}}
</div>
</template>
@@ -66,7 +66,7 @@ import {
} from "@/api/ecology/new-drinking-water";
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
import { tableColumns } from "./../colums/base";
import Search from "./../components/search.vue";
import Search from "./../components/countySearch.vue";
export default {
name: "DrinkingWaterBase",
@@ -93,6 +93,7 @@ export default {
},
data() {
return {
count:0, //样品数
current:0,
data: [],
locale,
@@ -131,8 +132,10 @@ export default {
if(res.data.code){
this.$message.error(res.data.msg);
this.datasource = []
this.count = 0
}else{
this.datasource = res.data.data
this.count = res.data.count
}
}).catch(()=>{
this.loading = false;