Ben Lin
2024-06-12 47df576f3a56a657b97c6179417a2d0f80441471
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 = '';
  }
  /*