From d55fef9c7205b412cadc99c2bb2dea9329b7a2c9 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 31 七月 2024 09:39:19 +0800
Subject: [PATCH] 1、公司级与分厂级看板调整OEE图表样式 2、各看板中的饼图图表增加随分辨率变化而改变自身半径功能,从而更清晰的展示内容标题指示箭头 3、OEE综合效率分析页面新增车间字段

---
 src/views/eam/PredictiveWorkPlanList.vue |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/src/views/eam/PredictiveWorkPlanList.vue b/src/views/eam/PredictiveWorkPlanList.vue
index 86c48d7..bcba22e 100644
--- a/src/views/eam/PredictiveWorkPlanList.vue
+++ b/src/views/eam/PredictiveWorkPlanList.vue
@@ -66,6 +66,7 @@
         @click='handleAdd'
         type='primary'
         icon='plus'
+        v-has="'predictiveWorkPlan:add&edit&delete'"
       >鏂板
       </a-button>
       <a-button
@@ -118,21 +119,25 @@
           <a
             v-if="record.status == '2'"
             @click="handleRevise(record)"
+            v-has="'predictiveWorkplan:update&take'"
           >鍗囩増</a>
           <a
             v-if="record.status == '1'"
             @click="handleTakeEffect(record)"
+            v-has="'predictiveWorkplan:update&take'"
           >鐢熸晥</a>
           <a-divider type="vertical"/>
           <a
             v-if="record.status == '1'"
             @click="handleEdit(record)"
+            v-has="'predictiveWorkPlan:add&edit&delete'"
           >缂栬緫</a>
           <a-divider type="vertical"/>
           <a-popconfirm
             v-if="record.status == '1'"
             title="纭畾鍒犻櫎鍚�?"
             @confirm="() => handleDelete(record.id)"
+            v-has="'predictiveWorkPlan:add&edit&delete'"
           >
             <a>鍒犻櫎</a>
           </a-popconfirm>
@@ -308,7 +313,7 @@
             dataIndex: 'monitorTypeName'
           },
           {
-            title: '璁惧缂栫爜',
+            title: '缁熶竴缂栫爜',
             align: 'center',
             dataIndex: 'deviceNum'
           },
@@ -436,12 +441,12 @@
         this.$refs.modalForm.disableSubmit = false
         this.$refs.modalForm.isRevise = false
       },
-      handleAdd: function() {
-        this.$refs.modalForm.add()
-        this.$refs.modalForm.title = '鏂板'
-        this.$refs.modalForm.disableSubmit = false
-        this.$refs.modalForm.isRevise = false
-      },
+      // handleAdd: function() {
+      //   this.$refs.modalForm.add()
+      //   this.$refs.modalForm.title = '鏂板'
+      //   this.$refs.modalForm.disableSubmit = false
+      //   this.$refs.modalForm.isRevise = false
+      // },
 
       //鍗囩増
       handleRevise: function(record) {

--
Gitblit v1.9.3