Merge branch 'zcwy-0306' into dev0223

This commit is contained in:
zhangsir
2024-04-07 16:06:24 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -205,7 +205,7 @@ import {boeRequest} from "@/api/request";
dialog({ dialog({
content: '请您确认是否要删除该报告?', content: '请您确认是否要删除该报告?',
ok: () => { ok: () => {
deleteById({id:record.id,kid:record.kid}).then((res)=>{ deleteById({id:record.id,kid:record.kid,pid:route.query.id}).then((res)=>{
message.success('删除成功') message.success('删除成功')
listData() listData()
}) })

View File

@@ -697,7 +697,7 @@ import {timeoutUpload} from "@/api/configPublic";
totalNumber: {}, totalNumber: {},
stateType:'', stateType:'',
uploadDownLoad: false, uploadDownLoad: false,
uploadDownId: '', uploadDownId: null,
loadData: false, loadData: false,
saveList: [], saveList: [],
powerStatus:{}, powerStatus:{},
@@ -1083,7 +1083,7 @@ import {timeoutUpload} from "@/api/configPublic";
//报告上传 //报告上传
const bgupload = () => { const bgupload = () => {
state.loadNewDown = false state.loadNewDown = false
state.uploadDownId = '' state.uploadDownId = null
state.downloadUrl = null state.downloadUrl = null
state.uploadId = '' state.uploadId = ''
state.valueAll = [] state.valueAll = []
@@ -1159,7 +1159,7 @@ import {timeoutUpload} from "@/api/configPublic";
item.createId = userInfo.value.userId item.createId = userInfo.value.userId
} }
}) })
// // 保存上传文件
await boeRequest('/activityApi/evaluation/detail/saveEvaluationDetail post',{evaluationDetailListlist:state.valueAll,pid:state.uploadId}).then((res)=>{ await boeRequest('/activityApi/evaluation/detail/saveEvaluationDetail post',{evaluationDetailListlist:state.valueAll,pid:state.uploadId}).then((res)=>{
if(res.code == 200){ if(res.code == 200){
if(res.data.length!=0){ if(res.data.length!=0){