四六级数据同步

This commit is contained in:
Cool 2024-10-24 15:04:53 +08:00
parent d0a33280d3
commit 87daede414
1 changed files with 3 additions and 2 deletions

View File

@ -5,9 +5,9 @@
<a-col :xl="24" :style="{ marginBottom: '24px' }"> <a-col :xl="24" :style="{ marginBottom: '24px' }">
<div class="clearfix"> <div class="clearfix">
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
<!--<div class="clearfix"> <div class="clearfix">
<a-button type="primary" preIcon="ant-design:import-outlined" @click="asyncData">同步数据</a-button> <a-button type="primary" preIcon="ant-design:import-outlined" @click="asyncData">同步数据</a-button>
</div>--> </div>
<!--<div class="clearfix"> <!--<div class="clearfix">
<a-button preIcon="ant-design:export-outlined" @click="downloadTemplate"> 下载模板</a-button> <a-button preIcon="ant-design:export-outlined" @click="downloadTemplate"> 下载模板</a-button>
</div>--> </div>-->
@ -37,6 +37,7 @@
<script lang="ts" name="com-cet4Major" setup> <script lang="ts" name="com-cet4Major" setup>
import { ref, reactive, onMounted } from 'vue'; import { ref, reactive, onMounted } from 'vue';
import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { BasicTable, useTable, TableAction } from '/@/components/Table';
import { message } from 'ant-design-vue';
import { useListPage } from '/@/hooks/system/useListPage'; import { useListPage } from '/@/hooks/system/useListPage';
import { columns, superQuerySchema } from './Cet4Major.data'; import { columns, superQuerySchema } from './Cet4Major.data';
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './Cet4Major.api'; import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './Cet4Major.api';