47 lines
782 B
JavaScript
47 lines
782 B
JavaScript
import request from "@/api/request.js"
|
|
|
|
// 获取区划列表
|
|
export function arealist(pid, region) {
|
|
return request({
|
|
url: `/applet/signinfo/area/list/${pid}`,
|
|
method: 'get',
|
|
header: {
|
|
region: region
|
|
}
|
|
})
|
|
}
|
|
|
|
//提交签约
|
|
export function applysave(data, region) {
|
|
return request({
|
|
url: `/applet/sign/apply/save`,
|
|
method: 'post',
|
|
data: data,
|
|
header: {
|
|
region: region
|
|
}
|
|
})
|
|
}
|
|
|
|
//人群
|
|
export function getCrowd(identity, region) {
|
|
return request({
|
|
url: `/applet/signinfo/getCrowd/${identity}`,
|
|
method: 'get',
|
|
header: {
|
|
region: region
|
|
}
|
|
})
|
|
}
|
|
|
|
//服务包
|
|
export function getPackageByCrowdNo(data, region) {
|
|
return request({
|
|
url: `/applet/signinfo/getPackageByCrowdNo`,
|
|
method: 'post',
|
|
data: data,
|
|
header: {
|
|
region: region
|
|
}
|
|
})
|
|
} |