修改前端样式

This commit is contained in:
Szn
2022-01-26 15:15:31 +08:00
parent 022a8f6a2c
commit 09c0fa2c30
144 changed files with 22918 additions and 551 deletions

22373
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -89,6 +89,20 @@ const airYearRankUrl = "/zhenQiWang/ambientAirZhenqiCityYearComprehensiveAqiRank
const airYearProvincialCapitalRankUrl = "/zhenQiWang/ambientAirZhenqiCityYearComprehensiveAqiRankData/listProvincialCapitalRank";
const airPm25YearRankUrl = "/zhenQiWang/ambientAirZhenqiCityYearPm25RankData/page";
const airPm25YearProvincialCapitalRankUrl = "/zhenQiWang/ambientAirZhenqiCityYearPm25RankData/listProvincialCapitalRank";
//PM2.5爬虫
const getPmNewData = function(data){
return axios.get("/zhenQiWang/ambientAirZhenqiCityYearPm25RankData/crawler",{params:{data}})
}
//月综合指数爬虫
const getMonthNewData = function(data){
return axios.get("/zhenQiWang/ambientAirZhenqiCityMonthComprehensiveAqiRankData/crawler",{params:{data}})
}
//年综合指数爬虫
const getYearNewData = function(data){
return axios.get("/zhenQiWang/ambientAirZhenqiCityYearComprehensiveAqiRankData/crawler",{params:{data}})
}
export {
pageBillUrl,
saveAirBill,
@@ -116,8 +130,11 @@ export {
airYearProvincialCapitalRankUrl,
airPm25YearProvincialCapitalRankUrl,
airMonthProvincialCapitalRankUrl,
getYearOptions,
getTrendChart,
getCityPlace,
getCountryPlace
getYearOptions,
getTrendChart,
getCityPlace,
getCountryPlace,
getMonthNewData,
getYearNewData,
getPmNewData,
}

View File

@@ -86,7 +86,7 @@ export default {
website: 'Website',
document: 'Document',
authorization: 'Authorization',
copyright: 'Copyright © 2021 南宁生态环境监测'
copyright: 'Copyright © 2021 广西壮族自治区南宁生态环境监测中心'
},
logout: {
title: 'Confirm',

View File

@@ -86,7 +86,7 @@ export default {
website: '官网',
document: '文档',
authorization: '授权',
copyright: 'Copyright © 2021 南宁生态环境监测'
copyright: 'Copyright © 2021 广西壮族自治区南宁生态环境监测中心'
},
logout: {
title: '提示',

View File

@@ -86,7 +86,7 @@ export default {
website: '官網',
document: '檔案',
authorization: '授權',
copyright: 'Copyright © 2021 南宁生态环境监测'
copyright: 'Copyright © 2021 广西壮族自治区南宁生态环境监测中心'
},
logout: {
title: '詢問',

View File

@@ -238,3 +238,76 @@ export default {
}
}
</script>
<style>
/*表头背景颜色和字体*/
.ant-table-thead > tr > th{
background: #40a9ff !important;
color: #FFFFFF !important;
border-left: 1px solid #FFFFFF !important;
border-collapse: collapse;
}
/*表头图标*/
:root .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up, :root .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down{
color: #FFFFFF;
}
/*表头白色边框*/
.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters{
border-left: 1px solid #FFFFFF !important;
}
/*表格边框线*/
.ant-table-bordered .ant-table-thead > tr > th, .ant-table-bordered .ant-table-tbody > tr > td{
/*border-right: 1px solid #40a9ff !important;*/
}
.ant-table-tbody > tr > td{
border-bottom: 1px solid #40a9ff !important;
border-left: 1px solid #40a9ff !important;
border-collapse: collapse;
}
.ant-table-row-cell-break-word{
border-left: 1px solid #FFFFFF !important;
}
.ant-table-thead > tr > th.ant-table-selection-column, .ant-table-tbody > tr > td.ant-table-selection-column{
border-left: 1px solid #40a9ff !important;
}
/*表格第一列选择框*/
.ant-checkbox-inner{
border: 1px solid #40a9ff !important;
}
/*表格底部的条数*/
.ant-pagination.mini .ant-pagination-total-text, .ant-pagination.mini .ant-pagination-simple-pager{
color: #40a9ff !important;
}
/*下拉框*/
.ant-select:not(.ant-select-customize-input) .ant-select-selector{
border: 1px solid #1890ff !important;
}
/*下拉框后面图标颜色*/
.ant-select-arrow{
color: #1890ff !important;
}
/*输入框*/
.ant-input,
.ant-input-affix-wrapper {
border: 1px solid #1890ff !important
}
.ant-input-affix-wrapper .ant-input{
border: none !important;
}
/*输入框后面图标的颜色*/
.ant-calendar-picker-icon{
color: #1890ff !important;
}
/*输入年份数字狂的颜色*/
.ant-input-number{
border: 1px solid #1890ff !important;
}
.ant-form-inline .ant-form-item{
/*margin-top: 10px !important;*/
}
.ant-form{
margin-bottom: 10px !important;
}
.ant-form-inline{
align-content: center !important;
}
</style>

View File

@@ -85,9 +85,9 @@ function checkStateValue(key, value) {
function getState(setting) {
const state = {
// 侧边栏风格: light(亮色), dark(暗色)
sideStyle: 'dark',
sideStyle: 'light',
// 顶栏风格: light(亮色), dark(暗色), primary(主色)
headStyle: 'light',
headStyle: 'primary',
// 标签页风格: default(默认), dot(圆点), card(卡片)
tabStyle: 'default',
// 布局风格: side(默认), top(顶栏菜单), mix(混合菜单)
@@ -105,9 +105,9 @@ function getState(setting) {
// 是否开启多标签
showTabs: true,
// logo是否自适应宽度
logoAutoSize: false,
logoAutoSize: true,
// 侧栏是否多彩图标
colorfulIcon: false,
colorfulIcon: true,
// 侧边栏是否只保持一个子菜单展开
sideUniqueOpen: true,
// 是否开启页脚

View File

@@ -18,7 +18,7 @@
>
<a-button>数据导入</a-button>
</a-upload>
<a-button @click="download">模板下载</a-button>
<a-button @click="download" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">模板下载</a-button>
</a-space>
</template>
<a-tabs v-model:activeKey="activeKey">
@@ -167,4 +167,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -34,7 +34,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-form>
@@ -338,7 +338,7 @@
this.$message.error(e.msg);
}).finally(() => hide());
},
}
}
</script>
@@ -386,4 +386,4 @@
.editable-cell:hover .editable-cell-icon {
display: inline-block;
}
</style>
</style>

View File

@@ -34,7 +34,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -374,4 +374,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -21,7 +21,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -129,7 +129,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -413,4 +413,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -36,8 +36,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-form>

View File

@@ -11,8 +11,8 @@
</a-form-item>
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>
<!-- 表格 -->
@@ -179,4 +179,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -11,8 +11,8 @@
</a-form-item>
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>
<!-- 表格 -->
@@ -178,4 +178,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -11,8 +11,8 @@
</a-form-item>
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>
<!-- 表格 -->
@@ -159,4 +159,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -32,7 +32,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-form>
@@ -397,4 +397,4 @@ export default {
.editable-cell:hover .editable-cell-icon {
display: inline-block;
}
</style>
</style>

View File

@@ -34,7 +34,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -525,4 +525,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
>
<a-button type="primary">数据导入</a-button>
</a-upload>
<a-button @click="download">模板下载</a-button>
<a-button @click="download" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">模板下载</a-button>
</a-space>
</template>
@@ -157,4 +157,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -132,7 +132,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -418,4 +418,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -136,7 +136,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -419,4 +419,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -115,7 +115,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -386,4 +386,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -131,7 +131,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -389,4 +389,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -19,8 +19,8 @@
<a-col :lg="24" :md="24" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-col>
</a-row>
@@ -193,4 +193,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,8 +20,10 @@
<!-- <a-radio-button :value="2">PM2.5</a-radio-button>-->
<!-- </a-radio-group>-->
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="newData" style="background: #8F54FFFF; border-color: #8F54FFFF;color: #FFFFFF">同步最新</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>
<!-- 表格 -->
@@ -44,6 +46,7 @@ import XLSX from "xlsx";
import {
airMonthRankUrl,
airMonthProvincialCapitalRankUrl,
getMonthNewData,
} from "@/api/ecology/atmosphere/air";
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
import moment from "moment";
@@ -153,8 +156,17 @@ export default {
}
this.reload();
},
//同步最新数据
newData(){
getMonthNewData().then( res =>{
this.$notification.open({
message: '温馨提示',
description: res.data.msg,
duration: 2,
});
})
},
exportFile() {
const columns = this.columns;
const arr = [];
const th = columns.map((item) => item.title);
@@ -172,4 +184,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -21,8 +21,9 @@
<a-radio-button :value="2">PM2.5</a-radio-button>
</a-radio-group>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="newData" style="background: #8F54FFFF; border-color: #8F54FFFF;color: #FFFFFF">同步最新</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-row>
</a-form>
@@ -45,10 +46,12 @@
// import _ from "lodash";
import XLSX from "xlsx";
import {
airYearRankUrl,
airPm25YearRankUrl,
airYearProvincialCapitalRankUrl,
airPm25YearProvincialCapitalRankUrl
airYearRankUrl,
airPm25YearRankUrl,
airYearProvincialCapitalRankUrl,
airPm25YearProvincialCapitalRankUrl,
getYearNewData,
getPmNewData,
} from "@/api/ecology/atmosphere/air";
import locale from "ant-design-vue/es/date-picker/locale/zh_CN";
import moment from "moment";
@@ -171,6 +174,26 @@ export default {
}
this.reload();
},
//同步最新数据
newData(){
if (this.rankType == 1) {
getYearNewData().then( res =>{
this.$notification.open({
message: '温馨提示',
description: res.data.msg,
duration: 2,
});
})
} else {
getPmNewData().then( res =>{
this.$notification.open({
message: '温馨提示',
description: res.data.msg,
duration: 2,
});
})
}
},
exportFile() {
const columns = this.columns;
@@ -190,4 +213,5 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -22,8 +22,8 @@
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>

View File

@@ -31,8 +31,8 @@
<a-col :lg="24" :md="24" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-col>
</a-row>

View File

@@ -25,8 +25,8 @@
<a-col :lg="24" :md="24" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-col>
</a-row>
@@ -225,4 +225,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -34,8 +34,8 @@
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>
<!-- 表格 -->

View File

@@ -24,8 +24,8 @@
</a-form-item>
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form>
<!-- 表格 -->

View File

@@ -18,7 +18,7 @@
>
<a-button type="primary">数据导入</a-button>
</a-upload>
<a-button @click="download">模板下载</a-button>
<a-button @click="download" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">模板下载</a-button>
</a-space>
</template>
<a-tabs v-model:activeKey="activeKey">

View File

@@ -35,7 +35,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-form>

View File

@@ -39,7 +39,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -222,7 +222,7 @@
/>
</a-form-item>
</a-col>
<a-col :md="12" :sm="24">
<a-form-item label="功能区代码" name="functionCode">
<a-input
@@ -746,4 +746,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -139,7 +139,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -416,4 +416,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -145,7 +145,7 @@
>
<a-button>导入</a-button>
</a-upload>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -506,4 +506,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -31,8 +31,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -221,4 +221,4 @@ export default {
</script>
<style scoped>
</style>
</style>

View File

@@ -73,8 +73,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -557,4 +557,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -30,8 +30,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -50,7 +50,7 @@
>
<template #toolbar>
<!-- <a-space>
</a-space> -->
</template>
</ele-pro-table>
@@ -198,15 +198,15 @@ export default {
let sheet = XLSX.utils.aoa_to_sheet(array);
// 合并单元格
sheet['!merges'] = [
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
{s: {r: 0, c: 7}, e: {r: 0, c: 8}},
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
];
this.$util.exportSheet(XLSX, sheet, new Date().getTime().toString());
},
@@ -215,4 +215,4 @@ export default {
</script>
<style scoped>
</style>
</style>

View File

@@ -30,8 +30,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -50,7 +50,7 @@
>
<template #toolbar>
<!-- <a-space>
</a-space> -->
</template>
</ele-pro-table>
@@ -198,15 +198,15 @@ export default {
let sheet = XLSX.utils.aoa_to_sheet(array);
// 合并单元格
sheet['!merges'] = [
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
{s: {r: 0, c: 7}, e: {r: 0, c: 8}},
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
];
this.$util.exportSheet(XLSX, sheet, new Date().getTime().toString());
},
@@ -215,4 +215,4 @@ export default {
</script>
<style scoped>
</style>
</style>

View File

@@ -18,7 +18,7 @@
>
<a-button type="primary">数据导入</a-button>
</a-upload>
<a-button @click="download">模板下载</a-button>
<a-button @click="download" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">模板下载</a-button>
</a-space>
</template>
<a-tabs v-model:activeKey="activeKey">

View File

@@ -34,7 +34,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-form>

View File

@@ -45,7 +45,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -867,4 +867,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -140,7 +140,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -431,4 +431,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -21,7 +21,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -167,7 +167,7 @@
>
<a-button>导入</a-button>
</a-upload>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">

View File

@@ -32,8 +32,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
</a-space>
</a-form-item>
</a-form>

View File

@@ -84,8 +84,8 @@
<a-form-item class="ele-text-left" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -23,8 +23,8 @@
<a-form-item class="ele-text-left" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-form>

View File

@@ -14,7 +14,7 @@
<!-- 搜索表单 -->
<a-form :model="where" layout="inline" :labelCol="{ offset: 1 }">
<a-row>
<a-button @click="exportFile">导出excel</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
<!-- <a-col :lg="6" :md="12" :sm="24" :xs="24">-->
<!-- <a-form-item label="昼夜:">-->
<!-- <a-select-->
@@ -37,7 +37,7 @@
</a-row>
</a-form>
<!-- <a-space>
</a-space> -->
</template>
</ele-pro-table>
@@ -145,4 +145,4 @@ export default {
</script>
<style scoped>
</style>
</style>

View File

@@ -18,7 +18,7 @@
>
<a-button type="primary">数据导入</a-button>
</a-upload>
<a-button @click="download">模板下载</a-button>
<a-button @click="download" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">模板下载</a-button>
</a-space>
</template>
<a-tabs v-model:activeKey="activeKey">

View File

@@ -34,7 +34,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-form>

View File

@@ -36,7 +36,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -723,4 +723,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -425,4 +425,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -510,4 +510,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-col>
</a-row>
@@ -126,7 +126,7 @@
>删除
</a-button>
</a-popconfirm>
<a-button @click="exportData" type="primary">导出</a-button>
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
</a-space>
</template>
<template #action="{ record }">
@@ -387,4 +387,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -11,7 +11,7 @@
<a-space>
<!-- <a-button type="primary" @click="reload">查询</a-button>-->
<!-- <a-button @click="reset">重置</a-button> -->
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
<!-- <a-col :lg="6" :md="12" :sm="24" :xs="24">-->
<!-- <a-form-item label="年份">-->
@@ -185,4 +185,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -60,8 +60,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -529,4 +529,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -49,7 +49,7 @@
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<!-- <a-button @click="reset">重置</a-button> -->
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -160,4 +160,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -37,7 +37,7 @@
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<!-- <a-button @click="reset">重置</a-button> -->
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -210,4 +210,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -39,7 +39,7 @@
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<!-- <a-button @click="reset">重置</a-button> -->
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -235,4 +235,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -39,7 +39,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -35,7 +35,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -40,7 +40,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -35,7 +35,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -38,7 +38,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -23,7 +23,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -165,9 +165,9 @@ export default {
sorter: true,
customRender: ({text})=> moment(text).format("YYYY-MM-DD")
},
...tableColumns2,
{
title: "区域等级",
dataIndex: "regionLevel",
@@ -352,4 +352,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -25,7 +25,7 @@
<a-menu-item @click="download('农村村庄地下水饮用水','xlsx')"> 农村村庄地下水饮用水</a-menu-item>
</a-menu>
</template>
<a-button type="primary" style="left: 10px">
<a-button type="primary" style="left: 10px;background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">
模板下载
<DownOutlined />
</a-button>

View File

@@ -57,7 +57,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -304,7 +304,7 @@
let workbook = XLSX.read(data, {
type: "array",
});
let sheetNames = workbook.SheetNames;
// 解析成二维数组
let aoa1 = XLSX.utils.sheet_to_json(
@@ -410,7 +410,7 @@
path: "/water/drinking-water-village/collect/bottomWater/" + record.drinkingWaterVillageBillId
})
}
},
edit(record) {
this.editableData[record.drinkingWaterVillageBillId] = _.cloneDeep(record);
@@ -518,7 +518,7 @@
this.$message.error(e.msg);
}).finally(() => hide());
},
}
}
</script>
@@ -569,4 +569,4 @@
.editable-cell:hover .editable-cell-icon {
display: inline-block;
}
</style>
</style>

View File

@@ -23,7 +23,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -165,9 +165,9 @@ export default {
sorter: true,
customRender: ({text})=> moment(text).format("YYYY-MM-DD")
},
...tableColumns,
{
title: "区域等级",
dataIndex: "regionLevel",
@@ -352,4 +352,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -35,15 +35,15 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
</a-space>
</a-form-item>
</a-col>
</a-row>
</a-form>
<!-- <a-space>
</a-space> -->
</template>
<template #Leq="{ text, record }">
@@ -255,4 +255,4 @@ export default {
</script>
<style scoped>
</style>
</style>

View File

@@ -36,8 +36,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -68,8 +68,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -92,7 +92,7 @@
<!-- 搜索表单 -->
<!-- <a-space>
</a-space> -->
</template>
</ele-pro-table>
@@ -505,4 +505,4 @@ export default {
</script>
<style scoped>
</style>
</style>

View File

@@ -79,13 +79,13 @@
<a-menu-item @click="download('各取水点取水量情况表','xlsx')" > 各取水点取水量取水量表 </a-menu-item>
</a-menu>
</template>
<a-button type="primary" style="left: 60px">
<a-button type="primary" style="left: 60px;background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">
模板下载
<DownOutlined />
</a-button>
</a-dropdown>
</template>
<a-tabs v-model:activeKey="activeKey">
<a-tab-pane tab="饮用水页面" key="water">
@@ -579,5 +579,5 @@ export default {
</script>
<style scoped lang="less">
</style>

View File

@@ -77,7 +77,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -380,7 +380,7 @@ export default {
let workbook = XLSX.read(data, {
type: "array",
});
let sheetNames = workbook.SheetNames;
// 解析成二维数组
let aoa1 = XLSX.utils.sheet_to_json(

View File

@@ -23,7 +23,7 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -275,7 +275,7 @@ export default {
// delete form["monitorDate"];
console.log(form,'form');
const { billId } = this.$route.params;
form.drinkingWaterBillId = billId;
form.drinkingWaterBillId = billId;
if (form.drinkingWaterId) {
updateDrinkingWater(form)
.then((res) => {
@@ -353,4 +353,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportData" type="primary">按年份导出</a-button>
</a-space>
</a-col>
@@ -55,7 +55,7 @@
:width="800"
:body-style="{ paddingBottom: '8px' }"
@ok="save"
>
<a-form
ref="form"
@@ -159,7 +159,7 @@
>删除
</a-button>
</a-popconfirm>
</a-space>
</template>
<template #action="{ record }">
@@ -364,7 +364,7 @@ export default {
hide();
})
},
getOptions(){
getColumnOptions("year").then(res => {
console.log(res)
@@ -418,4 +418,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<!-- <a-button @click="exportData" type="primary">按年份导出</a-button> -->
</a-space>
</a-col>
@@ -55,7 +55,7 @@
:width="800"
:body-style="{ paddingBottom: '8px' }"
@ok="save"
>
<a-form
ref="form"
@@ -159,7 +159,7 @@
>删除
</a-button>
</a-popconfirm>
</a-space>
</template>
<template #action="{ record }">
@@ -246,7 +246,7 @@ export default {
// 表格搜索条件
where: {
// sort: "sectionCode",
},
// 表格选中数据
selectionList: [],
@@ -367,7 +367,7 @@ export default {
hide();
})
},
getOptions(){
getCountyBottomColumnOptions("year").then(res => {
console.log(res)
@@ -421,4 +421,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportData" type="primary">按年份导出</a-button>
</a-space>
</a-col>
@@ -55,7 +55,7 @@
:width="800"
:body-style="{ paddingBottom: '8px' }"
@ok="save"
>
<a-form
ref="form"
@@ -156,7 +156,7 @@
>删除
</a-button>
</a-popconfirm>
</a-space>
</template>
<template #action="{ record }">
@@ -362,7 +362,7 @@ export default {
hide();
})
},
getOptions(){
getCountyColumnOptions("year").then(res => {
console.log(res)
@@ -416,4 +416,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportData" type="primary">按年份导出</a-button>
</a-space>
</a-col>
@@ -55,7 +55,7 @@
:width="800"
:body-style="{ paddingBottom: '8px' }"
@ok="save"
>
<a-form
ref="form"
@@ -153,7 +153,7 @@
>删除
</a-button>
</a-popconfirm>
</a-space>
</template>
<template #action="{ record }">
@@ -186,7 +186,7 @@
<script>
// import _ from "lodash";
import {
pageVillageBottomDictUrl,
saveDrinkingWaterVillageBottomDict,
removeDrinkingWaterVillageBottomDict,
@@ -209,7 +209,7 @@ export default {
selection: [],
// 表格列配置
columns: [
{title: "年份",dataIndex: "year",sorter: true},
{title: "断面代码",dataIndex: "sectionCode",sorter: true},
{title: "省",dataIndex: "province",sorter: true,},
@@ -357,7 +357,7 @@ export default {
hide();
})
},
getOptions(){
getVillageBottomColumnOptions("year").then(res => {
console.log(res)
@@ -411,4 +411,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -20,7 +20,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportData" type="primary">按年份导出</a-button>
</a-space>
</a-col>
@@ -55,7 +55,7 @@
:width="800"
:body-style="{ paddingBottom: '8px' }"
@ok="save"
>
<a-form
ref="form"
@@ -109,7 +109,7 @@
<a-form-item label="日供水规模(吨)" name="dailyWaterSupplyScale">
<a-input v-model:value="form.dailyWaterSupplyScale" placeholder="请输入日供水规模(吨)" allow-clear />
</a-form-item>
</a-form>
</a-modal>
<!-- 表格 -->
@@ -154,7 +154,7 @@
>删除
</a-button>
</a-popconfirm>
</a-space>
</template>
<template #action="{ record }">
@@ -357,7 +357,7 @@ export default {
hide();
})
},
getOptions(){
getVillageTopColumnOptions("year").then(res => {
console.log(res)
@@ -411,4 +411,4 @@ export default {
</script>
<style scoped lang="less">
</style>
</style>

View File

@@ -22,8 +22,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -25,8 +25,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -8,13 +8,13 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
<a-row>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -59,7 +59,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -86,12 +86,12 @@ export default {
{title:"备注",dataIndex:"remark"},
// {title:"水源地性质",dataIndex:"waterSourceProperty",},
],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -149,7 +149,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -66,8 +66,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -8,7 +8,7 @@
:wrapper-col="{ md: { span: 18 }, sm: { span: 24 } }"
>
<a-row>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-form-item label="水源类型:">
<a-select
@@ -30,8 +30,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -73,7 +73,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -94,12 +94,12 @@ export default {
},
{title:"主要污染指标",dataIndex:"",},
],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -157,7 +157,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -39,8 +39,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -57,7 +57,7 @@
:scroll="{ x: 'max-content' }"
@done="(d) => (data = d.data)"
>
</ele-pro-table>
</a-card>
</div>

View File

@@ -43,7 +43,7 @@
/>
</a-form-item>
</a-col>
</a-row>
<a-row>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
@@ -70,8 +70,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="searchData">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -228,7 +228,7 @@ export default {
onCheckAllChange (e) {
this.filter = e.target.checked ? filterColumns.map((item) => item.dataIndex) : []
},
handleChange(e) {
@@ -336,4 +336,4 @@ export default {
cursor: pointer;
height: 32px;
}
</style>
</style>

View File

@@ -43,7 +43,7 @@
/>
</a-form-item>
</a-col>
</a-row>
<a-row>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
@@ -70,8 +70,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="searchData">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -228,7 +228,7 @@ export default {
onCheckAllChange (e) {
this.filter = e.target.checked ? filterColumns.map((item) => item.dataIndex) : []
},
handleChange(e) {
@@ -330,4 +330,4 @@ export default {
cursor: pointer;
height: 32px;
}
</style>
</style>

View File

@@ -43,7 +43,7 @@
/>
</a-form-item>
</a-col>
</a-row>
<a-row>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
@@ -70,8 +70,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="searchData">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -228,7 +228,7 @@ export default {
onCheckAllChange (e) {
this.filter = e.target.checked ? filterColumns.map((item) => item.dataIndex) : []
},
handleChange(e) {
@@ -331,4 +331,4 @@ export default {
cursor: pointer;
height: 32px;
}
</style>
</style>

View File

@@ -22,8 +22,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -25,8 +25,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -56,8 +56,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -75,15 +75,15 @@
@done="(d) => (data = d.data)"
>
<template #waterCode="{text,record}">
<span >
<span >
{{
record.reportTime==null? text="":
record.reportTime.substr(5,2)=="01" || record.reportTime.substr(5,2) == "02" ||record.reportTime.substr(5,2) == "03" ||record.reportTime.substr(5,2)=="12"
? text="K":
? text="K":
record.reportTime.substr(5,2)=="04" || record.reportTime.substr(5,2) == "05" ||record.reportTime.substr(5,2)=="10"||record.reportTime.substr(5,2)=="11"
? text="P":
? text="P":
record.reportTime.substr(5,2)=="06" || record.reportTime.substr(5,2) == "07" ||record.reportTime.substr(5,2)=="08"||record.reportTime.substr(5,2)=="09"
? text="F":text="无采样时间"
}}
@@ -114,7 +114,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -141,12 +141,12 @@ export default {
{title:"备注",dataIndex:"remark"},
// {title:"水源地性质",dataIndex:"waterSourceProperty",},
],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -204,7 +204,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -65,8 +65,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -84,14 +84,14 @@
@done="(d) => (data = d.data)"
>
<template #waterCode="{text,record}">
<span >
<span >
{{
record.reportTime==null? text="":
record.reportTime.substr(5,2)=="01" || record.reportTime.substr(5,2) == "02" ||record.reportTime.substr(5,2) == "03" ||record.reportTime.substr(5,2)=="12"
? text="K":
? text="K":
record.reportTime.substr(5,2)=="04" || record.reportTime.substr(5,2) == "05" ||record.reportTime.substr(5,2)=="10"||record.reportTime.substr(5,2)=="11"
? text="P":
? text="P":
record.reportTime.substr(5,2)=="06" || record.reportTime.substr(5,2) == "07" ||record.reportTime.substr(5,2)=="08"||record.reportTime.substr(5,2)=="09"
? text="F":text="无采样时间"
}}
@@ -122,7 +122,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -132,20 +132,20 @@ export default {
url: pageDrinkingWaterCountyStatisticUrl,
selection: [],
columns:[
// {
// title: "水期代码",
// {
// title: "水期代码",
// dataIndex: "waterPhaseCode",
// sorter: true,
// sorter: true,
// slots:{customRender:'waterCode' }
// },
...tableColumns2,
],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -203,7 +203,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -28,8 +28,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -47,14 +47,14 @@
@done="(d) => (data = d.data)"
>
<template #waterCode="{text,record}">
<span >
<span >
{{
record.reportTime==null? text="":
record.reportTime.substr(5,2)=="01" || record.reportTime.substr(5,2) == "02" ||record.reportTime.substr(5,2) == "03" ||record.reportTime.substr(5,2)=="12"
? text="K":
? text="K":
record.reportTime.substr(5,2)=="04" || record.reportTime.substr(5,2) == "05" ||record.reportTime.substr(5,2)=="10"||record.reportTime.substr(5,2)=="11"
? text="P":
? text="P":
record.reportTime.substr(5,2)=="06" || record.reportTime.substr(5,2) == "07" ||record.reportTime.substr(5,2)=="08"||record.reportTime.substr(5,2)=="09"
? text="F":text="无采样时间"
}}
@@ -85,7 +85,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -106,12 +106,12 @@ export default {
},
{title:"主要污染指标",dataIndex:"",},
],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -169,7 +169,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -39,8 +39,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -57,7 +57,7 @@
:scroll="{ x: 'max-content' }"
@done="(d) => (data = d.data)"
>
</ele-pro-table>
</a-card>
</div>

View File

@@ -22,8 +22,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -25,8 +25,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>

View File

@@ -74,8 +74,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询3</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -139,7 +139,7 @@ export default {
// areaOptions: [],
// roadOptions: [],
regionLevelOptions: [],
reportTimeScope: [],
// 表格搜索条件
where: {

View File

@@ -69,8 +69,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询3</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -88,14 +88,14 @@
@done="(d) => (data = d.data)"
>
<template #waterCode="{text,record}">
<span >
<span >
{{
record.monitorTime==null? text="":
record.monitorTime.substr(5,2)=="01" || record.monitorTime.substr(5,2) == "02" ||record.monitorTime.substr(5,2) == "03" ||record.monitorTime.substr(5,2)=="12"
? text="K":
? text="K":
record.monitorTime.substr(5,2)=="04" || record.monitorTime.substr(5,2) == "05" ||record.monitorTime.substr(5,2)=="10"||record.monitorTime.substr(5,2)=="11"
? text="P":
? text="P":
record.monitorTime.substr(5,2)=="06" || record.monitorTime.substr(5,2) == "07" ||record.monitorTime.substr(5,2)=="08"||record.monitorTime.substr(5,2)=="09"
? text="F":text="无采样时间"
}}
@@ -126,7 +126,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -136,20 +136,20 @@ export default {
url: pageDrinkingWaterVillageStatisticUrl,
selection: [],
columns:[
// {
// title: "水期代码",
// {
// title: "水期代码",
// dataIndex: "waterPhaseCode",
// sorter: true,
// sorter: true,
// slots:{customRender:'waterCode' }
// },
...tableColumns3,
],
reportTimeScope: [],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -207,7 +207,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -28,8 +28,8 @@
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
<a-space>
<a-button type="primary" @click="reload">查询3</a-button>
<a-button @click="reset">重置</a-button>
<a-button @click="exportFile">导出Excel</a-button>
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
</a-space>
</a-form-item>
</a-col>
@@ -71,7 +71,7 @@ export default {
name: "DrinkingWaterBase",
components: {},
data() {
return {
data: [],
@@ -92,12 +92,12 @@ export default {
},
{title:"主要污染指标",dataIndex:"",},
],
// 表格列配置
// palceOptions: [],
// areaOptions: [],
// roadOptions: [],
@@ -155,7 +155,7 @@ export default {
// },
/* 刷新表格 */
reload() {
this.$refs.table.reload({
where: this.where,
});

View File

@@ -54,7 +54,7 @@
<a-menu-item @click="download('其它内湖水质监测报告表','/template/其它内湖水质监测报告表.xls')" > 其它内湖水质监测报告表 </a-menu-item>
</a-menu>
</template>
<a-button type="primary" style="left: 60px">
<a-button type="primary" style="left: 60px;background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">
模板下载
<DownOutlined />
</a-button>
@@ -108,7 +108,7 @@ export default {
this.reload()
},
methods: {
getInnerData(){
getInnerData({page: 1, limit: 1000}).then(res=>{
this.waterData = res.data.data
@@ -124,11 +124,11 @@ export default {
// 模板下载
download (name,url){
var a = document.createElement("a");
a.href = url;
a.download = `${name}-导入模板`;
a.style.display = "none";
document.body.appendChild(a);
a.click();
a.href = url;
a.download = `${name}-导入模板`;
a.style.display = "none";
document.body.appendChild(a);
a.click();
a.remove();
},
handleMenuClick(e) {
@@ -151,7 +151,7 @@ export default {
}else{
Modal.error({ title:res.data.msg || '文件导入失败', });
}
hide()
}).catch(err=>{
console.log(err)
@@ -170,7 +170,7 @@ export default {
if(item.billName==file.name){
isHas = true
}
})
})
}
if(isHas){
@@ -225,7 +225,7 @@ export default {
if(item.billName==file.name){
isHas = true
}
})
})
}
if(isHas){
@@ -278,7 +278,7 @@ export default {
if(item.billName==file.name){
isHas = true
}
})
})
}
if(isHas){

Some files were not shown because too many files have changed in this diff Show More