From 2d55ed180fddd028bf4f839345bf0ef4d2f032e7 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 07 三月 2025 13:34:31 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue b/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue index 1a25201..d6cc6d9 100644 --- a/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue +++ b/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(); }); -- Gitblit v1.9.3