spring
2025-03-07 2d55ed180fddd028bf4f839345bf0ef4d2f032e7
src/views/business/inspectionTask/components/InspectionWord.vue
@@ -247,7 +247,7 @@
import AddUnPass from "@/views/business/unpass/components/addUnPass.vue";
import {
  checkSubmitPlan,
  doInsOrder,
  doInsOrder, downFile,
  getInsProductUnqualifiedRetest,
  search, selectUserCondition,
  submitPlan,
@@ -1848,10 +1848,6 @@
            currentTable: this.currentTable,
            sampleId: this.currentSample.id
          }).then(res => {
            if (res.code == 201) {
              this.$message.error('保存失败')
              return
            }
            this.$message.success('已保存')
          })
          // 向 Worker 发送消息,开始处理逻辑
@@ -2036,16 +2032,7 @@
      downFile({
        id: row.id,
      }).then(res => {
        if (res.code === 200) {
          let url = '';
          if (res.data.type == 1) {
            url = this.javaApi + '/img/' + res.data.fileUrl
            this.$download.saveAs(url, row.fileName);
          } else {
            url = this.javaApi + '/word/' + res.data.fileUrl
            this.$download.saveAs(url, row.fileName);
          }
        }
        this.$download.downloadFileFromUrl(res.data.fileUrl, row.fileName);
      }).catch(error => {
      })