Skip to content

Commit

Permalink
fix: 自动去重枚举变更
Browse files Browse the repository at this point in the history
  • Loading branch information
LesanOuO committed Jan 22, 2025
1 parent 051fc13 commit 15b0414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export const BpmProcessInstanceStatus = {
}

export const BpmAutoApproveType = {
NONE: 1, // 不自动通过
APPROVE_ALL: 2, // 仅审批一次,后续重复的审批节点均自动通过
APPROVE_SEQUENT: 3, // 仅针对连续审批的节点自动通过
NONE: 0, // 不自动通过
APPROVE_ALL: 1, // 仅审批一次,后续重复的审批节点均自动通过
APPROVE_SEQUENT: 2, // 仅针对连续审批的节点自动通过
}
6 changes: 3 additions & 3 deletions src/views/bpm/model/form/ExtraSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
</div>
<el-radio-group v-model="modelData.autoApprovalType">
<div class="flex flex-col">
<el-radio :value="1">不自动通过</el-radio>
<el-radio :value="2">仅审批一次,后续重复的审批节点均自动通过</el-radio>
<el-radio :value="3">仅针对连续审批的节点自动通过</el-radio>
<el-radio :value="0">不自动通过</el-radio>
<el-radio :value="1">仅审批一次,后续重复的审批节点均自动通过</el-radio>
<el-radio :value="2">仅针对连续审批的节点自动通过</el-radio>
</div>
</el-radio-group>
</div>
Expand Down

0 comments on commit 15b0414

Please sign in to comment.