Merge pull request 'master' (#965) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/965
This commit is contained in:
2025-04-02 16:11:32 +00:00
2 changed files with 11 additions and 3 deletions

View File

@@ -261,7 +261,7 @@ const compositeParam = (item) => {
fileType: item.fileType,
url: item.url,
newFile: true,
tag: getTagName(activeName.value),
tag: getTagName(activeName.value) || '项目实施',
}
}
const getFile = (val) => {

View File

@@ -11,7 +11,7 @@
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
import {toThousands} from '@/utils/changePrice.js'
import {switchAttachmentState} from "@/api/project-manage/attachment";
import {ElMessageBox} from "element-plus";
import {ElMessageBox, ElNotification} from "element-plus";
import { getSubCompOpt } from '@/api/user/user.js';
import {filterProjectName} from "@/api/project-manage";
import {filterRequirementName} from "@/api/project-demand";
@@ -436,7 +436,15 @@ const handleOpenUpload=(row,flag)=>{
projectId: row.projectId
}
switchAttachmentState(params).then(res=>{
tableIns.value.refresh()
if(res.code==1000){
tableIns.value.refresh()
}else{
ElNotification({
title: '提示',
message: res.msg,
type: 'error'
})
}
})
})
}