asd123a20 2 éve
szülő
commit
e577bbab70
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      src/views/community/log/index.vue

+ 3 - 3
src/views/community/log/index.vue

@@ -117,7 +117,7 @@ export default {
   methods: {
     init() {
       this.queryParams.detectStatus = 1;
-      this.queryParams.natTaskId = this.taskList[0]?.natTaskId;
+      this.queryParams.taskId = this.taskList[0]?.natTaskId;
       this.handleNodeClick(this.addrOptions[0]);
     },
     // 点击标签
@@ -147,8 +147,8 @@ export default {
     /** 查询检测日志管理列表 */
     getList() {
       this.loading = true;
-      const { addrType, addrInterId, natTaskId } = this.queryParams;
-      getrealtimenum({ addrType, addrInterId, natTaskId }).then((response) => {
+      const { addrType, addrInterId, taskId } = this.queryParams;
+      getrealtimenum({ addrType, addrInterId, taskId }).then((response) => {
         this.num = response.data;
       });
       getrealtime(this.queryParams).then((response) => {