Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
向伟
horse
Commits
a27c4cc1
Commit
a27c4cc1
authored
Nov 22, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
633acdc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
customer.ts
src/api/customer.ts
+33
-1
No files found.
src/api/customer.ts
View file @
a27c4cc1
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment