Commit 0586b4d7b1d39f0d31d54081245a15e949355ef6
1 parent
a736cb8b
接口地址列表处理
Showing
2 changed files
with
32 additions
and
12 deletions
src/api/urls/apis.js
@@ -406,6 +406,23 @@ export default { | @@ -406,6 +406,23 @@ export default { | ||
406 | // 删除班级信息 | 406 | // 删除班级信息 |
407 | removeClass: "/api_html/school/manager/delClass", | 407 | removeClass: "/api_html/school/manager/delClass", |
408 | 408 | ||
409 | + /** v1.5 */ | ||
410 | + // 删除基站 | ||
411 | + deleteStation: "/api_html/school/manager/deleteStation", | ||
412 | + // 导出授课端日志 | ||
413 | + downloadDeviceLog: "/api_html/school/manager/downloadDeviceLog", | ||
414 | + | ||
415 | + // 删除班级信息(新) | ||
416 | + deleteClass: "/api_html/school/manager/deleteClass", | ||
417 | + // 清除老师下所有关联班级 | ||
418 | + clearTeacherClasses: "/api_html/school/manager/clearTeacherClasses", | ||
419 | + | ||
420 | + // 下载即时测导入分数模板 | ||
421 | + scoreTemplate: "/api_html/teaching/scoreTemplate", | ||
422 | + // 导入即时测报表分数 | ||
423 | + importScore: "/api_html/teaching/importScore", | ||
424 | + // 提交即时测报表分数 | ||
425 | + submitScore: "/api_html/teaching/submitScore", | ||
409 | 426 | ||
410 | //删除即时测考试 | 427 | //删除即时测考试 |
411 | deleteReport: "/api_html/teaching/deleteReport", | 428 | deleteReport: "/api_html/teaching/deleteReport", |
@@ -425,7 +442,6 @@ export default { | @@ -425,7 +442,6 @@ export default { | ||
425 | deletePaperReport: "/api_html/teaching/deletePaperReport", | 442 | deletePaperReport: "/api_html/teaching/deletePaperReport", |
426 | //获取即时测报表学生名单和题目列表 | 443 | //获取即时测报表学生名单和题目列表 |
427 | listStudentsAndQuestions: "/api_html/teaching/listStudentsAndQuestions", | 444 | listStudentsAndQuestions: "/api_html/teaching/listStudentsAndQuestions", |
428 | - //提交即时测报表分数 | ||
429 | - submitScore: "/api_html/teaching/submitScore", | 445 | + |
430 | 446 | ||
431 | } | 447 | } |
src/views/basic/setUp/teacher.vue
@@ -145,12 +145,15 @@ | @@ -145,12 +145,15 @@ | ||
145 | class="teacher-item" | 145 | class="teacher-item" |
146 | v-for="item in teacherList" | 146 | v-for="item in teacherList" |
147 | :key="item.id" | 147 | :key="item.id" |
148 | - :class="showTId == item.id ? 'active' : ''" | ||
149 | > | 148 | > |
150 | <el-checkbox v-show="showDel" :label="item.id">{{ | 149 | <el-checkbox v-show="showDel" :label="item.id">{{ |
151 | "" | 150 | "" |
152 | }}</el-checkbox> | 151 | }}</el-checkbox> |
153 | - <p @click="showTeacher(item)"> | 152 | + <p |
153 | + class="name" | ||
154 | + :class="showTId == item.id ? 'active' : ''" | ||
155 | + @click="showTeacher(item)" | ||
156 | + > | ||
154 | {{ item.realName | 157 | {{ item.realName |
155 | }}<template v-if="setClass(item)" | 158 | }}<template v-if="setClass(item)" |
156 | >({{ setClass(item) }})</template | 159 | >({{ setClass(item) }})</template |
@@ -1203,17 +1206,18 @@ export default { | @@ -1203,17 +1206,18 @@ export default { | ||
1203 | font-size: 16px; | 1206 | font-size: 16px; |
1204 | color: #7f7f7f; | 1207 | color: #7f7f7f; |
1205 | line-height: 36px; | 1208 | line-height: 36px; |
1206 | - cursor: pointer; | ||
1207 | padding-left: 12px; | 1209 | padding-left: 12px; |
1208 | display: flex; | 1210 | display: flex; |
1209 | 1211 | ||
1210 | - &:hover { | ||
1211 | - background: #eee; | ||
1212 | - } | ||
1213 | - | ||
1214 | - &.active { | ||
1215 | - color: #667ffd; | ||
1216 | - background: #eee; | 1212 | + .name { |
1213 | + cursor: pointer; | ||
1214 | + &:hover { | ||
1215 | + color: #667ffd; | ||
1216 | + } | ||
1217 | + &.active { | ||
1218 | + color: #667ffd; | ||
1219 | + background: #eee; | ||
1220 | + } | ||
1217 | } | 1221 | } |
1218 | } | 1222 | } |
1219 | } | 1223 | } |