Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1f72cf51
authored
Mar 17, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除,结束sop
1 parent
de66e4f4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
src/api/modules/sop.js
src/views/sop/index.vue
src/views/sop/sopList.vue
src/api/modules/sop.js
View file @
1f72cf5
...
@@ -77,6 +77,30 @@ const parseEventCountApi = params => {
...
@@ -77,6 +77,30 @@ const parseEventCountApi = params => {
})
})
}
}
// 删除sop事件
const
deleteSopEventApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopInfo.delete'
return
http
({
url
:
'rop-scrm-sop/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 结束sop事件
const
endSopEventApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopInfo.updateEndStatus'
return
http
({
url
:
'rop-scrm-sop/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 事件进行中,修改sop事件列表
// 事件进行中,修改sop事件列表
const
insertOrUpdateSopEventApi
=
params
=>
{
const
insertOrUpdateSopEventApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopEvent.insertOrUpdate'
params
.
method
=
'scrm.api.sop.sopEvent.insertOrUpdate'
...
@@ -111,4 +135,4 @@ const getSopInfoDetailApi = params => {
...
@@ -111,4 +135,4 @@ const getSopInfoDetailApi = params => {
})
})
}
}
export
default
{
getCustomerByTagListApi
,
getSopInfoListApi
,
getSopBaseInfoApi
,
getEventListApi
,
getSopCustomerStatisticsListApi
,
getSopStaffTaskListApi
,
parseEventCountApi
,
insertOrUpdateSopEventApi
,
insertOrUpdateSopApi
,
getSopInfoDetailApi
}
export
default
{
getCustomerByTagListApi
,
getSopInfoListApi
,
getSopBaseInfoApi
,
getEventListApi
,
getSopCustomerStatisticsListApi
,
getSopStaffTaskListApi
,
parseEventCountApi
,
deleteSopEventApi
,
endSopEventApi
,
insertOrUpdateSopEventApi
,
insertOrUpdateSopApi
,
getSopInfoDetailApi
}
src/views/sop/index.vue
View file @
1f72cf5
...
@@ -192,7 +192,7 @@ export default {
...
@@ -192,7 +192,7 @@ export default {
// 结束
// 结束
handleEnd
(
row
)
{
handleEnd
(
row
)
{
this
.
secondConfirm
(
'结束'
,
'结束sop后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?'
,
'
zoneList'
,
'deleteZoneApi'
,
{
i
d
:
row
.
id
})
this
.
secondConfirm
(
'结束'
,
'结束sop后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?'
,
'
sop'
,
'endSopEventApi'
,
{
sopI
d
:
row
.
id
})
},
},
// 1-新增;2-编辑
// 1-新增;2-编辑
...
...
src/views/sop/sopList.vue
View file @
1f72cf5
...
@@ -193,11 +193,11 @@ export default {
...
@@ -193,11 +193,11 @@ export default {
// 结束
// 结束
handleEnd
(
row
)
{
handleEnd
(
row
)
{
this
.
secondConfirm
(
'结束'
,
'结束sop后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?'
,
'
zoneList'
,
'deleteZoneApi'
,
{
i
d
:
row
.
id
})
this
.
secondConfirm
(
'结束'
,
'结束sop后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?'
,
'
sop'
,
'endSopEventApi'
,
{
sopI
d
:
row
.
id
})
},
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
secondConfirm
(
'删除'
,
'sop删除后,不可恢复。是否确定删除?'
,
'
proManage'
,
'deleteZoneApi'
,
{
i
d
:
row
.
id
})
this
.
secondConfirm
(
'删除'
,
'sop删除后,不可恢复。是否确定删除?'
,
'
sop'
,
'deleteSopEventApi'
,
{
sopI
d
:
row
.
id
})
},
},
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment