|
@@ -32,24 +32,27 @@
|
|
|
评价详情
|
|
|
<div class="cardWrap">
|
|
|
<div class="cardWrapleft">
|
|
|
- <p class="title">授课内容</p>
|
|
|
+ <p class="title">课程信息</p>
|
|
|
<el-divider></el-divider>
|
|
|
<p class="row">评价时间:{{commitWrap.time }}</p>
|
|
|
<p class="row">老师: {{commitWrap.teacher}}</p>
|
|
|
<p class="row">声部:{{ commitWrap.soundName }}</p>
|
|
|
<p class="row">训练次数:{{ commitWrap.count }}</p>
|
|
|
<p class="row">训练时长:{{ commitWrap.timers }}</p>
|
|
|
- <p class="title">授课内容</p>
|
|
|
+ <div v-if="version == 2">
|
|
|
+ <p class="title">授课内容</p>
|
|
|
<el-divider></el-divider>
|
|
|
<p class="row">乐理:{{ musicTheory }}</p>
|
|
|
<p class="row">曲子: {{ song}}</p>
|
|
|
<p class="row">教材: {{teachingMaterial }}</p>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
<div class="cardWrapright">
|
|
|
- <p class="title">点评</p>
|
|
|
+ <p class="title">课程点评</p>
|
|
|
<el-divider></el-divider>
|
|
|
<div v-if="version == 1">
|
|
|
- <p class="row" v-for="(item,index) in askList">{{index+1+':'+item}}</p>
|
|
|
+ <p class="row" v-for="(item,index) in askList">{{subjectJsonOld[index+1].title+' : '+item}}</p>
|
|
|
</div>
|
|
|
<div v-if="version == 2">
|
|
|
<p class="row" v-for="(item,index) in askList">{{item}}</p>
|
|
@@ -152,37 +155,37 @@ export default {
|
|
|
for (let key in this.item) {
|
|
|
switch (key) {
|
|
|
case "one": {
|
|
|
- this.askList.push('1:'+this.subjectJson[1][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[1].title+' : '+this.subjectJson[1][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
case "two": {
|
|
|
- this.askList.push('2:'+this.subjectJson[2][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[2].title+' : '+this.subjectJson[2][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
case "three": {
|
|
|
- this.askList.push('3:'+this.subjectJson[3][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[3].title+' : '+this.subjectJson[3][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
case "four": {
|
|
|
- this.askList.push('4:'+this.subjectJson[4][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[4].title+' : '+this.subjectJson[4][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
case "five": {
|
|
|
- this.askList.push('5:'+this.subjectJson[5][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[5].title+' : '+this.subjectJson[5][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
case "six": {
|
|
|
- this.askList.push('6:'+this.subjectJson[6][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[6].title+' : '+this.subjectJson[6][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
case "seven":
|
|
|
{
|
|
|
- this.askList.push('7:'+this.subjectJson[7][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[7].title+' : '+this.subjectJson[7][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
case "eight": {
|
|
|
- this.askList.push('8:'+this.subjectJson[8][this.item[key]])
|
|
|
+ this.askList.push(this.subjectJson[8].title+' : '+this.subjectJson[8][this.item[key]])
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -210,7 +213,7 @@ export default {
|
|
|
|
|
|
this.commitWrap = {
|
|
|
time: res.data.createTime,
|
|
|
- teacher: res.data.teacher,
|
|
|
+ teacher: res.data.teacher&&res.data.teacher.name,
|
|
|
soundName: res.data.subjectName,
|
|
|
count: res.data.times,
|
|
|
timers: res.data.totalMinutes
|