ZaiZai 2 жил өмнө
parent
commit
6ff3e850f2

+ 4 - 9
src/views/using/query.vue

@@ -425,7 +425,7 @@
 import {ref, nextTick, onMounted, watch} from "vue";
 import {useAppStore} from "~src/store";
 import MetaTable from "../transfer/components/meta-table.vue"
-import {getArrValue, arrIndex, isArrIndex} from "js-fast-way"
+import {getArrValue, arrIndex, isArrIndex, isString} from "js-fast-way"
 import archiveQueryApi from "~api/using/query.js";
 import tuningApi from "~api/archiveConfig/tuning.js";
 import imageViewGui from "~src/assets/view/gui.png";
@@ -1576,18 +1576,13 @@ const testDownload = (blob) => {
 //发起请求
 const transcribeApi = async (formData) => {
     const { error, code, data } = await archiveQueryApi.micSearchInfo(formData)
-    /*const str = isString(data) ? data : ''
+    const str = isString(data) ? data : ''
     if (!error && code === 200 && str) {
         searchForm.value.searchType = 1
+        searchForm.value.current = 1
         searchInput.value = str
         getTableData().then()
-    }*/
-    searchForm.value.current = 1
-    searchForm.value.listType = 1
-    searchForm.value.searchType = 1
-    searchForm.value.nodeIds = '1660910247268581389,1660910247268581377,1660910247268581432,1660910247268581446,1660910247268581406,1660910247268581450,1660910247268581449,1669264546638295042,1660910247268581452,1660910247268581451'
-    searchInput.value = '补充协议'
-    getTableData().then()
+    }
 }
 
 //获取录音权限