Commit bd85f8d2 authored by 黄奎's avatar 黄奎

页面修改

parent b3430a78
......@@ -71,6 +71,26 @@
学生退课
</q-th>
</template>
<template v-else-if="col.label=='试讲成功(班课)'">
<q-th :key="col.name" :props="props">
试讲成功<br />(班课)
</q-th>
</template>
<template v-else-if="col.label=='试讲成功(VIP)'">
<q-th :key="col.name" :props="props">
试讲成功<br />(VIP)
</q-th>
</template>
<template v-else-if="col.label=='试讲失败'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
试讲失败
</q-th>
</template>
<template v-else-if="col.label=='学生旷课'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
学生旷课
</q-th>
</template>
<template v-else-if="col.label=='学生投诉'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
学生投诉
......@@ -217,7 +237,7 @@
field: 'UpgradeScore',
align: 'left'
},
{
{
name: 'GradeTestScore',
label: '考级升级',
field: 'GradeTestScore',
......@@ -230,9 +250,21 @@
align: 'left'
},
{
name: 'SpeakSuccessScore',
label: '试讲成功',
field: 'SpeakSuccessScore',
name: 'SpeakClassScore',
label: '试讲成功(班课)',
field: 'SpeakClassScore',
align: 'left'
},
{
name: 'SpeakVipScore',
label: '试讲成功(VIP)',
field: 'SpeakVipScore',
align: 'left'
},
{
name: 'SpeakFailScore',
label: '试讲失败',
field: 'SpeakFailScore',
align: 'left'
},
{
......
......@@ -18,9 +18,9 @@
</q-field>
</div>
<div class="col-2" style="display:none;">
<q-select filled dense stack-label @input="getList" option-value="TId" @filter="filterTeacherFn" use-input option-label="TeacherName" v-model="msg.TeacherId"
ref="Teacher_Id" :options="TeacherList" label="教师团队" clearable class="col-6 q-pr-lg q-pb-lg" emit-value
map-options />
<q-select filled dense stack-label @input="getList" option-value="TId" @filter="filterTeacherFn" use-input
option-label="TeacherName" v-model="msg.TeacherId" ref="Teacher_Id" :options="TeacherList" label="教师团队"
clearable class="col-6 q-pr-lg q-pb-lg" emit-value map-options />
</div>
</div>
<div>
......@@ -49,6 +49,21 @@
学生退课
</q-th>
</template>
<template v-else-if="col.label=='试讲成功(班课)'">
<q-th :key="col.name" :props="props">
试讲成功<br />(班课)
</q-th>
</template>
<template v-else-if="col.label=='试讲成功(VIP)'">
<q-th :key="col.name" :props="props">
试讲成功<br />(VIP)
</q-th>
</template>
<template v-else-if="col.label=='试讲失败'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
试讲失败
</q-th>
</template>
<template v-else-if="col.label=='学生投诉'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
学生投诉
......@@ -56,42 +71,50 @@
</template>
<template v-else-if="col.label=='老师迟到早退'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;background-color:#FF66CC;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#FF66CC;color:#000;">
老师<br />迟到早退
</q-th>
</template>
<template v-else-if="col.label=='N5课程时数'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
N5<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N4课程时数'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
N4<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N3课程时数'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
N3<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N2课程时数'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;background-color:#B4C6E7;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#B4C6E7;color:#000;">
N2<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N1课程时数'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;background-color:#B4C6E7;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#B4C6E7;color:#000;">
N1<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='学生小程序刷题次数'">
<q-th :key="col.name" :props="props" style="max-width:75px;text-align:center;background-color:#B4C6E7;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:75px;text-align:center;background-color:#B4C6E7;color:#000;">
学生小程序<br />刷题次数
</q-th>
</template>
<template v-else-if="col.label=='学生小程序刷题时间'">
<q-th :key="col.name" :props="props" style="max-width:75px;text-align:center;background-color:#B4C6E7;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:75px;text-align:center;background-color:#B4C6E7;color:#000;">
学生小程序<br />刷题时间
</q-th>
</template>
......@@ -101,17 +124,20 @@
</q-th>
</template>
<template v-else-if="col.label=='所有老师平均分数'">
<q-th :key="col.name" :props="props" style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
所有老师<br />平均分数
</q-th>
</template>
<template v-else-if="col.label=='总分数'">
<q-th :key="col.name" :props="props" style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
总分数
</q-th>
</template>
<template v-else-if="col.label=='分数差距'">
<q-th :key="col.name" :props="props" style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
<q-th :key="col.name" :props="props"
style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
分数差距
</q-th>
</template>
......@@ -190,9 +216,21 @@
align: 'left'
},
{
name: 'SpeakSuccessScore',
label: '试讲成功',
field: 'SpeakSuccessScore',
name: 'SpeakClassScore',
label: '试讲成功(班课)',
field: 'SpeakClassScore',
align: 'left'
},
{
name: 'SpeakVipScore',
label: '试讲成功(VIP)',
field: 'SpeakVipScore',
align: 'left'
},
{
name: 'SpeakFailScore',
label: '试讲失败',
field: 'SpeakFailScore',
align: 'left'
},
{
......@@ -292,11 +330,11 @@
tableHeight: 500,
msg: {
YearStr: '',
TeacherId:'',
TeacherId: '',
rowsPerPage: 0
},
TeacherList:[],
AllTeacherList:[]
TeacherList: [],
AllTeacherList: []
}
},
created() {
......
......@@ -62,16 +62,12 @@
学生升级
</q-th>
</template>
<template v-else-if="col.label=='考级升级'">
<template v-else-if="col.label=='考级升级'">
<q-th :key="col.name" :props="props" style="max-width:85px;text-align:center;">
考级升级
</q-th>
</template>
<template v-else-if="col.label=='学生旷课'">
<q-th :key="col.name" :props="props" style="max-width:85px;text-align:center;">
学生旷课
</q-th>
</template>
<template v-else-if="col.label=='上课时数'">
<q-th :key="col.name" :props="props" style="max-width:85px;text-align:center;">
上课时数
......@@ -82,6 +78,26 @@
续约<br />(含留学)
</q-th>
</template>
<template v-else-if="col.label=='试讲成功(班课)'">
<q-th :key="col.name" :props="props">
试讲成功<br />(班课)
</q-th>
</template>
<template v-else-if="col.label=='试讲成功(VIP)'">
<q-th :key="col.name" :props="props">
试讲成功<br />(VIP)
</q-th>
</template>
<template v-else-if="col.label=='试讲失败'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
试讲失败
</q-th>
</template>
<template v-else-if="col.label=='学生旷课'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
学生旷课
</q-th>
</template>
<template v-else-if="col.label=='学生退课'">
<q-th :key="col.name" :props="props" style="background-color:#FF66CC;color:#000;">
学生退课
......@@ -163,7 +179,6 @@
分数差距
</q-th>
</template>
<template v-else>
<q-th :key="col.name" :props="props" style="max-width:70px">
{{ col.label }}
......@@ -208,11 +223,20 @@
<q-td>
{{lastRow.UpgradeScore}}
</q-td>
<q-td>
{{lastRow.GradeTestScore}}
</q-td>
<q-td>
{{lastRow.TransScore}}
</q-td>
<q-td>
{{lastRow.TrialSpeakScore}}
{{lastRow.SpeakClassScore}}
</q-td>
<q-td>
{{lastRow.SpeakVipScore}}
</q-td>
<q-td>
{{lastRow.SpeakFailScore}}
</q-td>
<q-td>
{{lastRow.TruancyScore}}
......@@ -332,13 +356,6 @@
field: 'UpgradeScore',
align: 'left',
sortable: true
},
{
name: 'GradeTestScore',
label: '考级升级',
field: 'GradeTestScore',
align: 'left',
sortable: true
},
{
name: 'GradeTestScore',
......@@ -355,9 +372,23 @@
sortable: true
},
{
name: 'SpeakSuccessScore',
label: '试讲成功',
field: 'SpeakSuccessScore',
name: 'SpeakClassScore',
label: '试讲成功(班课)',
field: 'SpeakClassScore',
align: 'left',
sortable: true
},
{
name: 'SpeakVipScore',
label: '试讲成功(VIP)',
field: 'SpeakVipScore',
align: 'left',
sortable: true
},
{
name: 'SpeakFailScore',
label: '试讲失败',
field: 'SpeakFailScore',
align: 'left',
sortable: true
},
......
......@@ -97,7 +97,7 @@
},
data() {
return {
ActionStr: "/Login/Test",
ActionStr: "/TeacherStatic/InitTeacherData",
parameterList: [{
Name: "",
Value: ""
......
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