空气统计,声字典年份打底

This commit is contained in:
weicw
2021-09-25 14:22:40 +08:00
parent 3a1da0013e
commit ad3b1fc7e6
17 changed files with 1017 additions and 38 deletions

View File

@@ -1,6 +1,36 @@
<template>
<div class="ele-body">
<a-card :bordered="false">
<a-form
:model="where"
layout="vertical"
:label-col="{ md: { span: 6 }, sm: { span: 24 } }"
: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 v-model:value="where.year">
<a-select-option
v-for="(item) in yearOptions"
:key="item.value"
>{{ item.label }}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
</a-row>
<a-row>
<a-col :lg="24" :md="24" :sm="24" :xs="24">
<a-space>
<a-button type="primary" @click="reload">查询</a-button>
<a-button type="primary" @click="copy">批量复制</a-button>
<a-button @click="reset">重置</a-button>
</a-space>
</a-col>
</a-row>
</a-form>
<a-modal
v-model:visible="showEdit"
:title="form.roadNoisePlaceId !== undefined ? '修改' : '添加'"
@@ -130,7 +160,8 @@ import {
savePlace,
updatePlace,
removePlace,
removeBatchPlace
removeBatchPlace,
getColumnOptions
} from "@/api/ecology/noise/road-noise-place";
// import moment from "moment";
export default {
@@ -233,6 +264,7 @@ export default {
// 表格搜索条件
where: {},
yearOption:[],
// 表格选中数据
selectionList: [],
// 是否显示编辑弹窗
@@ -248,6 +280,9 @@ export default {
};
},
mounted() {
getColumnOptions("year").then(res=>{
console.log(res)
})
},
methods: {
/* 刷新表格 */