优化智慧就业内容,功能完善。剩登录对接

This commit is contained in:
2025-11-04 13:46:18 +08:00
parent 7369be7fce
commit 3b04d82393
18 changed files with 853 additions and 148 deletions

View File

@@ -22,4 +22,11 @@ api.queryPlanList = (encodeId) => request.globalRequest(`/StudentProfile/QueryPl
api.savePlanList = (data) => request.globalRequest(`/StudentProfile/SavePlanList`,'POST', data, 1)
// 获取生涯档案(高校
api.getGXWechatStudentProfile = () => request.globalRequest(`/StudentProfile/GetGXWechatStudentProfile`,'GET', {}, 1)
//获取职业路径职业列表
api.queryCareerPath = () => request.globalRequest(`/StudentManage/QueryCareerPath`,'POST', {}, 1)
// 获取职业详情参数encodeId 加密id
api.queryPathInfo = (encodeId) => request.globalRequest(`/StudentManage/QueryPathInfo?encodeId=${encodeId}`,'POST', {}, 1)
export default api

View File

@@ -1,10 +0,0 @@
import request from '@/utilB/request.js'
const api = {}
// 获取openid
api.getOpenId = (params) => request.globalRequest(`/WishOrder/GetOpenId?code=${params}`,'GET', {}, "")
// 微信支付
api.createWeiXinOrder = (data) => request.globalRequest(`/TenpayOrder/CreateWeiXinOrder`, 'POST', data)
export default api

View File

@@ -1,6 +1,17 @@
import request from '@/utilB/request.js'
const api = {}
//根据openId,获取token,并判断用户是否已绑定账号
api.getAccessTokenAndUser = (params) => request.globalRequest(`/WeChartToken/GetAccessTokenAndUser?openId=${params}`,'GET', {})
//获取用户token 生涯平台token
api.queryWechartToken = (userId,schoolId,userType) => request.globalRequest(`/Auth/QueryWechartToken?userId=${userId}&schoolId=${schoolId}&userType=${userType}`,'GET', {},1,4)
// 获取openid
api.getOpenId = (params) => request.globalRequest(`/WishOrder/GetOpenId?code=${params}`,'GET', {}, "")
// 微信支付
api.createWeiXinOrder = (data) => request.globalRequest(`/TenpayOrder/CreateWeiXinOrder`, 'POST', data)
// 用户绑定登录
api.userBindLogin = (data) => request.globalRequest(`/user/UserBindLogin`, 'POST', data)
//用户解绑账号或切换账号有返回User, Token话,前端重新绑定到header上

View File

@@ -1,26 +0,0 @@
import request from '@/utilB/request.js'
const api = {}
// 获取个人信息
api.getMyWeChartUser = (params) => request.globalRequest(`/WeChartUser/GetMyWeChartUser?openId=${params}`,'GET', {})
// 保存个人信息
api.saveChartUser = (data) => request.globalRequest(`/WeChartUser/SaveChartUser`, 'POST', data)
// 保存反馈信息
api.saveWeChartUserFeedback = (data) => request.globalRequest(`/WeChartUser/SaveWeChartUserFeedback`, 'POST', data)
// 获取出行人列表
api.getResearchUserList = (params) => request.globalRequest(`/WeChartUser/GetResearchUserList?openId=${params}`,'GET', {})
// 删除出行人
api.deleteResearchUser = (params) => request.globalRequest(`/WeChartUser/DeleteResearchUser?id=${params}`,'GET', {})
// 保存出行人
api.saveResearchUser = (data) => request.globalRequest(`/WeChartUser/SaveResearchUser`, 'POST', data)
//根据openId,获取token,并判断用户是否已绑定账号
api.getAccessTokenAndUser = (params) => request.globalRequest(`/WeChartToken/GetAccessTokenAndUser?openId=${params}`,'GET', {})
//获取用户token 生涯平台token
api.queryWechartToken = (userId,schoolId,userType) => request.globalRequest(`/Auth/QueryWechartToken?userId=${userId}&schoolId=${schoolId}&userType=${userType}`,'GET', {},1,4)
api.sLLogin = (accessToken,openId,studentId) => request.globalRequest(`/WeChartUser/SLLogin?accessToken=${accessToken}&openId=${openId}&studentId=${studentId}`, 'POST', {})
export default api

View File

@@ -14,7 +14,8 @@
</view>
</view>
</view>
<view class="u-menu-wrap" :style="{height: winHeight - barHeight - loginHeight + 'px'}">
<!-- :style="{height: winHeight - barHeight - loginHeight + 'px'}" -->
<view class="u-menu-wrap" >
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop" :scroll-into-view="itemId">
<view v-for="(item,index) in jobList" :key="index" class="u-tab-item"
:class="[current == index ? 'u-tab-item-active' : '']" @tap.stop="swichMenu(index)">
@@ -275,9 +276,10 @@
.jobIndex {
position: relative;
padding-top: 0;
height: 100vh;
.u-menu-wrap {
display: flex;
// height: calc(100vh - 100rpx);
height: calc(100vh - 100rpx);
overflow: auto;
padding-top: 100rpx;
.u-tab-view {
@@ -301,7 +303,7 @@
.u-tab-item-active {
position: relative;
color: #fff;
font-size: 28rpx;
font-size: 26rpx;
font-weight: 500;
background: #1677ff;
border-radius:5px;
@@ -442,6 +444,7 @@
overflow: auto;
box-shadow: 0 0 4rpx 2rpx #f2f2f2;
border-radius: 8rpx;
z-index: 90;
.link {
display: flex;
align-items: center;

View File

@@ -28,41 +28,32 @@
<text class="title">个人档案</text>
</view> -->
</view>
<view class="head-title">规划中心</view>
<view class="head-title">职业生涯规划</view>
<view class="nav-block">
<view class="item" @click="navDetail(6)">
<text class="icon icon-105"></text>
<text class="title">生涯罗盘</text>
</view>
<view class="item" @click="navDetail(2)">
<view class="item" @click="navDetail(5)">
<text class="icon icon-106"></text>
<text class="title">职业生涯路径</text>
</view>
<view class="item" @click="navDetail(7)">
<text class="icon icon-107"></text>
<text class="title">学业规划</text>
</view>
</view>
<view class="head-title">档案中心</view>
<view class="nav-block">
</view>
<view class="item" @click="navDetail(4)">
<text class="icon icon-108"></text>
<text class="title">生涯档案</text>
</view>
<!-- <view class="item" @click="navDetail(5)">
<text class="icon icon-11"></text>
<text class="title">测试完善个人信息</text>
</view> -->
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import api1 from "@/apiB/weChartUser.js"
import api3 from "@/apiB/tenpayOrder.js"
import api4 from "@/apiB/user.js"
import api from "@/apiB/user.js"
export default {
data() {
return {
@@ -75,7 +66,6 @@
if(user == undefined){
this.queryWechartToken();
}
this.getUserInfor();
},
methods: {
// 返回
@@ -83,7 +73,7 @@
uni.navigateBack(-1);
},
async getUserInfor(){
const res = await api4.getUserBasisInfo();
const res = await api.getUserBasisInfo();
if (res.Result == 1) {
const data = res.Data.data;
if(!data.SpecialtyName){
@@ -129,7 +119,7 @@
}
case 5 : {
uni.navigateTo({
url: "/packageB/pages/userCenter/fillInInformation"
url: "/packageB/pages/userCenter/professionPath"
})
break;
}
@@ -157,8 +147,7 @@
provider: 'weixin',
success: (res)=> {
console.log("res.code======="+res.code);
api3.getOpenId(res.code).then((res2) => {
console.log("88888888");
api.getOpenId(res.code).then((res2) => {
// uni.setStorageSync('userInfo', data.Data);
const userInfo = res2.Data
this.user = userInfo.user;
@@ -178,7 +167,7 @@
async getAccessTokenAndUser() {
const userInfo = await this.loginMpWeixin();
return new Promise((resolve,reject)=>{
api1.getAccessTokenAndUser(userInfo.openid).then((res)=>{
api.getAccessTokenAndUser(userInfo.openid).then((res)=>{
if(res.Result == 1){
this.user = res.Data.User;
userInfo.token = res.Data.Token;
@@ -199,11 +188,12 @@
title: "加载中"
})
const data = await this.getAccessTokenAndUser();
api1.queryWechartToken(data.user.Id,data.user.SchoolId,data.user.UserType).then((res)=>{
api.queryWechartToken(data.user.Id,data.user.SchoolId,data.user.UserType).then((res)=>{
uni.hideLoading();
if(res.Result == 1){
data.userToken = res.Data.token;
uni.setStorageSync('userInfo',data);
this.getUserInfor();
}
})
},

View File

@@ -121,11 +121,7 @@
recordId: {
type: Number,
default: 0,
},
value: {
type: Boolean,
default: true,
},
}
},
data() {
return {
@@ -134,12 +130,12 @@
showTime: false, //显示时间选择
treeList: [], //时间列表
childrenList: [],//时间子级
selYTItem1: null,//临时选中的学年1
selRepItem1: null,//临时选中的报告1
selYTItem2: null,//临时选中的学年2
selRepItem2: null,//临时选中的报告2
checkedRepItem1: null,//确认选中报告1
checkedRepItem2: null,//确认选中报告2
selYTItem1: {},//临时选中的学年1
selRepItem1: {},//临时选中的报告1
selYTItem2: {},//临时选中的学年2
selRepItem2: {},//临时选中的报告2
checkedRepItem1: {},//确认选中报告1
checkedRepItem2: {},//确认选中报告2
timeType: 1,//时间类型是报告时间1还是对比时间2
optionStr1: "",//我的报告展示字段
optionStr2: "",//我的报告展示字段
@@ -240,12 +236,15 @@
changeYearTrem(ITEM,INDEX){
if(INDEX == 1){
this.selYTItem1 = ITEM;
this.selRepItem1 = null;
this.selRepItem1 = {};
}else {
this.selYTItem2 = ITEM;
this.selRepItem2 = null;
this.selRepItem2 = {};
}
this.childrenList = ITEM.children;
console.log(this.selYTItem2);
console.log(this.selRepItem2);
console.log(this.childrenList);
},
// 显示团队对比弹窗
showContrastLayer(){

View File

@@ -5,7 +5,7 @@
<text>我的报告</text>
</view>
<view class="content">
<contrastBox :value="isShowEchart" @updateValue="handleChildValueChange" :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<contrastBox @updateValue="handleChildValueChange" :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<view class="section-block">
<testHead :reportTitle="'通用(职业)能力测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="false" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<view class="s-line"></view>
@@ -39,7 +39,7 @@
<view class="code-value">
<text class="scort" v-text="lowStr==''?'无':lowStr"></text>
</view>
<view v-show="isShowEchart" class="chat-wrap">
<view class="chat-wrap">
<view class="row-item"><l-echart ref="chartRef" class="charts-box"></l-echart>
</view>
</view>
@@ -155,7 +155,6 @@
recordId: 0,
labelName1: "",//表值1
labelName2: "",//表值2
isShowEchart:true,//是否显示图表
}
},
onLoad(e) {
@@ -172,10 +171,6 @@
this.getTestRecord(this.currentYear, this.currentTerm,this.recordId);
},
methods: {
handleChildValueChange(newValue) {
console.log("66666====");
this.isShowEchart = newValue
},
changeMore(INDEX) {
this.list[INDEX].showMore = !this.list[INDEX].showMore
this.$forceUpdate();

View File

@@ -5,9 +5,9 @@
<text>我的报告</text>
</view>
<view class="content">
<contrastBox :value="isShowEchart" @updateValue="handleChildValueChange" :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<contrastBox :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<view class="section-block">
<testHead :value="isShowEchart" @updateValue="handleChildValueChange" :reportTitle="'职业兴趣测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="true" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<testHead :reportTitle="'职业兴趣测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="true" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<view class="s-line"></view>
<view class="title">
<view class="name">兴趣代码</view>
@@ -38,7 +38,7 @@
<view class="title">
<view class="name">兴趣分数</view>
</view>
<view v-show="isShowEchart" class="chat-wrap">
<view class="chat-wrap">
<view class="row-item"><l-echart ref="chartRef" class="charts-box"></l-echart>
</view>
@@ -415,7 +415,6 @@
labelName1: "",//表值1
labelName2: "",//表值2
params: {},//筛选参数
isShowEchart:true,//是否显示图表
}
},
onLoad(e) {
@@ -445,10 +444,6 @@
this.gradeLevel = uni.getStorageSync("userInfo").user.GradeLevel;
},
methods: {
handleChildValueChange(newValue) {
console.log("66666====");
this.isShowEchart = newValue
},
showConfirmInfor(){
uni.showModal({
title:this.layerTitile,

View File

@@ -5,9 +5,9 @@
<text>我的报告</text>
</view>
<view class="content">
<contrastBox :value="isShowEchart" @updateValue="handleChildValueChange" :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<contrastBox :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<view class="section-block">
<testHead :value="isShowEchart" @updateValue="handleChildValueChange" :reportTitle="'多元(职业)能力测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="false" :videoUrl="videoUrl" :introduceUrl="introduceUrl" :introduceUrl2="introduceUrl2"></testHead>
<testHead :reportTitle="'多元(职业)能力测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="false" :videoUrl="videoUrl" :introduceUrl="introduceUrl" :introduceUrl2="introduceUrl2"></testHead>
<view class="s-line"></view>
<view class="title">
<view class="name">能力强</view>
@@ -27,42 +27,42 @@
<view class="code-value">
<text class="scort" v-text="low!=''?low:'无'"></text>
</view>
<view v-show="isShowEchart" class="chat-wrap blue-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap blue-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
语文相关能力得分
</view>
<view class="row-item"><l-echart ref="charts1" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap purple-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap purple-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
数学相关能力得分
</view>
<view class="row-item"><l-echart ref="charts2" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap orange-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap orange-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
科技相关能力得分
</view>
<view class="row-item"><l-echart ref="charts3" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap green-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap green-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
资讯相关能力得分
</view>
<view class="row-item"><l-echart ref="charts4" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap blue-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap blue-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
人际相关能力得分
</view>
<view class="row-item"><l-echart ref="charts5" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap purple-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap purple-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
美感相关能力得分
</view>
@@ -70,14 +70,14 @@
<view class="row-item"><l-echart ref="charts6" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap orange-bg" style="margin-bottom:68rpx;">
<view class="chat-wrap orange-bg" style="margin-bottom:68rpx;">
<view class="chat-title">
自然相关能力得分
</view>
<view class="row-item"><l-echart ref="charts7" class="charts-box"></l-echart>
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap green-bg">
<view class="chat-wrap green-bg">
<view class="chat-title">
艺能相关能力得分
</view>
@@ -257,7 +257,6 @@
recordId: 0,
labelName1: "",//表值1
labelName2: "",//表值2
isShowEchart:true,
}
},
onLoad(e) {
@@ -274,10 +273,6 @@
this.getTestRecord(this.currentYear, this.currentTerm,this.recordId);
},
methods: {
handleChildValueChange(newValue) {
console.log("66666====");
this.isShowEchart = newValue
},
//对比参数
opCompareParameters(value){
this.labelName1 = value.name1;

View File

@@ -5,9 +5,9 @@
<text>我的报告</text>
</view>
<view class="content">
<contrastBox :value="isShowEchart" @updateValue="handleChildValueChange" :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<contrastBox :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<view class="section-block">
<testHead :value="isShowEchart" @updateValue="handleChildValueChange" :reportTitle="'人格测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="true" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<testHead :reportTitle="'人格测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="true" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<view class="s-line"></view>
<view class="title">
<view class="name">强项特质</view>
@@ -146,7 +146,7 @@
无弱项特质
</view>
</view>
<view v-show="isShowEchart" class="chat-wrap blue-bg" style="margin-bottom:40rpx;">
<view class="chat-wrap blue-bg" style="margin-bottom:40rpx;">
<view class="chat-title">
综合特质等级侧面图
</view>
@@ -175,7 +175,7 @@
</view>
<view class="item-desc">{{scoreSummary1.Desc}}</view>
</view>
<view v-show="isShowEchart" class="chat-wrap blue-bg">
<view class="chat-wrap blue-bg">
<view class="chat-title">
内外向综合特质侧面图
</view>
@@ -194,7 +194,7 @@
</view>
<view class="item-desc">{{scoreSummary2.Desc}}</view>
</view>
<view v-show="isShowEchart" class="chat-wrap purple-bg">
<view class="chat-wrap purple-bg">
<view class="chat-title">
人际关系综合特质侧面图
</view>
@@ -213,7 +213,7 @@
</view>
<view class="item-desc">{{scoreSummary3.Desc}}</view>
</view>
<view v-show="isShowEchart" class="chat-wrap orange-bg">
<view class="chat-wrap orange-bg">
<view class="chat-title">
严谨性综合特质侧面图
</view>
@@ -232,7 +232,7 @@
</view>
<view class="item-desc">{{scoreSummary4.Desc}}</view>
</view>
<view v-show="isShowEchart" class="chat-wrap green-bg">
<view class="chat-wrap green-bg">
<view class="chat-title">
开放性综合特质侧面图
</view>
@@ -492,7 +492,6 @@
labelName1: "",//表值1
labelName2: "",//表值2
params: {},//筛选参数
isShowEchart:true,//是否显示图表
}
},
onLoad(e) {
@@ -508,10 +507,6 @@
this.getTestRecord(this.currentYear, this.currentTerm,this.recordId);
},
methods: {
handleChildValueChange(newValue) {
console.log("66666====");
this.isShowEchart = newValue
},
//报告介绍
playIntroduce() {
this.showIntroduce = true;

View File

@@ -5,14 +5,14 @@
<text>我的报告</text>
</view>
<view class="content">
<contrastBox :value="isShowEchart" @updateValue="handleChildValueChange" :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<contrastBox :testType="testType" :userId="userId" :recordId="recordId" @compareParameters="opCompareParameters"></contrastBox>
<view class="section-block">
<testHead :value="isShowEchart" @updateValue="handleChildValueChange" :reportTitle="'工作价值观测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="true" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<testHead :reportTitle="'工作价值观测评报告'" :testTime="testDate" :isIntroduce="false" :isVideo="true" :videoUrl="videoUrl" :introduceUrl="introduceUrl" ></testHead>
<view class="s-line"></view>
<view class="title">
<view class="name">工作价值类型得分</view>
</view>
<view v-show="isShowEchart" class="chat-wrap">
<view class="chat-wrap">
<view class="row-item">
<l-echart ref="chartRef" class="charts-box"></l-echart>
</view>
@@ -21,15 +21,18 @@
<view class="name">高分价值观及说明</view>
</view>
<view class="desc-item-wrap" v-if="tableData.length > 0">
<view class="desc-item" v-for="(items,index) in tableData" :key="index">
<view class="desc-item" v-show="item.Desc != undefined && item.Desc != ''" v-for="(item,index) in tableData" :key="index">
<view class="name-block">
<view class="name">{{items.Name}}
<view class="name">{{item.Name}}
<view class="label">高分</view>
</view>
<view class="desc">{{items.Desc}}</view>
<view class="desc">{{item.Desc}}</view>
</view>
</view>
</view>
<view class="desc-item-wrap" v-else>
暂无高分价值观
</view>
</view>
</view>
</view>
@@ -135,7 +138,6 @@
labelName1: "",//表值1
labelName2: "",//表值2
params: {},//筛选参数
isShowEchart:true,//是否显示图表
}
},
onLoad(e) {
@@ -151,13 +153,8 @@
this.getTestRecord(this.currentYear, this.currentTerm,this.recordId);
},
methods: {
handleChildValueChange(newValue) {
console.log("66666====");
this.isShowEchart = newValue
},
//对比参数
opCompareParameters(value){
console.log("0000===");
this.labelName1 = value.name1;
this.labelName2 = value.name2;
this.params = value;
@@ -199,8 +196,8 @@
}
})
})
console.log(scoreList)
this.tableData = scoreList;
console.log("this.tableData==="+JSON.stringify(this.tableData));
this.initChart();
}
} else {

View File

@@ -79,13 +79,13 @@
{{item.JobName}}
</view>
<view class="td">
<text v-for="(ritem,rindex) in item.AbilityPlanList">{{ritem}}</text>
<text v-for="(ritem,rindex) in item.AbilityPlanList" :key="rindex">{{ritem}}</text>
</view>
<view class="td">
<text v-for="(ritem,rindex) in item.CoursePlanList">{{ritem.Name}}</text>
<text v-for="(ritem,rindex) in item.CoursePlanList" :key="rindex">{{ritem.Name}}</text>
</view>
<view class="td">
<text v-for="(ritem,rindex) in item.JobNameList">{{ritem}}</text>
<text v-for="(ritem,rindex) in item.JobNameList" :key="rindex">{{ritem}}</text>
</view>
</view>
<view class="loading" v-if="isLoading">

View File

@@ -92,7 +92,7 @@
</template>
<script>
import api1 from "@/apiB/user.js"
import api from "@/apiB/user.js"
export default {
data() {
return {
@@ -309,7 +309,7 @@
},
methods: {
async getUserInfor(){
const res = await api1.getUserBasisInfo();
const res = await api.getUserBasisInfo();
if (res.Result == 1) {
const data = res.Data.data;
this.specialtyName=data.SpecialtyName;
@@ -375,7 +375,7 @@
// smsType: 2
// }
const mobile = this.mobile.replace(/\s+/g, '')
const res = await api1.querySendSmsCodeWithoutCode(mobile)
const res = await api.querySendSmsCodeWithoutCode(mobile)
if (res.Result !== 1) {
uni.showToast({
title: res.Message,
@@ -436,7 +436,7 @@
//Phone: this.mobile,
//StartYear: this.startYear
}
const res = await api1.saveUserBasisInfo(mobileCode,data);
const res = await api.saveUserBasisInfo(mobileCode,data);
uni.hideLoading();
if (res.Result == 1) {
uni.navigateBack()

View File

@@ -0,0 +1,759 @@
<template>
<view class="index-wrap">
<view class="head-bar" :style="{'margin-top': barHeight + 5 + 'px'}">
<view class="go-back" @click="goBack"></view>
<text>职业路径</text>
</view>
<view class="content">
<view class="section">
<view class="title-h1">
推荐职业
</view>
<view class="table" v-if="jobList.length > 0">
<view class="tr">
<view class="th">
</view>
<view class="th">
职业名称
</view>
<view class="th">
测评推荐
</view>
<view class="th">
我的意向
</view>
<view class="th">
专业匹配
</view>
</view>
<view class="tr" v-for="(item,index) in jobList" @click="checkedJob(item)" :key="index">
<view class="td">
<view class="checked-btn" :class="checkedCode==item.EncodeId?'on':''"></view>
</view>
<view class="td">
{{item.Name}}
</view>
<view class="td">
<view class="is-has" v-if="item.IsRecommend"></view>
</view>
<view class="td">
<view class="is-has" v-if="item.IsIntention"></view>
</view>
<view class="td">
<view class="is-has" v-if="item.IsSpecialtyMatch"></view>
</view>
</view>
</view>
<view class="empty" v-else>
<view class="icon"></view>
<view class="txt">暂无推荐职业请先进行兴趣测评</view>
<view class="nav-btn" @click="navTest">
去测评
</view>
</view>
<view class="title-h1">
职业介绍
</view>
<view class="desc">
<view class="strong">
{{jobName}}
</view>
{{jobIntroduce}}
</view>
<view class="title-h1">
发展路径
</view>
<view class="desc">
<view class="strong">
{{jobPath}}
</view>
</view>
<view class="path-map">
<view class="origin-item">
大学生
</view>
<view class="path-list" :class="isLoadingEnd?'show':'ing'">
<view class="line-1">
<view class="drop" :class="'drop-' + (index+1)" v-for="(item,index) in academicRequire" :key="index" @click="showName(item)">
<view class="txt">
{{item}}
</view>
<view class="icon"></view>
</view>
</view>
<view class="line-2">
<view class="drop" :class="'drop-' + (index+1)" v-for="(item,index) in generalSkillRequire" :key="index" @click="showName(item)">
<view class="txt">
{{item}}
</view>
<view class="icon"></view>
</view>
</view>
<view class="line-3">
<view class="drop" :class="'drop-' + (index+1)" v-for="(item,index) in certificateRequire" :key="index" @click="showName(item)">
<view class="txt">
{{item}}
</view>
<view class="icon"></view>
</view>
</view>
<view class="line-4">
<view class="drop" :class="'drop-' + (index+1)" v-for="(item,index) in jobSkill" :key="index" @click="showName(item)">
<view class="txt">
{{item}}
</view>
<view class="icon"></view>
</view>
</view>
<view class="line-5">
<view class="drop" :class="'drop-' + (index+1)" v-for="(item,index) in professionalRequire" :key="index" @click="showName(item)">
<view class="txt">
{{item}}
</view>
<view class="icon"></view>
</view>
</view>
<view class="line-6">
<view class="drop" :class="'drop-' + (index+1)" v-for="(item,index) in jobRequire" :key="index" @click="showName(item)">
<view class="txt">
{{item}}
</view>
<view class="icon"></view>
</view>
</view>
</view>
<view class="terminal-point">
{{jobName}}
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import api from "@/apiB/studentProfile.js"
export default {
data() {
return {
barHeight: wx.getWindowInfo().statusBarHeight,
jobList: [],//
checkedCode: null,
jobIntroduce: "",
jobName: "",
jobPath: "",
academicRequire: [], //
generalSkillRequire: [],
certificateRequire: [],
jobRequire: [],
jobSkill: [],
professionalRequire: [],
isLoadingEnd: false,
}
},
created() {
this.init();
},
methods: {
// 获取推荐职业
async init(){
uni.showLoading({
title: "加载中..."
})
await this.queryCareerPath();
await this.queryPathInfo();
uni.hideLoading();
},
async queryCareerPath() {
const res = await api.queryCareerPath();
if (res.Result == 1) {
const list = res.Data.JobList
this.jobList = list;
if(list.length>0){
this.checkedCode = list[0].EncodeId;
}
} else {
uni.showToast({
title: res.Message,
icon: "none"
})
}
},
// 获取职业
async queryPathInfo(){
this.isLoadingEnd = false;
const res = await api.queryPathInfo(this.checkedCode);
if (res.Result == 1) {
let data = res.Data;
this.jobName = data.Name;
this.jobIntroduce = data.JobIntroduce;
this.jobPath = data.JobPath;
this.academicRequire = JSON.parse(data.AcademicRequire).slice(0,5);
this.generalSkillRequire = JSON.parse(data.GeneralSkillRequire).slice(0,5);
this.certificateRequire = JSON.parse(data.CertificateRequire).slice(0,5);
this.jobRequire = JSON.parse(data.JobRequire).slice(0,5);
this.jobSkill = JSON.parse(data.JobSkill).slice(0,5);
this.professionalRequire = JSON.parse(data.ProfessionalRequire).slice(0,5);
this.isLoadingEnd = true;
} else {
uni.showToast({
title: res.Message,
icon: "none"
})
}
},
// 去测评
navTest(){
uni.navigateTo({
url: `/pagesTest/interestTestCollect/interestTestTitle`
})
},
//选中职业
checkedJob(ITEM){
this.checkedCode = ITEM.EncodeId;
this.queryPathInfo();
},
showName(ITEM){
uni.showToast({
title: ITEM,
icon:"none"
});
},
goBack(){
uni.navigateBack(-1);
},
}
}
</script>
<style lang="scss">
$image-oss-url: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh";
page {
background: #EEF1F8 url("#{$image-oss-url}/17.png") no-repeat;
background-size: contain;
overflow-y: scroll;
}
</style>
<style lang="scss" scoped>
$image-oss-url: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh";
.head-bar {
position: relative;
text-align: center;
font-size: 36rpx;
font-weight: 600;
height: 60rpx;
line-height: 60rpx;
.go-back {
position: absolute;
left: 10rpx;
top: 0;
width: 60rpx;
height: 60rpx;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABUklEQVRoQ+3ZOwrCQBCA4UlyCVsrQauQdPYewcNYWXoHK1s9gYeYdIKlracYWYggkgiTnccuaB3D/+1sYEMKyPxXZN4Pf0DMBOu6XpZluQOANRGduq7bc+/nNoE+/gwAq3c0IrJ72H/grtDQ9UPxAPBAxDn3/uaAkfjQvUXES9IA6fiANZuARrwZQCveBKAZrw7QjlcFWMSrAaziVQCW8eIA63hRgEe8GMArXgTgGR8N8I6PAqQQPxmQSvxkQNM0VwDYfJ3dJ53nuef/7+vZx+l+9W8pxE+aQNu2CyK6ZwsI4VlvoQDI/iFOCcF+iD/3fgqTiAKkMIlogDdCBOCJEAN4IUQBHghxgDVCBWCJUANYIVQBFgh1gDbCBKCJMANoIUwBGghzwA/EExFn3HdkF8AYIpvPrO9VDu8TVVUdiKghomNWH7q5W2Xserct9Af0K/AChQ/cMY9OGScAAAAASUVORK5CYII=") center no-repeat;
background-size: 38rpx 38rpx;
}
}
.empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 60rpx;
padding-bottom: 100rpx;
.icon {
width: 240rpx;
height: 240rpx;
background: url("#{$image-oss-url}/empty.png") no-repeat;
background-size: 100%;
margin-bottom: 20rpx;
}
.txt {
font-size: 28rpx;
color: #A4B3E5;
}
.nav-btn {
width: 335rpx;
height: 80rpx;
margin: 40rpx auto 0;
background-color: #1989fa;
border-radius: 40rpx;
font-size: 28rpx;
color: #fff;
text-align: center;
line-height: 80rpx;
}
}
.index-wrap {
.content {
padding: 0 20rpx;
margin-top: 60rpx;
.title-h1 {
font-size: 32rpx;
color: #333;
margin-bottom: 30rpx;
font-weight: 600;
}
.section {
width: 650rpx;
padding: 30rpx 30rpx 50rpx;
background-color: #ffffff;
border-radius: 14rpx;
margin-bottom: 50rpx;
.table {
border-left: 2rpx solid #eef2fd;
border-top: 2rpx solid #eef2fd;
border-right: 2rpx solid #eef2fd;
border-radius: 6rpx;
overflow-x: auto;
overflow-y: auto;
margin-bottom: 30rpx;
max-height: 400rpx;
.tr {
display: -webkit-box;
.th {
width: 145rpx;
height: 72rpx;
line-height: 72rpx;
text-align: center;
background: #F6F9FE;
font-size: 24rpx;
color: #333333;
border-bottom: 2rpx solid #eef2fd;
&:nth-child(1){
width: 60rpx;
}
&:nth-child(2){
width: 250rpx;
}
}
.td {
display: flex;
justify-content: center;
align-items: center;
width: 145rpx;
min-height: 72rpx;
font-size: 24rpx;
color: #333333;
text-align: center;
border-bottom: 2rpx solid #eef2fd;
&:nth-child(1){
width: 60rpx;
}
&:nth-child(2){
width: 250rpx;
word-break: break-all;
}
.checked-btn {
width: 28rpx;
height: 28rpx;
background: #FFFFFF;
border-radius: 50%;
border: 2rpx solid #999999;
&.on {
position: relative;
border-color: #1989fa;
background: #1989fa;
&:before {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
content: "";
display: block;
width: 12rpx;
height: 12rpx;
border-radius: 50%;
background: #fff;
}
}
}
.is-has {
width: 48rpx;
height: 48rpx;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAPXSURBVGiB7VlBbttIEKweLrXH5QKW4JuZH/gHa79g5RfEeoFpwBJ8o3Tz2gGkvCD6gZMXWE/QD8TcDDvA8hopntpDxlnZniFHJGMggOomcWbY1Wx2VzeBLbbY4peGNH3gzhkPRBCLYI9ABCISQUbiswjy5RKzfCJ5U/erTWD3nPHDAw5E8DeArs8eEjMSn759w7QumVoEds6YKIUTAHGV/SRyEUyWS7yvSqQSgXafxyJIqxr+HCRyEqMv72Sy6d6NCXQGTAEMN93nAxLT1QqnmzwNbwJRwihsIRUgqWyhH+ZK4ej2QjKfxcr31DDE+BWMB4B9rXETJYx8FnsR6AyYiuC4tmn+iFu/Y+yzsDSEOgN2AVw3YpbbiikAgC+cNLy7lFHRVp8n4OWJipgrhTd3/0gPhC1khrvnLMx0vxVdNBmnkVT5HAQm95dy+uM3cSCWeNBECqDnOscZQlHCKAyxELF6pha0xul6zo8Sxq0WFq71SuGNKys5QygM0X0N433woHHiulb0Dvy1kWV+GDqMLyxcUqCxrARMDvYSZr4gMHFlFFN5iwpX3O5z33bBSiAMETccPvPVEoXpEIJZ0WUSB7b/XSFkZVsFJHKlcFSmb5QUE1QKf1j/d9zUx/sfSUzJYs+JYOKja24vJCPgfLlJezq31gFR2HMckpMYPW9ETModW+TGvKySwjRFmkgtlXgd/gQcxs+CAD2bNw2ZXrvPWOT/WNUapy8OshiudXWdZQ8hjc+Wv/e1xtsilRgEaxVTMP3yTpzh1Rkw1RqLEq+vw7+QKfVysclKwzDEYueMVll9eyEZBFMS+fKr3fu754w7Ay6waVMk9lphJaC1u7CIIFIK43afH2xPQwlGIpjYsk67z32tcVNFXzmiwq6FooRRq4V/Pc717p7afR4DGFetL1rj0BaSTjHXGfDasxpnSuGwiIQZAnzYxOB1kMjvr+RP2zWnFiLxyfP8WGt3z2AkQL2e4rHhscBJIAgwK9En6+ia3uEJTDNyU1eWULud6SRgQsLJ3IKhiXPAvEda47q28cSsKB0XtpSmivo+BYggfWwBwxbSJjTVk9piQWlPTJaoyKeItca43edxEyMYolxHeQ22fuY0zgUSs/srOSxb5zUXuruUUZnqbBjZaoUjn4Xek7kgQO+VSGRK4dB3PrrxcLc94E8bMRYpXhcqjdd3zpiIIG247SydwtlQ+QOH0UsnJJJaRARTJRht4vWn22ti95yx1nhrJmvWxtuCjMDHQOF9VcMf0ehHPtNadkWwR36fbJj+Onv80Adgfn8l8ybvu8UWW/zC+A/xK5HWhynIGQAAAABJRU5ErkJggg==") center no-repeat;
background-size: 90%;
}
}
}
}
.desc {
font-size: 28rpx;
color: #666666;
margin-bottom: 50rpx;
.strong {
font-weight: 600;
color: #333;
}
}
.path-map {
display: flex;
flex-direction: column;
align-items: center;
.terminal-point,
.origin-item {
display: flex;
align-items: center;
justify-content: center;
width: 144rpx;
height: 144rpx;
color: #ffffff;
font-size: 28rpx;
text-align: center;
border-radius: 50%;
margin-bottom: 20rpx;
background-color: #1989fa;
animation: change 2s linear infinite 0s;
}
@keyframes change {
0% {
box-shadow: 0 0 1px 6rpx #e8f3fe;
}
25% {
box-shadow: 0 0 1px 12rpx #e8f3fe;
}
50% {
box-shadow: 0 0 1px 16rpx #e8f3fe;
}
75% {
box-shadow: 0 0 1px 12rpx #e8f3fe;
}
100% {
box-shadow: 0 0 1px 6rpx #e8f3fe;;
}
}
.path-list {
position: relative;
padding: 0 30rpx;
height: 1160rpx;
width: 690rpx;
margin-bottom: 30rpx;
.drop {
position: absolute;
left: 0;
top: 0;
.txt {
width: 150rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
height: 52rpx;
padding: 0 10rpx;
line-height: 52rpx;
margin-bottom: 10rpx;
background-color: #ffffff;
border-radius: 26rpx;
color: #1989fa;
font-size: 28rpx;
border: solid 2rpx #1989fa;
}
.icon {
width: 32rpx;
height: 44rpx;
margin: 0 auto;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAsCAMAAAAzZkq9AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAByFBMVEUZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoZifoAAAAhPv4wAAAAlnRSTlMAMGSDm56PbUsPIoDY77RPGv7IUYz6uSGZ9w267UOvJU7FG2OfAgHwvVZzqPFxPBPW0IUM4Oid9doyq/Pi4/LRvm7OePgYl1x65NweDpWx2y9FkHQfBRX5zcbnXuZhR6zlsinqVesZV+42OHBmBolpMwQIqaMrmIKiHTpCaqotUHw9EaUj9MOBaCAkb4jUyaeO4fvdrUZV3EhjAAAAAWJLR0SX5m4brwAAAAd0SU1FB+kKHg8QKp3MRF0AAAH3SURBVDjLfZT5P5tBEMaHCEop6qyUV9QV4oqjrgqNO62rlCC0SJBWaV093UfrPjp/r/fNm92dJO/r+SUz830+u5uZdxeAKCLSEGWMjol9BFqKi3+MASUkPgnDSVHJSJXyNJinpmGo0jMIz0QNZcUx/CwbNWV6HjDkoJ5y/VzS5ZincHOyvgHzZcOLBzimFUBhEcmLU0skS2kZqVihnGSR6qErKkWpCqpFIrH/bavhtVoo5nGdaJy5nhXr4SU3NJDWNrJiEzSzsIXOxsCqr6CVhXZqaBOGPBa2U8NrcQYjCx0dxNDJBwZd/JDdxNDDir3Qxw0tTs7f8OJbgH7hGAhwvi3iIMAQ6fXwO4ARyS4KTbJ99D0d39i4i6YTyoJW/Wn3qltO6hqmVINbj0+HtSVYM6IvHzQNH0nnZjX4HB1OxnwYjwm+nB09IdwSer09lUHcq/FAlAq8sBgKbUu+T2Bh3A6fl7+srHL61fvNgcpFdKsf8xqsKz+mjUGVb9bKWfOW1fodPPLHOv4D4Oev7t8mudqqHKVO9lb/Yatt77BodVe5tV2wh7gMOnLmoAsqlAuqp30s8r8vVflaL+OB4RDRB1AwrAziqPP4xL3y17PnHDX/W5JOz4zncvVCnYfNd6Q5zcttspz3Krv9ev7GDxyu25S74//qtveUBePSekmnEAAAAABJRU5ErkJggg==") no-repeat;
background-size: 100%;
}
}
&.ing {
.drop {
transform: scale(0.1);
}
}
&.show {
.line-1{
.drop-1 {
animation: showDot 0.2s linear 0s;
}
.drop-2 {
animation: showDot 0.2s linear 0.2s;
}
.drop-3 {
animation: showDot 0.25s linear 1.1s;
}
.drop-4 {
animation: showDot 0.2s linear 1.8s;
}
.drop-5 {
animation: showDot 0.2s linear 2s;
}
}
.line-2{
.drop-1 {
animation: showDot 0.2s linear 0.3s;
}
.drop-2 {
animation: showDot 0.2s linear 0.5s;
}
.drop-3 {
animation: showDot 0.2s linear 1.4s;
}
.drop-4 {
animation: showDot 0.2s linear 1.9s;
}
.drop-5 {
animation: showDot 0.2s linear 2.1s;
}
}
.line-3{
.drop-1 {
animation: showDot 0.2s linear 0.1s;
}
.drop-2 {
animation: showDot 0.2s linear 0.8s;
}
.drop-3 {
animation: showDot 0.25s linear 1.3s;
}
.drop-4 {
animation: showDot 0.2s linear 1.5s;
}
.drop-5 {
animation: showDot 0.2s linear 1.7s;
}
}
.line-4{
.drop-1 {
animation: showDot 0.2s linear 0.6s;
}
.drop-2 {
animation: showDot 0.2s linear 0.9s;
}
.drop-3 {
animation: showDot 0.25s linear 1.4s;
}
.drop-4 {
animation: showDot 0.2s linear 1.6s;
}
.drop-5 {
animation: showDot 0.2s linear 1.8s;
}
}
.line-5{
.drop-1 {
animation: showDot 0.2s linear 0.2s;
}
.drop-2 {
animation: showDot 0.2s linear 0.9s;
}
.drop-3 {
animation: showDot 0.2s linear 1.4s;
}
.drop-4 {
animation: showDot 0.2s linear 1.7s;
}
.drop-5 {
animation: showDot 0.2s linear 1.9s;
}
}
.line-6{
.drop-1 {
animation: showDot 0.2s linear 0.4s;
}
.drop-2 {
animation: showDot 0.2s linear 0.8s;
}
.drop-3 {
animation: showDot 0.25s linear 1s;
}
.drop-4 {
animation: showDot 0.2s linear 1.9s;
}
.drop-5 {
animation: showDot 0.2s linear 2.2s;
}
}
}
.line-1 {
position: absolute;
left: 65rpx;
top: 20rpx;
width: 190rpx;
height: 1168rpx;
background: url("#{$image-oss-url}/gaoxiao/jobCareer/path-1.png") center no-repeat;
background-size: 100%;
.drop-1 {
left: 40rpx;
top: -13rpx;
}
.drop-2 {
left: -37rpx;
top: 202rpx;
}
.drop-3 {
left: -77rpx;
top: 381rpx;
}
.drop-4 {
left: -48rpx;
top: 750rpx;
}
.drop-5 {
left: 10rpx;
top: 910rpx;
}
}
.line-2 {
position: absolute;
left: 180rpx;
top: 20rpx;
width: 95rpx;
height: 1169rpx;
background: url("#{$image-oss-url}/gaoxiao/jobCareer/path-2.png") center no-repeat;
background-size: 100%;
.drop-1 {
left: -58rpx;
top: 146rpx;
}
.drop-2 {
left: -76rpx;
top: 316rpx;
}
.drop-3 {
left: -82rpx;
top: 480rpx;
}
.drop-4 {
left: -85rpx;
top: 633rpx;
}
.drop-5 {
left: -57rpx;
top: 822rpx;
}
}
.line-3 {
position: absolute;
left: 310rpx;
top: 0;
width: 16rpx;
height: 1169rpx;
background: url("#{$image-oss-url}/gaoxiao/jobCareer/path-3.png") center no-repeat;
background-size: 100%;
.drop-1 {
left: -78rpx;
top: 90rpx;
}
.drop-2 {
left: -78rpx;
top: 264rpx;
}
.drop-3 {
left: -78rpx;
top: 433rpx;
}
.drop-4 {
left: -78rpx;
top: 589rpx;
}
.drop-5 {
left: -78rpx;
top: 773rpx;
}
}
.line-4 {
position: absolute;
left: 410rpx;
top: 0;
width: 16rpx;
height: 1169rpx;
background: url("#{$image-oss-url}/gaoxiao/jobCareer/path-4.png") center no-repeat;
background-size: 100%;
.drop-1 {
left: -78rpx;
top: 153rpx;
}
.drop-2 {
left: -78rpx;
top: 336rpx;
}
.drop-3 {
left: -78rpx;
top: 504rpx;
}
.drop-4 {
left: -78rpx;
top: 656rpx;
}
.drop-5 {
left: -78rpx;
top: 839rpx;
}
}
.line-5 {
position: absolute;
left: 465rpx;
top: 16rpx;
width: 60rpx;
height: 1168rpx;
background: url("#{$image-oss-url}/gaoxiao/jobCareer/path-5.png") center no-repeat;
background-size: 100%;
.drop-1 {
left: -72rpx;
top: -41rpx;
}
.drop-2 {
left: -39rpx;
top: 219rpx;
}
.drop-3 {
left: -31rpx;
top: 446rpx;
}
.drop-4 {
left: -36rpx;
top: 695rpx;
}
.drop-5 {
left: -61rpx;
top: 933rpx;
}
}
.line-6 {
position: absolute;
left: 480rpx;
top: 20rpx;
width: 186rpx;
height: 1168rpx;
background: url("#{$image-oss-url}/gaoxiao/jobCareer/path-6.png") center no-repeat;
background-size: 100%;
.drop-1 {
left: -5rpx;
top: 57rpx;
}
.drop-2 {
left: 66rpx;
top: 273rpx;
}
.drop-3 {
left: 90rpx;
top: 518rpx;
}
.drop-4 {
left: 54rpx;
top: 753rpx;
}
.drop-5 {
left: -58rpx;
top: 1028rpx;
}
}
@keyframes showDot {
0% {
opacity: 0;
transform: scale(0.1);
}
100% {
opacity: 1;
transform: scale(1);
}
}
}
}
}
}
}
</style>

View File

@@ -288,6 +288,13 @@
"navigationBarTitleText": "职业详情"
}
},
{
"path": "pages/userCenter/professionPath",
"style": {
"navigationBarTitleText": "职业路径",
"navigationStyle": "custom"
}
},
{
"path": "pages/userCenter/personDocument",
"style": {

View File

@@ -11,27 +11,15 @@ let filestore_site = "";
// #ifdef MP-WEIXIN
if (wx.getAccountInfoSync().miniProgram.envVersion === 'develop') {
baseUrl = 'http://dev.51xuanxiao.com:8005/api' // 开发环境
baseUrl1 = 'http://dev.51xuanxiao.com:8008/api' // 专业环境
baseUrl2 = 'http://192.168.1.168:9002/api' // 院校环境
baseUrl3 = 'http://dev.51xuanxiao.com:8007/api' // 职业环境
baseUrl4 = 'http://dev.51xuanxiao.com:8009/api' // 用户环境
baseUrl5 = 'http://dev.51xuanxiao.com:8006/api' // 测评环境
baseUrl6 = 'http://dev.51xuanxiao.com:8005' // 开发环境
baseUrl7 = 'https://bapi.cnjzy.net/api' // 精志愿
baseUrl8 = 'http://dev.51xuanxiao.com:8005/api' // 精志愿(新版本接口) 现在已迁移到 Career.YanXueApi
filestore_site = 'http://192.168.1.168:31128' //文件地址
} else {
baseUrl = 'https://yanxueapi.51xuanxiao.com/api' // 生产环境
baseUrl1 = "https://specialtyapi.51xuanxiao.com/api"// 专业环境
baseUrl2 = "https://universityapi.51xuanxiao.com/api"// 院校环境
baseUrl3 = "https://jobapi.51xuanxiao.com/api"// 职业环境
baseUrl4 = "https://authapi.51xuanxiao.com/api"// 用户环境
baseUrl5 = "https://testapi.51xuanxiao.com/api"// 测评环境
baseUrl6 = 'https://yanxueapi.51xuanxiao.com/' // 生产环境
baseUrl7 = 'https://bapi.cnjzy.net/api' // 精志愿
baseUrl8 = 'https://yanxueapi.51xuanxiao.com/api'// 精志愿(新版本接口)现在已迁移到 Career.YanXueApi
filestore_site = 'https://filestore.plan.51xuanxiao.com' //文件地址
}
// #endif

View File

@@ -69,7 +69,7 @@ request.globalRequest = (url, method, data, power, type) => {
header: headers
}).then(res => {
//console.log("ressss===="+JSON.stringify(res.data));
console.log("type===="+type);
// console.log("type===="+type);
if (type == 7) {
if (res[1].data.code == 0) {
return res[1].data