From 4e91ae3c1ff41d0bf9f65d444c90c2583e69cdb7 Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期五, 27 九月 2024 17:16:10 +0800
Subject: [PATCH] 下线打印报告优化

---
 jcdm-ui/src/views/components/offlineQualificationReport.vue |   70 ++++++++++++++++++++--------------
 1 files changed, 41 insertions(+), 29 deletions(-)

diff --git a/jcdm-ui/src/views/components/offlineQualificationReport.vue b/jcdm-ui/src/views/components/offlineQualificationReport.vue
index ea09fb0..7bcdf28 100644
--- a/jcdm-ui/src/views/components/offlineQualificationReport.vue
+++ b/jcdm-ui/src/views/components/offlineQualificationReport.vue
@@ -1,15 +1,16 @@
 <template>
-  <table class="yk-table" border="1px" cellspacing="0" align="center" width="900px" style="font-size: 11px;font-family: SimSun;word-wrap:break-word;word-break:break-all">
+  <table class="yk-table" border="1px" cellspacing="0" align="center" width="900px" style="font-size: 11px;font-family: SimSun;word-wrap:break-word;word-break:break-all;border-collapse: collapse;border-color: #000">
     <tr>
-      <td colspan="11">
-        <img style="width: 140px;height: 20px;" :src="require('@/assets/images/a8963a24920640508e96150a053fc41.png')">
-        <span style="text-decoration: underline;margin-left: 23%;font-size: 15px">婀栧窞鏅鸿姱鍔ㄥ姏绯荤粺鍙戝睍鏈夐檺鍏徃</span>
-        <div style="border-bottom: #181818 1px solid;"></div>
+      <td colspan="11" style="padding-top: 6px;">
+        <img style="width: 140px;height: 20px;margin-left: 15px;" :src="require('@/assets/images/a8963a24920640508e96150a053fc41.png')">
+        <span style="text-decoration: underline;margin-left: 23%;font-size: 15px;">婀栧窞鏅鸿姱鍔ㄥ姏绯荤粺鍙戝睍鏈夐檺鍏徃</span>
+        <div style="border-bottom: 1px solid #181818;margin: 5px 10px 2px 6px;"></div>
+        <div style="border-bottom: 1px solid #181818;margin: 0 10px 2px 6px;"></div>
       </td>
     </tr>
     <tr align="center">
-      <td colspan="11">
-        <span style="font-size: 15px">鍑鸿揣妫�鏌ユ姤鍛�</span>
+      <td colspan="11" style="padding: 2px 0;">
+        <span style="font-size: 15px;font-weight: bold;">鍑鸿揣妫�鏌ユ姤鍛�</span>
       </td>
     </tr>
     <tr>
@@ -17,7 +18,7 @@
         <span>浜у搧鍚嶇О/闆堕儴浠跺彿锛氱數椹卞姩绯荤粺鎬绘垚/9900200461</span>
       </td>
       <td colspan="4">
-        <span>妫�楠屾棩鏈燂細2024.9.4</span>
+        <span>妫�楠屾棩鏈燂細{{printParam.inspectionDate}}</span>
       </td>
       <td colspan="4">
         <span>杩芥函缂栧彿锛�2409030000032</span>
@@ -259,7 +260,7 @@
       <td>A</td>
       <td>瀹氬瓙缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>锛�500</td>
+      <td>{{printParam.param18}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -272,7 +273,7 @@
       <td>A</td>
       <td>瀹氬瓙缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>0.3%锛�0%锛�0.5%</td>
+      <td>{{printParam.param19}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -284,7 +285,7 @@
       <td>A</td>
       <td>瀹氬瓙缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>锛�500</td>
+      <td>{{printParam.param20}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -296,7 +297,7 @@
       <td>A</td>
       <td>瀹氬瓙缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>锛�500</td>
+      <td>{{printParam.param21}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -308,7 +309,7 @@
       <td>A</td>
       <td>瀹氬瓙缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>0.22</td>
+      <td>{{printParam.param22}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -321,7 +322,7 @@
       <td>A</td>
       <td>瀹氬瓙缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>362</td>
+      <td>{{printParam.param23}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -333,7 +334,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>8.18</td>
+      <td>{{printParam.param24}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -345,7 +346,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>0.1</td>
+      <td>{{printParam.param25}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -359,7 +360,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>21.53,42.33,42.19</td>
+      <td>{{printParam.param26}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -372,7 +373,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>49.20,49.34,49.15</td>
+      <td>{{printParam.param27}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -384,7 +385,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>0.061%锛�0.163%锛�0.223%</td>
+      <td>{{printParam.param28}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -396,7 +397,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>35.1,35.0,35.1</td>
+      <td>{{printParam.param29}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -408,7 +409,7 @@
       <td>A</td>
       <td>缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>鈭�</td>
+      <td>{{printParam.param30}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -421,7 +422,7 @@
       <td>A</td>
       <td>鏁存満缁煎悎娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>0.0041</td>
+      <td>{{printParam.param31}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -433,7 +434,7 @@
       <td>A</td>
       <td>姘斿瘑娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>3.06</td>
+      <td>{{printParam.param32}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -445,7 +446,7 @@
       <td>A</td>
       <td>姘斿瘑娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>o.48</td>
+      <td>{{printParam.param33}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -457,7 +458,7 @@
       <td>A</td>
       <td>鐢垫�ц兘娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>4.7锝旳</td>
+      <td>{{printParam.param34}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -469,7 +470,7 @@
       <td>A</td>
       <td>鐢垫�ц兘娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>562.1</td>
+      <td>{{printParam.param35}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -481,7 +482,7 @@
       <td>A</td>
       <td>鏃嬪彉娴嬭瘯浠�</td>
       <td>鍏ㄦ</td>
-      <td>-137.1</td>
+      <td>{{printParam.param36}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -493,7 +494,7 @@
       <td>A</td>
       <td>EOL娴嬭瘯</td>
       <td>鍏ㄦ</td>
-      <td>鈭�</td>
+      <td>{{printParam.param37}}</td>
       <td>OK</td>
       <td></td>
       <td></td>
@@ -582,7 +583,18 @@
 
 <script>
 export default {
-  name: "offlineQualificationReport"
+  name: "offlineQualificationReport",
+  props: ['printParam'],
+  data() {
+    return {
+    }
+  },
+  mounted() {
+  },
+  methods: {
+
+  }
+
 }
 </script>
 

--
Gitblit v1.9.3