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