Commit c59efe75 authored by 黄奎's avatar 黄奎

页面修改

parent 576822e1
<template>
<div class="page-body" style="width: auto;height:150%;">
<div class="page-content">
<div class="col-2 q-table__title" style="text-align:center;">班主任满意度调查问卷</div>
<div class="col-2 q-table__title" style="text-align:center;">{{pageTitle}}调查问卷</div>
<div v-if="loadingCG">
<div class="row wrap" style="margin:10px 0px;">
<div class="col-12" style="text-indent:2em;">亲爱的{{addMsg.StuName}}同学,为了提高班主任老师的课后监督服务质量,请您对班主任老师进行评价。</div>
......@@ -84,7 +84,7 @@
} from '../../api/school/index'
export default {
meta: {
title: "班主任满意度调查问卷"
title: "问卷调查"
},
components: {
......@@ -101,6 +101,7 @@
},
TeacherList: [], //关联教师下拉数据
AllTeacherList: [], //关联教师下拉数据
pageTitle: "",
addMsg: {
TeacherId: 0,
StuName: "",
......@@ -169,37 +170,6 @@
ScoreNum: item.ScoreNum,
TextContent: item.TextContent
};
// if(item.SurveyType==1){//打分
// if(item.ScoreNum==0){
// this.$q.notify({
// type: "negative",
// position: "top",
// message: item.Title+'您还未打分'
// });
// showTips+=1;
// }
// } else if(item.SurveyType==2){//单选
// if(item.ScoreNum==0){
// this.$q.notify({
// type: "negative",
// position: "top",
// message: item.Title+'您还未选择'
// });
// showTips+=1;
// }
// }
// else if(item.SurveyType==3){//多选
// if(item.CheckInfo.length==0){
// this.$q.notify({
// type: "negative",
// position: "top",
// message: item.Title+'您还未选择'
// });
// showTips+=1;
// }
// }
this.addMsg.SurveyList.push(nowInfo);
});
if (showTips > 0) {
......@@ -239,8 +209,11 @@
getSurveyShowList() {
this.loading = true;
querySurveyShowList(this.msg).then(res => {
console.log(res);
this.loading = false
this.data = res.Data
this.data = res.Data.subList;
this.pageTitle = res.Data.Title;
window.document.title = this.pageTitle;
}).catch(() => {
this.loading = false
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment