From c263fb316fc23d9db98ce711fda30d81c28d2d9c Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 08 八月 2024 19:02:10 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before

---
 src/components/do/b1-sample/detail.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/components/do/b1-sample/detail.vue b/src/components/do/b1-sample/detail.vue
index cd913d4..f76f413 100644
--- a/src/components/do/b1-sample/detail.vue
+++ b/src/components/do/b1-sample/detail.vue
@@ -2,7 +2,7 @@
   <div style="width: 100%;height: 100%;overflow-y: auto;" class="detail">
     <div>
       <el-row class="title">
-        <el-col :span="12" style="padding-left: 20px;">鏍峰搧璇︽儏</el-col>
+        <el-col :span="12" style="padding-left: 20px;text-align: left;">鏍峰搧璇︽儏</el-col>
         <el-col :span="12" style="text-align: right;">
           <el-button size="small" @click="hanldeBack">杩斿洖</el-button>
         </el-col>
@@ -66,12 +66,12 @@
 				</el-table-column>
 				<el-table-column prop="inspectionItem" label="妫�楠岄」" min-width="100"
 					show-overflow-tooltip></el-table-column>
-				<el-table-column prop="inspectionItemSubclass" label="妫�楠岄」鍒嗙被" min-width="100" show-overflow-tooltip></el-table-column>
+				<el-table-column prop="inspectionItemSubclass" label="妫�楠岄」鍒嗙被" min-width="100" show-overflow-tooltip v-if="PROJECT=='瑁呭鐢电紗'"></el-table-column>
 				<el-table-column prop="laboratory" label="瀹為獙瀹�" min-min-width="100" show-overflow-tooltip></el-table-column>
 				<el-table-column prop="unit" label="鍗曚綅" min-width="100" show-overflow-tooltip></el-table-column>
-				<el-table-column prop="equipName" label="璁惧" min-width="100" show-overflow-tooltip>
+				<el-table-column prop="equipValue" label="璁惧" min-width="100" show-overflow-tooltip>
           <template slot-scope="scope">
-            {{handleData(scope.row.equipName)}}
+            {{handleData(scope.row.equipValue)}}
           </template>
         </el-table-column>
 				<el-table-column prop="entrustCode" label="濮旀墭缂栧彿" min-width="100" show-overflow-tooltip></el-table-column>
@@ -135,9 +135,12 @@
       })
     },
     handleData(e){
-      let info = JSON.parse(e).map(item => {
+      let info = ''
+      if(e){
+        info = JSON.parse(e).map(item => {
         return item.v;
       }).join(',')
+      }
       return info
     }
   }

--
Gitblit v1.9.3