Commit bd85f8d2 authored by 黄奎's avatar 黄奎

页面修改

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