移动端V1.0
This commit is contained in:
31
api/OneStopCommunity/activity.js
Normal file
31
api/OneStopCommunity/activity.js
Normal file
@@ -0,0 +1,31 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 社区活动
|
||||
|
||||
|
||||
//社区活动列表
|
||||
export function activitiesList(query) {
|
||||
return request({
|
||||
url: '/staff/OneStopCommunityActivities/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
//社区活动详细信息
|
||||
export function activitiesDetail(id) {
|
||||
return request({
|
||||
url: '/staff/OneStopCommunityActivities/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//社区活动报名
|
||||
export function activitiesApply(data) {
|
||||
return request({
|
||||
url: '/staff/OneStopRegistrationRecord/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
20
api/OneStopCommunity/apply.js
Normal file
20
api/OneStopCommunity/apply.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 报名记录
|
||||
|
||||
//报名记录列表
|
||||
export function applyList(query) {
|
||||
return request({
|
||||
url: '/staff/OneStopRegistrationRecord/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
//报名记录详情
|
||||
export function applyDetail(id) {
|
||||
return request({
|
||||
url: '/staff/OneStopRegistrationRecord/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
45
api/OneStopCommunity/appointment.js
Normal file
45
api/OneStopCommunity/appointment.js
Normal file
@@ -0,0 +1,45 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 查询一站式社区-功能房-预约记录列表
|
||||
export function listRoomReservation(query) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 查询一站式社区-功能房-预约记录列表,只查自己
|
||||
export function listByUserName(query) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/listByUserName',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getDetailList(id) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function Update(data) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/update',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除功能房
|
||||
export function Deleteid(rtIds) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/' + rtIds,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
29
api/OneStopCommunity/complaint.js
Normal file
29
api/OneStopCommunity/complaint.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 接诉即办
|
||||
|
||||
//接诉即办列表
|
||||
export function complaintList(query) {
|
||||
return request({
|
||||
url: '/comprehensive/complaint/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
//接诉即办详情
|
||||
export function complaintDetail(id) {
|
||||
return request({
|
||||
url: '/comprehensive/complaint/'+id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//提交投诉
|
||||
export function complaintAdd(data) {
|
||||
return request({
|
||||
url: '/comprehensive/complaint/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
64
api/OneStopCommunity/room.js
Normal file
64
api/OneStopCommunity/room.js
Normal file
@@ -0,0 +1,64 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询功能房列表
|
||||
export function listRoom(query) {
|
||||
return request({
|
||||
url: '/staff/room/list',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
// 查询功能房详细
|
||||
export function getRoom(id) {
|
||||
return request({
|
||||
url: '/staff/room/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function selectRtFuReservationTime(query) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/getRoomByRoomNoAndTime',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 修改一站式社区-功能房-预约记录
|
||||
export function updateRoomReservation(data) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增一站式社区-功能房-预约记录
|
||||
export function addRoomReservation(data) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 删除功能房
|
||||
export function delRoom(id) {
|
||||
return request({
|
||||
url: '/routine/room/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//查询行政架构下部门数据
|
||||
// 查询部门详细
|
||||
export function getXZJGDept(deptId) {
|
||||
return request({
|
||||
url: '/system/dept/getXZJGDept',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
10
api/affix.js
Normal file
10
api/affix.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询附件材料
|
||||
export function getAffixItems(data) {
|
||||
return request({
|
||||
'url': '/affix/queryItems',
|
||||
'method': 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
8
api/aiJWT/aiJWT.js
Normal file
8
api/aiJWT/aiJWT.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getAccessToken(data) {
|
||||
return request({
|
||||
'url': '/coze/get-access-token',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
68
api/applyleave/applyleave.js
Normal file
68
api/applyleave/applyleave.js
Normal file
@@ -0,0 +1,68 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function addApply(data) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/add',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
// leaveApplication
|
||||
export function getStuInfo(data) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/getStuInfo',
|
||||
'method': 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function commonUpload() {
|
||||
uni.uploadFile({
|
||||
url: '/common/upload', //仅为示例,非真实的接口地址
|
||||
filePath: e.tempFilePaths[0],
|
||||
name: 'file',
|
||||
success: (uploadFileRes) => {
|
||||
console.log(uploadFileRes.data);
|
||||
}
|
||||
});
|
||||
}
|
||||
//保存
|
||||
export function leaveSave(data) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/save',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
//请假列表 新建请假列表,在列表里面新增假条、删除
|
||||
//list?pageNum=1&pageSize=10 leaveStatus 状态 (0、保存;1、提交)
|
||||
export function leaveList(data) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/list',
|
||||
'method': 'get',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
|
||||
//删除
|
||||
export function leaveDel(id) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/'+id,
|
||||
'method': 'post',
|
||||
})
|
||||
}
|
||||
// 详情
|
||||
export function leaveDetail(id) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/'+id,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
//修改
|
||||
export function editApply(data) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/update',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
130
api/applyrelieve/applyrelieve.js
Normal file
130
api/applyrelieve/applyrelieve.js
Normal file
@@ -0,0 +1,130 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获取本人学生信息
|
||||
export function getMyStuInfo() {
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/getMyStuInfo',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取处分相关信息
|
||||
export function getPenaltyNumber(penaltyNumber) {
|
||||
return request({
|
||||
'url': '/routine/relieve/getPenaltyNumber/' + penaltyNumber,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function addRelieve(data) {
|
||||
return request({
|
||||
'url': '/routine/relieve/add',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
export function save(data) {
|
||||
return request({
|
||||
'url': '/routine/relieve/save',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
// 处分记录列表
|
||||
export function list(data) {
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/list',
|
||||
'method': 'get',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
// 通过学号获取学生信息
|
||||
export function getStuInfoByStuNo(id) {
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/getStuInfo/'+id,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
//处分详情信息
|
||||
export function getDisciplinaryApplicationByProcInsId(id) {
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/getDisciplinaryApplicationByProcInsId/'+id,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
//审批流程
|
||||
export function getFlowRecord(query) {
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/flowRecord',
|
||||
'method': 'get',
|
||||
data:query
|
||||
})
|
||||
}
|
||||
//保存处分信息
|
||||
export function savePunishment(data) {
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/save',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
//提交处分信息
|
||||
export function submitPunishment(data) {
|
||||
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/add',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
//删除违纪材料
|
||||
export function deleteImg(data) {
|
||||
return request({
|
||||
'url': '/affix/delete',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
// // 审核进度
|
||||
// export function flowRecord(query) {
|
||||
// return request({
|
||||
// 'url': '/flowable/task/flowRecord',
|
||||
// 'method': 'get',
|
||||
// 'data': query
|
||||
// })
|
||||
// }
|
||||
|
||||
|
||||
|
||||
//解除处分
|
||||
|
||||
// 解除处分记录列表
|
||||
export function relieveList(data) {
|
||||
return request({
|
||||
'url': '/routine/relieve/list',
|
||||
'method': 'get',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
// 解除处分记录详情
|
||||
export function relieveDetail(id) {
|
||||
return request({
|
||||
'url': '/routine/relieve/getStuDisciplinaryRelieveByProcInsId/'+id,
|
||||
'method': 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生解除处分申请
|
||||
export function updateRelieve(data) {
|
||||
return request({
|
||||
url: '/routine/relieve/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
55
api/classmetting/classmeting.js
Normal file
55
api/classmetting/classmeting.js
Normal file
@@ -0,0 +1,55 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// ClassMettingTheme列表
|
||||
export function classMettingList(data) {
|
||||
return request({
|
||||
'url':'/runtine/ClassMettingTheme/list',
|
||||
'method':'get',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
//ClassMettingTheme修改
|
||||
export function editClassMetting(data) {
|
||||
return request({
|
||||
'url':'/runtine/ClassMettingTheme/update',
|
||||
'method':'post',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
//上传图片路径
|
||||
// export function uploadFiles(data) {
|
||||
// return axios.post("/common/upload", data);
|
||||
// }
|
||||
// classMettingContent列表
|
||||
export function classMettingContent(data) {
|
||||
return request({
|
||||
'url':'/classmetting/classMettingContent/list',
|
||||
'method':'get',
|
||||
'data':data
|
||||
|
||||
})
|
||||
}
|
||||
//classMettingContent详情
|
||||
export function classMettingDetail(id) {
|
||||
return request({
|
||||
'url':'/classmetting/classMettingContent/'+id,
|
||||
'method':"get"
|
||||
})
|
||||
}
|
||||
//classMettingContent新增
|
||||
export function addClassMetting(data) {
|
||||
return request({
|
||||
'url':'/classmetting/classMettingContent/add',
|
||||
'method':'post',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
//获取班级信息
|
||||
export function ClassName(data){
|
||||
|
||||
return request({
|
||||
'url':'/system/class/name',
|
||||
'method':'get',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
41
api/common/wechat.js
Normal file
41
api/common/wechat.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 新增学生退学申请记录
|
||||
export function getWxConfig(type) {
|
||||
//获取当前的url
|
||||
let url = window.location.href.split('#')[0];
|
||||
return request({
|
||||
url: '/api/wechat/getWxConfig/' + type,
|
||||
method: 'get',
|
||||
params: {
|
||||
url: url
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function getAddressByLocation(latitude, longitude) {
|
||||
let key = "你的腾讯地图API Key";
|
||||
let url = `https://apis.map.qq.com/ws/geocoder/v1/?location=${latitude},${longitude}&key=${key}&get_poi=1`;
|
||||
|
||||
fetch(url)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (data.status === 0) {
|
||||
console.log("地址信息:", data.result.formatted_addresses.recommend);
|
||||
} else {
|
||||
console.error("获取地址失败:", data);
|
||||
}
|
||||
})
|
||||
.catch(error => console.error("请求失败", error));
|
||||
}
|
||||
|
||||
// 获取企业微信签名配置
|
||||
// const getWxConfig = (type) => {
|
||||
// // 获取当前页面的 URL(去掉 hash 部分)
|
||||
|
||||
// return axios.get(`/api/wechat/getWxConfig/${type}`, {
|
||||
// params: {
|
||||
// url: url
|
||||
// } // 传递 URL
|
||||
// }).then(response => response.data);
|
||||
// };
|
||||
43
api/compositive-performance/holdAPost.js
Normal file
43
api/compositive-performance/holdAPost.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报列表查询
|
||||
export function servingList(query) {
|
||||
return request({
|
||||
url: '/teacher/serving/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
// 综合绩效-辅导员工作绩效填报新增
|
||||
export function servingAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/serving/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报修改
|
||||
export function servingUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/serving/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报详情
|
||||
export function servingDetail(id) {
|
||||
return request({
|
||||
url: '/teacher/serving/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报详情
|
||||
export function servingDel(id) {
|
||||
return request({
|
||||
url: '/teacher/serving/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
56
api/compositive-performance/index.js
Normal file
56
api/compositive-performance/index.js
Normal file
@@ -0,0 +1,56 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 综合绩效-填报记录列表
|
||||
export function performanceList(query) {
|
||||
return request({
|
||||
url: '/teacher/performance/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-填报记录新增
|
||||
export function performanceAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/performance/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-填报记录修改
|
||||
export function performanceUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/performance/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 新增第二课堂及格人数
|
||||
export function passAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/pass/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改第二课堂及格人数
|
||||
export function passUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/pass/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 根据填报人和年份获取综合测试-第二课堂及格人数详细信息
|
||||
export function getInfoByFdNameAndYears(query) {
|
||||
return request({
|
||||
url: '/teacher/pass/getInfoByFdNameAndYears',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
43
api/compositive-performance/instructorJobPerformance.js
Normal file
43
api/compositive-performance/instructorJobPerformance.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报列表查询
|
||||
export function instructorJobPerformanceList(query) {
|
||||
return request({
|
||||
url: '/teacher/active/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
// 综合绩效-辅导员工作绩效填报新增
|
||||
export function instructorJobPerformanceAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/active/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报修改
|
||||
export function instructorJobPerformanceUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/active/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报详情
|
||||
export function instructorJobPerformanceDetail(id) {
|
||||
return request({
|
||||
url: '/teacher/active/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效 删除
|
||||
export function delinstructorJobPerformance(id) {
|
||||
return request({
|
||||
url: '/teacher/active/' + id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
43
api/compositive-performance/majorReward.js
Normal file
43
api/compositive-performance/majorReward.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报列表查询
|
||||
export function taskList(query) {
|
||||
return request({
|
||||
url: '/teacher/task/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
// 综合绩效-辅导员工作绩效填报新增
|
||||
export function taskAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/task/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报修改
|
||||
export function taskUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/task/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报详情
|
||||
export function taskDetail(id) {
|
||||
return request({
|
||||
url: '/teacher/task/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-删除
|
||||
export function taskDel(id) {
|
||||
return request({
|
||||
url: '/teacher/task/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报列表查询
|
||||
export function undertakeStudentWorkAssignmentsList(query) {
|
||||
return request({
|
||||
url: '/teacher/rw/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
// 综合绩效-辅导员工作绩效填报新增
|
||||
export function undertakeStudentWorkAssignmentsAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/rw/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报修改
|
||||
export function undertakeStudentWorkAssignmentsUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/rw/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-辅导员工作绩效填报详情
|
||||
export function undertakeStudentWorkAssignmentsDetail(id) {
|
||||
return request({
|
||||
url: '/teacher/rw/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 综合绩效-删除
|
||||
export function undertakeStudentWorkAssignmentsDel(id) {
|
||||
return request({
|
||||
url: '/teacher/rw/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
34
api/comprehensive/instructor.js
Normal file
34
api/comprehensive/instructor.js
Normal file
@@ -0,0 +1,34 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
//我的审核
|
||||
export function myReview(query) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/myReviewList",
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnProcessed(params) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/listOwnProcessed",
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
export function getDetailInfo(id) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/getDetail/" + id,
|
||||
method: 'post'
|
||||
});
|
||||
}
|
||||
|
||||
//审核
|
||||
export function process(data) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/auditOpera",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
168
api/comprehensive/student.js
Normal file
168
api/comprehensive/student.js
Normal file
@@ -0,0 +1,168 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function reSub(data) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/reSub",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function cancelProcess(data) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/cancelProcess",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnProcessed(params = {}) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/listOwnProcessed",
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
export function listOwnApply(params = {}) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/listOwnApply",
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
export function getCompleted(
|
||||
query = null
|
||||
) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails/completed',
|
||||
method: 'get',
|
||||
params:query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function getDetailInfo(id) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/getDetail/" + id,
|
||||
method: 'post'
|
||||
});
|
||||
}
|
||||
|
||||
//批量审核
|
||||
export function manyProcess(ids) {
|
||||
return request({
|
||||
data: ids,
|
||||
method: 'post',
|
||||
url: "/comprehensive/auditDetails/auditOperaBatch"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//我的已审核列表
|
||||
export function myProcessed(query) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/myProcessedList",
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
//我的审核
|
||||
export function myReview(query) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/myReviewList",
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
//我的申请
|
||||
export function mySubmit(query) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/myApplyList",
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
//审核
|
||||
export function process(data) {
|
||||
return request({
|
||||
url: "/comprehensive/auditDetails/auditOpera",
|
||||
method: "post",
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 查询审核明细列表
|
||||
export function listAuditDetails(query) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询审核明细详细
|
||||
export function getAuditDetails(id) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增审核明细
|
||||
export function addAuditDetails(data) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改审核明细
|
||||
export function updateAuditDetails(data) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除审核明细
|
||||
export function delAuditDetails(id) {
|
||||
return request({
|
||||
url: '/comprehensive/auditDetails/delete/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function listEnableYear(query = {
|
||||
pageNum: 1,
|
||||
pageSize: 50
|
||||
}) {
|
||||
return request({
|
||||
url: "/system/year/listEnableYear",
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
//列出思想品德子类
|
||||
export function listIamChild(){
|
||||
return request({
|
||||
url:"/system/rules/listIamChild",
|
||||
method:"post"
|
||||
});
|
||||
}
|
||||
//学生提交
|
||||
export function stuAdd(data){
|
||||
return request({
|
||||
url:"/system/iam/stuAdd",
|
||||
method:"post",
|
||||
data:data
|
||||
});
|
||||
}
|
||||
44
api/cqScore/cqscore.js
Normal file
44
api/cqScore/cqscore.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listOwnFive(query) {
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/add',
|
||||
'method': 'get',
|
||||
'query':query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listEnableYear(query = {
|
||||
pageNum: 1,
|
||||
pageSize: 50
|
||||
}){
|
||||
return request({
|
||||
'url': '/system/year/listEnableYear',
|
||||
'method': 'get',
|
||||
'query':query
|
||||
})
|
||||
}
|
||||
|
||||
export function listIamChild(){
|
||||
return request({
|
||||
'url': '/system/rules/listIamChild',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
export function stuAddIam(data){
|
||||
return request({
|
||||
'url': '/system/iam/stuAdd',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
export function listOwnIamApply(){
|
||||
return request({
|
||||
'url': '/comprehensive/auditDetails/listOwnApply?pageNum=1&pageSize=1000',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
19
api/disqualifiCationIndex/disqualifiCationIndex.js
Normal file
19
api/disqualifiCationIndex/disqualifiCationIndex.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 根据流程 id查询数据
|
||||
export function getRtStuDisqualificationByProcInsId(procInsId) {
|
||||
return request({
|
||||
url: '/routine/disqualification/getRtStuDisqualificationByProcInsId/' + procInsId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 修改给予学生退学申请
|
||||
export function updateDisqualification(data) {
|
||||
return request({
|
||||
url: '/routine/disqualification/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
16
api/dms/daily.js
Normal file
16
api/dms/daily.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function getOwnDorm() {
|
||||
return request({
|
||||
'url': '/dormitory/daily/getOwnDorm',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function doCard(data) {
|
||||
return request({
|
||||
'url': '/dormitory/daily/doCard',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
58
api/dms/index.js
Normal file
58
api/dms/index.js
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
//获取学生自己的宿舍以及费用记录
|
||||
export function getOwnLog() {
|
||||
return request({
|
||||
'url': '/dormitory/srs-dormitory-student/getOwnLog',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function stuChange(data) {
|
||||
return request({
|
||||
'url': '/dormitory/application/stuChange',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function addApplication(data) {
|
||||
return request({
|
||||
url: '/dormitory/application/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function listOwnApply(params) {
|
||||
return request({
|
||||
url: '/dormitory/application/listOwnApply',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function getStatus() {
|
||||
return request({
|
||||
'url': '/system/dict/data/type/dms_approval_status',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listOwnTask() {
|
||||
return request({
|
||||
'url': '/dormitory/task/listOwnTask',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getTaskStatus() {
|
||||
return request({
|
||||
'url': '/system/dict/data/type/dms_task_status',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
28
api/flowRecord/flowRecord.js
Normal file
28
api/flowRecord/flowRecord.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// //审批流程
|
||||
// export function flowRecord(query) {
|
||||
// return request({
|
||||
// 'url': '/routine/disciplinaryApplication/flowRecord',
|
||||
// 'method': 'get',
|
||||
// data:query
|
||||
// })
|
||||
// }
|
||||
|
||||
// 审核进度
|
||||
export function flowRecord(query) {
|
||||
return request({
|
||||
'url': '/flowable/task/flowRecord',
|
||||
'method': 'get',
|
||||
'data': query
|
||||
})
|
||||
}
|
||||
|
||||
//审批流程
|
||||
// export function getFlowRecord(query) {
|
||||
// return request({
|
||||
// 'url': '/routine/disciplinaryApplication/flowRecord',
|
||||
// 'method': 'get',
|
||||
// data:query
|
||||
// })
|
||||
// }
|
||||
26
api/good/biye.js
Normal file
26
api/good/biye.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listOwnApply(){
|
||||
let query={pageNum:"1",pageSize:"100"};
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/listOwnApply',
|
||||
'method': 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
|
||||
export function doApply(data){
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/doApply',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
export function reApply(data){
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/reApply',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
73
api/good/index.js
Normal file
73
api/good/index.js
Normal file
@@ -0,0 +1,73 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 优秀毕业生查看专业排名
|
||||
export function getOwnStuScoreMajorRank(){
|
||||
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/getOwnStuScoreMajorRank',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//自己的体测成绩
|
||||
export function listOwnSportScore(){
|
||||
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/listOwnSportScore',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//列出可选学年
|
||||
export function listEnableYear(){
|
||||
|
||||
return request({
|
||||
'url': '/system/year/listEnableYear',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//列出自己的学业成绩和综合成绩班级排名
|
||||
export function listOwnScoreClassRank(){
|
||||
return request({
|
||||
'url': '/comprehensive/goodapply/listOwnScoreRank',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//列出学业奖学金可用申请类型
|
||||
export function listXyjxjCanType(){
|
||||
return request({
|
||||
'url': '/comprehensive/goodapply/listXyjxjCanType',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//通过申请的奖项类型代码查询自己课程通过的门数
|
||||
export function getOwnPassCountByCode(code){
|
||||
return request({
|
||||
'url': '/comprehensive/goodapply/getOwnPassCountByCode/'+ code,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//通过申请的奖项类型代码查询自己的思想品德扣分项
|
||||
export function getOwnIamCountByCode(code){
|
||||
return request({
|
||||
'url': '/comprehensive/goodapply/getOwnIamCountByCode/'+ code,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//通过申请的奖项类型代码查询自己的排名
|
||||
export function getOwnRankByCode(code) {
|
||||
return request({
|
||||
method: "GET",
|
||||
url: `/comprehensive/goodapply/getOwnRankByCode/${code}`
|
||||
});
|
||||
}
|
||||
|
||||
10
api/good/lake.js
Normal file
10
api/good/lake.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function listOwnApply(query) {
|
||||
return request({
|
||||
url: '/comprehensive/lakeapply/listOwnApply',
|
||||
method: 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
40
api/good/shxs.js
Normal file
40
api/good/shxs.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getMyApply(query) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/selectApplySHXS',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
export function verifyApplySHXS() {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/verifyApplySHXS',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function goodStuApply(data) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/applySHXS',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//三好学生重新提交
|
||||
export function reApply(data) {
|
||||
return request({
|
||||
method: 'POST',
|
||||
url: "/comprehensive/goodapply/reApply",
|
||||
data
|
||||
});
|
||||
}
|
||||
//取消申请
|
||||
export function cancelOwnApply(data) {
|
||||
return request({
|
||||
method: "post",
|
||||
url: "/comprehensive/goodapply/cancelOwnApply",
|
||||
data
|
||||
});
|
||||
}
|
||||
35
api/good/xyjxj.js
Normal file
35
api/good/xyjxj.js
Normal file
@@ -0,0 +1,35 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listOwnXyjxjApply(query) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/listOwnXyjxjApply',
|
||||
method: 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
|
||||
//提交学业奖学金申请
|
||||
export function applyXyjxj(data) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/applyXyjxj',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
//重新提交学业奖学金申请
|
||||
export function reApply(data) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/reApply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//取消申请
|
||||
export function cancelOwnApply(data) {
|
||||
return request({
|
||||
method: "post",
|
||||
url: "/comprehensive/goodapply/cancelOwnApply",
|
||||
data
|
||||
});
|
||||
}
|
||||
42
api/good/yxbg.js
Normal file
42
api/good/yxbg.js
Normal file
@@ -0,0 +1,42 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function listApplyXgb(query) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/selectApplyYxgb',
|
||||
method: 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
|
||||
export function verifyApplyYXGB() {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/verifyApplyYXGB',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//申请优秀学生干部
|
||||
export function addApplyYxgb(data) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/applyYxgb',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//重新申请优秀学生干部
|
||||
export function reApplyYXG(data) {
|
||||
return request({
|
||||
url: '/comprehensive/goodapply/reApplyYXGB',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//取消申请
|
||||
export function cancelOwnApply(data) {
|
||||
return request({
|
||||
method: "post",
|
||||
url: "/comprehensive/goodapply/cancelOwnApply",
|
||||
data
|
||||
});
|
||||
}
|
||||
18
api/helpFunc/bank.js
Normal file
18
api/helpFunc/bank.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function alipayVali(card){
|
||||
var promise = new Promise((resolve, reject) => {
|
||||
uni.request({
|
||||
url: `https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?cardNo=${card}&cardBinCheck=true`,
|
||||
method: "GET",
|
||||
dataType: 'json',
|
||||
success: function(res) {
|
||||
resolve(res.data);
|
||||
},
|
||||
error: function(e) {
|
||||
reject('网络出错');
|
||||
}
|
||||
});
|
||||
});
|
||||
return promise;
|
||||
};
|
||||
24
api/helpFunc/index.js
Normal file
24
api/helpFunc/index.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import request from '@/utils/request'
|
||||
//判断是否为空
|
||||
export function isEmpty(obj) {
|
||||
if (obj == null || obj == "" || obj == undefined) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export function getDict(dict) {
|
||||
return request({
|
||||
'url': '/system/dict/data/type/' + dict,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 手机号校验函数
|
||||
export function isValidPhone(phone) {
|
||||
// 中国大陆手机号:以13、14、15、17、18、19开头,共11位数字
|
||||
const chinaPhoneRegex = /^1[3-9]\d{9}$/;
|
||||
return chinaPhoneRegex.test(phone);
|
||||
}
|
||||
1
api/helpFunc/map/450000_full.json
Normal file
1
api/helpFunc/map/450000_full.json
Normal file
File diff suppressed because one or more lines are too long
59
api/helpFunc/mz.json
Normal file
59
api/helpFunc/mz.json
Normal file
@@ -0,0 +1,59 @@
|
||||
[
|
||||
"汉族",
|
||||
"壮族",
|
||||
"满族",
|
||||
"回族",
|
||||
"苗族",
|
||||
"维吾尔族",
|
||||
"土家族",
|
||||
"彝族",
|
||||
"蒙古族",
|
||||
"藏族",
|
||||
"布依族",
|
||||
"侗族",
|
||||
"瑶族",
|
||||
"朝鲜族",
|
||||
"白族",
|
||||
"哈尼族",
|
||||
"哈萨克族",
|
||||
"黎族",
|
||||
"傣族",
|
||||
"畲族",
|
||||
"傈僳族",
|
||||
"仡佬族",
|
||||
"东乡族",
|
||||
"高山族",
|
||||
"拉祜族",
|
||||
"水族",
|
||||
"佤族",
|
||||
"纳西族",
|
||||
"羌族",
|
||||
"土族",
|
||||
"仫佬族",
|
||||
"锡伯族",
|
||||
"柯尔克孜族",
|
||||
"达斡尔族",
|
||||
"景颇族",
|
||||
"毛南族",
|
||||
"撒拉族",
|
||||
"布朗族",
|
||||
"塔吉克族",
|
||||
"阿昌族",
|
||||
"普米族",
|
||||
"鄂温克族",
|
||||
"怒族",
|
||||
"京族",
|
||||
"基诺族",
|
||||
"德昂族",
|
||||
"保安族",
|
||||
"俄罗斯族",
|
||||
"裕固族",
|
||||
"乌孜别克族",
|
||||
"门巴族",
|
||||
"鄂伦春族",
|
||||
"独龙族",
|
||||
"塔塔尔族",
|
||||
"赫哲族",
|
||||
"珞巴族"
|
||||
]
|
||||
|
||||
54
api/helpFunc/zzmm.json
Normal file
54
api/helpFunc/zzmm.json
Normal file
@@ -0,0 +1,54 @@
|
||||
[
|
||||
{
|
||||
"id": "01",
|
||||
"name": "中共党员"
|
||||
},
|
||||
{
|
||||
"id": "02",
|
||||
"name": "中共预备党员"
|
||||
},
|
||||
{
|
||||
"id": "03",
|
||||
"name": "共青团员"
|
||||
},
|
||||
{
|
||||
"id": "13",
|
||||
"name": "群众"
|
||||
},
|
||||
{
|
||||
"id": "04",
|
||||
"name": "民革党员"
|
||||
},
|
||||
{
|
||||
"id": "05",
|
||||
"name": "民盟盟员"
|
||||
},
|
||||
{
|
||||
"id": "06",
|
||||
"name": "民建会员"
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
"name": "民进会员"
|
||||
},
|
||||
{
|
||||
"id": "08",
|
||||
"name": "农工党党员"
|
||||
},
|
||||
{
|
||||
"id": "09",
|
||||
"name": "致公党党员"
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"name": "九三学社社员"
|
||||
},
|
||||
{
|
||||
"id": "11",
|
||||
"name": "台盟盟员"
|
||||
},
|
||||
{
|
||||
"id": "12",
|
||||
"name": "无党派人士"
|
||||
}
|
||||
]
|
||||
43
api/instructor/checkDormitory.js
Normal file
43
api/instructor/checkDormitory.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import request from '@/utils/request';
|
||||
// /teacher/visitDormitoryMaterials/add
|
||||
// /teacher/visitDormitoryMaterials/list
|
||||
|
||||
// 查询列表
|
||||
export function listVisitDormitoryMaterials(query) {
|
||||
return request({
|
||||
url: '/teacher/visitDormitoryMaterials/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 新增
|
||||
export function addVisitDormitoryMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/visitDormitoryMaterials/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 查询查寝佐证材料详细
|
||||
export function getVisitDormitoryMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/visitDormitoryMaterials/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 修改查寝佐证材料
|
||||
export function updateVisitDormitoryMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/visitDormitoryMaterials/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除查寝佐证材料
|
||||
export function delVisitDormitoryMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/visitDormitoryMaterials/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
46
api/instructor/classmetting.js
Normal file
46
api/instructor/classmetting.js
Normal file
@@ -0,0 +1,46 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询班会佐证材料列表
|
||||
export function listClassMeetingMaterials(query) {
|
||||
return request({
|
||||
url: '/teacher/classMeetingMaterials/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query,
|
||||
headers: {
|
||||
Authorization: "Bearer " + uni.getStorageSync("App-Token"),
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询班会佐证材料详细
|
||||
export function getClassMeetingMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/classMeetingMaterials/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 新增班会佐证材料
|
||||
export function addClassMeetingMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/classMeetingMaterials/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 修改班会佐证材料
|
||||
export function updateClassMeetingMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/classMeetingMaterials/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除班会佐证材料
|
||||
export function delClassMeetingMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/classMeetingMaterials/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
46
api/instructor/instructorAttendanceMaterial.js
Normal file
46
api/instructor/instructorAttendanceMaterial.js
Normal file
@@ -0,0 +1,46 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 考勤管理-查询佐证材料列表
|
||||
export function listConferenceMeetingMaterials(query) {
|
||||
return request({
|
||||
url: '/teacher/conferenceMeetingMaterials/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query,
|
||||
headers: {
|
||||
Authorization: "Bearer " + uni.getStorageSync("App-Token"),
|
||||
}
|
||||
})
|
||||
}
|
||||
// 考勤管理- 查询佐证材料详细
|
||||
export function getConferenceMeetingMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/conferenceMeetingMaterials/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 考勤管理-新增证材料
|
||||
export function addConferenceMeetingMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/conferenceMeetingMaterials/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 考勤管理-修改佐证材料
|
||||
export function updateConferenceMeetingMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/conferenceMeetingMaterials/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 考勤管理-删除佐证材料
|
||||
export function delConferenceMeetingMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/conferenceMeetingMaterials/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
48
api/instructor/interview.js
Normal file
48
api/instructor/interview.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询谈话材料
|
||||
export function listInterviewMaterials(query) {
|
||||
return request({
|
||||
url: '/teacher/stuTalkMaterials/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query,
|
||||
headers: {
|
||||
Authorization: "Bearer " + uni.getStorageSync("App-Token"),
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询谈话材料详情
|
||||
export function getInterviewMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/stuTalkMaterials/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 新增谈话材料
|
||||
export function addInterviewMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/stuTalkMaterials/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 修改谈话材料
|
||||
export function updateInterviewMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/stuTalkMaterials/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 删除谈话材料
|
||||
export function delInterviewMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/stuTalkMaterials/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
48
api/instructor/leagueMeeting.js
Normal file
48
api/instructor/leagueMeeting.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询团干部材料
|
||||
export function listCaderMeetingMaterials(query) {
|
||||
return request({
|
||||
url: '/teacher/caderMeetingMaterials/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query,
|
||||
headers: {
|
||||
Authorization: "Bearer " + uni.getStorageSync("App-Token"),
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询团干部材料详细
|
||||
export function getCaderMeetingMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/caderMeetingMaterials/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 新增团干部材料
|
||||
export function addCaderMeetingMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/caderMeetingMaterials/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 修改团干部材料
|
||||
export function updateCaderMeetingMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/caderMeetingMaterials/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除团干部材料
|
||||
export function delCaderMeetingMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/caderMeetingMaterials/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
41
api/instructor/overwork-materials.js
Normal file
41
api/instructor/overwork-materials.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询列表
|
||||
export function listkpiFillingRewardsKpi(query) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingRewardsKpi/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
//个人填报-超工作量奖励绩效 新增
|
||||
export function kpiFillingRewardsKpiAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingRewardsKpi/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-超工作量奖励绩效 修改
|
||||
export function kpiFillingRewardsKpiUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingRewardsKpi/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-超工作量奖励绩效 详情
|
||||
export function kpiFillingRewardsKpiDetail(id) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingRewardsKpi/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
//个人填报-超工作量奖励绩效 删除
|
||||
export function delkpiFillingRewards(id) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingRewardsKpi/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
46
api/instructor/studentActivity.js
Normal file
46
api/instructor/studentActivity.js
Normal file
@@ -0,0 +1,46 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询深入学生活动材料
|
||||
export function listStuActivityMaterials(query) {
|
||||
return request({
|
||||
url: '/teacher/stuActivityMaterials/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query,
|
||||
headers: {
|
||||
Authorization: "Bearer " + uni.getStorageSync("App-Token"),
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询班会佐证材料详细
|
||||
export function getStuActivityMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/stuActivityMaterials/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
// 新增深入学生活动材料
|
||||
export function addStuActivityMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/stuActivityMaterials/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 修改深入学生活动材料
|
||||
export function updateStuActivityMaterials(data) {
|
||||
return request({
|
||||
url: '/teacher/stuActivityMaterials/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 删除深入学生活动材料
|
||||
export function delStuActivityMaterials(id) {
|
||||
return request({
|
||||
url: '/teacher/stuActivityMaterials/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
41
api/instructor/studentEmergencies.js
Normal file
41
api/instructor/studentEmergencies.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 处理学生突发事件 查询列表
|
||||
export function listkpiFillingStuEmergency(query) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingStuEmergency/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
//个人填报-处理学生突发事件 新增
|
||||
export function kpiFillingStuEmergencyAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingStuEmergency/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-处理学生突发事件 修改
|
||||
export function kpiFillingStuEmergencyUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingStuEmergency/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-处理学生突发事件 详情
|
||||
export function kpiFillingStuEmergencyDetail(id) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingStuEmergency/'+id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//个人填报-处理学生突发事件 删除
|
||||
export function delkpiFillingStuEmergency(id) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingStuEmergency/'+id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
139
api/instructor/superintendent.js
Normal file
139
api/instructor/superintendent.js
Normal file
@@ -0,0 +1,139 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
|
||||
// 查找辅导员名下班级列表
|
||||
export function OwnClass(data) {
|
||||
return request({
|
||||
url: '/system/teacher/countOwnHisAsClass',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增业绩考核-个人填报 新增
|
||||
export function kpiFillingAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFilling/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 新增业绩考核-个人填报 修改
|
||||
export function kpiFillingUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFilling/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 新增业绩考核-个人填报列表
|
||||
// teacher/kpiFilling/list?pageNum=1&pageSize=10&fillingYear=2024
|
||||
export function kpiFillingList(query) {
|
||||
return request({
|
||||
url: '/teacher/kpiFilling/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//个人填报-学生管理 新增
|
||||
export function teacherKpiFillingMgtAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/teacherKpiFillingMgt/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-学生管理 修改
|
||||
export function teacherKpiFillingMgtUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/teacherKpiFillingMgt/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-学生管理 查询详情
|
||||
export function teacherKpiFillingMgtDetail(query) {
|
||||
return request({
|
||||
url: '/teacher/teacherKpiFillingMgt/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
data:query
|
||||
})
|
||||
}
|
||||
|
||||
//个人填报-业务管理 新增
|
||||
export function kpiFillingBusinessWorkAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingBusinessWork/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//个人填报-业务管理 修改
|
||||
export function kpiFillingBusinessWorkUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingBusinessWork/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-业务管理 查询详情
|
||||
export function kpiFillingBusinessWorkDetail(query) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingBusinessWork/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
data:query
|
||||
})
|
||||
}
|
||||
|
||||
//个人填报-考勤管理 新增
|
||||
export function kpiFillingAMgtAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingAMgt/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-考勤管理 修改
|
||||
export function kpiFillingAMgtUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingAMgt/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-考勤管理 详情
|
||||
export function kpiFillingAMgtDetail(query) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingAMgt/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
//个人填报-负面清单 新增
|
||||
export function kpiFillingNegativeListAdd(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingNegativeList/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-负面清单 修改
|
||||
export function kpiFillingNegativeListUpdate(data) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingNegativeList/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//个人填报-负面清单 详情
|
||||
export function kpiFillingNegativeListDetail(query) {
|
||||
return request({
|
||||
url: '/teacher/kpiFillingNegativeList/getByFdyNameAndYearAndMonth',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
16
api/lake/apply.js
Normal file
16
api/lake/apply.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function applyTen(data) {
|
||||
return request({
|
||||
'url': '/comprehensive/lakeapply/applyTen',
|
||||
'method': 'post',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
export function applyLake(data){
|
||||
return request({
|
||||
'url': '/comprehensive/lakeapply/applyTen',
|
||||
'method': 'post',
|
||||
'data':data
|
||||
})
|
||||
}
|
||||
8
api/lake/type.js
Normal file
8
api/lake/type.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listOneHundred(){
|
||||
return request({
|
||||
'url': '/comprehensive/laketype/listOneHundred',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
68
api/login.js
Normal file
68
api/login.js
Normal file
@@ -0,0 +1,68 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 登录方法
|
||||
export function login(username, password, code, uuid) {
|
||||
const data = {
|
||||
username,
|
||||
password,
|
||||
code,
|
||||
uuid
|
||||
}
|
||||
return request({
|
||||
'url': '/login',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
// 注册方法
|
||||
export function register(data) {
|
||||
return request({
|
||||
url: '/register',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
'url': '/getInfo',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 退出方法
|
||||
export function logout() {
|
||||
return request({
|
||||
'url': '/logout',
|
||||
'method': 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取验证码
|
||||
export function getCodeImg() {
|
||||
return request({
|
||||
'url': '/captchaImage',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'get',
|
||||
timeout: 20000
|
||||
})
|
||||
}
|
||||
|
||||
// 获取路由
|
||||
export function getRouters(params){
|
||||
return request({
|
||||
url: '/getRouters',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
5
api/login/login.js
Normal file
5
api/login/login.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import axios from "@/libs/config/api.js";
|
||||
|
||||
export function doLogin(data){
|
||||
return axios.post("/login",data);
|
||||
}
|
||||
12
api/msg/index.js
Normal file
12
api/msg/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function listMsg(query = {
|
||||
pageNum: 1,
|
||||
pageSize: 30
|
||||
}) {
|
||||
return request({
|
||||
'url': '/system/msg/list',
|
||||
'method': 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
48
api/outstanding-graduate/outstanding-graduate.js
Normal file
48
api/outstanding-graduate/outstanding-graduate.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询申请列表
|
||||
export function listOwnApply() {
|
||||
let query = {
|
||||
pageNum: "1",
|
||||
pageSize: "100"
|
||||
};
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/listOwnApply',
|
||||
'method': 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
|
||||
//列出可选学年
|
||||
export function listEnableYear() {
|
||||
return request({
|
||||
'url': '/system/year/listEnableYear',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//申请优秀毕业生
|
||||
export function doApply(data) {
|
||||
return request({
|
||||
'url': '/comprehensive/biyeapply/doApply',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询优秀毕业生详细
|
||||
export function getBiyeapply(id) {
|
||||
return request({
|
||||
url: '/comprehensive/biyeapply/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 优秀毕业生查看专业排名
|
||||
export function ownStuScoreMajorRank(){
|
||||
return request({
|
||||
// comprehensive/biyeapply/getOwnStuScoreMajorRank
|
||||
'url': '/comprehensive/biyeapply/getOwnStuScoreMajorRank',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
22
api/person/person.js
Normal file
22
api/person/person.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function getOwnFamily(){
|
||||
return request({
|
||||
'url': '/comprehensive/member/getOwnFamily',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getOwnInfo(){
|
||||
return request({
|
||||
'url': '/comprehensive/stuInfoView/getOwnInfo',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
// getInfo
|
||||
export function getInfo(){
|
||||
return request({
|
||||
'url': '/comprehensive/stuInfoView/getOwnInfo',
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
42
api/questionnaire/questionnaire.js
Normal file
42
api/questionnaire/questionnaire.js
Normal file
@@ -0,0 +1,42 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询问卷调查列表
|
||||
export function questionnaireList(query) {
|
||||
return request({
|
||||
url: '/comprehensive/release/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
// 查询填写记录列表
|
||||
export function answerList(query) {
|
||||
return request({
|
||||
url: '/comprehensive/answer/list',
|
||||
method: 'get',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
// 填写问卷
|
||||
// export function addAnswer(query) {
|
||||
// return request({
|
||||
// url: '/comprehensive/answer/add',
|
||||
// method: 'post',
|
||||
// data: data
|
||||
// })
|
||||
// }
|
||||
// 更新问卷
|
||||
export function updateAnswer(data) {
|
||||
return request({
|
||||
url: '/comprehensive/answer/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 获取问卷题目
|
||||
export function getQuestionnaire(data) {
|
||||
return request({
|
||||
url: '/comprehensive/answer/getQuestionnaire',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
61
api/rtStuDropOutSchool/rtStuDropOutSchool.js
Normal file
61
api/rtStuDropOutSchool/rtStuDropOutSchool.js
Normal file
@@ -0,0 +1,61 @@
|
||||
import request from '@/utils/request'
|
||||
// 查询学生退学申请记录列表
|
||||
export function listRtStuDropOutSchool(query) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生退学申请记录详细
|
||||
export function getRtStuDropOutSchool(dropOutSchoolId) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/' + dropOutSchoolId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生退学申请记录详细
|
||||
export function getRtStuDropOutSchoolByprocInsId(procInsId) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/getRtStuDropOutSchoolByprocInsId/' + procInsId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学生退学申请记录
|
||||
export function addRtStuDropOutSchool(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 保存学生退学申请记录
|
||||
export function save(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/save',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 修改学生退学申请记录
|
||||
export function updateRtStuDropOutSchool(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学生退学申请记录
|
||||
export function delRtStuDropOutSchool(dropOutSchoolId) {
|
||||
return request({
|
||||
url: '/routine/rtStuDropOutSchool/' + dropOutSchoolId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
69
api/rtStuQuitSchool/rtStuQuitSchool.js
Normal file
69
api/rtStuQuitSchool/rtStuQuitSchool.js
Normal file
@@ -0,0 +1,69 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询休学申请记录列表
|
||||
export function listRtStuQuitSchool(query) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/list',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
// 查询休学申请记录详细
|
||||
export function getRtStuQuitSchool(quitSchoolId) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/' + quitSchoolId,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 获取学生基础信息
|
||||
export function getMyStuInfo() {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/getMyStuInfo',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 根据流程id查询数据
|
||||
export function getRtStuQuitSchoolByProcInsId(procInsId) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/getRtStuQuitSchoolByProcInsId/' + procInsId,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 新增休学申请记录
|
||||
export function addRtStuQuitSchool(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/add',
|
||||
method: 'post',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
// 修改休学申请记录
|
||||
export function updateRtStuQuitSchool(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/update',
|
||||
method: 'post',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
// 保存休学申请记录
|
||||
export function save(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/save',
|
||||
method: 'post',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
// 删除休学申请记录
|
||||
export function delRtStuQuitSchool(quitSchoolId) {
|
||||
return request({
|
||||
url: '/routine/rtStuQuitSchool/' + quitSchoolId,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
61
api/rtStuReentrySchool/rtStuReentrySchool.js
Normal file
61
api/rtStuReentrySchool/rtStuReentrySchool.js
Normal file
@@ -0,0 +1,61 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询复学申请记录列表
|
||||
export function listRtStuReentrySchool(query) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询复学申请记录详细
|
||||
export function getRtStuReentrySchool(reentryId) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/' + reentryId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 根据流程id查询数据
|
||||
export function getRtStuReentrySchoolByProcInsId(procInsId) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/getRtStuReentrySchoolByProcInsId/' + procInsId,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 新增复学申请记录
|
||||
export function addRtStuReentrySchool(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 保存复学申请记录
|
||||
export function save(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/save',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改复学申请记录
|
||||
export function updateRtStuReentrySchool(data) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除复学申请记录
|
||||
export function delRtStuReentrySchool(reentryId) {
|
||||
return request({
|
||||
url: '/routine/rtStuReentrySchool/' + reentryId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
79
api/sur/index.js
Normal file
79
api/sur/index.js
Normal file
@@ -0,0 +1,79 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function getStuCampus() {
|
||||
return request({
|
||||
url: '/survey/itinerary/getStuCampus',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function listOwnReturn(query) {
|
||||
return request({
|
||||
url: '/survey/itinerary/listOwnReturn',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function stuSchoolUpdate(data) {
|
||||
return request({
|
||||
url: '/survey/itinerary/stuSchoolUpdate',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function stuWillReturnUpdate(data) {
|
||||
return request({
|
||||
url: '/survey/itinerary/stuWillReturnUpdate',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function boolStuOwnReturn(id) {
|
||||
return request({
|
||||
url: '/survey/itinerary/boolStuOwnReturn/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
export function stuHomeUpdate(data) {
|
||||
return request({
|
||||
url: '/survey/itinerary/stuHomeUpdate',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function stuGetRecordBySvId(id) {
|
||||
return request({
|
||||
url: '/survey/itinerary/stuGetRecordBySvId/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function stuLeaveApply(data) {
|
||||
return request({
|
||||
url: '/survey/itinerary/stuLeaveApply',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function listStu(query) {
|
||||
return request({
|
||||
url: '/survey/survey/listStu',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getAddr(wd, jd) {
|
||||
return uni.request({
|
||||
method: 'get',
|
||||
url: "https://api.map.baidu.com/reverse_geocoding/v3/?ak=HUWNwlsBGdZk85kkDkfl3MCYVEqaTey1&output=json&coordtype=wgs84ll&location=" +
|
||||
wd + "," + jd
|
||||
});
|
||||
}
|
||||
77
api/system/dept.js
Normal file
77
api/system/dept.js
Normal file
@@ -0,0 +1,77 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询无权限的部门列表
|
||||
export function noAuthList(query) {
|
||||
return request({
|
||||
url: '/system/dept/noAuthList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询部门列表
|
||||
export function listDept(query) {
|
||||
return request({
|
||||
url: '/system/dept/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学院名称
|
||||
export function getDeptName() {
|
||||
return request({
|
||||
url: '/system/dept/name',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询部门列表(排除指定节点)
|
||||
export function listDeptExcludeChild(deptId) {
|
||||
return request({
|
||||
url: `/system/dept/list/exclude/${deptId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询部门详细信息
|
||||
export function getDept(deptId) {
|
||||
return request({
|
||||
url: `/system/dept/${deptId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增部门
|
||||
export function addDept(data) {
|
||||
return request({
|
||||
url: '/system/dept',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改部门信息
|
||||
export function updateDept(data) {
|
||||
return request({
|
||||
url: '/system/dept/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除部门
|
||||
export function delDept(deptId) {
|
||||
return request({
|
||||
url: `/system/dept/delete/${deptId}`,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询行政架构下的部门数据
|
||||
export function getXZJGDept(deptId) {
|
||||
return request({
|
||||
url: '/system/dept/getXZJGDept',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
27
api/system/dict/data.js
Normal file
27
api/system/dict/data.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询字典数据列表
|
||||
export function listData(query) {
|
||||
return request({
|
||||
'url': 'system/dict/data/list',
|
||||
'method': 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询字典数据详细
|
||||
export function getData(dictCode) {
|
||||
return request({
|
||||
'url': '/system/dict/data/'+ dictCode,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 根据字典类型查询字典数据信息
|
||||
export function getDicts(dictType) {
|
||||
return request({
|
||||
'url': '/system/dict/data/type/'+ dictType,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
19
api/system/dict/type.js
Normal file
19
api/system/dict/type.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询字典类型列表
|
||||
export function listType(query) {
|
||||
return request({
|
||||
'url': '/system/dict/type/list',
|
||||
'method': 'get',
|
||||
query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询字典类型详细
|
||||
export function getType(dictId) {
|
||||
return request({
|
||||
'url': '/system/dict/type/'+ dictId,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
41
api/system/user.js
Normal file
41
api/system/user.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import upload from '@/utils/upload'
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 用户密码重置
|
||||
export function updateUserPwd(oldPassword, newPassword) {
|
||||
const data = {
|
||||
oldPassword,
|
||||
newPassword
|
||||
}
|
||||
return request({
|
||||
url: '/system/user/profile/updatePwd',
|
||||
method: 'put',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询用户个人信息
|
||||
export function getUserProfile() {
|
||||
return request({
|
||||
url: '/system/user/profile',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 修改用户个人信息
|
||||
export function updateUserProfile(data) {
|
||||
return request({
|
||||
url: '/system/user/profile',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 用户头像上传
|
||||
export function uploadAvatar(data) {
|
||||
return upload({
|
||||
url: '/system/user/profile/avatar',
|
||||
name: data.name,
|
||||
filePath: data.filePath
|
||||
})
|
||||
}
|
||||
105
api/task.js
Normal file
105
api/task.js
Normal file
@@ -0,0 +1,105 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function myProcess(data){
|
||||
return request({
|
||||
'url': '/flowable/task/myProcess',
|
||||
'method': 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function todoList(data){
|
||||
return request({
|
||||
'url': '/flowable/task/todoList',
|
||||
'method': 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function finishedList(data){
|
||||
return request({
|
||||
'url': '/flowable/task/finishedList',
|
||||
'method': 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function flowRecord(data){
|
||||
return request({
|
||||
'url': '/flowable/task/flowRecord',
|
||||
'method': 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function complete(data){
|
||||
return request({
|
||||
'url': '/flowable/task/complete',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
export function reject(data){
|
||||
return request({
|
||||
'url': '/flowable/task/reject',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
export function stopProcess(data){
|
||||
return request({
|
||||
'url': '/flowable/task/stopProcess',
|
||||
'method': 'post',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
// 根据流程id查询请假表单
|
||||
export function getLeaveApplicationByProcInsId(data){
|
||||
return request({
|
||||
'url': '/routine/leaveApplication/getLeaveApplicationByProcInsId/'+data,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
// 根据流程id查询处分表单
|
||||
export function getDisciplinaryApplicationByProcInsId(data){
|
||||
return request({
|
||||
'url': '/routine/disciplinaryApplication/getDisciplinaryApplicationByProcInsId/'+data,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
// 根据流程id查询学生学生解除申请详细
|
||||
export function getStuDisciplinaryRelieveByProcInsId(data) {
|
||||
return request({
|
||||
'url': '/routine/relieve/getStuDisciplinaryRelieveByProcInsId/'+data,
|
||||
'method': 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//任务管理 // 处理
|
||||
// 如果已取消(已完成)不显示 取消申请按钮
|
||||
// 学生角色进入 请假详情页面 可以修改,再次提交(修改表单 update,类似add的字段,
|
||||
// 再次提交到辅导员 /task/complete) 只显示重新提交按钮
|
||||
// 修改学生处分申请
|
||||
export function updateDisciplinaryApplication(data) {
|
||||
return request({
|
||||
url: '/routine/disciplinaryApplication/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 退回任务
|
||||
export function returnTask(data) {
|
||||
return request({
|
||||
url: '/flowable/task/return',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 可退回任务列表
|
||||
export function returnList(data) {
|
||||
return request({
|
||||
url: '/flowable/task/returnList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
97
api/workStudy/change.js
Normal file
97
api/workStudy/change.js
Normal file
@@ -0,0 +1,97 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
//资助办待审核修改人数列表
|
||||
export function listHigh(query) {
|
||||
return request({
|
||||
url: '/workstudy/change/listHigh',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doAudit(data) {
|
||||
return request(({
|
||||
url: '/workstudy/change/doAudit',
|
||||
method: 'post',
|
||||
data
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
//部门待审核修改人数列表
|
||||
export function listDept(query) {
|
||||
return request({
|
||||
url: '/workstudy/change/listDept',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//取消修改申请
|
||||
export function cancelChange(id) {
|
||||
return request({
|
||||
url: '/workstudy/change/cancelChange/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
//学务列出自己的修改设岗人数申请列表
|
||||
export function listOwnChange(query) {
|
||||
return request({
|
||||
url: '/workstudy/change/listOwnChange',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doChange(data) {
|
||||
return request(({
|
||||
url: '/workstudy/change/doChange',
|
||||
method: 'post',
|
||||
data
|
||||
}))
|
||||
}
|
||||
|
||||
// 查询勤工助学岗位修改人数列表
|
||||
export function listChange(query) {
|
||||
return request({
|
||||
url: '/workstudy/change/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学岗位修改人数详细
|
||||
export function getChange(id) {
|
||||
return request({
|
||||
url: '/workstudy/change/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增勤工助学岗位修改人数
|
||||
export function addChange(data) {
|
||||
return request({
|
||||
url: '/workstudy/change/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改勤工助学岗位修改人数
|
||||
export function updateChange(data) {
|
||||
return request({
|
||||
url: '/workstudy/change/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除勤工助学岗位修改人数
|
||||
export function delChange(id) {
|
||||
return request({
|
||||
url: '/workstudy/change/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
278
api/workStudy/money.js
Normal file
278
api/workStudy/money.js
Normal file
@@ -0,0 +1,278 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function checkDeptAll(params){
|
||||
return request({
|
||||
url: '/workstudy/money/checkDeptAll',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function delMoneyExtra(id){
|
||||
return request({
|
||||
url: '/workstudy/money/delMoneyExtra/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function addMoneyExtra(data){
|
||||
return request({
|
||||
url: '/workstudy/money/addMoneyExtra',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function zzbOneClickAudit(){
|
||||
return request({
|
||||
url: '/workstudy/money/zzbOneClickAudit',
|
||||
method: 'post'
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
export function oneClickAudit(){
|
||||
return request({
|
||||
url: '/workstudy/money/oneClickAudit',
|
||||
method: 'post'
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
export function zzbldEdit(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/zzbldEdit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function zzbldAdd(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/zzbldAdd',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doReply(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/doReply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listCount() {
|
||||
return request({
|
||||
url: '/workstudy/money/listCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function finalDeptAuditUnPass(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/finalDeptAuditUnPass',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function finalDeptAuditPass(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/finalDeptAuditPass',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function highDeptAuditUnPass(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/highDeptAuditUnPass',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function highDeptAuditPass(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/highDeptAuditPass',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function listFinalAuditByDept() {
|
||||
return request({
|
||||
url: '/workstudy/money/listFinalAuditByDept',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listHighAuditByDept() {
|
||||
return request({
|
||||
url: '/workstudy/money/listHighAuditByDept',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
//批量填报
|
||||
export function doMany(stuPostIds,month) {
|
||||
return request({
|
||||
url: '/workstudy/money/doMany',
|
||||
method: 'post',
|
||||
data:{
|
||||
stuPostIds,month
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
export function countUnMoney() {
|
||||
return request({
|
||||
url: '/workstudy/money/countUnMoney',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function manyAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/manyAudit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function listStu(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listStu',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listFinal(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listFinal',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listHigh(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listHigh',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listDeptAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listDeptAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/doAudit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listDept(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listDept',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function cancelApply(id) {
|
||||
return request({
|
||||
url: '/workstudy/money/cancelApply/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function listOwnApply(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/listOwnApply',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doApply(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/doApply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学薪资填报列表
|
||||
export function listMoney(query) {
|
||||
return request({
|
||||
url: '/workstudy/money/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学薪资填报详细
|
||||
export function getMoney(id) {
|
||||
return request({
|
||||
url: '/workstudy/money/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增勤工助学薪资填报
|
||||
export function addMoney(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改勤工助学薪资填报
|
||||
export function updateMoney(data) {
|
||||
return request({
|
||||
url: '/workstudy/money/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除勤工助学薪资填报
|
||||
export function delMoney(id) {
|
||||
return request({
|
||||
url: '/workstudy/money/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
195
api/workStudy/post.js
Normal file
195
api/workStudy/post.js
Normal file
@@ -0,0 +1,195 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function countDeptUnTodo() {
|
||||
return request({
|
||||
url: "/workstudy/post/countDeptUnTodo"
|
||||
})
|
||||
}
|
||||
|
||||
export function countFdyUnTodo() {
|
||||
return request({
|
||||
url: "/workstudy/post/countFdyUnTodo"
|
||||
})
|
||||
}
|
||||
|
||||
export function countZdlsUnTodo() {
|
||||
return request({
|
||||
url: "/workstudy/post/countZdlsUnTodo"
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function countZzbUnTodo() {
|
||||
return request({
|
||||
url: "/workstudy/post/countZzbUnTodo"
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function countZzbldUnTodo() {
|
||||
return request({
|
||||
url: "/workstudy/post/countZzbldUnTodo"
|
||||
})
|
||||
}
|
||||
|
||||
export function doReply(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/doReply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function manyAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/manyAudit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function stuGetPost(id) {
|
||||
return request({
|
||||
url: '/workstudy/post/stuGetInfo/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function listHall(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/listHall',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listHighAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/listHighAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listHigh(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/listHigh',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function listDeptAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/listDeptAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/doAudit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function getOwnSign() {
|
||||
return request({
|
||||
method: 'GET',
|
||||
url: '/workstudy/post/getOwnSign'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listDept(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/listDept',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function cancelApply(id) {
|
||||
return request({
|
||||
url: '/workstudy/post/cancelApply/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listOwnApply(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/listOwnApply',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doApply(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/doApply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doSave(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/doSave',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学岗位列表
|
||||
export function listPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/post/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学岗位详细
|
||||
export function getPost(id) {
|
||||
return request({
|
||||
url: '/workstudy/post/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增勤工助学岗位
|
||||
export function addPost(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改勤工助学岗位
|
||||
export function updatePost(data) {
|
||||
return request({
|
||||
url: '/workstudy/post/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除勤工助学岗位
|
||||
export function delPost(id) {
|
||||
return request({
|
||||
url: '/workstudy/post/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
216
api/workStudy/stuPost.js
Normal file
216
api/workStudy/stuPost.js
Normal file
@@ -0,0 +1,216 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function getStuFdyName(stuNo){
|
||||
return request({
|
||||
url: '/workstudy/stuPost/getStuFdyName/'+stuNo,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getOwnFdyName(){
|
||||
return request({
|
||||
url: '/workstudy/stuPost/getOwnFdyName',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doReply(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/doReply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//通过岗位id查询学生在岗数
|
||||
export function countStuPostInByPostId(id) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/countStuPostInByPostId/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doQuit(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/doQuit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function listAllCanSelectPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listAllCanSelectPost',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listTeacherCanSelectPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listTeacherCanSelectPost',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listOwnCanSelectPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listOwnCanSelectPost',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listZdlsAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listZdlsAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listFdyAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listFdyAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listZzbldAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listZzbldAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/doAudit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function manyAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/manyAudit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listZdls(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listZdls',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listFdy(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listFdy',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listZzbld(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listZzbld',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function cancelApply(id) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/cancelApply/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listOwnApply(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listOwnApply',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doApply(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/doApply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function doSave(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/doSave',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生岗位列表
|
||||
export function listStuPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生岗位列表
|
||||
export function getListStuPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/getList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询学生岗位详细
|
||||
export function getStuPost(id) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学生岗位
|
||||
export function addStuPost(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生岗位
|
||||
export function updateStuPost(data) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学生岗位
|
||||
export function delStuPost(id) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
40
api/workStudy/workStudy.js
Normal file
40
api/workStudy/workStudy.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function listOwnApply(query) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/listOwnApply',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doApply(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/doApply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function cancelApply(id) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/cancelApply/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function computeTimeByStuNo() {
|
||||
return request({
|
||||
url: '/workstudy/worklog/computeTimeByStuNo',
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
// 学生能选择的勤工助学的岗位
|
||||
export function listOwnCanSelectPost(query) {
|
||||
return request({
|
||||
url: '/workstudy/stuPost/listOwnCanSelectPost',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
160
api/workStudy/worklog.js
Normal file
160
api/workStudy/worklog.js
Normal file
@@ -0,0 +1,160 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function computeTime(data){
|
||||
return request({
|
||||
url: '/workstudy/worklog/computeTime',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function cancelLog(id) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/cancelLog/' + id,
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
|
||||
export function listView(params) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/listView',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function listWorkLogMonthTotal(params) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/listWorkLogMonthTotal',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function manyAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/manyAudit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function computeTimeByStuNo() {
|
||||
return request({
|
||||
url: '/workstudy/worklog/computeTimeByStuNo',
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function computeTimeById(id) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/computeTimeById/' + id,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function listZdlsAll(query) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/listZdlsAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function doAudit(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/doAudit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listZdls(query) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/listZdls',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function cancelApply(id) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/cancelApply/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listOwnApply(query) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/listOwnApply',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function doApply(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/doApply',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function doSave(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/doSave',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学工作记录列表
|
||||
export function listWorklog(query) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询勤工助学工作记录详细
|
||||
export function getWorklog(id) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增勤工助学工作记录
|
||||
export function addWorklog(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改勤工助学工作记录
|
||||
export function updateWorklog(data) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除勤工助学工作记录
|
||||
export function delWorklog(id) {
|
||||
return request({
|
||||
url: '/workstudy/worklog/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user