Преглед на файлове

fix:【bpm】bpmn 设计器:工作流节点操作按钮的操作不起作用,对应 https://t.zsxq.com/XtLYq

YunaiV преди 2 месеца
родител
ревизия
bdec0484b6
променени са 1 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 3 6
      src/views/bpm/model/CategoryDraggableModel.vue

+ 3 - 6
src/views/bpm/model/CategoryDraggableModel.vue

@@ -178,8 +178,7 @@
               link
               type="primary"
               @click="openModelForm('update', scope.row.id)"
-              v-if="hasPermiUpdate"
-              :disabled="!isManagerUser(scope.row)"
+              :disabled="!isManagerUser(scope.row) && !hasPermiUpdate"
             >
               修改
             </el-button>
@@ -187,8 +186,7 @@
               link
               type="primary"
               @click="openModelForm('copy', scope.row.id)"
-              v-if="hasPermiUpdate"
-              :disabled="!isManagerUser(scope.row)"
+              :disabled="!isManagerUser(scope.row) && !hasPermiUpdate"
             >
               复制
             </el-button>
@@ -197,8 +195,7 @@
               class="!ml-5px"
               type="primary"
               @click="handleDeploy(scope.row)"
-              v-if="hasPermiDeploy"
-              :disabled="!isManagerUser(scope.row)"
+              :disabled="!isManagerUser(scope.row) && !hasPermiDeploy"
             >
               发布
             </el-button>