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

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

@@ -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 {