|
@@ -937,7 +937,7 @@ module.exports = app => {
|
|
|
if (!fileInfo || !Object.keys(fileInfo).length) {
|
|
|
throw '该文件不存在';
|
|
|
}
|
|
|
- if (!fileInfo.extra_upload && ctx.stage.status === auditConst.status.checked) {
|
|
|
+ if (!fileInfo.extra_upload && ctx.tender.status === auditConst.status.checked) {
|
|
|
throw '无权限删除';
|
|
|
}
|
|
|
if (fileInfo !== undefined && fileInfo !== '') {
|