spring
2025-03-07 2d55ed180fddd028bf4f839345bf0ef4d2f032e7
src/views/CNAS/systemManagement/documentRecords/revisionRecord.vue
@@ -542,6 +542,7 @@
        method: '修订',
      }
      this.title = '新增'
      this.file = null
      this.addDialogVisible = true;
    },
    // 导出
@@ -549,10 +550,7 @@
      this.outLoading = true
      exportOutManageRecordAudit(this.queryParams).then(res => {
        this.outLoading = false
        if (res.code == 201) return this.$message.error('导出失败')
        this.$message.success('导出成功')
        let url = this.javaApi + '/word/' + res.data
        this.$download.saveAs(url, "文件修订表");
        this.$download.downloadFileFromUrl(res.data, "文件修订表");
      })
    },
    getList() {
@@ -681,6 +679,7 @@
    handleEdit(row) {
      this.addInfo = row
      this.title = '修改'
      this.file = null
      this.addDialogVisible = true;
    },
    // 审批
@@ -692,9 +691,6 @@
      })
        .then(() => {
          ratifyManageRecordAudit({ id: row.id }).then(res => {
            if (res.code === 201) {
              return;
            }
            this.$message.success('操作成功');
            this.refreshTable();
          })