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 10cbe928
authored
Jan 07, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新3.3.1
1 parent
2448320b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
17 deletions
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/editEvent.vue
src/views/sop/editSop/baseInfo.vue
View file @
10cbe92
...
@@ -4,18 +4,6 @@
...
@@ -4,18 +4,6 @@
<div
class=
"sop-base-info"
>
<div
class=
"sop-base-info"
>
<div
class=
"container m-b-20"
>
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<!--
<div
v-if=
"this.routeInfo.addOrEdit =='look'"
>
-->
<!--
<div
class=
"marketing form-sub-block r"
>
-->
<!--
<div
class=
"flex-default"
>
-->
<!--
<p>
SOP名称:
{{
editForm
.
sopName
}}
</p>
-->
<!--
<p>
营销时间:
{{
editForm
.
startDate
}}
-
{{
editForm
.
endDate
}}
</p>
-->
<!--
</div>
-->
<!--
<div>
营销对象:
</div>
-->
<!--
<div>
-->
<!-- 更新人群:
{{
editForm
.
customerOptUpdate
==
'2'
?
'自动更新'
:
editForm
.
customerOptUpdate
==
'1'
?
'从不更新'
:
''
}}
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
<div>
<div>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
:labelWidth=
"labelWidth"
...
@@ -1224,7 +1212,6 @@ export default {
...
@@ -1224,7 +1212,6 @@ export default {
}
}
})
})
}
else
{
}
else
{
console
.
log
(
params
.
eventList
)
params
.
eventList
=
JSON
.
stringify
(
params
.
eventList
)
params
.
eventList
=
JSON
.
stringify
(
params
.
eventList
)
// 新增事件或者事件未开始,调这里
// 新增事件或者事件未开始,调这里
this
.
$apis
.
sop
.
insertOrUpdateSopApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
sop
.
insertOrUpdateSopApi
(
params
).
then
(
res
=>
{
...
@@ -1232,10 +1219,10 @@ export default {
...
@@ -1232,10 +1219,10 @@ export default {
message
:
res
.
code
==
'0'
?
'操作成功'
:
res
.
message
,
message
:
res
.
code
==
'0'
?
'操作成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
//
this.$tracker.track(Object.assign({}, {pageName: '营销SOP', name: '创建sop事件', params}))
this
.
$tracker
.
track
(
Object
.
assign
({},
{
pageName
:
'营销SOP'
,
name
:
'创建sop事件'
,
params
}))
//
if (res.code == '0') {
if
(
res
.
code
==
'0'
)
{
//
this.cancelJump()
this
.
cancelJump
()
//
}
}
})
})
}
}
}
}
...
...
src/views/sop/editSop/editEvent.vue
View file @
10cbe92
...
@@ -610,7 +610,9 @@ export default {
...
@@ -610,7 +610,9 @@ export default {
val
.
forEach
(
item
=>
{
val
.
forEach
(
item
=>
{
if
([
2
,
3
].
includes
(
item
.
attType
))
{
if
([
2
,
3
].
includes
(
item
.
attType
))
{
this
.
editFormDataChannel
[
0
].
optionList
[
1
].
isDisabled
=
true
this
.
editFormDataChannel
[
0
].
optionList
[
1
].
isDisabled
=
true
if
(
this
.
editForm
.
pushChannelType
==
2
){
this
.
editForm
.
pushChannelType
=
''
this
.
editForm
.
pushChannelType
=
''
}
}
else
{
}
else
{
this
.
editFormDataChannel
[
0
].
optionList
[
1
].
isDisabled
=
false
this
.
editFormDataChannel
[
0
].
optionList
[
1
].
isDisabled
=
false
}
}
...
...
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