初始化
This commit is contained in:
48
src/api/stuCQS/basedata/big.js
Normal file
48
src/api/stuCQS/basedata/big.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
|
||||
|
||||
export function countFdyHisAsClass(tNo) {
|
||||
return request({
|
||||
url: '/system/teacher/countFdyHisAsClass/' + tNo,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询班级信息列表
|
||||
export function listClass() {
|
||||
return request({
|
||||
url: '/system/teacher/countOwnHisAsClass',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
//获取该辅导员所带班级处分人员
|
||||
export function getClassDisciplinaryNumber() {
|
||||
return request({
|
||||
url: 'system/teacher/getClassDisciplinaryNumber',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
//请假学生
|
||||
export function getClassLeaveNumber() {
|
||||
return request({
|
||||
url: 'system/teacher/getClassLeaveNumber',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//请假学生
|
||||
export function getFdyClassLeaveNumber(tNo) {
|
||||
return request({
|
||||
url: 'system/teacher/getFdyClassLeaveNumber/' + tNo,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
72
src/api/stuCQS/basedata/class.js
Normal file
72
src/api/stuCQS/basedata/class.js
Normal file
@@ -0,0 +1,72 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listInSchoolClass(params){
|
||||
return request({
|
||||
url:"/system/class/listInSchoolClass",
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listOwnClass(params){
|
||||
return request({
|
||||
url: '/system/class/listOwnClass',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 查询班级信息列表
|
||||
export function listClass(query) {
|
||||
return request({
|
||||
url: '/system/class/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 查询专业名称列表及上级
|
||||
export function getMajorsName() {
|
||||
return request({
|
||||
url: '/system/majors/name',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 查询班级信息详细
|
||||
export function getClass(classId) {
|
||||
return request({
|
||||
url: '/system/class/' + classId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增班级信息
|
||||
|
||||
export function addClass(data) {
|
||||
return request({
|
||||
url: '/system/class',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改班级信息
|
||||
|
||||
export function updateClass(data) {
|
||||
return request({
|
||||
url: '/system/class/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除班级信息
|
||||
|
||||
export function delClass(classId) {
|
||||
return request({
|
||||
url: '/system/class/delete/' + classId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
9
src/api/stuCQS/basedata/course.js
Normal file
9
src/api/stuCQS/basedata/course.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listCourseScore(params){
|
||||
return request({
|
||||
method:"get",
|
||||
url:"/sqlserver/cphStuScoreMiddle/getMysqlStuScoreCphStuScoreMiddle",
|
||||
params
|
||||
});
|
||||
}
|
67
src/api/stuCQS/basedata/cphRules.js
Normal file
67
src/api/stuCQS/basedata/cphRules.js
Normal file
@@ -0,0 +1,67 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listAllRule(){
|
||||
return request({
|
||||
url:"/system/rules/listAllRules",
|
||||
method:"get"
|
||||
});
|
||||
}
|
||||
|
||||
//列出思想品德子类
|
||||
export function listIamChild(){
|
||||
return request({
|
||||
url:"/system/rules/listIamChild",
|
||||
method:"post"
|
||||
});
|
||||
}
|
||||
|
||||
//列出第二课堂子类
|
||||
export function listClassTwoChild(){
|
||||
return request({
|
||||
url:"/system/rules/listClassTwoChild",
|
||||
method:"post"
|
||||
});
|
||||
}
|
||||
|
||||
// 查询规则列表
|
||||
export function listRules(query = null) {
|
||||
return request({
|
||||
url: '/system/rules/lists',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询规则详细
|
||||
export function getRules(ruleId) {
|
||||
return request({
|
||||
url: '/system/rules/' + ruleId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增规则
|
||||
export function addRules(data) {
|
||||
return request({
|
||||
url: '/system/rules',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改规则
|
||||
export function updateRules(data) {
|
||||
return request({
|
||||
url: '/system/rules/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除规则
|
||||
export function delRules(ruleId) {
|
||||
return request({
|
||||
url: '/system/rules/delete/' + ruleId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
44
src/api/stuCQS/basedata/dormitory.js
Normal file
44
src/api/stuCQS/basedata/dormitory.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询宿舍信息列表
|
||||
export function listDormitory(query) {
|
||||
return request({
|
||||
url: '/system/dormitory/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询宿舍信息详细
|
||||
export function getDormitory(id) {
|
||||
return request({
|
||||
url: '/system/dormitory/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增宿舍信息
|
||||
export function addDormitory(data) {
|
||||
return request({
|
||||
url: '/system/dormitory',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改宿舍信息
|
||||
export function updateDormitory(data) {
|
||||
return request({
|
||||
url: '/system/dormitory/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除宿舍信息
|
||||
export function delDormitory(id) {
|
||||
return request({
|
||||
url: '/system/dormitory/delete/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
81
src/api/stuCQS/basedata/experience.js
Normal file
81
src/api/stuCQS/basedata/experience.js
Normal file
@@ -0,0 +1,81 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
|
||||
export function editOwnExp(data){
|
||||
return request({
|
||||
url:'/comprehensive/experience/editOwnExp',
|
||||
method: 'POST',
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function deleteOwnExp(id){
|
||||
return request({
|
||||
url:`/comprehensive/experience/deleteOwnExp/${id}`,
|
||||
method:"post"
|
||||
});
|
||||
}
|
||||
|
||||
export function addOwnExp(data){
|
||||
return request({
|
||||
url:'/comprehensive/experience/addOwnExp',
|
||||
method:"post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function getOwnExp(){
|
||||
return request({
|
||||
url:"/comprehensive/experience/getOwnExp",
|
||||
method:"get"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 查询教育经历列表
|
||||
export function listExperience(query) {
|
||||
return request({
|
||||
url: '/comprehensive/experience/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询教育经历详细
|
||||
export function getExperience(eduId) {
|
||||
return request({
|
||||
url: '/comprehensive/experience/' + eduId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增教育经历
|
||||
|
||||
export function addExperience(data) {
|
||||
return request({
|
||||
url: '/comprehensive/experience/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改教育经历
|
||||
|
||||
export function updateExperience(data) {
|
||||
return request({
|
||||
url: '/comprehensive/experience/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除教育经历
|
||||
|
||||
export function delExperience(eduId) {
|
||||
return request({
|
||||
url: '/comprehensive/experience/' + eduId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
64
src/api/stuCQS/basedata/extraInfo.js
Normal file
64
src/api/stuCQS/basedata/extraInfo.js
Normal file
@@ -0,0 +1,64 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function submitOwnInfo(data){
|
||||
return request({
|
||||
url:"/comprehensive/extraInfo/submitOwnInfo",
|
||||
method:"POST",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function getOwnInfo(){
|
||||
return request({
|
||||
url:"/comprehensive/extraInfo/getOwnInfo",
|
||||
method:"GET"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询学生其他信息列表
|
||||
export function listExtraInfo(query) {
|
||||
return request({
|
||||
url: '/comprehensive/extraInfo/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生其他信息详细
|
||||
export function getExtraInfo(id) {
|
||||
return request({
|
||||
url: '/comprehensive/extraInfo/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学生其他信息
|
||||
export function addExtraInfo(data) {
|
||||
return request({
|
||||
url: '/comprehensive/extraInfo/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生其他信息
|
||||
export function updateExtraInfo(data) {
|
||||
return request({
|
||||
url: '/comprehensive/extraInfo/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学生其他信息
|
||||
export function delExtraInfo(id) {
|
||||
return request({
|
||||
url: '/comprehensive/extraInfo/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
44
src/api/stuCQS/basedata/file.js
Normal file
44
src/api/stuCQS/basedata/file.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询综合素质系统文档列表
|
||||
export function listFile(query) {
|
||||
return request({
|
||||
url: '/cph/file/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询综合素质系统文档详细
|
||||
export function getFile(fileName) {
|
||||
return request({
|
||||
url: '/cph/file/' + fileName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增综合素质系统文档
|
||||
export function addFile(data) {
|
||||
return request({
|
||||
url: '/cph/file',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改综合素质系统文档
|
||||
export function updateFile(data) {
|
||||
return request({
|
||||
url: '/cph/file/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除综合素质系统文档
|
||||
export function delFile(fileName) {
|
||||
return request({
|
||||
url: '/cph/file/delete/' + fileName,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
44
src/api/stuCQS/basedata/goodClass.js
Normal file
44
src/api/stuCQS/basedata/goodClass.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询优秀班级列表
|
||||
export function listGood(query) {
|
||||
return request({
|
||||
url: '/system/class/good/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询优秀班级详细
|
||||
export function getGood(id) {
|
||||
return request({
|
||||
url: '/system/class/good/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增优秀班级
|
||||
export function addGood(data) {
|
||||
return request({
|
||||
url: '/system/class/good',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改优秀班级
|
||||
export function updateGood(data) {
|
||||
return request({
|
||||
url: '/system/class/good/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除优秀班级
|
||||
export function delGood(id) {
|
||||
return request({
|
||||
url: '/system/class/good/delete/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
44
src/api/stuCQS/basedata/goodDormitory.js
Normal file
44
src/api/stuCQS/basedata/goodDormitory.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询优秀宿舍列表
|
||||
export function listGood(query) {
|
||||
return request({
|
||||
url: '/system/good/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询优秀宿舍详细
|
||||
export function getGood(id) {
|
||||
return request({
|
||||
url: '/system/good/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增优秀宿舍
|
||||
export function addGood(data) {
|
||||
return request({
|
||||
url: '/system/good',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改优秀宿舍
|
||||
export function updateGood(data) {
|
||||
return request({
|
||||
url: '/system/good/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除优秀宿舍
|
||||
export function delGood(id) {
|
||||
return request({
|
||||
url: '/system/good/delete/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
82
src/api/stuCQS/basedata/grade.js
Normal file
82
src/api/stuCQS/basedata/grade.js
Normal file
@@ -0,0 +1,82 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function listEnableGrade() {
|
||||
return request({
|
||||
url: '/cph/grade/listEnableGrade',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listNowGrade() {
|
||||
return request({
|
||||
url: '/cph/grade/listNowGrade',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function listAllGrade() {
|
||||
return request({
|
||||
url: '/cph/grade/listAllGrade',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 查询年级列表
|
||||
export function queryGrade(query) {
|
||||
return request({
|
||||
url: '/cph/grade/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 查询年级列表
|
||||
export function listGrade(query = null) {
|
||||
return request({
|
||||
url: '/cph/grade/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询年级详细
|
||||
export function getGrade(gradeId) {
|
||||
return request({
|
||||
url: '/cph/grade/' + gradeId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增年级
|
||||
|
||||
export function addGrade(data) {
|
||||
return request({
|
||||
url: '/cph/grade',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改年级
|
||||
|
||||
export function updateGrade(data) {
|
||||
return request({
|
||||
url: '/cph/grade/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除年级
|
||||
|
||||
export function delGrade(gradeId) {
|
||||
return request({
|
||||
url: '/cph/grade/delete/' + gradeId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
44
src/api/stuCQS/basedata/initialization.js
Normal file
44
src/api/stuCQS/basedata/initialization.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询思想品德初始分数列表
|
||||
export function listScore(query) {
|
||||
return request({
|
||||
url: '/system/score/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询思想品德初始分数详细
|
||||
export function getScore(id) {
|
||||
return request({
|
||||
url: '/system/score/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增思想品德初始分数
|
||||
export function addScore(data) {
|
||||
return request({
|
||||
url: '/system/score/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改思想品德初始分数
|
||||
export function updateScore(data) {
|
||||
return request({
|
||||
url: '/system/score/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除思想品德初始分数
|
||||
export function delScore(id) {
|
||||
return request({
|
||||
url: '/system/score/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
45
src/api/stuCQS/basedata/majors.js
Normal file
45
src/api/stuCQS/basedata/majors.js
Normal file
@@ -0,0 +1,45 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询专业列表
|
||||
export function listMajors(query) {
|
||||
return request({
|
||||
url: '/system/majors/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询专业详细
|
||||
export function getMajors(majorId) {
|
||||
return request({
|
||||
url: '/system/majors/' + majorId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 新增专业
|
||||
export function addMajors(data) {
|
||||
return request({
|
||||
url: '/system/majors',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改专业
|
||||
export function updateMajors(data) {
|
||||
return request({
|
||||
url: '/system/majors/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除专业
|
||||
export function delMajors(majorId) {
|
||||
return request({
|
||||
url: '/system/majors/delete/' + majorId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
117
src/api/stuCQS/basedata/member.js
Normal file
117
src/api/stuCQS/basedata/member.js
Normal file
@@ -0,0 +1,117 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function editOwnFamily(data){
|
||||
return request({
|
||||
url:'/comprehensive/member/editOwnFamily',
|
||||
method: 'POST',
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function deleteOwnFamily(id){
|
||||
return request({
|
||||
url:`/comprehensive/member/deleteOwnFamily/${id}`,
|
||||
method:"post"
|
||||
});
|
||||
}
|
||||
|
||||
export function addOwnFamily(data){
|
||||
return request({
|
||||
url:'/comprehensive/member/addOwnFamily',
|
||||
method:"post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function getOwnFamily(){
|
||||
return request({
|
||||
method: 'get',
|
||||
url:"/comprehensive/member/getOwnFamily"
|
||||
});
|
||||
}
|
||||
|
||||
// 查询家庭成员列表
|
||||
export function listMember(query) {
|
||||
return request({
|
||||
url: '/comprehensive/member/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询家庭成员详细
|
||||
export function getMember(id) {
|
||||
return request({
|
||||
url: '/comprehensive/member/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增家庭成员
|
||||
export function addMember(data) {
|
||||
return request({
|
||||
url: '/comprehensive/member/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改家庭成员
|
||||
export function updateMember(data) {
|
||||
return request({
|
||||
url: '/comprehensive/member/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除家庭成员
|
||||
export function delMember(id) {
|
||||
return request({
|
||||
url: '/comprehensive/member/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// fdy新增家庭成员
|
||||
export function addOwnFamilyFdy(data){
|
||||
return request({
|
||||
url:'/comprehensive/member/addOwnFamily',
|
||||
method:"post",
|
||||
data
|
||||
});
|
||||
}
|
||||
// fdy修改家庭成员
|
||||
export function editOwnFamilyFdy(data){
|
||||
return request({
|
||||
url:'/comprehensive/member/editOwnFamily',
|
||||
method: 'POST',
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
// fdy删除家庭成员
|
||||
|
||||
// export function deleteOwnFamilyFdy(id){
|
||||
// return request({
|
||||
|
||||
// url:"/comprehensive/member/deleteOwnFamily/"+id+"?stuNo=" +stuNo,
|
||||
// method:"post"
|
||||
// });
|
||||
// }
|
||||
|
||||
export function deleteOwnFamilyFdy(id,stuNo){
|
||||
return request({
|
||||
url:`/comprehensive/member/deleteFamilyByFdy?id=${id}&stuNo=${stuNo}`,
|
||||
method:"GET"
|
||||
});
|
||||
}
|
||||
//
|
||||
export function getOwnFamilyFdy(stuNo){
|
||||
return request({
|
||||
method: 'get',
|
||||
url:"/comprehensive/member/getOwnFamily?stuNo=" + stuNo
|
||||
});
|
||||
}
|
54
src/api/stuCQS/basedata/ranking.js
Normal file
54
src/api/stuCQS/basedata/ranking.js
Normal file
@@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function doImport(data){
|
||||
return request({
|
||||
url:"/comprehensive/ranking/doImport",
|
||||
data,
|
||||
method: "POST"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 查询平均学分绩总排名列表
|
||||
export function listRanking(query) {
|
||||
return request({
|
||||
url: '/comprehensive/ranking/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询平均学分绩总排名详细
|
||||
export function getRanking(id) {
|
||||
return request({
|
||||
url: '/comprehensive/ranking/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增平均学分绩总排名
|
||||
export function addRanking(data) {
|
||||
return request({
|
||||
url: '/comprehensive/ranking/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改平均学分绩总排名
|
||||
export function updateRanking(data) {
|
||||
return request({
|
||||
url: '/comprehensive/ranking/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除平均学分绩总排名
|
||||
export function delRanking(id) {
|
||||
return request({
|
||||
url: '/comprehensive/ranking/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
58
src/api/stuCQS/basedata/stuInfoView.js
Normal file
58
src/api/stuCQS/basedata/stuInfoView.js
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function getStuInfo(stuNo){
|
||||
return request({
|
||||
url:"/comprehensive/stuInfoView/getStuInfo/"+stuNo,
|
||||
method:"GET"
|
||||
});
|
||||
}
|
||||
|
||||
export function getOwnInfo(){
|
||||
return request({
|
||||
url:"/comprehensive/stuInfoView/getOwnInfo",
|
||||
method:"GET"
|
||||
});
|
||||
}
|
||||
|
||||
// 查询学生信息视图列表
|
||||
export function listStuInfoView(query) {
|
||||
return request({
|
||||
url: '/comprehensive/stuInfoView/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生信息视图详细
|
||||
export function getStuInfoView(stuId) {
|
||||
return request({
|
||||
url: '/comprehensive/stuInfoView/' + stuId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学生信息视图
|
||||
export function addStuInfoView(data) {
|
||||
return request({
|
||||
url: '/comprehensive/stuInfoView/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生信息视图
|
||||
export function updateStuInfoView(data) {
|
||||
return request({
|
||||
url: '/comprehensive/stuInfoView/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学生信息视图
|
||||
export function delStuInfoView(stuId) {
|
||||
return request({
|
||||
url: '/comprehensive/stuInfoView/' + stuId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
242
src/api/stuCQS/basedata/student.js
Normal file
242
src/api/stuCQS/basedata/student.js
Normal file
@@ -0,0 +1,242 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function doDept(data){
|
||||
return request({
|
||||
url:"/system/student/doDept",
|
||||
method:"POST",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function changeOwnInfo(data){
|
||||
return request({
|
||||
url:"/system/student/changeOwnInfo",
|
||||
method:"POST",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function getOwnInfo() {
|
||||
return request({
|
||||
url: "/system/student/getOwnInfo",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
export function listEnableStu() {
|
||||
return request({
|
||||
url: "/system/student/listEnableStu",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
export function initOnePwd(data) {
|
||||
return request({
|
||||
url: "/system/student/updateUserPwds",
|
||||
method: "post",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function initPwd() {
|
||||
return request({
|
||||
url: "/system/student/initializePwd",
|
||||
method: "post"
|
||||
});
|
||||
}
|
||||
|
||||
export function getOwnClass() {
|
||||
return request({
|
||||
url: "/system/student/getOwnClass",
|
||||
method: "get"
|
||||
})
|
||||
}
|
||||
|
||||
//tree学生
|
||||
export function treeStudent() {
|
||||
return request({
|
||||
url: "/system/student/name",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnStu(query) {
|
||||
return request({
|
||||
url: '/system/student/listOwnStu',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生信息列表
|
||||
export function listStudent(query) {
|
||||
return request({
|
||||
url: '/system/student/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
//查询学生状态
|
||||
export function getStatus(query){
|
||||
return request({
|
||||
url: '/system/student/statusList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 查询班级信息列表
|
||||
export function listclass(query) {
|
||||
return request({
|
||||
url: '/system/class/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 查询班级列表及上级
|
||||
export function getClassName(query) {
|
||||
return request({
|
||||
url: '/system/class/name',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生信息详细
|
||||
export function getStudent(stuId) {
|
||||
return request({
|
||||
url: '/system/student/' + stuId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学生信息
|
||||
export function addStudent(data) {
|
||||
return request({
|
||||
url: '/system/student',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生信息
|
||||
export function updateStudent(data) {
|
||||
return request({
|
||||
url: '/system/student/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学生信息
|
||||
export function delStudent(stuId) {
|
||||
return request({
|
||||
url: '/system/student/delete/' + stuId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生信息列表
|
||||
export function listAllStudent(query) {
|
||||
return request({
|
||||
url: '/system/student/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
//统计各个名族有多少学生
|
||||
export function getSrsMZCount(){
|
||||
return request({
|
||||
url: '/system/student/getSrsMZCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计是农村和城镇户口多少人
|
||||
export function getSrsHZCount(){
|
||||
return request({
|
||||
url: '/system/student/getSrsHZCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计是政治面貌多少人
|
||||
export function getSrsZZCount(){
|
||||
return request({
|
||||
url: '/system/student/getSrsZZCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计男女多少人
|
||||
export function getSrsGenderCount(){
|
||||
return request({
|
||||
url: '/system/student/getSrsGenderCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计不同贫困类型的人数
|
||||
export function getSrsknrdCount(){
|
||||
return request({
|
||||
url: '/system/student/getSrsknrdCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计不同贫年龄段的人数
|
||||
export function getSrsAgeCount(){
|
||||
return request({
|
||||
url: '/system/student/getSrsAgeCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计不同城市总人数,男女人数
|
||||
export function getCountbyCity(){
|
||||
return request({
|
||||
url: '/system/student/getCountbyCity',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
//统计每个年级多少学生
|
||||
export function getSchoolCountbyGrade(){
|
||||
return request({
|
||||
url: '/system/student/getSchoolCountbyGrade',
|
||||
method: 'get'
|
||||
})
|
||||
|
||||
}
|
||||
//统计学校总人数、男女人数,以及男女占比
|
||||
export function getSchoolTotalCount(){
|
||||
return request({
|
||||
url: '/system/student/getSchoolTotalCount',
|
||||
method: 'get'
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
//统计非广西学生的人数
|
||||
export function getNotSchoolTotalCount(){
|
||||
return request({
|
||||
url: '/system/student/getNotSchoolTotalCount',
|
||||
method: 'get'
|
||||
})
|
||||
|
||||
}
|
||||
//统计各个年级各个专业的人数
|
||||
|
||||
export function getMajorsCount(){
|
||||
return request({
|
||||
url: '/system/student/getMajorsCount',
|
||||
method: 'get'
|
||||
})
|
||||
|
||||
}
|
||||
//统计近5年的人数
|
||||
|
||||
export function getFiveSchoolTotalCount(){
|
||||
return request({
|
||||
url: '/system/student/getFiveSchoolTotalCount',
|
||||
method: 'get'
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
224
src/api/stuCQS/basedata/teacher.js
Normal file
224
src/api/stuCQS/basedata/teacher.js
Normal file
@@ -0,0 +1,224 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function countOwnHisClass() {
|
||||
return request({
|
||||
url: "/system/teacher/countOwnHisClass",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
export function countOwnLiveStu() {
|
||||
return request({
|
||||
url: "/system/teacher/countOwnLiveStu",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function countOwnHisStu() {
|
||||
return request({
|
||||
url: "/system/teacher/countOwnHisStu",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function countOwnNowStu() {
|
||||
return request({
|
||||
url: "/system/teacher/countOwnNowStu",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
export function getOwnUnTodoCount() {
|
||||
return request({
|
||||
method: "get",
|
||||
url: "/system/teacher/getOwnUnTodoCount"
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnMajor() {
|
||||
return request({
|
||||
method: "get",
|
||||
url: "/system/teacher/listOwnMajor"
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnGrade() {
|
||||
return request({
|
||||
method: "get",
|
||||
url: "/system/teacher/listOwnGrade"
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// export function listIam(query = {}){
|
||||
// return request({
|
||||
// url:"/system/iam/sumList",
|
||||
// method:"get",
|
||||
// params:query
|
||||
// });
|
||||
// }
|
||||
|
||||
|
||||
export function getIamRecordByStuNo(stuNo = "", query) {
|
||||
return request({
|
||||
url: "/system/teacher/getIamRecordByStuNo/" + stuNo,
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function listAllIam() {
|
||||
return request({
|
||||
url: "/system/teacher/listAllIam",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function listIam(query = {}) {
|
||||
return request({
|
||||
url: "/system/teacher/listIam",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listAllSport() {
|
||||
return request({
|
||||
url: "/system/teacher/listAllSport",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function listSport(query = {}) {
|
||||
return request({
|
||||
url: "/system/teacher/listSport",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function listAllCourse() {
|
||||
return request({
|
||||
url: "/system/teacher/listAllCourse",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function listCourse(query = {}) {
|
||||
return request({
|
||||
url: "/system/teacher/listCourse",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function listAllCe() {
|
||||
return request({
|
||||
url: "/system/teacher/listAllCe",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function listCe(query = {}) {
|
||||
return request({
|
||||
url: "/system/teacher/listCe",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listAllClassTwo() {
|
||||
return request({
|
||||
url: "/system/teacher/listAllClassTwo",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listClassTwo(query = {}) {
|
||||
return request({
|
||||
url: "/system/teacher/listClassTwo",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function getStuScore(stuNo) {
|
||||
return request({
|
||||
url: "/system/teacher/getStuScore/" + stuNo,
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnAllStu() {
|
||||
return request({
|
||||
url: "/system/teacher/listOwnAllStu",
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
export function listOwnStu(query = {}) {
|
||||
return request({
|
||||
url: "/system/teacher/listOwnStu",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 查询辅导员信息列表
|
||||
export function listTeacher(query) {
|
||||
return request({
|
||||
url: '/system/teacher/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询辅导员名字列表
|
||||
export function listTeacherName() {
|
||||
return request({
|
||||
url: '/system/teacher/name',
|
||||
method: 'get'
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
// 查询辅导员信息详细
|
||||
export function getTeacher(teacherId) {
|
||||
return request({
|
||||
url: '/system/teacher/' + teacherId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增辅导员信息
|
||||
export function addTeacher(data) {
|
||||
return request({
|
||||
url: '/system/teacher',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改辅导员信息
|
||||
export function updateTeacher(data) {
|
||||
return request({
|
||||
url: '/system/teacher/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除辅导员信息
|
||||
export function delTeacher(teacherId) {
|
||||
return request({
|
||||
url: '/system/teacher/delete/' + teacherId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
44
src/api/stuCQS/basedata/term.js
Normal file
44
src/api/stuCQS/basedata/term.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询学期列表
|
||||
export function listTerm(query) {
|
||||
return request({
|
||||
url: '/comprehensive/term/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学期详细
|
||||
export function getTerm(id) {
|
||||
return request({
|
||||
url: '/comprehensive/term/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学期
|
||||
export function addTerm(data) {
|
||||
return request({
|
||||
url: '/comprehensive/term/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学期
|
||||
export function updateTerm(data) {
|
||||
return request({
|
||||
url: '/comprehensive/term/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学期
|
||||
export function delTerm(id) {
|
||||
return request({
|
||||
url: '/comprehensive/term/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
77
src/api/stuCQS/basedata/year.js
Normal file
77
src/api/stuCQS/basedata/year.js
Normal file
@@ -0,0 +1,77 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function listAllYear(){
|
||||
return request({
|
||||
url:"/system/year/listAllYear",
|
||||
method:"GET"
|
||||
});
|
||||
}
|
||||
export function listQiyongYear(){
|
||||
return request({
|
||||
url:"/system/year/listQiyongYear",
|
||||
method:"GET"
|
||||
});
|
||||
}
|
||||
|
||||
export function listAllEnableYear(){
|
||||
return request({
|
||||
url: "/system/year/listAllEnableYear",
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listEnableYear(query = {
|
||||
pageNum: 1,
|
||||
pageSize: 50
|
||||
}) {
|
||||
return request({
|
||||
url: "/system/year/listEnableYear",
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listYear(query = null) {
|
||||
return request({
|
||||
url: '/system/year/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getYear(id) {
|
||||
return request({
|
||||
url: '/system/year/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addYear(data) {
|
||||
return request({
|
||||
url: '/system/year',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateYear(data) {
|
||||
return request({
|
||||
url: '/system/year/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delYear(id) {
|
||||
return request({
|
||||
url: '/system/year/delete/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user