build : 按钮权限区分

This commit is contained in:
clay
2024-05-12 15:14:39 +08:00
parent 416fa2ed53
commit aaedb362b5
3 changed files with 23 additions and 8 deletions

View File

@@ -68,7 +68,7 @@
<!-- </el-col>-->
<!-- </el-row>-->
</el-form>
<div class="oper-page-btn" v-if="processInstanceData.taskId">
<div class="oper-page-btn" v-if="processInstanceData.state === '1' && processInstanceData.taskId">
<el-button @click="handleReject">驳回</el-button>
<el-button color="#DED0B2" @click="handleSubmit">同意</el-button>
</div>