bug调整:智享惠生活、体检管理

This commit is contained in:
2026-04-13 18:00:38 +08:00
parent 59f53af704
commit 607204910f
12 changed files with 43 additions and 18 deletions
@@ -163,7 +163,8 @@ const applyForm = {
const res = await this.$axios.post("/platform/smartbenefits/apply/validateSignUp", {
courseId: this.formData.courseId,
currentFamilyNumber: familyCount,
IsVerifyUserApply: "1"
IsVerifyUserApply: "1",
userId: this.formData.userId
})
return res.code === 0
},
@@ -63,8 +63,8 @@ layout("/layouts/platform.html"){
<el-table-column label="操作" width="200px">
<template v-slot="{row}">
<el-button @click="openView(row)" size="mini" type="primary">调整</el-button>
<!-- <el-button type="primary" size="mini" @click="onSign(row)"-->
<!-- v-if="$auth.hasRoleOr(['SYSADMIN'])">代人报名</el-button>-->
<el-button type="primary" size="mini" @click="onSign(row)"
v-if="$auth.hasRoleOr(['SYSADMIN'])">代人报名</el-button>
</template>
</el-table-column>
</el-table>
@@ -145,7 +145,7 @@ layout("/layouts/platform.html"){
编辑备注
</el-button>
<el-button @click="openEditHealthCheckup(row)" size="mini"
v-if="$auth.hasRoleOr(['SYSADMIN','HEALTH_ADMIN'])"
v-if="$auth.hasRoleOr(['HEALTH_ADMIN'])"
type="primary">
编辑
</el-button>
@@ -57,7 +57,7 @@ const applyForm = {
}
},
components: {
"train-dynamic-form": httpVueLoader("/components/module/smartBenefits/TrainDynamicForm.vue")
"train-dynamic-form": httpVueLoader("/components/module/trainSignUp/TrainDynamicForm.vue")
},
methods: {
async onOpen(row, courseType) {
@@ -436,10 +436,12 @@ layout("/layouts/platform_h5.html"){
userSelection: JSON.stringify(formData),
}).then(resp => {
if (resp.code === 0) {
toast.clear();
toast.clear();
this.$toast.success(resp.msg)
this.historyBack()
}
}).catch(() => {
toast.clear();
})
}).catch(() => {
});