spring
3 天以前 b40d8371913805a2926ba1c5f9bdcafd36dfff05
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -315,7 +315,7 @@
          <span style="color: #3A7BFA;">保存模板</span>
        </el-button>
        <!-- <el-button size="small" type="primary" @click="sampleVisible=true;uploadSample()">样品切换</el-button> -->
        <el-button size="small" type="primary" @click="showSampleChangeDialog" >样品编号更改</el-button>
        <el-button size="small" type="primary" @click="showSampleChangeDialog"  v-show="!isLook">样品编号更改</el-button>
        <el-button size="small" type="primary" @click="taskVisible = true" v-show="!isLook">任务切换</el-button>
        <el-button size="small" type="primary" @click="handleSubmit" v-if="state == 1"
          :loading="submitLoading">提交</el-button>
@@ -4561,9 +4561,11 @@
            let url = "";
            if (res.data.type == 1) {
              url = this.javaApi + "/img/" + res.data.fileUrl;
              url = url.replace(/#/g, "%23");
              file.downloadIamge(url, row.fileName);
            } else {
              url = this.javaApi + "/word/" + res.data.fileUrl;
              url = url.replace(/#/g, "%23");
              const link = document.createElement("a");
              link.href = url;
              link.download = row.fileName;
@@ -4637,6 +4639,7 @@
      } else {
        this.currentFile.url = this.javaApi + "/word/" + row.fileUrl;
      }
      this.currentFile.url = this.currentFile.url.replace(/#/g, "%23");
      this.lookFileVisible = true;
    },
    handleBack() {