From b807a12b89dc9126bac49c02a3902bec758f4f9b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 09 六月 2025 11:55:27 +0800 Subject: [PATCH] 检验标准未带出 --- src/views/structural/capabilityAndLaboratory/laboratory/index.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue index 8ab749f..9a14304 100644 --- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue +++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue @@ -11,8 +11,8 @@ </el-select> </el-form-item> <el-form-item> - <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button> - <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button> + <el-button type="primary" size="mini" @click="refreshTable">鏌ヨ</el-button> + <el-button size="mini" @click="refresh">閲嶇疆</el-button> </el-form-item> </el-form> </div> @@ -151,6 +151,7 @@ import { getToken } from "@/utils/auth"; export default { + name: 'Laboratory', components: { limsTable, }, @@ -173,7 +174,6 @@ { label: "鍒版湡棰佸彂鏃堕棿", prop: "expireTime" }, { dataType: "action", - fixed: "right", label: "鎿嶄綔", operation: [ { @@ -328,8 +328,11 @@ }, // 璧勮川鏄庣粏闄勪欢涓嬭浇 handleDownLoad(row) { - const url = process.env.VUE_APP_BASE_API + "/img/" + row.fileUrl; - this.$download.saveAs(url, row.fileUrl); + if (!row.fileUrl) { + this.$message.warning('鏆傛棤闄勪欢') + return; + } + this.$download.saveAs(row.fileUrl, row.fileUrl); }, openAdd() { this.qualificationsConnectVisible = true; @@ -377,7 +380,6 @@ addCertificationDetail({ ...this.formData }) .then((res) => { this.loading = false; - if (res.code === 201) return; this.$message.success("宸叉彁浜�"); this.refreshTable(); this.resetForm("formDataRef"); -- Gitblit v1.9.3