Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
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 e736f0cd
authored
Jul 17, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
3bd730f0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
src/views/activityLink/components/Marketing.vue
src/views/activityLink/components/MarketingContent.vue
src/views/activityLink/components/Process.vue
src/views/activityLink/components/Scene.vue
src/views/activityLink/editActivity.vue
src/views/activityLink/components/Marketing.vue
View file @
e736f0c
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
@
click=
"showCase"
class=
"show-case-btn"
v-if=
"routerInfo.addOrEdit == 'add'"
>
历史营销方案
</div>
<div
@
click=
"showCase"
class=
"show-case-btn"
v-if=
"routerInfo.addOrEdit == 'add'"
>
历史营销方案
</div>
</div>
</div>
<div
class=
"acitity-content"
>
<div
class=
"acitity-content"
>
<marketing-task
v-show=
"step == 1"
v-if=
"routerInfo.addOrEdit
== 'add
'"
></marketing-task>
<marketing-task
v-show=
"step == 1"
v-if=
"routerInfo.addOrEdit
!= 'edit
'"
></marketing-task>
<marketing-gift
v-show=
"step == 2"
></marketing-gift>
<marketing-gift
v-show=
"step == 2"
></marketing-gift>
<marketing-content
v-show=
"step == 3"
></marketing-content>
<marketing-content
v-show=
"step == 3"
></marketing-content>
</div>
</div>
...
...
src/views/activityLink/components/MarketingContent.vue
View file @
e736f0c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-06-29 21:24:27
* @Date: 2023-06-29 21:24:27
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-17 1
7:29:32
* @LastEditTime: 2023-07-17 1
9:02:23
* @FilePath: \scrm-micro-link\src\views\activityLink\components\MarketingContent.vue
* @FilePath: \scrm-micro-link\src\views\activityLink\components\MarketingContent.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -215,12 +215,12 @@ export default {
...
@@ -215,12 +215,12 @@ export default {
deep
:
true
deep
:
true
},
},
subscribe
(
val
)
{
subscribe
(
val
)
{
if
(
val
==
5
&&
this
.
routerInfo
.
addOrEdit
==
'add
'
)
{
if
(
val
==
5
&&
this
.
routerInfo
.
addOrEdit
!=
'edit
'
)
{
this
.
editFormData
[
0
].
isHide
=
false
this
.
editFormData
[
0
].
isHide
=
false
}
else
{
}
else
{
this
.
editFormData
[
0
].
isHide
=
true
this
.
editFormData
[
0
].
isHide
=
true
}
}
if
(
val
==
6
&&
this
.
routerInfo
.
addOrEdit
==
'add
'
)
{
if
(
val
==
6
&&
this
.
routerInfo
.
addOrEdit
!=
'edit
'
)
{
this
.
editRule
.
detailImage
[
0
].
required
=
true
this
.
editRule
.
detailImage
[
0
].
required
=
true
}
else
{
}
else
{
this
.
editRule
.
detailImage
[
0
].
required
=
false
this
.
editRule
.
detailImage
[
0
].
required
=
false
...
...
src/views/activityLink/components/Process.vue
View file @
e736f0c
...
@@ -83,14 +83,14 @@ export default {
...
@@ -83,14 +83,14 @@ export default {
draggableList
draggableList
}
=
this
.
$refs
.
viewForm
}
=
this
.
$refs
.
viewForm
let
url
=
backgroundImage
let
url
=
backgroundImage
if
(
RENEWAL
.
includes
(
params
.
codeId
)
&&
!
params
.
id
)
{
if
(
RENEWAL
.
includes
(
params
.
codeId
)
&&
this
.
routerInfo
.
addOrEdit
!=
'edit'
)
{
url
=
await
this
.
createMain
(
backgroundHeight
,
backgroundImage
,
draggableList
)
//合并主图、文字
url
=
await
this
.
createMain
(
backgroundHeight
,
backgroundImage
,
draggableList
)
//合并主图、文字
}
}
if
(
FESTIVAL
.
includes
(
params
.
codeId
)
&&
!
params
.
id
)
{
if
(
FESTIVAL
.
includes
(
params
.
codeId
)
&&
this
.
routerInfo
.
addOrEdit
!=
'edit'
)
{
url
=
await
this
.
createBig
(
this
.
$refs
.
viewForm
.
detail
,
this
.
logoInfo
,
JSON
.
parse
(
titleStyle
),
JSON
.
parse
(
subTitleStyle
))
//合并主图、背景图、logo、文字
url
=
await
this
.
createBig
(
this
.
$refs
.
viewForm
.
detail
,
this
.
logoInfo
,
JSON
.
parse
(
titleStyle
),
JSON
.
parse
(
subTitleStyle
))
//合并主图、背景图、logo、文字
}
}
let
origin
=
'createSuperMarketing'
let
origin
=
'createSuperMarketing'
if
(
params
.
id
)
{
if
(
params
.
id
&&
this
.
routerInfo
.
addOrEdit
==
'edit'
)
{
origin
=
'updateApi'
origin
=
'updateApi'
params
.
activityName
=
params
.
marketingTitle
params
.
activityName
=
params
.
marketingTitle
params
=
{
...
params
,
...
this
.
addProperties
(
params
)
}
params
=
{
...
params
,
...
this
.
addProperties
(
params
)
}
...
...
src/views/activityLink/components/Scene.vue
View file @
e736f0c
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
calendarPage
()
this
.
calendarPage
()
this
.
EntWechatQrCode
()
this
.
EntWechatQrCode
()
if
(
this
.
routerInfo
.
addOrEdit
==
'edit'
)
{
if
(
this
.
routerInfo
.
addOrEdit
==
'edit'
||
this
.
routerInfo
.
addOrEdit
==
'copy'
)
{
this
.
getActivityInfo
(
this
.
routerInfo
.
id
)
this
.
getActivityInfo
(
this
.
routerInfo
.
id
)
this
.
sceneList
[
1
].
content
=
'编辑无法再次导入客群'
this
.
sceneList
[
1
].
content
=
'编辑无法再次导入客群'
}
else
{
}
else
{
...
...
src/views/activityLink/editActivity.vue
View file @
e736f0c
...
@@ -1347,7 +1347,7 @@ export default {
...
@@ -1347,7 +1347,7 @@ export default {
}
}
},
},
'editForm.pageStyle'
(
val
)
{
'editForm.pageStyle'
(
val
)
{
console
.
log
(
val
)
if
(
val
)
return
this
.
activityModelImg
=
`
${
this
.
staticImgUrl
}
activity-
${
val
}
.png`
this
.
activityModelImg
=
`
${
this
.
staticImgUrl
}
activity-
${
val
}
.png`
},
},
step
()
{
step
()
{
...
...
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