From 20f77a55f8eeaceb026d1c5ad96de75d6edb712a Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 29 五月 2025 14:18:14 +0800
Subject: [PATCH] 1、报警分析页面报警页面调整比例饼图颜色 2、维修看板页面设备平均故障率柱状图Y轴去除%号以及去除柱子注释含义 3、设备管理页面新增弹窗添加禁止手输设备编号,新增安装位置字段(同时将MDC模块内所有设备名称显示调整为安装位置) 4、设备级看板页面的设备选择框新增安装位置显示 5、首页添加法士特沃克背景图 6、对比分析页面解决时间段查询选择框无法选择问题以及柱状图组件重置按钮关联设备树选择 7、OEE页面列表取消展示合格零件数量和加工零件数量字段,仅展示合格率字段

---
 src/views/eam/equipment/modules/NameplateModal.vue |  141 +++++++++++++++++++++++++----------------------
 1 files changed, 75 insertions(+), 66 deletions(-)

diff --git a/src/views/eam/equipment/modules/NameplateModal.vue b/src/views/eam/equipment/modules/NameplateModal.vue
index e02482b..44046d7 100644
--- a/src/views/eam/equipment/modules/NameplateModal.vue
+++ b/src/views/eam/equipment/modules/NameplateModal.vue
@@ -18,45 +18,49 @@
 
         <tbody>
         <tr>
-          <td rowspan="3">
-            <QrcodeVue :value="httpUrl+item.equipmentCode"/>
+          <td rowspan="3" align="center">
+            <div style="height: 80%">
+              <QrcodeVue :value="httpUrl+item.id" :size="100"/>
+            </div>
           </td>
           <td>璁惧缂栧彿</td>
-          <td>{{ item.equipmentCode }}</td>
+          <td class="long-col">{{ item.equipmentCode }}</td>
         </tr>
 
         <tr>
-          <td>璁惧鍚嶇О</td>
-          <td>{{ item.equipmentName }}</td>
+          <td style="width: 25%">璁惧鍚嶇О</td>
+          <td class="long-col">{{ item.equipmentName }}</td>
         </tr>
 
         <tr>
           <td>璁惧鍨嬪彿</td>
-          <td>{{ item.equipmentModel }}</td>
+          <td class="long-col">{{ item.equipmentModel }}</td>
         </tr>
 
         <tr>
           <td>璁惧绠$悊</td>
           <td>浣跨敤杞﹂棿</td>
-          <td>{{ item.orgId_dictText }}</td>
+          <td class="long-col">{{ item.orgId_dictText }}</td>
         </tr>
 
         <tr>
-          <td rowspan="3">
-            <QrcodeVue :value="item.equipmentCode"/>
+          <td rowspan="3" align="center">
+            <div style="height: 80%">
+              <QrcodeVue :value="item.equipmentCode" :size="100"/>
+            </div>
           </td>
           <td>鍑哄巶缂栧彿</td>
-          <td>{{ item.factoryNumber }}</td>
+          <td class="long-col">{{ item.factoryNumber }}</td>
         </tr>
 
         <tr>
           <td>璁惧绠$悊鍛�</td>
-          <td>{{ item.equipmentManager_dictText }}</td>
+          <td class="long-col">{{ item.equipmentManager_dictText }}</td>
         </tr>
 
         <tr>
           <td>瀹夎浣嶇疆</td>
-          <td>{{ item.installationPosition }}</td>
+          <td class="long-col">{{ item.installationPosition }}</td>
         </tr>
 
         <tr>
@@ -75,72 +79,77 @@
 </template>
 
 <script>
-import QrcodeVue from 'qrcode.vue'
+  import QrcodeVue from 'qrcode.vue'
 
-export default {
-  name: 'NameplateModal',
-  components: { QrcodeVue },
-  props: {
-    printedRows: {
-      type: Array
-    }
-  },
-  data() {
-    return {
-      title: '閾墝',
-      visible: false,
-      httpUrl: ''
-    }
-  },
-  methods: {
-    handleCancel() {
-      this.visible = false
+  export default {
+    name: 'NameplateModal',
+    components: { QrcodeVue },
+    props: {
+      printedRows: {
+        type: Array
+      }
+    },
+    data() {
+      return {
+        title: '閾墝',
+        visible: false,
+        httpUrl: ''
+      }
+    },
+    methods: {
+      handleCancel() {
+        this.visible = false
+      }
     }
   }
-}
 </script>
 
 <style lang="less" scoped>
-/deep/ .ant-modal {
-  height: 75%;
-  overflow: hidden;
-
-  .ant-modal-content {
-    height: 100%;
-    display: flex;
-    flex-direction: column;
+  /deep/ .ant-modal {
+    height: 75%;
     overflow: hidden;
 
-    ::-webkit-scrollbar {
-      width: 8px;
-      height: 8px;
-    }
+    .ant-modal-content {
+      height: 100%;
+      display: flex;
+      flex-direction: column;
+      overflow: hidden;
 
-    .ant-modal-body {
-      flex: 1;
-      overflow: auto;
+      ::-webkit-scrollbar {
+        width: 8px;
+        height: 8px;
+      }
+
+      .ant-modal-body {
+        flex: 1;
+        overflow: auto;
+      }
     }
   }
-}
 
-table {
-  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "寰蒋闆呴粦", Arial, sans-serif;
-  color: #000;
-  text-align: center;
+  table {
+    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "寰蒋闆呴粦", Arial, sans-serif;
+    color: #000;
+    text-align: center;
 
-  &:not(:last-child) {
-    margin-bottom: 10px;
+    &:not(:last-child) {
+      margin-bottom: 180px;
+    }
+
+    th {
+      font-size: 24px;
+      letter-spacing: 3px;
+      padding: 6px;
+    }
+
+    td {
+      font-size: 14px;
+      /*width: 33%;*/
+      padding: 6px;
+
+      &.long-col {
+        width: 300px;
+      }
+    }
   }
-
-  th {
-    font-size: 28px;
-    letter-spacing: 3px;
-    padding: 20px;
-  }
-
-  td {
-    font-size: 18px;
-    width: 33%;
-  }
-}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3