更新采购申请文件模版下载
This commit is contained in:
@@ -129,14 +129,29 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="ActivityInfoSubSignup">
|
||||
import { reactive, ref, onMounted, computed } from 'vue'
|
||||
import { BasicTableProps, useTable } from "/@/hooks/table";
|
||||
import { fetchList, delObj, getActivityInfoList, getActivityInfoSubList } from "/@/api/stuwork/activityinfosubsignup";
|
||||
import { makeExportActivitySignUpDetailTask } from "/@/api/stuwork/file";
|
||||
import { useMessage, useMessageBox } from "/@/hooks/message";
|
||||
import TableColumnControl from '/@/components/TableColumnControl/index.vue'
|
||||
import { List, Trophy, Document, Files, CreditCard, Avatar, OfficeBuilding, Grid, UserFilled, Phone, Setting, Menu, Search, Document as DocIcon } from '@element-plus/icons-vue'
|
||||
import { useTableColumnControl } from '/@/hooks/tableColumn'
|
||||
import { reactive, ref, onMounted, computed } from 'vue';
|
||||
import { BasicTableProps, useTable } from '/@/hooks/table';
|
||||
import { fetchList, delObj, getActivityInfoList, getActivityInfoSubList } from '/@/api/stuwork/activityinfosubsignup';
|
||||
import { makeExportActivitySignUpDetailTask } from '/@/api/stuwork/file';
|
||||
import { useMessage, useMessageBox } from '/@/hooks/message';
|
||||
import TableColumnControl from '/@/components/TableColumnControl/index.vue';
|
||||
import {
|
||||
List,
|
||||
Trophy,
|
||||
Document,
|
||||
Files,
|
||||
CreditCard,
|
||||
Avatar,
|
||||
OfficeBuilding,
|
||||
Grid,
|
||||
UserFilled,
|
||||
Phone,
|
||||
Setting,
|
||||
Menu,
|
||||
Search,
|
||||
Document as DocIcon,
|
||||
} from '@element-plus/icons-vue';
|
||||
import { useTableColumnControl } from '/@/hooks/tableColumn';
|
||||
|
||||
// 定义变量内容
|
||||
const searchFormRef = ref();
|
||||
@@ -230,16 +245,16 @@ const handleDelete = async (row: any) => {
|
||||
|
||||
// 导出
|
||||
const handleExport = async () => {
|
||||
exportLoading.value = true
|
||||
exportLoading.value = true;
|
||||
try {
|
||||
await makeExportActivitySignUpDetailTask(state.queryForm)
|
||||
useMessage().success('导出任务已创建,请在文件管理中下载')
|
||||
await makeExportActivitySignUpDetailTask(state.queryForm);
|
||||
useMessage().success('导出任务已创建,请在文件管理中下载');
|
||||
} catch (err: any) {
|
||||
useMessage().error(err.msg || '导出失败')
|
||||
useMessage().error(err.msg || '导出失败');
|
||||
} finally {
|
||||
exportLoading.value = false
|
||||
exportLoading.value = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// 获取活动主题列表
|
||||
const getActivityInfoListData = async () => {
|
||||
|
||||
Reference in New Issue
Block a user