去掉撤销按钮
Showing
2 changed files
with
5 additions
and
4 deletions
| ... | @@ -187,7 +187,7 @@ const getTableBtns = (row, includeDetail = true) => { | ... | @@ -187,7 +187,7 @@ const getTableBtns = (row, includeDetail = true) => { |
| 187 | if (flowState === 3) { | 187 | if (flowState === 3) { |
| 188 | btnsArr.push({ label: "重新提交", value: "edit" }) | 188 | btnsArr.push({ label: "重新提交", value: "edit" }) |
| 189 | } | 189 | } |
| 190 | isShowCancel && btnsArr.push({ label: "撤销", value: "revoke" }) | 190 | // isShowCancel && btnsArr.push({ label: "撤销", value: "revoke" }) |
| 191 | flowState === 3 && btnsArr.push({ label: "删除", value: "delete" }) | 191 | flowState === 3 && btnsArr.push({ label: "删除", value: "delete" }) |
| 192 | } | 192 | } |
| 193 | return btnsArr | 193 | return btnsArr | ... | ... |
| ... | @@ -184,9 +184,10 @@ const tableInfo = ref({ | ... | @@ -184,9 +184,10 @@ const tableInfo = ref({ |
| 184 | if (flowState === 3) { //重新提交过的不能再重新提交 && bizApproveState != 'D' | 184 | if (flowState === 3) { //重新提交过的不能再重新提交 && bizApproveState != 'D' |
| 185 | list.push({ label: "重新提交", value: "redit" }) //已驳回 | 185 | list.push({ label: "重新提交", value: "redit" }) //已驳回 |
| 186 | } | 186 | } |
| 187 | if (isShowCancel) { | 187 | //跨平台审批,不需要撤销 |
| 188 | list.push({ label: "撤销", value: "revoke" }) | 188 | // if (isShowCancel) { |
| 189 | } | 189 | // list.push({ label: "撤销", value: "revoke" }) |
| 190 | // } | ||
| 190 | if (flowState !== 1) { | 191 | if (flowState !== 1) { |
| 191 | list.push({ label: "详情", value: "detail" }) | 192 | list.push({ label: "详情", value: "detail" }) |
| 192 | } | 193 | } | ... | ... |
-
Please register or sign in to post a comment