This commit is contained in:
zhoutianchi
2026-02-26 18:36:33 +08:00
parent 93ea1a8dcd
commit bad8ca8357
5 changed files with 26 additions and 13 deletions

View File

@@ -201,7 +201,8 @@
<template #footer>
<div class="dialog-footer">
<el-button @click="cancelPlace">取消</el-button>
<el-button type="primary" @click="update">保存</el-button>
<el-button type="primary" @click="update(false)">保存</el-button>
<el-button type="warning" @click="update(true)" v-auth="'recruit_signup_change_force'">强制保存</el-button>
</div>
</template>
</el-dialog>
@@ -273,7 +274,8 @@ const exarmForm = reactive({
isMajorChange: '',
examRemark: '',
groupId: '',
remarks: ''
remarks: '',
force:false
})
// 表单验证规则
@@ -340,11 +342,11 @@ const cancelPlace = () => {
}
// 保存审核
const update = async () => {
const update = async (force:any) => {
try {
const valid = await exarmFormRef.value?.validate().catch(() => {})
if (!valid) return
exarmForm.force=force
await putObj(exarmForm)
message.success('审核成功')
majorChangeVisible.value = false