|
@@ -39,7 +39,10 @@
|
|
|
如结果与你自己或他人感知的有出入,可回忆在测试时是否有事情影响了你,或自己答题时是否有所顾虑;<br>
|
|
|
</div>
|
|
|
<result-title class="result-div" text="分值"/>
|
|
|
- <div class="table-list">
|
|
|
+ <div v-if="ProspectiveMemory.flag === 'ProspectiveMemory'" class="table-list">
|
|
|
+ <span v-for="it in resResult" :key="it" >{{it}}</span>
|
|
|
+ </div>
|
|
|
+ <div v-else class="table-list">
|
|
|
<table-list :dataList="resResult" />
|
|
|
</div>
|
|
|
<div v-if="tableName === '记忆检查测试'" style="margin-top: 30px">
|
|
@@ -150,6 +153,7 @@ export default {
|
|
|
baseUrl: baseUrl,
|
|
|
id: "",
|
|
|
resResult: "",
|
|
|
+ ProspectiveMemory:'',
|
|
|
list: [],
|
|
|
userType: "", //用户类型
|
|
|
show: false,
|
|
@@ -246,6 +250,7 @@ export default {
|
|
|
let _this = this;
|
|
|
this.$http.get(`getRecordById?id=${this.id}`, {}, (res) => {
|
|
|
//当返回正确的话
|
|
|
+ console.log(res,'res')
|
|
|
if (res.code == 200) {
|
|
|
let str = res.data.userRecordEntity.fileName;
|
|
|
let testDate = res.data.userRecordEntity.testDate;
|
|
@@ -304,11 +309,14 @@ export default {
|
|
|
//新增查看记录列表页不显示页签激活状态,详情页显示对应激活状态-liwenlong-2022-04-06-end
|
|
|
this.show = true;
|
|
|
}
|
|
|
+ this.ProspectiveMemory = res.data.userRecordEntity
|
|
|
let uu = JSON.parse(res.data.userRecordEntity.testResult);
|
|
|
if (this.id == "ff80808181db554d0181f1bbc43300bf") {
|
|
|
uu[0].tableContext[5].value[1] = "无";
|
|
|
uu[0].tableContext[6].value[1] = "无";
|
|
|
}
|
|
|
+ console.log(uu,'res.data.testResult')
|
|
|
+
|
|
|
this.resResult = uu;
|
|
|
|
|
|
//if 是记忆测试,就导出多边形所需要的数据
|