|
@@ -225,7 +225,7 @@
|
|
|
>
|
|
|
<template #default="scope">
|
|
|
<el-button
|
|
|
- v-if="
|
|
|
+ v-show="
|
|
|
scope.row.deptProcessStatus &&
|
|
|
(scope.row.status == 2 || scope.row.status == 3) &&
|
|
|
scope.row.processId == latestProcessId
|
|
@@ -237,7 +237,9 @@
|
|
|
>编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-else
|
|
|
+ v-show="!(scope.row.deptProcessStatus &&
|
|
|
+ (scope.row.status == 2 || scope.row.status == 3) &&
|
|
|
+ scope.row.processId == latestProcessId)"
|
|
|
link
|
|
|
type="primary"
|
|
|
icon="View"
|
|
@@ -245,12 +247,12 @@
|
|
|
>查看
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-hasPermi="['business:daywork:remove']"
|
|
|
- v-if="
|
|
|
+ v-show="
|
|
|
scope.row.deptProcessStatus &&
|
|
|
(scope.row.status == 2 || scope.row.status == 3) &&
|
|
|
scope.row.processId == latestProcessId
|
|
|
"
|
|
|
+ v-hasPermi="['business:daywork:remove']"
|
|
|
link
|
|
|
type="danger"
|
|
|
icon="Delete"
|