remark:'commit'

This commit is contained in:
fks-xuxinyue
2024-07-31 15:52:08 +08:00
parent 75df2dfb11
commit 55051da8a5
13 changed files with 724 additions and 133 deletions

View File

@@ -129,7 +129,7 @@
</template>
<script lang="ts" setup>
import { ref, watch, toRaw } from 'vue';
import { ref, watch, toRaw, defineExpose } from 'vue';
import type { TreeProps } from 'ant-design-vue';
import { Pagination, Modal } from 'ant-design-vue';
import { columns, drawerColumns } from '../config';
@@ -350,6 +350,10 @@
},
rowKey: 'id',
});
defineExpose({
getTreeData,
});
// 获取列表数据
const getTableList = () => {
fetch(quickCalculation.queryCarbonEmissionPage, queryParams.value).then((res) => {