mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
新增评语
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
<u-number-box v-model="score.eight" :disabled="scoreDisabled" min="0" max="5" @change="stepperChange('eight')"></u-number-box>
|
||||
</div>
|
||||
</div>
|
||||
<div class="topic" style="border: none;padding-bottom: 100px;margin-bottom: 0px;">
|
||||
<div class="topic">
|
||||
<div class="substance">
|
||||
3.普通话标准,语言文明健康,讲授适度、接地气;
|
||||
<span>(5分)</span>
|
||||
@@ -115,6 +115,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="curriculumDevelopment">
|
||||
<div class="title">评语</div>
|
||||
<div class="topic" style="border: none;padding-bottom: 100px;margin-bottom: 0px;">
|
||||
<u--textarea v-model="remark" placeholder="请输入内容" count maxlength="50" :disabled="scoreDisabled"></u--textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="foot" >
|
||||
<view class="fraction">您的评分:<span>{{scoreNum}}分</span></view>
|
||||
<view class="submit" v-if="!lecturersInfo.scores" @click="showDialog()">提交</view>
|
||||
@@ -143,7 +149,8 @@
|
||||
},
|
||||
scoreDisabled: false,
|
||||
scoreNum: 0,
|
||||
reviewId: ''
|
||||
reviewId: '',
|
||||
remark: '',
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
@@ -183,6 +190,7 @@
|
||||
console.log('res::',res)
|
||||
if (res.code == 200 && res.data) {
|
||||
this.lecturersInfo = res.data.examineTeacher || {}
|
||||
this.remark = this.lecturersInfo.comment
|
||||
//this.lecturersInfo.scores="" //"1,2,3,1,2,3,1,2,3"
|
||||
if(this.lecturersInfo.scores&&this.lecturersInfo.scores.length>1){
|
||||
this.scoreDisabled = true
|
||||
@@ -210,7 +218,8 @@
|
||||
apiLecturerCert.lecturerCertificationSave({
|
||||
teacherId: parseInt(this.teacherId),
|
||||
score: this.scoreNum,
|
||||
scores: String(scores)
|
||||
scores: String(scores),
|
||||
comment: this.remark
|
||||
}).then(res => {
|
||||
// 评分完成回列表
|
||||
if (res.code == 200) {
|
||||
|
||||
Reference in New Issue
Block a user