From 55853dbac512fb259feb3a8b57e73cfa23f8e81e Mon Sep 17 00:00:00 2001 From: lintiantian <156569930@qq.com> Date: Fri, 7 Nov 2025 09:26:00 +0800 Subject: [PATCH 1/6] =?UTF-8?q?AI=E6=99=BA=E8=83=BD=E9=9D=A2=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apiCa/user.js | 2 + packageCa/search/AIAudition.vue | 512 +++++++++++++++++++++++++++ pages.json | 6 + pages/index/components/index-one.vue | 10 +- 4 files changed, 529 insertions(+), 1 deletion(-) create mode 100644 packageCa/search/AIAudition.vue diff --git a/apiCa/user.js b/apiCa/user.js index 7f8b87b..8542f8e 100644 --- a/apiCa/user.js +++ b/apiCa/user.js @@ -4,6 +4,8 @@ const api = {} //根据openId,获取token,并判断用户是否已绑定账号 api.queryKaShiToken = (userId,name) => request.globalRequest(`/KaShi/QueryKaShiToken?userId=${userId}&name=${name}&schoolId=2268`,'GET', {}) +// 获取ai面试路径 +api.queryAIUrl = (userId,name) => request.globalRequest(`/KaShi/QueryAIUrl?userId=${userId}&name=${name}&schoolId=2268`,'GET', {}) //根据openId,获取token,并判断用户是否已绑定账号 api.getAccessTokenAndUser = (params) => request.globalRequest(`/WeChartToken/GetAccessTokenAndUser?openId=${params}`,'GET', {}) diff --git a/packageCa/search/AIAudition.vue b/packageCa/search/AIAudition.vue new file mode 100644 index 0000000..e7c6616 --- /dev/null +++ b/packageCa/search/AIAudition.vue @@ -0,0 +1,512 @@ + + + + + diff --git a/pages.json b/pages.json index dcb8ae3..858bdca 100644 --- a/pages.json +++ b/pages.json @@ -498,6 +498,12 @@ "navigationStyle": "custom" } }, + { + "path" : "search/AIAudition", + "style" : { + "navigationBarTitleText" : "AI智能面试" + } + }, { "path": "job/index", "style": { diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue index 1713a8b..d3d1490 100644 --- a/pages/index/components/index-one.vue +++ b/pages/index/components/index-one.vue @@ -112,7 +112,7 @@ 素质测评 - + @@ -1078,6 +1078,14 @@ function goCa(){ navTo(`/packageCa/search/search?userId=${userInfo.userId}&name=${userInfo.name}`); } } +// 跳转AI智能面试 +function goAiAu(){ + if (checkLogin()) { + const userInfo = uni.getStorageSync('userInfo') + navTo(`/packageCa/search/AIAudition?userId=${userInfo.userId}&name=${userInfo.name}`); + } +} + defineExpose({ loadData }); From f252b65632888d3673d1b6c760777685d1317146 Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Fri, 7 Nov 2025 10:50:58 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/login.vue | 5 +++-- packageB/train/mockExam/examList.vue | 11 ++++++---- packageB/train/practice/startPracticing.vue | 23 ++++++++++++++------- 3 files changed, 25 insertions(+), 14 deletions(-) diff --git a/packageB/login.vue b/packageB/login.vue index 447df04..18e59df 100644 --- a/packageB/login.vue +++ b/packageB/login.vue @@ -51,8 +51,9 @@ }) onLoad((option) => { - console.log("option",option) - flag.value=option.flag + if(option.flag){ + flag.value=option.flag + } }) onMounted(() => { diff --git a/packageB/train/mockExam/examList.vue b/packageB/train/mockExam/examList.vue index 19b9bf2..6b3836b 100644 --- a/packageB/train/mockExam/examList.vue +++ b/packageB/train/mockExam/examList.vue @@ -37,8 +37,8 @@
已过期
-
开始考试
-
继续考试
+
开始考试
+
继续考试
@@ -120,8 +120,8 @@
考试结束后可查看成绩和答案解析
-
开始考试
-
继续考试
+
开始考试
+
继续考试
@@ -269,6 +269,9 @@ function jumps(url){ function clones(){ dialogVisible.value=false } +function handleOperation(row,i) { + navTo(`/packageB/train/video/videoDetail?id=${video.videoId}`); +}