Commit 195f1394 by YuleiLan

fix bug.

parent 5fec88a6
Showing with 4 additions and 3 deletions
...@@ -90,8 +90,9 @@ ...@@ -90,8 +90,9 @@
</div> </div>
<div class="text item" style="text-align: center;margin-top:18px"> <div class="text item" style="text-align: center;margin-top:18px">
<div <div
v-if="nodeStepList[activeIndex].activeOrder && v-if="
processStructureValue.workOrder.state.length > 1" processStructureValue.workOrder.state.length > 1 &&
nodeStepList[activeIndex].activeOrder"
> >
<el-button <el-button
v-permisaction="['process:list:handle:active']" v-permisaction="['process:list:handle:active']"
...@@ -104,7 +105,7 @@ ...@@ -104,7 +105,7 @@
<div v-else> <div v-else>
<template v-for="(item, index) in processStructureValue.edges"> <template v-for="(item, index) in processStructureValue.edges">
<el-button <el-button
v-if="item.source===nodeStepList[activeIndex].id && processStructureValue.workOrder.is_end===0" v-if="processStructureValue.workOrder.is_end===0 && item.source===nodeStepList[activeIndex].id"
:key="index" :key="index"
type="primary" type="primary"
@click="submitAction(item)" @click="submitAction(item)"
......
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