spring
2025-03-11 368b525db5f3f4f82b13c074341708a46b9a4111
src/views/CNAS/resourceDemand/device/component/calibration.vue
@@ -416,14 +416,7 @@
      })
    },
    handleAttachmentClick(row) {
      let state = /\.(jpg|jpeg|png|gif)$/i.test(row.systemFileName)
      if (state) {
        let url = this.javaApi + '/img/' + row.systemFileName;
        this.$download.saveAs(url, row.systemFileName)
      } else {
        const url = this.javaApi + '/word/' + row.systemFileName
        this.$download.saveAs(url, row.systemFileName)
      }
      this.$download.saveAs(row.systemFileName, row.systemFileName)
    },
    //导出
    handleDown() {