招标一览审核

This commit is contained in:
Teo
2025-08-22 22:57:45 +08:00
parent 9584ab4baa
commit ea56d292ec
6 changed files with 93 additions and 47 deletions

View File

@ -153,7 +153,6 @@ import {
} from '@/api/progress/progressCategory';
import { ProgressCategoryVO, ProgressCategoryQuery, ProgressCategoryForm } from '@/api/progress/progressCategory/types';
import { useUserStoreHook } from '@/store/modules/user';
import { download } from '@/utils/request';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { progress_unit_type, progress_work_type } = toRefs<any>(proxy?.useDict('progress_unit_type', 'progress_work_type'));
@ -367,9 +366,14 @@ const handleUpdate = async (row: ProgressCategoryVO) => {
const handleExport = async () => {
const ids = treeRef.value.getCheckedNodes()[0].pathNodes[0].childrenData.map((item) => item.matrixId);
const res = await downloadProgressCategory({ ids });
download('/progress/progressCategory/export', { ids }, '方阵.xlsx', true);
// window.open(res.data);
proxy?.download(
'/progress/progressCategory/export',
{
ids: ids
},
`qualityInspection_${new Date().getTime()}.xlsx`,
true
);
};
/** 提交按钮 */