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
dc743a15
Commit
dc743a15
authored
Jun 08, 2022
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 添加在线留言
parent
b4d3532c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
350 additions
and
1 deletion
+350
-1
messageLeave.js
src/api/ecw/messageLeave.js
+63
-0
dict.js
src/utils/dict.js
+3
-1
index.vue
src/views/ecw/messageLeave/index.vue
+284
-0
No files found.
src/api/ecw/messageLeave.js
0 → 100644
View file @
dc743a15
import
request
from
'
@/utils/request
'
// 创建留言
export
function
createMessageLeave
(
data
)
{
return
request
({
url
:
'
/ecw/message-leave/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 回复留言
export
function
replyMessageLeave
(
data
)
{
return
request
({
url
:
'
/ecw/message-leave/reply
'
,
method
:
'
put
'
,
data
:
data
})
}
// 编辑留言的回复
export
function
updateReply
(
data
)
{
return
request
({
url
:
'
/ecw/message-leave/updateReply
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除留言
export
function
deleteMessageLeave
(
id
)
{
return
request
({
url
:
'
/ecw/message-leave/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得留言
export
function
getMessageLeave
(
id
)
{
return
request
({
url
:
'
/ecw/message-leave/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得留言分页
export
function
getMessageLeavePage
(
query
)
{
return
request
({
url
:
'
/ecw/message-leave/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出留言 Excel
export
function
exportMessageLeaveExcel
(
query
)
{
return
request
({
url
:
'
/ecw/message-leave/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/utils/dict.js
View file @
dc743a15
...
...
@@ -75,7 +75,9 @@ export const DICT_TYPE = {
CUSTOMER_TYPE
:
'
customer_type
'
,
CUSTOMER_LEVEL
:
'
customer_level
'
,
CUSTOMER_COMPLAINT_TYPE
:
'
customer_complaint_type
'
,
CUSTOMER_COMPLAINT_STATUS
:
'
customer_complaint_status
'
CUSTOMER_COMPLAINT_STATUS
:
'
customer_complaint_status
'
,
ECW_MESSAGE_LEAVE_TYPE
:
'
ecw_message_leave_type
'
,
ECW_MESSAGE_LEAVE_STATUS
:
'
ecw_message_leave_status
'
}
...
...
src/views/ecw/messageLeave/index.vue
0 → 100644
View file @
dc743a15
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