feat(企微签到):逻辑:员工使用企微扫码后直接跳出签到页面,在签到页面对该课程进行点击签到!
deploy-hxtesting / build-and-deploy (push) Successful in 1m14s
deploy-hxtesting / build-and-deploy (push) Successful in 1m14s
规则:1.签到要校验是否为培训当天签到,如果不是当天扫码签到则进行友好提示;2. 签到需提供员工工号及随机时间戳(超过签到二维码有效期后需重新扫码签到);3.签到二维码每5分钟自动更新一次(更新后之前扫码签到自动作废需重新扫码); 补充说明:1.签到页面需展示该签到课程相关信息;2.展示签到倒计时还有多久过期,过期后需重新扫码进行优化提示;3.签到后提示签到成功!自动登录进入平台系统并进入该课程详情页面
This commit is contained in:
1 parent
9950a28346
commit
f43fbef5db
24 files changed
+1336
-67
No files matched your search
@@ -185,11 +185,14 @@ const router = createRouter({
|
||||
meta: { requiresInit: true, requiresAuth: true }
|
||||
},
|
||||
{
|
||||
// 学员扫码签到页:培训签到页二维码落地页,携 token 自动定位并签到(需登录态)。
|
||||
// 学员扫码签到落地页(2026-11 企微扫码免登):企微「扫一扫」直接打开,
|
||||
// 页面内自行完成免登(OAuth 静默授权)/自动登录/倒计时/点击签到,
|
||||
// 故显式 requiresAuth:false + requiresInit:false 放行路由守卫
|
||||
// (meta 缺省 = undefined 时守卫仍按需登录拦截,必须显式 false)。
|
||||
path: "training/checkin/:token",
|
||||
name: "trainingCheckin",
|
||||
component: () => import("../views/training/CheckinPage.vue"),
|
||||
meta: { requiresInit: true, requiresAuth: true }
|
||||
meta: { requiresInit: false, requiresAuth: false }
|
||||
},
|
||||
{
|
||||
// 组织架构:租户级共享组织架构(部门 + 员工档案),
|
||||
|
||||
Reference in new issue
Block a user