fix:【antd/ele】【bpm】修复模型管理的权限控制错误,对应 https://github.com/yudaocode/yudao-ui-admin-vben/issues/142
This commit is contained in:
@@ -665,7 +665,7 @@ function handleRenameSuccess() {
|
||||
link
|
||||
size="small"
|
||||
@click="modelOperation('update', row.id)"
|
||||
:disabled="!isManagerUser(row) || !hasPermiUpdate"
|
||||
:disabled="!isManagerUser(row) && !hasPermiUpdate"
|
||||
>
|
||||
修改
|
||||
</ElButton>
|
||||
@@ -673,7 +673,7 @@ function handleRenameSuccess() {
|
||||
link
|
||||
size="small"
|
||||
@click="handleDeploy(row)"
|
||||
:disabled="!isManagerUser(row) || !hasPermiDeploy"
|
||||
:disabled="!isManagerUser(row) && !hasPermiDeploy"
|
||||
>
|
||||
发布
|
||||
</ElButton>
|
||||
@@ -717,7 +717,7 @@ function handleRenameSuccess() {
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
@click="handleModelCommand('handleDelete', row)"
|
||||
:disabled="!isManagerUser(row) || !hasPermiDelete"
|
||||
:disabled="!isManagerUser(row) && !hasPermiDelete"
|
||||
>
|
||||
删除
|
||||
</el-dropdown-item>
|
||||
|
||||
@@ -138,7 +138,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
<template
|
||||
v-if="
|
||||
row.status === BpmProcessInstanceStatus.RUNNING &&
|
||||
row.tasks!.length > 0
|
||||
row.tasks?.length! > 0
|
||||
"
|
||||
>
|
||||
<!-- 单人审批 -->
|
||||
|
||||
Reference in New Issue
Block a user