From a17362ca9deadbe595dcca6674a4ed1d7ed21c2a Mon Sep 17 00:00:00 2001 From: pengwei Date: Tue, 5 Aug 2025 11:18:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:1=E3=80=81=E7=9D=A3=E5=AF=9F=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E8=8E=B7=E5=8F=96=E5=88=9B=E5=BB=BA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20&=20=E6=A0=B9=E6=8D=AE=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=8E=92=E5=BA=8F=20&=20=E7=9D=A3=E5=AF=9F=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E6=8F=90=E4=BA=A4=E9=9D=9E=E7=A9=BA=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=20&=20=E5=85=B3=E9=97=AD=E5=AF=B9=E8=AF=9D=E6=A1=86=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E9=94=80=E6=AF=81=E5=86=85=E9=83=A8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=9B=202=E3=80=81=20=E7=8E=B0=E5=9C=BA=E4=B8=93?= =?UTF-8?q?=E9=A1=B9=E9=BB=84=E8=B5=8C=E8=AD=A6=E6=83=85=E5=8A=9E=E7=BB=93?= =?UTF-8?q?=E7=8E=87=E7=BB=9F=E8=AE=A1=E5=8D=95=E4=BD=8D=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datav/SceneInsp.vue | 2 +- src/views/superviseReport/superviseReport.vue | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/datav/SceneInsp.vue b/src/views/datav/SceneInsp.vue index 5965b60..60cc259 100644 --- a/src/views/datav/SceneInsp.vue +++ b/src/views/datav/SceneInsp.vue @@ -430,7 +430,7 @@ class="descriptions_content" > {{ - rightOverview.completeRate + rightOverview.completedRate }}%
{ editRow.value=row; } +const formRef = ref(null) //保存数据 const handleSumbit = async ()=>{ + await formRef.value.validate(); editLoading.value=true; const res = await addOrUpDataFun(editRow.value); editShow.value=false; @@ -118,6 +120,19 @@ const getNegativePageFun = async (row)=>{ negativeLoging.value=false; } +const closeAdd =()=>{ + console.log('12-----') + editRow.value={} + console.log(editRow.value) +} +watch(()=>editRow.value.files,(val)=>{ + console.log(val) + if(val){ + console.log(val[0]?.fileName.split(".")[0]) + editRow.value.reportName = val[0]?.fileName.split(".")[0] + } + +}) @@ -202,8 +217,8 @@ const getNegativePageFun = async (row)=>{ - - + +