智慧教务系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

82 lines
1.4 KiB

import http from '../common/axios.js'
//通用接口
export default {
//获取地区属性结构列表
getAreaTree(data={}) {
let url = '/area/getAreaTree'
return http.get(url,data).then(res => {
return res;
})
},
//获取字典数据
getDictionary(data) {
let url = `/member/dictionary/type/${data}`
return http.get(url,data).then(res => {
return res;
})
},
//获取联系人列表
getContactList(data) {
let url = `/member/contact_list`
return http.get(url,data).then(res => {
return res;
})
},
//获取消息列表
getContactMessage(data) {
let url = `/member/contact_message`
return http.get(url,data).then(res => {
return res;
})
},
//发送站内信
sendMessage(data) {
let url = `/member/send_message`
return http.get(url,data).then(res => {
return res;
})
},
//获取课程头日期
getDate(data) {
let url = '/member/get_date'
return http.get(url, data).then(res => {
return res;
})
},
//获取课表日历打点信息
getMonthDate(data) {
let url = `/member/get_month_date`
return http.get(url,data).then(res => {
return res;
})
},
//考勤列表 --分页
clockingList(data) {
let url = `/member/clocking_list`
return http.get(url, data).then(res => {
return res;
})
},
//考勤-请假
clockingRest(data) {
let url = `/member/clocking_rest`
return http.get(url, data).then(res => {
return res;
})
},
}