From 3ac6e233e1c4659788a5bf7ca7a3a439f01cdcdf Mon Sep 17 00:00:00 2001 From: xiepeng Date: Wed, 15 May 2024 14:16:58 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BC=98=E5=8C=96=20=E6=88=91=E7=9A=84?= =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E4=BA=BA=E8=84=B8=E6=AF=94=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/application/onlinexxks/video_study.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pages/application/onlinexxks/video_study.vue b/pages/application/onlinexxks/video_study.vue index 8583392..03b4b3f 100644 --- a/pages/application/onlinexxks/video_study.vue +++ b/pages/application/onlinexxks/video_study.vue @@ -496,9 +496,21 @@ export default { CHAPTER_ID: this.videoData.CHAPTER_ID, VIDEOCOURSEWARE_ID: this.videoData.VIDEOCOURSEWARE_ID, }) - uni.navigateTo({ - url: '/pages/application/onlinexxks/face/index?params=' + params - }) + const resData = await this.post('/app/user/getUserFace', { + USERNAME: loginUser.NAME, + USER_ID: loginUser.USER_ID, + }); + if (!resData.pd.PORTRAIT) { + uni.showModal({ + title: "温馨提示", + confirmText: "确定", + content: "您当前还未进行人脸认证,请先进行认证", + }); + } else { + uni.navigateTo({ + url: '/pages/application/onlinexxks/face/index?params=' + params + }) + } }, fnNavigationExercises(VIDEOCOURSEWARE_ID) { uni.navigateTo({