|
|
@@ -575,10 +575,6 @@ const fileDownloadType = { 1:'整份下载', 2:'报告表下载', 3:'记录表
|
|
|
const fileDownloadClick = async (type) => {
|
|
|
fileDownloadLoading.value = true
|
|
|
const rows = tableCheckedKeys.value
|
|
|
- if (rows.some(el=> el.taskStatus !== '已审批')) {
|
|
|
- window.$message?.warning('存在未审批的记录,无法下载')
|
|
|
- return
|
|
|
- }
|
|
|
const ids = arrToId(rows)
|
|
|
fileDownloadLoading.value = true
|
|
|
const { error, disposition, res, code } = await dataApi.downloadFile({ ids, type, classify: authBtnTabKey.value })
|