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 3adda9d6
authored
Mar 18, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sop编辑
1 parent
a457fe13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
src/api/modules/sop.js
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/components/nicknameModel.vue
src/api/modules/sop.js
View file @
3adda9d
...
...
@@ -66,6 +66,17 @@ const getSopStaffTaskListApi = params => {
})
}
// 校验当前商户的企微群发任务情况
const
getTaskStatusApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.task.merchantWWMsgTaskStatusCheck'
return
http
({
url
:
'rop-scrm-sop/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// sop营销事件次数分析
const
parseEventCountApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopEvent.parseEventCount'
...
...
@@ -180,4 +191,4 @@ const getMomentListApi = params => {
})
}
export
default
{
getCustomerByTagListApi
,
getSopInfoListApi
,
getSopBaseInfoApi
,
getEventListApi
,
getSopCustomerStatisticsListApi
,
getSopStaffTaskListApi
,
parseEventCountApi
,
deleteSopEventApi
,
endSopEventApi
,
batchEditSopEventApi
,
insertOrUpdateSopApi
,
getSopInfoDetailApi
,
getGroupListApi
,
getMaterialListApi
,
getMomentListApi
}
export
default
{
getCustomerByTagListApi
,
getSopInfoListApi
,
getSopBaseInfoApi
,
getEventListApi
,
getSopCustomerStatisticsListApi
,
getSopStaffTaskListApi
,
getTaskStatusApi
,
parseEventCountApi
,
deleteSopEventApi
,
endSopEventApi
,
batchEditSopEventApi
,
insertOrUpdateSopApi
,
getSopInfoDetailApi
,
getGroupListApi
,
getMaterialListApi
,
getMomentListApi
}
src/views/sop/editSop/baseInfo.vue
View file @
3adda9d
...
...
@@ -5,6 +5,11 @@
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"startDate"
>
<div
v-show=
"editForm.eventList.length"
>
{{
editForm
.
startDate
}}
<span
v-show=
"editForm.endDate"
>
-
{{
editForm
.
endDate
}}
</span>
</div>
</div>
<div
slot=
"customerInfoList"
slot-scope=
"scope"
>
<div
v-if=
"!scope.scope.isDisabled"
>
<el-button
class=
"default-blue-btn"
:size=
"size"
@
click=
"handleSelectCustomer"
>
选择客户
</el-button>
...
...
@@ -95,7 +100,9 @@ export default {
tagging
:
[],
editForm
:
{
sopName
:
''
,
sopTime
:
'2022-01-01'
,
// sopTime: '2022-01-01',
startDate
:
''
,
endDate
:
''
,
// tagging: [],
customerInfoList
:
[],
customerIds
:
[],
...
...
@@ -117,8 +124,8 @@ export default {
},
{
label
:
'营销时间'
,
name
:
's
opTim
e'
,
type
:
'showTxt
'
name
:
's
tartDat
e'
,
addHtml
:
'startDate
'
},
{
label
:
'营销对象'
,
...
...
src/views/sop/editSop/components/nicknameModel.vue
View file @
3adda9d
...
...
@@ -10,7 +10,7 @@
<el-tab-pane
label=
"多图文"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"文字+视频"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"文字"
name=
"0"
></el-tab-pane>
<
el-tab-pane
label=
"链接+文"
name=
"4"
></el-tab-pane
>
<
!--
<el-tab-pane
label=
"文字+链接"
name=
"4"
></el-tab-pane>
--
>
</el-tabs>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
...
...
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