From d289be3b10e9b259625ca9128b54bc62950c4e48 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期一, 08 九月 2025 17:57:49 +0800
Subject: [PATCH] 出库状态改为生命周期 其他文档改为电子文档 电子文档新增指派设备结构树

---
 src/views/dashboard/Analysis.vue |   45 +++++++++++++++++++++++----------------------
 1 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/src/views/dashboard/Analysis.vue b/src/views/dashboard/Analysis.vue
index f3a16fb..3a93a91 100644
--- a/src/views/dashboard/Analysis.vue
+++ b/src/views/dashboard/Analysis.vue
@@ -3,24 +3,25 @@
              :userType="userType"
              :productionCode="productionCode"
              :workshopSectionProductionCode="workshopSectionProductionCode"
-             v-if="[1,2,3,4].includes(userType)"
-             >
+             v-if="userType&&userType!==0">
   </Component>
-  <div v-else>  <!-- 涓庣粍浠舵覆鏌撲簰鏂� -->
+  <div v-else-if="userType===0">  <!-- 涓庣粍浠舵覆鏌撲簰鏂� -->
     <img src="@/assets/index.png" style="width: 100%;height: 785px">
   </div>
 </template>
 
 <script>
   import signageApi from '@/api/signage'
-  import MdcManagerSignage from './mdcIndex/MdcManagerSignage.vue'
-  import DncManagerSignage from './dncIndex/DncManagerSignage.vue'
+  import MdcManagerSignage from './modules/MdcManagerSignage.vue'
+  import DncManagerSignage from './modules/DncManagerSignage.vue'
+  import EamManagerSignage from './modules/EamManagerSignage.vue'
 
   export default {
-    name: "Analysis",
+    name: 'Analysis',
     components: {
       MdcManagerSignage,
-      DncManagerSignage
+      DncManagerSignage,
+      EamManagerSignage
     },
     data() {
       return {
@@ -28,7 +29,7 @@
         productionCode: '',
         branchFactoryProductionCode: '',
         workshopSectionProductionCode: '',
-        userType: '',
+        userType: ''
       }
     },
     created() {
@@ -61,10 +62,10 @@
                 //dnc
                 this.currentSignage = 'DncManagerSignage'
                 break
-              // case 4:
-              //   //璁惧绠$悊
-              //   this.currentSignage = 'IndexSignage'
-              //   break
+              case 4:
+                //璁惧绠$悊
+                this.currentSignage = 'EamManagerSignage'
+                break
               default:
                 this.currentSignage = ''
                 break
@@ -83,14 +84,14 @@
 
 </script>
 <style lang="less" scoped>
-/deep/ .back-nav {
-  width: 100px;
-  height: 30px;
-  color: #fff;
-  position: absolute;
-  top: 15px;
-  left: 10px;
-  cursor: pointer;
-  z-index: 9999
-}
+  /deep/ .back-nav {
+    width: 100px;
+    height: 30px;
+    color: #fff;
+    position: absolute;
+    top: 15px;
+    left: 10px;
+    cursor: pointer;
+    z-index: 9999
+  }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3