fix(bpm): 调整流程实例权限控制逻辑
- 将详情按钮的权限从 cancel 调整为 query - 取消按钮的显示条件扩展支持 result 为2 的情况 - 取消按钮的权限从 query 调整为 cancel
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
link
|
link
|
||||||
type="primary"
|
type="primary"
|
||||||
v-hasPermi="['bpm:process-instance:cancel']"
|
v-hasPermi="['bpm:process-instance:query']"
|
||||||
@click="handleDetail(row)"
|
@click="handleDetail(row)"
|
||||||
>
|
>
|
||||||
详情
|
详情
|
||||||
@@ -56,8 +56,8 @@
|
|||||||
<el-button
|
<el-button
|
||||||
link
|
link
|
||||||
type="danger"
|
type="danger"
|
||||||
v-if="row.result === 1"
|
v-if="row.result === 1|| row.result === 2"
|
||||||
v-hasPermi="['bpm:process-instance:query']"
|
v-hasPermi="['bpm:process-instance:cancel']"
|
||||||
@click="handleCancel(row)"
|
@click="handleCancel(row)"
|
||||||
>
|
>
|
||||||
取消
|
取消
|
||||||
|
|||||||
Reference in New Issue
Block a user