From 093615ab71eebddeea28a74a6c21898fc929450f Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期一, 04 八月 2025 14:43:22 +0800
Subject: [PATCH] 判断检测项,调整请求
---
src/views/structural/capabilityAndLaboratory/laboratory/index.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
index 16a9d49..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: [
{
@@ -332,8 +332,7 @@
this.$message.warning('鏆傛棤闄勪欢')
return;
}
- const url = this.javaApi + "/img/" + row.fileUrl;
- this.$download.saveAs(url, row.fileUrl);
+ this.$download.saveAs(row.fileUrl, row.fileUrl);
},
openAdd() {
this.qualificationsConnectVisible = true;
@@ -381,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