import Vue from 'vue';
|
const http = Vue.prototype.$u
|
export function loginToken(data){
|
return http.post('/app/loginWx', data, { custom: { loading: true }});
|
}
|
// 虚拟登录 /app/loginNoPass
|
export function loginNoPass(data) {
|
return http.post('/app/loginNoPass', data, { custom: { loading: true }});
|
}
|
// 机构 system/user/deptTree
|
export function deptTreeFour(data) {
|
return http.get('/system/user/deptTreeFour', data, { custom: { loading: true }});
|
}
|
export function deptTree(data) {
|
return http.get('/system/user/deptTree', data, { custom: { loading: true }});
|
}
|
// 获取
|
export function statistics(data) {
|
return http.get('/app/user/member/statistics', data, { custom: { loading: true }});
|
}
|
//
|
export function dataList(data,vm) {
|
return http.get('/system/data/list', {dictType:data,status:0}, { custom: { loading: true }});
|
}
|
// 获取详情 /app/user/member/getInfo
|
export function getInfo(data) {
|
return http.get('/app/user/member/getInfo', data, { custom: { loading: true }});
|
}
|
//
|
export function typeNeed(data) {
|
return http.get('/system/dict/data/type/business_need_type', data, { custom: { loading: true }});
|
}
|
// 新增协同接口
|
export function addBusinessTransOrder(data) {
|
return http.post('/app/business/addBusinessTransOrder', data, { custom: { loading: true }});
|
}
|
// 获取用户登录详情 getInfo
|
export function getLoginUserInfo(data) {
|
return http.get('/getInfo', data, { custom: { loading: true }});
|
}
|
|
export function loginpass(data) {
|
return http.post('/login', data, { custom: { loading: true }});
|
}
|