import Vue from 'vue';
|
import { config } from '@/common/config.js'
|
const http = uni.$u.http
|
// 惠企政策
|
export function docList(data){
|
return http.get('/system/doc/list', {params: data}, { custom: { loading: true }});
|
}
|
// 信息公示
|
export function showList(data){
|
return http.get('/enforce/order/showList', {params: data}, { custom: { loading: true }});
|
}
|
// 惠企政策详情
|
export function doc(id){
|
return http.get('/system/doc/'+id, { custom: { loading: true }});
|
}
|
// 信息公示
|
export function order(id){
|
return http.get('/enforce/order/'+id, { custom: { loading: true }});
|
}
|
// 企业注册
|
export function companyRegister(data) {
|
return http.post('/system/company/add', {params: data}, { custom: { loading: true }});
|
}
|
// /system/dept/list
|
export function deptList(data) {
|
return http.get('/system/dept/allList', {params: data}, { custom: { loading: true }});
|
}
|
// /enforce/company/log/add
|
export function addLog(data) {
|
return http.post('/enforce/company/log/add', data, { custom: { loading: true }});
|
}
|
// enforce/complaint/log/add
|
export function complaintAdd(data) {
|
return http.post('/enforce/complaint/log/add', data, { custom: { loading: true }});
|
}
|