Sfoglia il codice sorgente

组件方法加nodeid

duy 1 anno fa
parent
commit
70e6625f51
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 2 1
      src/views/archives/rolling.vue
  2. 1 0
      src/views/using/query.vue

+ 2 - 1
src/views/archives/rolling.vue

@@ -253,6 +253,7 @@ const updateArchive = async ()=>{
     const { error, code, data, msg } = await tuningApi.archiveAutoMethod({
         projectId:projectId.value,
         contractId:contractId.value,
+        nodeId:searchForm.value.nodeIds,
     })
     updateArchiveLoad.value = false
      if (!error && code === 200) {
@@ -293,7 +294,7 @@ const Verification = () => {
             }
         
        
-    }, 10000)
+    }, 5000)
 }
 </script>
 

+ 1 - 0
src/views/using/query.vue

@@ -1300,6 +1300,7 @@ const nodeTabData = ref([
 const nodeTabChange = (item) => {
     nodeTabKey.value = item?.key
     getnodeTabData()
+    activeName.value = []
 }
 //获取目录树getArchiveTreeByNodeType
 const checkColId = ref(false)