Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
be0a8d15
Commit
be0a8d15
authored
Jun 04, 2022
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 添加客户投诉
parent
527f8dd6
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
416 additions
and
1 deletion
+416
-1
customerComplaint.js
src/api/ecw/customerComplaint.js
+54
-0
customerComplaintFollow.js
src/api/ecw/customerComplaintFollow.js
+54
-0
dict.js
src/utils/dict.js
+3
-1
index.vue
src/views/ecw/customerComplaint/index.vue
+305
-0
No files found.
src/api/ecw/customerComplaint.js
0 → 100644
View file @
be0a8d15
import
request
from
'
@/utils/request
'
// 创建客户投诉
export
function
createCustomerComplaint
(
data
)
{
return
request
({
url
:
'
/ecw/customer-complaint/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新客户投诉
export
function
updateCustomerComplaint
(
data
)
{
return
request
({
url
:
'
/ecw/customer-complaint/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除客户投诉
export
function
deleteCustomerComplaint
(
id
)
{
return
request
({
url
:
'
/ecw/customer-complaint/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得客户投诉
export
function
getCustomerComplaint
(
id
)
{
return
request
({
url
:
'
/ecw/customer-complaint/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得客户投诉分页
export
function
getCustomerComplaintPage
(
query
)
{
return
request
({
url
:
'
/ecw/customer-complaint/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出客户投诉 Excel
export
function
exportCustomerComplaintExcel
(
query
)
{
return
request
({
url
:
'
/ecw/customer-complaint/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/api/ecw/customerComplaintFollow.js
0 → 100644
View file @
be0a8d15
import
request
from
'
@/utils/request
'
// 创建客户投诉跟进
export
function
createCustomerComplaintFollow
(
data
)
{
return
request
({
url
:
'
/ecw/customer-complaint-follow/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新客户投诉跟进
export
function
updateCustomerComplaintFollow
(
data
)
{
return
request
({
url
:
'
/ecw/customer-complaint-follow/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除客户投诉跟进
export
function
deleteCustomerComplaintFollow
(
id
)
{
return
request
({
url
:
'
/ecw/customer-complaint-follow/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得客户投诉跟进
export
function
getCustomerComplaintFollow
(
id
)
{
return
request
({
url
:
'
/ecw/customer-complaint-follow/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得客户投诉跟进分页
export
function
getCustomerComplaintFollowPage
(
query
)
{
return
request
({
url
:
'
/ecw/customer-complaint-follow/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出客户投诉跟进 Excel
export
function
exportCustomerComplaintFollowExcel
(
query
)
{
return
request
({
url
:
'
/ecw/customer-complaint-follow/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/utils/dict.js
View file @
be0a8d15
...
@@ -70,7 +70,9 @@ export const DICT_TYPE = {
...
@@ -70,7 +70,9 @@ export const DICT_TYPE = {
CUSTOMER_SOURCE
:
'
customer_source
'
,
CUSTOMER_SOURCE
:
'
customer_source
'
,
CUSTOMER_BALANCE
:
'
customer_balance
'
,
CUSTOMER_BALANCE
:
'
customer_balance
'
,
CUSTOMER_TYPE
:
'
customer_type
'
,
CUSTOMER_TYPE
:
'
customer_type
'
,
CUSTOMER_LEVEL
:
'
customer_level
'
CUSTOMER_LEVEL
:
'
customer_level
'
,
CUSTOMER_COMPLAINT_TYPE
:
'
customer_complaint_type
'
,
CUSTOMER_COMPLAINT_STATUS
:
'
customer_complaint_status
'
}
}
...
...
src/views/ecw/customerComplaint/index.vue
0 → 100644
View file @
be0a8d15
This diff is collapsed.
Click to expand it.
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