From e5bdee63dd988a12883fb5bcb760a91d77a455d0 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 07 三月 2025 13:58:24 +0800
Subject: [PATCH] 文件导出封装优化
---
src/views/structural/capabilityAndLaboratory/capability/index.vue | 26 ++------------------------
1 files changed, 2 insertions(+), 24 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 273644e..47973df 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -31,8 +31,8 @@
@keyup.enter.native="refreshTable()">
</el-input>
</el-form-item>
- <el-form-item label="妫�楠屽璞�" prop="specimenName">
- <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="itemParameterForm.specimenName"
+ <el-form-item label="妫�楠屽璞�" prop="sample">
+ <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="itemParameterForm.sample"
@keyup.enter.native="refreshTable()">
</el-input>
</el-form-item>
@@ -210,28 +210,6 @@
{ label: '妫�楠屽璞N', prop: 'specimenNameEn' },
{ label: '浜у搧', prop: 'product' },
{ label: '瀵硅薄浠e彿', prop: 'code' },
- {
- label: '瀵硅薄绫诲瀷', prop: 'objectType',
- dataType: 'tag',
- formatData: (params) => {
- if (params == 1) {
- return '鍘熸潗鏂�'
- } else if (params == 2) {
- return '鎴愬搧'
- } else {
- return '杈呮潗'
- }
- },
- formatType: (params) => {
- if (params == 1) {
- return 'success'
- } else if (params == 2) {
- return 'info'
- } else {
- return 'warning'
- }
- }
- },
{ label: '鍒涘缓浜�', prop: 'createUserName' },
{ label: '鏇存柊浜�', prop: 'updateUserName' },
{ label: '鍒涘缓鏃堕棿', prop: 'createTime' },
--
Gitblit v1.9.3