wjt
2024-07-23 c3b2d6d35b77d11ff86d45926501493b7fc8886e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 }});
}