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