From ed22942ab29261df04267a8dabb21493f31d86e8 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Thu, 3 Apr 2025 00:11:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(project-management):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E5=90=AF=E7=94=A8=E7=A6=81=E7=94=A8=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=8F=8D=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project-management/filing/index.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/project-management/filing/index.vue b/src/views/project-management/filing/index.vue index 78f2ab5..561dcc9 100644 --- a/src/views/project-management/filing/index.vue +++ b/src/views/project-management/filing/index.vue @@ -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' + }) + } }) }) }