gaoluyang
2025-03-07 573265f7d79341298ba4287be38f00ddbc66e7ec
src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
@@ -433,6 +433,7 @@
    handleUpdate(row) {
      this.title = '文件变更申请'
      this.addInfo = this.HaveJson(row)
      this.file = null
      this.addDialogVisible = true
    },
    // 查看附件
@@ -460,8 +461,7 @@
    },
    handleDown(row) {
      if (!row.url) return this.$message.warning('文件未上传')
      let url = this.javaApi + '/word/' + row.url
      this.$download.saveAs(url, row.url);
      this.$download.downloadFileFromUrl(row.url, row.url);
    },
    async uploadPDF(pdfBlob) {
      const formData = new FormData();
@@ -508,7 +508,6 @@
      })
        .then(() => {
          delManageDocumentControlled({ id: row.id }).then((res) => {
            if (res.code == 201) return;
            this.$message.success("删除成功");
            this.refresh();
          });