From 47df576f3a56a657b97c6179417a2d0f80441471 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期三, 12 六月 2024 18:36:14 +0800
Subject: [PATCH] 岗位资源更新

---
 src/views/tigerprojects/mes/eng/route/index.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/views/tigerprojects/mes/eng/route/index.vue b/src/views/tigerprojects/mes/eng/route/index.vue
index 27d22f0..0c3ead0 100644
--- a/src/views/tigerprojects/mes/eng/route/index.vue
+++ b/src/views/tigerprojects/mes/eng/route/index.vue
@@ -16,7 +16,7 @@
         collapsible
         :reverseArrow="true"
         collapsedWidth="0"
-        width="300"
+        width="400"
         style="background: #fafafa; border-left: 1px solid #d9d9d9; padding: 10px"
         :zeroWidthTriggerStyle="{ 'margin-top': '-70px', 'background-color': 'gray' }"
       >
@@ -24,6 +24,7 @@
           :activeKey="routeConfig.activeKey" 
           :IsOperation="IsOperation" 
           :title="title"
+          :posttitle="posttitle"
           :colSlots="colSlots"
           :crudColSlots="crudColSlots"
           :entityName="entityName">
@@ -106,7 +107,8 @@
     rotId: { type: String, default: '' },
   });
   const IsOperation = ref(false);
-  const title = ref('琛屼负');
+  const title = ref('');
+  const posttitle = ref('');
   watch(
     () => props.rotId,
     (v) => {
@@ -465,9 +467,10 @@
     //鏄涓�
     if (selectnode.value.properties.operType && selectnode.value.properties.operType == 'Action') {
       var _act = routeConfig.routeData.acts.filter((x) => x.ID == selectnode.value.id)[0];
-      routeConfig.activeKey = 3;
+      routeConfig.activeKey = 2;
       IsOperation.value = false;
       title.value = '琛屼负';
+      posttitle.value = '';
       routeConfig.currentAct = {
         ID: selectnode.value.id,
         CREATE_TIME: currRoute.value.CREATE_TIME,
@@ -533,7 +536,8 @@
       console.log(routeConfig.currentItem);
       routeConfig.activeKey = 2;
       IsOperation.value = true;
-      title.value = '宀椾綅';
+      title.value = '宸ュ簭';
+      posttitle.value = '宀椾綅';
     }
   }
 
@@ -546,6 +550,8 @@
    */
   function clickBlank() {
     routeConfig.activeKey = 1;
+    title.value = '';
+    posttitle.value = '';
   }
 
   /*

--
Gitblit v1.9.3