修改前端样式
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user