Commit dd4c4817 by YunaiV

【功能修复】工作流:新建的流程,部分数据的 NPE 问题

parent 926eb70f
......@@ -125,7 +125,7 @@
</el-tag>
<el-tag v-else type="warning">未部署</el-tag>
<el-tag
v-if="scope.row.processDefinition.suspensionState === 2"
v-if="scope.row.processDefinition?.suspensionState === 2"
type="warning"
class="ml-10px"
>
......@@ -180,7 +180,7 @@
</el-dropdown-item>
<el-dropdown-item
command="handleChangeState"
v-if="checkPermi(['bpm:model:update'])"
v-if="checkPermi(['bpm:model:update']) && scope.row.processDefinition"
:disabled="!isManagerUser(scope.row)"
>
{{ scope.row.processDefinition.suspensionState === 1 ? '停用' : '启用' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment