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

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

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