This commit is contained in:
2025-11-07 15:27:47 +08:00
13 changed files with 748 additions and 715 deletions

View File

@@ -50,7 +50,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx9d1cbc11c8c40ba7", "appid" : "wx4aa34488b965a331",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : true, "es6" : true,
@@ -63,7 +63,11 @@
"desc" : "用于用户选择地图查看位置" "desc" : "用于用户选择地图查看位置"
} }
}, },
"libVersion" : "3.5.7" "lazyCodeLoading" : "requiredComponents",
"libVersion" : "3.5.7",
"optimization" : {
"subPackages" : true
}
}, },
"mp-alipay" : { "mp-alipay" : {
"usingComponents" : true "usingComponents" : true

View File

@@ -51,8 +51,9 @@
}) })
onLoad((option) => { onLoad((option) => {
console.log("option",option) if(option.flag){
flag.value=option.flag flag.value=option.flag
}
}) })
onMounted(() => { onMounted(() => {

View File

@@ -37,8 +37,8 @@
</div> </div>
<div class="titleType info" v-else-if="dates>item.dueDate">已过期</div> <div class="titleType info" v-else-if="dates>item.dueDate">已过期</div>
</div> </div>
<div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue!=1">开始考试</div> <div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue!=1" @click="handleOperation(item,1)">开始考试</div>
<div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue==1">继续考试</div> <div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue==1" @click="handleOperation(item,2)">继续考试</div>
</div> </div>
<div class="heng"></div> <div class="heng"></div>
<div class="cardCon"> <div class="cardCon">
@@ -120,8 +120,8 @@
<div class="detailCon">考试结束后可查看成绩和答案解析</div> <div class="detailCon">考试结束后可查看成绩和答案解析</div>
<div style="display: flex;justify-content: center;margin-top: 30rpx;"> <div style="display: flex;justify-content: center;margin-top: 30rpx;">
<div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue!=1">开始考试</div> <div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue!=1" @click="handleOperation(examInfo,1)">开始考试</div>
<div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue==1">继续考试</div> <div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue==1" @click="handleOperation(examInfo,2)">继续考试</div>
</div> </div>
</div> </div>
</div> </div>
@@ -269,6 +269,9 @@ function jumps(url){
function clones(){ function clones(){
dialogVisible.value=false dialogVisible.value=false
} }
function handleOperation(row,i) {
navTo(`/packageB/train/video/videoDetail?id=${video.videoId}`);
}
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>

View File

@@ -204,12 +204,15 @@ function queryData(){
$api.myRequest('/train/public/trainPractice/getQuestions', { $api.myRequest('/train/public/trainPractice/getQuestions', {
userId: userInfo.value.userId userId: userInfo.value.userId
},'post',9100,header).then((resData) => { },'post',9100,header).then((resData) => {
resData.forEach((item,i)=>{ if(resData&&resData.code==200){
resData.data.forEach((item,i)=>{
problemData.value.push(item) problemData.value.push(item)
problemList.value.push({index:i+1,whether:""}) problemList.value.push({index:i+1,whether:""})
}) })
start() start()
accuracyRates() accuracyRates()
}
}); });
} }
function collect(is){ function collect(is){
@@ -222,7 +225,9 @@ function collect(is){
questionId:problemData.value[questionIndex.value-1].questionId, questionId:problemData.value[questionIndex.value-1].questionId,
collect:is collect:is
},'post',9100,header).then((resData) => { },'post',9100,header).then((resData) => {
if(resData&&resData.code==200){
problemData.value[questionIndex.value-1].isCollect=is problemData.value[questionIndex.value-1].isCollect=is
}
}); });
}; };
//正确率 //正确率
@@ -234,7 +239,9 @@ function accuracyRates(){
$api.myRequest('/train/public/trainPractice/getCount', { $api.myRequest('/train/public/trainPractice/getCount', {
userId: userInfo.value.userId, userId: userInfo.value.userId,
},'post',9100,header).then((resData) => { },'post',9100,header).then((resData) => {
accuracyRate.value=resData.truePresent if(resData&&resData.code==200){
accuracyRate.value=resData.data.truePresent
}
}); });
}; };
//提交答案 //提交答案

View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2025-10-16 15:15:47 * @Date: 2025-10-16 15:15:47
* @LastEditors: shirlwang * @LastEditors: lip
* @LastEditTime: 2025-11-06 14:30:22 * @LastEditTime: 2025-11-07 12:08:01
--> -->
<template> <template>
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" --> <!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
@@ -21,7 +21,7 @@
<view>需求上报</view> <view>需求上报</view>
</view> </view>
<view> <view>
<image src="../../../packageRc/static/kinggang3.png"/> <image @click="goAiAu" src="../../../packageRc/static/kinggang3.png"/>
<view>虚拟面试</view> <view>虚拟面试</view>
</view> </view>
<view @click="goCa"> <view @click="goCa">
@@ -120,6 +120,14 @@ function goCa(){
navTo(`/packageCa/search/search?userId=${userInfo.userId}&name=${userInfo.name}`); 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}`);
}
}
function viewMore() { function viewMore() {
navTo(`/packageRc/pages/jobList/jobList`); navTo(`/packageRc/pages/jobList/jobList`);
} }

View File

@@ -144,7 +144,6 @@
"navigationBarTitleTextSize": "30rpx" "navigationBarTitleTextSize": "30rpx"
} }
} }
], ],
"subpackages": [ "subpackages": [
{ {
@@ -440,47 +439,56 @@
"style": { "style": {
"navigationBarTitleText": "新增需求" "navigationBarTitleText": "新增需求"
} }
} , { },
{
"path": "pages/daiban/addbangfu", "path": "pages/daiban/addbangfu",
"style": { "style": {
"navigationBarTitleText": "添加帮扶" "navigationBarTitleText": "添加帮扶"
} }
} , { },
{
"path": "pages/service/serviceDetail", "path": "pages/service/serviceDetail",
"style": { "style": {
"navigationBarTitleText": "服务" "navigationBarTitleText": "服务"
} }
} , { },
{
"path": "pages/service/serviceTraceability", "path": "pages/service/serviceTraceability",
"style": { "style": {
"navigationBarTitleText": "服务追溯" "navigationBarTitleText": "服务追溯"
} }
} , { },
{
"path": "pages/needs/needDetail", "path": "pages/needs/needDetail",
"style": { "style": {
"navigationBarTitleText": "需求信息" "navigationBarTitleText": "需求信息"
} }
} , { },
{
"path": "pages/daiban/bangfuList", "path": "pages/daiban/bangfuList",
"style": { "style": {
"navigationBarTitleText": "服务记录" "navigationBarTitleText": "服务记录"
} }
} , { },
{
"path": "pages/needs/personNeeds", "path": "pages/needs/personNeeds",
"style": { "style": {
"navigationBarTitleText": "需求上报" "navigationBarTitleText": "需求上报"
} }
} , { },
{
"path": "pages/needs/needsList", "path": "pages/needs/needsList",
"style": { "style": {
"navigationBarTitleText": "需求" "navigationBarTitleText": "需求"
} }
} , { },
{
"path": "pages/policy/policyList", "path": "pages/policy/policyList",
"style": { "style": {
"navigationBarTitleText": "政策专区" "navigationBarTitleText": "政策专区"
} }
} , { },
{
"path": "pages/policy/policyDetail", "path": "pages/policy/policyDetail",
"style": { "style": {
"navigationBarTitleText": "政策详解" "navigationBarTitleText": "政策详解"
@@ -492,16 +500,16 @@
"root": "packageCa", "root": "packageCa",
"pages": [ "pages": [
{ {
"path" : "search/search", "path": "search/search",
"style" : { "style": {
"navigationBarTitleText" : "生涯规划", "navigationBarTitleText": "生涯规划",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "search/AIAudition", "path": "search/AIAudition",
"style" : { "style": {
"navigationBarTitleText" : "AI智能面试" "navigationBarTitleText": "AI智能面试"
} }
}, },
{ {
@@ -640,45 +648,8 @@
} }
} }
] ]
}], }
// "tabBar": { ],
// "custom": true,
// "color": "#5E5F60",
// "selectedColor": "#256BFA",
// "borderStyle": "black",
// "backgroundColor": "#ffffff",
// "list": [{
// "pagePath": "pages/index/index",
// "iconPath": "static/tabbar/calendar.png",
// "selectedIconPath": "static/tabbar/calendared.png",
// "text": "职1"
// },
// {
// "pagePath": "pages/careerfair/careerfair",
// "iconPath": "static/tabbar/post.png",
// "selectedIconPath": "static/tabbar/posted.png",
// "text": "招聘会"
// },
// {
// "pagePath": "pages/chat/chat",
// "iconPath": "static/tabbar/logo3.png",
// "selectedIconPath": "static/tabbar/logo3.png",
// "text": "AI+"
// },
// {
// "pagePath": "pages/msglog/msglog",
// "iconPath": "static/tabbar/chat4.png",
// "selectedIconPath": "static/tabbar/chat4ed.png",
// "text": "消息"
// },
// {
// "pagePath": "pages/mine/mine",
// "iconPath": "static/tabbar/mine.png",
// "selectedIconPath": "static/tabbar/mined.png",
// "text": "我的"
// }
// ]
// },
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
@@ -690,11 +661,55 @@
"autoscan": true, "autoscan": true,
"custom": { "custom": {
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue", "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
"^time-picker$": "@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue",
"^TimePicker$": "@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue",
"^Calendar$": "@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue",
"^calendar-item$": "@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue",
"^CalendarItem$": "@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue",
"^table-checkbox$": "@dcloudio/uni-ui/lib/uni-tr/table-checkbox.vue",
"^TableCheckbox$": "@dcloudio/uni-ui/lib/uni-tr/table-checkbox.vue",
"^filter-dropdown$": "@dcloudio/uni-ui/lib/uni-th/filter-dropdown.vue",
"^FilterDropdown$": "@dcloudio/uni-ui/lib/uni-th/filter-dropdown.vue",
"^uni-status-bar$": "@dcloudio/uni-ui/lib/uni-nav-bar/uni-status-bar.vue",
"^upload-image$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue",
"^UploadImage$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue",
"^upload-file$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-file.vue",
"^UploadFile$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-file.vue",
"^IconfontIcon$": "@/components/IconfontIcon/IconfontIcon.vue", "^IconfontIcon$": "@/components/IconfontIcon/IconfontIcon.vue",
"^WxAuthLogin$": "@/components/WxAuthLogin/WxAuthLogin.vue", "^WxAuthLogin$": "@/components/wxAuthLogin/WxAuthLogin.vue",
"^AppLayout$": "@/components/AppLayout/AppLayout.vue", "^AppLayout$": "@/components/AppLayout/AppLayout.vue",
"^CustomTabBar$": "@/components/CustomTabBar/CustomTabBar.vue" "^CustomTabBar$": "@/components/CustomTabBar/CustomTabBar.vue",
"^UserTypeSwitcher$": "@/components/UserTypeSwitcher/UserTypeSwitcher.vue",
"^CollapseTransition$": "@/components/CollapseTransition/CollapseTransition.vue",
"^NoBouncePage$": "@/components/NoBouncePage/NoBouncePage.vue",
"^TikTok$": "@/components/TikTok/TikTok.vue",
"^MsgTips$": "@/components/MsgTips/MsgTips.vue",
"^exitPopup$": "@/packageRc/components/exitPopup.vue",
"^ImageUpload$": "@/packageRc/components/ImageUpload.vue",
"^placePicker$": "@/packageRc/components/placePicker.vue",
"^PlacePicker$": "@/packageRc/components/placePicker.vue",
"^PopupLists$": "@/packageRc/components/PopupLists.vue",
"^PopupList$": "@/packageRc/components/PopupLists.vue",
"^popupList$": "@/packageRc/components/PopupLists.vue",
"^DealDone$": "@/packageRc/pages/needs/dealDone.vue",
"^ChoosePerson$": "@/packageRc/pages/needs/components/choosePerson.vue",
"^choosePerson$": "@/packageRc/pages/needs/components/choosePerson.vue",
"^choose-person$": "@/packageRc/pages/needs/components/choosePerson.vue",
"^contrastBox$": "@/packageCa/testReport/components/contrastBox.vue",
"^testHead$": "@/packageCa/testReport/components/testHead.vue",
"^jobService$": "@/packageRc/pages/needs/components/jobService.vue",
"^entrepreneurshipService$": "@/packageRc/pages/needs/components/entrepreneurshipService.vue",
"^trainService$": "@/packageRc/pages/needs/components/trainService.vue",
"^otherService$": "@/packageRc/pages/needs/components/otherService.vue",
"^investigate$": "@/packageRc/pages/service/components/investigate.vue",
"^policyConsultation$": "@/packageRc/pages/service/components/policyConsultation.vue",
"^jobRecommend$": "@/packageRc/pages/service/components/jobRecommend.vue",
"^skillTrain$": "@/packageRc/pages/service/components/skillTrain.vue",
"^jobTrack$": "@/packageRc/pages/service/components/jobTrack.vue",
"^positionChooser$": "@/packageRc/pages/service/components/positionChooser.vue",
"^(?!u-|uni-|el-|req-comp|template|transition|enterprise-list-pop|handler-data|time-picker|TimePicker|Calendar|calendar-item|CalendarItem|table-checkbox|TableCheckbox|filter-dropdown|FilterDropdown|uni-status-bar|upload-image|UploadImage|upload-file|UploadFile|view|text|image|button|input|textarea|picker|scroll-view|swiper|map|canvas|video|audio|cover-view|cover-image|navigator|rich-text|progress|checkbox|radio|switch|slider|form|label|picker-view|movable-view|movable-area|web-view|ad|official-account|open-data|editor|live-player|live-pusher|functional-page-navigator|match-media|page-meta|navigation-bar|keyboard-accessory|page-container|uni-app|block|component|slot|keep-alive|router-view|router-link)([a-zA-Z][a-zA-Z0-9-]*)$": "@/components/$1/$1.vue"
} }
}, },
"uniIdRouter": {} "uniIdRouter": {}
} }

View File

@@ -116,7 +116,7 @@
<view class="service-icon service-icon-9"> <view class="service-icon service-icon-9">
<IconfontIcon name="ai" :size="68" color="#FFFFFF" /> <IconfontIcon name="ai" :size="68" color="#FFFFFF" />
</view> </view>
<view class="service-title">AI智能面试</view> <view class="service-title">虚拟面试</view>
</view> </view>
<view class="service-item press-button" style="justify-content:normal" @click="goRc()"> <view class="service-item press-button" style="justify-content:normal" @click="goRc()">
<view class="service-icon service-icon-9"> <view class="service-icon service-icon-9">

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "3.5.7", "libVersion": "3.5.7",
"appid": "wx9d1cbc11c8c40ba7", "appid": "wx4aa34488b965a331",
"projectname": "qingdao-employment-service", "projectname": "qingdao-employment-service",
"condition": { "condition": {
"search": { "search": {