licp
2024-08-02 ccf69208da7c1b43b32794549e6a8ccb6c11d6a3
修改
已修改1个文件
7 ■■■■■ 文件已修改
src/components/do/b1-inspect-order-plan/Inspection.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -1293,7 +1293,7 @@
        }
        if(this.getData.length>0){
          this.dataGetDia = true
        }
        }else{
        try {
          // 向 Worker 发送消息,开始处理逻辑
          this.worker0.postMessage(JSON.stringify({
@@ -1302,6 +1302,7 @@
          }));
        } catch (error) {
          console.log(1111,error);
          }
        }
        // 监听 Worker 返回的结果
        this.worker0.onmessage = (event) => {
@@ -1349,7 +1350,7 @@
        }
        this.getDataIndexLoading = true;
        this.$axios.post(this.$api.deviceScope.formulaCalculation,{
          map:this.dataAcquisitionInfoNew
          ...this.dataAcquisitionInfoNew
        }, {
          headers: {
            'Content-Type': 'application/json'
@@ -1360,7 +1361,7 @@
          if(res.code!=200){
            return
          }
          this.handleDataAcquisition(res.data.map)
          this.handleDataAcquisition(res.data)
        })
      },
      // 多线程