xinelu-applet-ui/api/pagesC/Onlinesigning/index.js

48 lines
843 B
JavaScript
Raw Normal View History

2023-10-12 09:47:40 +08:00
import request from "@/api/request.js"
// 获取区划列表
2023-10-16 11:21:27 +08:00
export function arealist(pid) {
2023-10-12 09:47:40 +08:00
return request({
url: `/applet/signinfo/area/list/${pid}`,
method: 'get',
header: {
2023-10-16 10:08:17 +08:00
region: uni.getStorageSync('region'),
2023-10-12 09:47:40 +08:00
}
})
}
//提交签约
2023-10-16 11:21:27 +08:00
export function applysave(data) {
2023-10-12 09:47:40 +08:00
return request({
url: `/applet/sign/apply/save`,
method: 'post',
data: data,
header: {
2023-10-16 10:08:17 +08:00
region: uni.getStorageSync('region'),
2023-10-12 09:47:40 +08:00
}
})
}
//人群
2023-10-16 11:21:27 +08:00
export function getCrowd(identity) {
2023-10-12 09:47:40 +08:00
return request({
url: `/applet/signinfo/getCrowd/${identity}`,
method: 'get',
header: {
2023-10-16 10:08:17 +08:00
region: uni.getStorageSync('region'),
2023-10-12 09:47:40 +08:00
}
})
}
//服务包
2023-10-16 11:21:27 +08:00
export function getPackageByCrowdNo(data) {
2023-10-12 09:47:40 +08:00
return request({
url: `/applet/signinfo/getPackageByCrowdNo`,
method: 'post',
data: data,
header: {
2023-10-16 10:08:17 +08:00
region: uni.getStorageSync('region'),
2023-10-12 09:47:40 +08:00
}
})
2023-10-16 11:21:27 +08:00
}