Mr.Zhang
2023-08-17 b32971b510810d697481bc677249d100de007059
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
const http = uni.$u.http
// 登录
export function coustomLogin(params) {
    return http.get('/wechat/ordinaryLogin', {params})
}
// 微信授权
export function wxEmpower(params) {
    return http.get('/wechat/wxEmpower', {params})
}
// 分页查询项目信息
export function projectPage(data) {
    return http.post('/wechat/project/page', data)
}
 
// 根据项目id分页查询企业报名数据
export function getPageByProjectId(data) {
    return http.post('/wechat/getPageByProjectId', data)
}
 
// 根据ID查询报名详情
export function declaresDetail(id) {
    return http.get(`/wechat/declares/${id}`)
}
 
// 根据ID查询报名详情
export function companyDetail(params) {
    return http.get(`/wechat/company/queryDetail`, { params })
}
 
 
// 根据项目id分页查询企业报名数据
export function serviceDetail(data) {
    return http.post('/wechat/declares/serviceDetail', data)
}
 
// 根据经纬度逆解析地址
export function getAddrByLatAndLng(params) {
    return http.get(`/wechat/getAddrByLatAndLng`, { params })
}
 
// 根据申报编码查询最后一次核查或诊断数据
export function declareService({id, type}) {
    return http.post(`/wechat/declareService/${id}?type=${type}`)
}
 
// 上传核查资料-上传服务资料
export function uploadHCData(data) {
    return http.post(`/wechat/uploadHCData`, data)
}
 
// 退出登录
export function logout() {
    return http.get(`/wechat/logout`)
}
 
// 根据申报id查看申报进度
export function getDeclareHistoryList(data) {
    return http.post(`/wechat/getDeclareHistoryList`, data)
}