Explorar o código

关联试验文件默认选中第一条数据

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
9d47781618
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/data-fill/components/ListItem.vue

+ 4 - 0
src/views/data-fill/components/ListItem.vue

@@ -1603,6 +1603,10 @@ const getSearchNodeTables = async () => {
     insertDataSelectoading.value = false
     if (!error && code === 200) {
         testReportData.value = getArrValue(data)
+        if(testReportData.value.length>0){
+            testReportId.value=testReportData.value[0].pKeyId
+            getBussddataInfotrialData()
+        }
     } else {
         testReportData.value = []