tangning 2 tháng trước cách đây
mục cha
commit
8999003e6b
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      src/view/material/index.vue

+ 4 - 2
src/view/material/index.vue

@@ -188,6 +188,7 @@ const gotoDraw = async (type: BoardType, id: number) => {
       width,
       mapUrl
     })
+    getcaseByCaseIdList()
     window.open(`/draw/#/overview?caseId=${caseId.value}&overviewId=${res.id}`);
   }
   // router.push({
@@ -206,6 +207,9 @@ function getList() {
     pmtId.value = list.value.xct.find(ele => ele.filesTypeName == '方位图').filesTypeId
     console.log('list.value', list.value)
   })
+  getcaseByCaseIdList()
+}
+const getcaseByCaseIdList = () =>{
   getcaseByCaseId(caseId.value).then(res => {
     let pmt = []
     let fwt = []
@@ -219,9 +223,7 @@ function getList() {
     list.value.pmt = pmt
     list.value.fwt = fwt
     console.log('getcaseByCaseId', res)
-    // fileLists.value = res?.caseFilesList || []
   })
-
 }
 const submitForm = async (formEl) => {
   if (!formEl) return;