This commit is contained in:
zlwu committed 2026-08-01 17:29:37 +08:00
1 parent 06956b742b
commit e59b2aa6cb
104 files changed
+653227 -7621

No files matched your search

@@ -264,11 +264,17 @@ function handleClose() {
resetForm()
}
function defaultComment(type: typeof actionType.value) {
if (type === 'approve') return '审批通过'
if (type === 'reject') return '审批驳回'
return ''
}
function resetForm() {
form.value = {
approvalType: 'sequential',
approverIds: [],
comment: '',
comment: defaultComment(actionType.value),
remark: ''
}
formRef.value?.clearValidate()