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)=>{ - - + +