dev_2022-04-07 V2.2.2
yujialong 3 years ago
parent 583496feff
commit 514e771153
  1. 4
      src/api/index.js
  2. BIN
      src/assets/img/log-bg.png
  3. 9
      src/layouts/home/index.vue
  4. 9
      src/pages/account/login/index.vue
  5. 8
      src/pages/station/list/index.vue
  6. 4
      src/setting.js

@ -38,9 +38,9 @@ export default {
queryAssessmentByStudent: `occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩 queryAssessmentByStudent: `occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
queryPracticeByStudent: `occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩 queryPracticeByStudent: `occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
exportAssessmentByStudent: `occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩 exportAssessmentByStudent: `occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
exportPracticeByStudent: `occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩 exportPracticeByStudent: `${host}occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
practiceByStudentDetail: `occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况 practiceByStudentDetail: `occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
exportPracticeByStudentDetail: `occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况 exportPracticeByStudentDetail: `${host}occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
reportDetail: `occupationlab/achievement/reportDetail`, // 成绩报告详情 reportDetail: `occupationlab/achievement/reportDetail`, // 成绩报告详情
updateReport: `occupationlab/achievement/updateReport`, // 更新成绩报告 updateReport: `occupationlab/achievement/updateReport`, // 更新成绩报告
schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程 schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 75 KiB

@ -103,7 +103,7 @@ export default {
}, },
// //
getLogStatus() { getLogStatus() {
this.$get(this.api.logNotification, { util.local.get(Setting.tokenKey) && this.$get(this.api.logNotification, {
platformId: Setting.platformId platformId: Setting.platformId
}).then(({ notification }) => { }).then(({ notification }) => {
this.SET_LOG() // true this.SET_LOG() // true
@ -153,7 +153,7 @@ export default {
position: absolute; position: absolute;
top: 250px; top: 250px;
left: 50%; left: 50%;
width: 450px; width: 550px;
transform: translateX(-50%); transform: translateX(-50%);
background-color: #fff; background-color: #fff;
border-radius: 6px; border-radius: 6px;
@ -164,7 +164,7 @@ export default {
.bg2 { .bg2 {
position: absolute; position: absolute;
top: -130px; top: -130px;
left: 6px; left: 48px;
max-width: 100%; max-width: 100%;
height: 250px; height: 250px;
} }
@ -204,6 +204,7 @@ export default {
} }
.cover { .cover {
max-width: 250px; max-width: 250px;
max-height: 160px;
margin: 10px 0 20px; margin: 10px 0 20px;
} }
.detail { .detail {
@ -227,7 +228,7 @@ export default {
p { p {
position: relative; position: relative;
font-size: 13px; font-size: 13px;
color: #505050; color: #727272;
} }
} }
} }

@ -338,8 +338,13 @@ export default {
} else if (status == 200) { } else if (status == 200) {
// //
if (data instanceof Array) { if (data instanceof Array) {
this.users = data //
this.userVisible = true if (data.length === 1) {
this.chooseUser(data[0])
} else {
this.users = data
this.userVisible = true
}
} else { } else {
this.queryClient(data.token) this.queryClient(data.token)
} }

@ -10,6 +10,7 @@
</div> </div>
<div class="station"> <div class="station">
<div class="inner"> <div class="inner">
<template v-if="curriculumList.length">
<template v-for="(item,index) in curriculumList"> <template v-for="(item,index) in curriculumList">
<div class="item" :title="item.curriculumName" @click="goPreview(item)" :key="index" v-if="!keyword || item.curriculumName.includes(keyword)"> <div class="item" :title="item.curriculumName" @click="goPreview(item)" :key="index" v-if="!keyword || item.curriculumName.includes(keyword)">
<img :src="item.coverUrl" alt=""> <img :src="item.coverUrl" alt="">
@ -19,6 +20,13 @@
</div> </div>
</div> </div>
</template> </template>
</template>
<div class="empty flex-1" v-else>
<div>
<img src="@/assets/img/none.png" alt="">
<p>暂无数据</p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

@ -30,8 +30,8 @@ if (isHh) {
} else if (isDev) { } else if (isDev) {
// 本地 // 本地
systemPath = `http://192.168.31.125:8093` systemPath = `http://192.168.31.125:8093`
host = "http://39.108.250.202:9000/"; // 中台测试服 // host = "http://39.108.250.202:9000/"; // 中台测试服
// host = "http://192.168.31.151:9000/"; // 榕 host = "http://192.168.31.151:9000/"; // 榕
// host = "http://192.168.31.137:9000/"; // 赓 // host = "http://192.168.31.137:9000/"; // 赓
} }

Loading…
Cancel
Save