优化碳排管理
This commit is contained in:
@@ -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 = () => {
|
||||
|
Reference in New Issue
Block a user