1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user