学生画像之本学期课表修改为思想品得加分申请
This commit is contained in:
@@ -146,3 +146,11 @@ export function cancelAudit(id) {
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
//查询个人加分项申请
|
||||
export function getcphiamByOne(stuNo) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails/getcphiamByOne/'+stuNo,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
@@ -46,19 +46,19 @@
|
||||
<div id="ranking" />
|
||||
</div>
|
||||
<div class="echart">
|
||||
<div class="echart-title">本学期课表</div>
|
||||
<div class="echart-title">思想品德加分申请</div>
|
||||
<div class="schedule">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>任课教师</td>
|
||||
<td>课程名称</td>
|
||||
<td>课程起始周</td>
|
||||
<td>学年</td>
|
||||
<td>项目名称</td>
|
||||
<td>分数</td>
|
||||
</tr>
|
||||
<tr v-for="(item, index) in myCourse" :key="index">
|
||||
<td>{{ item.teacherName }}</td>
|
||||
<td>{{ item.courseName }}</td>
|
||||
<td>{{ item.zc }}</td>
|
||||
<tr v-for="(item, index) in cphiams" :key="index">
|
||||
<td>{{ item.stuYearName }}</td>
|
||||
<td :title="item.ruleName">{{ item.ruleName }}</td>
|
||||
<td style="margin-left: 50px;">{{ item.operateScore }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -74,6 +74,7 @@ import { listOwnFive, listStuFive } from '@/api/stuCQS/info-fill/cqScore'
|
||||
import { getOwnInfo, getStuInfo } from '@/api/stuCQS/basedata/stuInfoView'
|
||||
import { getOwnInfo as getExtraInfo, } from '@/api/stuCQS/basedata/extraInfo'
|
||||
import { listCourseScore } from '@/api/stuCQS/basedata/course'
|
||||
import { getcphiamByOne } from '@/api/stuCQS/process-center/auditDetails'
|
||||
export default {
|
||||
props: {
|
||||
stuNo: {
|
||||
@@ -86,6 +87,7 @@ export default {
|
||||
dateDay: null,
|
||||
dateYear: null,
|
||||
dateWeek: null,
|
||||
cphiams: [],
|
||||
weekday: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
||||
userInfo: {
|
||||
deptName: null,
|
||||
@@ -95,24 +97,25 @@ export default {
|
||||
sex: null,
|
||||
},
|
||||
courseList: [],
|
||||
myCourse: [
|
||||
{ teacherName: '张旭蕾', courseName: 'Javascript语言实习', zc: '8周~15周' },
|
||||
{ teacherName: '刘莹', courseName: 'Java面向对象程序设计', zc: '1周~8周' },
|
||||
{ teacherName: '罗世俊', courseName: 'Linux应用服务器管理', zc: '5周~10周' },
|
||||
{ teacherName: '黄海滨', courseName: 'photoshop', zc: '9周~18周' },
|
||||
{ teacherName: '石春丽', courseName: 'Web应用开发', zc: '6周~12周' },
|
||||
{ teacherName: '黄绿汀', courseName: '安全教育Ⅲ', zc: '8周~18周' },
|
||||
{ teacherName: '韦丹茜', courseName: '数据库程序设计', zc: '10周~18周' },
|
||||
{ teacherName: '陈前军', courseName: '中外音乐鉴赏', zc: '1周~6周' },
|
||||
{ teacherName: '邓永光', courseName: '微机原理及应用 ', zc: '1周~18周' },
|
||||
],
|
||||
extraForm:[]
|
||||
// myCourse: [
|
||||
// { teacherName: '张旭蕾', courseName: 'Javascript语言实习', zc: '8周~15周' },
|
||||
// { teacherName: '刘莹', courseName: 'Java面向对象程序设计', zc: '1周~8周' },
|
||||
// { teacherName: '罗世俊', courseName: 'Linux应用服务器管理', zc: '5周~10周' },
|
||||
// { teacherName: '黄海滨', courseName: 'photoshop', zc: '9周~18周' },
|
||||
// { teacherName: '石春丽', courseName: 'Web应用开发', zc: '6周~12周' },
|
||||
// { teacherName: '黄绿汀', courseName: '安全教育Ⅲ', zc: '8周~18周' },
|
||||
// { teacherName: '韦丹茜', courseName: '数据库程序设计', zc: '10周~18周' },
|
||||
// { teacherName: '陈前军', courseName: '中外音乐鉴赏', zc: '1周~6周' },
|
||||
// { teacherName: '邓永光', courseName: '微机原理及应用 ', zc: '1周~18周' },
|
||||
// ],
|
||||
extraForm: []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.timeFn()
|
||||
this.getUserInfo()
|
||||
this.getExtraInfo()
|
||||
this.getcphiamByOne()
|
||||
},
|
||||
mounted() {
|
||||
if (this.stuNo == null) {
|
||||
@@ -129,6 +132,12 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
|
||||
getcphiamByOne() {
|
||||
getcphiamByOne(this.stuNo).then(res => {
|
||||
this.cphiams = res.rows
|
||||
})
|
||||
},
|
||||
|
||||
doFull() {
|
||||
this.$store.dispatch('app/toggleSideBarHide', true)
|
||||
document.querySelector('.navbar').style.display = 'none'
|
||||
@@ -188,7 +197,7 @@ export default {
|
||||
...res.data
|
||||
}
|
||||
}
|
||||
this.extraForm.dailyPhoto=process.env.VUE_APP_BASE_API+this.extraForm.dailyPhoto
|
||||
this.extraForm.dailyPhoto = process.env.VUE_APP_BASE_API + this.extraForm.dailyPhoto
|
||||
//console.log(this.extraForm);
|
||||
},
|
||||
|
||||
@@ -643,6 +652,9 @@ html {
|
||||
|
||||
}
|
||||
}
|
||||
tr:gt(0) td:gt(1){
|
||||
padding-left: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user