|
@@ -140,7 +140,8 @@
|
|
|
<div style="padding: 20px 40px">
|
|
|
<div>
|
|
|
<div class="report_info_out">
|
|
|
- <img src="../assets/report/man.png" />
|
|
|
+ <img v-show="gender=='1'" src="../assets/report/man1.png" />
|
|
|
+ <img v-show="gender=='0'" src="../assets/report/woman1.png" />
|
|
|
<div class="report_info_user">
|
|
|
<span class="info">姓名: {{ proDataLin.userName }}</span>
|
|
|
<span class="info">学号: {{ proDataLin.userNo }}</span>
|
|
@@ -457,6 +458,7 @@ export default {
|
|
|
useTime: "",
|
|
|
//当前用户选择的测试
|
|
|
planObj: "",
|
|
|
+ gender:'1'
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -515,8 +517,10 @@ export default {
|
|
|
reportDetail(params) {
|
|
|
let url = `/userRecordScore/findByFlagAndUserNo?planId=${params.planId}&userNo=${params.userNo}&flag=${params.flag}`;
|
|
|
this.$http.get(url, {}, (res) => {
|
|
|
+
|
|
|
if (res.code == 200) {
|
|
|
// this.reportData = res.data;
|
|
|
+ this.gender=res.data.gender
|
|
|
let listTmp1 = [];
|
|
|
listTmp1 = res.data.dimensionScore.filter((item) => {
|
|
|
return item.dimensionName != "总分";
|
|
@@ -661,7 +665,6 @@ export default {
|
|
|
searchList() {
|
|
|
let url = `/plan/findPlanById?id=${this.proDataLin.planId}`;
|
|
|
this.$http.get(url, {}, (res) => {
|
|
|
- debugger;
|
|
|
if (res && res.code == 200) {
|
|
|
this.tableData = [];
|
|
|
this.tableData.push(res.data);
|