Commit a27c4cc1 authored by 罗超's avatar 罗超

1

parent 633acdc0
......@@ -48,6 +48,22 @@ class customerService {
data
})
}
// 获取客户线索配置
static async getCustomerClueRuleConfig(data: any): Promise<HttpResponse> {
return Axios('/QYCustomer/GetCustomerClueRuleConfig', {
method: 'post',
responseType: 'json',
data
})
}
// 设置客户线索配置
static async setCustomerClueRuleConfig(data: any): Promise<HttpResponse> {
return Axios('/QYCustomer/SetCustomerClueRuleConfig', {
method: 'post',
responseType: 'json',
data
})
}
// 获取客户线索规则列表
static async getCustomerClueRuleList(data: any): Promise<HttpResponse> {
return Axios('/QYCustomer/GetCustomerClueRuleList', {
......@@ -64,6 +80,22 @@ class customerService {
data
})
}
// 新增修改线索规则
static async setCustomerClueRuleInfo(data: any): Promise<HttpResponse> {
return Axios('/QYCustomer/SetCustomerClueRuleInfo', {
method: 'post',
responseType: 'json',
data
})
}
// 设置线索规则状态
static async setCustomerClueRuleState(data: any): Promise<HttpResponse> {
return Axios('/QYCustomer/SetCustomerClueRuleState', {
method: 'post',
responseType: 'json',
data
})
}
// 获取客户阶段列表
static async getCustomerStageList(data: any): Promise<HttpResponse> {
return Axios('/QYCustomer/GetCustomerStageList', {
......@@ -137,7 +169,7 @@ class customerService {
})
}
// 验证阶段输单/无效的 原因选项是否可以删除
static async setCustomerStageInfo(data: { Id: number; Type: number ,Name:string,Sort:number,OptionsList:Array<IdName>,IsDefault:number}): Promise<HttpResponse> {
static async setCustomerStageInfo(data: { Id: number; Type: number; Name: string; Sort: number; OptionsList: Array<IdName>; IsDefault: number }): Promise<HttpResponse> {
return Axios('/QYCustomer/SetCustomerStageInfo', {
method: 'post',
responseType: 'json',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment