From 7f6af6907202cb7c9395a7020d249bd62e17d50f Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 05 一月 2024 17:59:17 +0800
Subject: [PATCH] 1、解决车间看板页面因浏览器兼容性问题导致的样式不适配问题(使用浏览器86版本与其他版本做对比) 2、优化车间看板页面代码,将看板拖拽区域设置高度后再设置限制拖拽以试图解决进入页面后有概率设备无法自由拖拽问题(猜想因父子组件渲染顺序导致,父组件还未渲染完成,子组件就已限制区域,此时区域高度可能0,未在现场调试,本地调试无问题) 3、优化设备利用率、开动率及班次利用率页面代码,解决因浏览器版本问题导致表格前3列文字无法垂直排列导致的布局问题以及调整右上角区间展示区域为响应式布局

---
 src/views/eam/RepairOrderList.vue |   61 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 30 deletions(-)

diff --git a/src/views/eam/RepairOrderList.vue b/src/views/eam/RepairOrderList.vue
index 088cc10..882ac0d 100644
--- a/src/views/eam/RepairOrderList.vue
+++ b/src/views/eam/RepairOrderList.vue
@@ -17,7 +17,7 @@
           >
           <a-form-item label="缁熶竴缂栧彿缇�">
               <a-textarea
-                placeholder="璇疯緭鍏ユ墍鏈夌粺涓�缂栫爜,椤荤敤鈥�,鈥濋殧寮�,鍚﹀垯鍙兘鏌ヨ鍑洪敊璇俊鎭�"
+                placeholder="璇疯緭鍏ユ墍鏈夌粺涓�缂栫爜,椤荤敤绌烘牸闅斿紑,鍚﹀垯鍙兘鏌ヨ鍑洪敊璇俊鎭�"
                 v-model="queryParam.nums"
                 :auto-size="{ minRows: 2, maxRows:2 }"
               ></a-textarea>
@@ -189,10 +189,10 @@
     <div class="table-operator">
       <a-dropdown>
         <a-menu slot="overlay">
-          <a-menu-item
+          <!-- <a-menu-item
             key="1"
             @click="handleAddPre(1)"
-          ><a-icon type="smile" />鑷缓</a-menu-item>
+          ><a-icon type="smile" />鑷缓</a-menu-item> -->
           <!-- <a-menu-item
             key="2"
             @click="handleAddPre(2)"
@@ -229,6 +229,7 @@
           type="primary"
           icon="plus"
           @click="getReports"
+          v-has="'repair:accept'"
       >棰嗗彇</a-button>
       <!-- <a-button type="primary" icon="download" @click="handleExportXls('缁翠慨宸ュ崟')">瀵煎嚭</a-button>
       <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
@@ -332,6 +333,7 @@
           <a
             v-if="record.status === '2' || record.status === '3' "
             @click="handleOrderExe(record)"
+            v-has="'repair:excute'"
           >鎵ц</a>
           <a-divider
             v-if="record.status === '2' || record.status === '3' "
@@ -506,9 +508,6 @@
     let intervalId = setInterval(() => {
         this.loadData();
     }, 600*1000); // 1000姣锛屽嵆1绉�
-    onUnmounted(() => {
-      clearInterval(intervalId);
-    });
   },
   data() {
     return {
@@ -526,7 +525,7 @@
           }
         },
         {
-          title: '鍏抽敭璁惧?',
+          title: '鍏抽敭璁惧',
           align: "center",
           dataIndex: 'specificEquipment',
           scopedSlots: { customRender: 'specificEquipment' }
@@ -631,26 +630,26 @@
             customRender: 'jell' 
           }
         },
-        {
-          title: '鏁呴殰鍘熷洜',
-          align: "center",
-          dataIndex: 'faultReason'
-        },
-        {
-          title: '鏁呴殰鐜拌薄',
-          align: "center",
-          dataIndex: 'faultPhenomenon'
-        },
-        {
-          title: '鏁呴殰鎺掗櫎',
-          align: "center",
-          dataIndex: 'faultRemove'
-        },
-        {
-          title: '棰勯槻鎺柦',
-          align: "center",
-          dataIndex: 'preventiveMeasure'
-        },
+        // {
+        //   title: '鏁呴殰鍘熷洜',
+        //   align: "center",
+        //   dataIndex: 'faultReason'
+        // },
+        // {
+        //   title: '鏁呴殰鐜拌薄',
+        //   align: "center",
+        //   dataIndex: 'faultPhenomenon'
+        // },
+        // {
+        //   title: '鏁呴殰鎺掗櫎',
+        //   align: "center",
+        //   dataIndex: 'faultRemove'
+        // },
+        // {
+        //   title: '棰勯槻鎺柦',
+        //   align: "center",
+        //   dataIndex: 'preventiveMeasure'
+        // },
         // {
         //   title: '鏁呴殰鐓х墖',
         //   align: "center",
@@ -961,13 +960,15 @@
   },
 }
 </script>
-<style scoped>
+<style lang="less" scoped>
 @import '~@assets/less/common.less';
-.error {
+
+/deep/.error {
   color: red;
   font-weight: bold;
 }
-.primary {
+
+/deep/.primary {
   color: rgb(255, 0, 251);
   font-weight: bold;
 }

--
Gitblit v1.9.3