优化碳排管理

This commit is contained in:
fks-xuxinyue
2024-09-02 17:30:19 +08:00
parent a0809e12f0
commit c4548fc81d
9 changed files with 272 additions and 224 deletions

View File

@@ -7,15 +7,19 @@
:pagination="false"
:scroll="{ x: 1700, y: 480 }">
<template #title>
<a-date-picker v-model:value="selectYear" picker="year" valueFormat="YYYY" />
<a-date-picker
v-model:value="selectYear"
@change="changeYearData"
picker="year"
valueFormat="YYYY" />
<span style="margin-left: 30px">
<a-button type="primary" @click="changeYearData">查询</a-button>
<a-button type="primary" ghost style="margin-left: 6px" @click="reset">重置</a-button>
<a-button type="primary" ghost @click="reset">重置</a-button>
<a-button type="primary" style="margin-left: 6px" @click="clickSelect">搜索</a-button>
</span>
</template>
<template #bodyCell="{ column, text }">
<span>{{ text || '-' }}</span>
</template>
<span>{{ text || '-' }}</span>
</template>
</a-table>
<!-- <a-pagination
:current="queryParams.pageNum"
@@ -58,6 +62,8 @@
// 年份选择改变触发
const changeYearData = () => {
queryParams.value.year = selectYear.value;
};
const clickSelect = () => {
getTableList();
};
const reset = () => {