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 bed895a4
authored
Mar 22, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
3d404041
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
42 deletions
src/views/material/addMaterial.vue
src/views/material/components/addMaterialGroupDia.vue
src/views/material/components/functionIntroduc.vue
src/views/material/components/materialGroup.vue
src/views/material/index.vue
src/views/material/addMaterial.vue
View file @
bed895a
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<div
class=
"creat-material"
>
<div
class=
"creat-material"
>
<h4>
{{
title
}}
</h4>
<h4>
{{
title
}}
</h4>
<el-divider></el-divider>
<el-divider></el-divider>
<div
class=
"form-item-container"
>
<el-form-item
v-if=
"routeInfo.addOrEdit == 1"
label=
"选择素材组:"
prop=
"selectMaterialGroup"
>
<el-form-item
v-if=
"routeInfo.addOrEdit == 1"
label=
"选择素材组:"
prop=
"selectMaterialGroup"
>
<el-select
v-model=
"materialAddForm.groupId"
placeholder=
"全部"
:size=
"size"
>
<el-select
v-model=
"materialAddForm.groupId"
placeholder=
"全部"
:size=
"size"
>
<el-option
v-for=
"item in groupCounter"
:key=
"item.id"
:label=
"item.materialGroupName"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in groupCounter"
:key=
"item.id"
:label=
"item.materialGroupName"
:value=
"item.id"
></el-option>
...
@@ -46,14 +47,16 @@
...
@@ -46,14 +47,16 @@
<div
class=
"space"
></div>
<div
class=
"space"
></div>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
<div
class=
"track"
>
<div
class=
"track"
>
<h4>
追踪设置
</h4>
<h4>
追踪设置
</h4>
<el-divider></el-divider>
<el-divider></el-divider>
<div
form-item-container
>
<el-form-item
prop=
"businessType"
>
<el-form-item
prop=
"businessType"
>
<span
slot=
"label"
>
<span
slot=
"label"
>
<span>
<span>
业务类型
业务类型
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容
。"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"给素材添加业务类型,客户可根据业务类型筛选,也可在客户浏览了该素材时能及时提醒跟进员工,以提高客户成单率
。"
>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
</el-popover>
</el-popover>
:
:
...
@@ -67,7 +70,7 @@
...
@@ -67,7 +70,7 @@
<span
slot=
"label"
>
<span
slot=
"label"
>
<span>
<span>
动态通知
动态通知
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。
"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"有效浏览:指客户在页面的停留时间超过15秒并且有交互行为,非完全静止
"
>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
</el-popover>
</el-popover>
:
:
...
@@ -80,13 +83,13 @@
...
@@ -80,13 +83,13 @@
<span
slot=
"label"
>
<span
slot=
"label"
>
<span>
<span>
行为标签
行为标签
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。
"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"标签失效后在客户信息中看不到此标签,但是在素材效果统计的记录仍然存在
"
>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
</el-popover>
</el-popover>
:
:
</span>
</span>
</span>
</span>
<span
class=
"track-behavior"
>
客户打开素材/链接时通知发送人
</span>
<span
class=
"track-behavior"
>
给浏览了素材的客户自动打上标签,并且标签在30天后自动失效
</span>
<span
class=
"track-tips track-info"
>
(最多支持3个标签)
</span>
<span
class=
"track-tips track-info"
>
(最多支持3个标签)
</span>
<!-- 选择标签展示 -->
<!-- 选择标签展示 -->
<div>
<div>
...
@@ -103,6 +106,7 @@
...
@@ -103,6 +106,7 @@
<div
class=
"space"
></div>
<div
class=
"space"
></div>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
<div
class=
"share"
>
<div
class=
"share"
>
<div
class=
"share-container"
>
<div
class=
"share-container"
>
<div
class=
"share-top"
>
<div
class=
"share-top"
>
...
@@ -135,11 +139,9 @@
...
@@ -135,11 +139,9 @@
<img
:src=
"materialAddForm.titleUrl"
alt=
""
/>
<img
:src=
"materialAddForm.titleUrl"
alt=
""
/>
<div
class=
"mask"
v-if=
"materialAddForm.titleUrl"
>
<div
class=
"mask"
v-if=
"materialAddForm.titleUrl"
>
<h3>
<h3>
<el-popover
<el-popover
placement=
"top"
trigger=
"click"
>
placement=
"top"
trigger=
"click"
>
<div>
<div>
<img
class=
"img-plus"
:src=
"materialAddForm.titleUrl"
alt=
""
>
<img
class=
"img-plus"
:src=
"materialAddForm.titleUrl"
alt=
""
/
>
</div>
</div>
<img
slot=
"reference"
src=
"@/assets/material/view.png"
alt=
""
/>
<img
slot=
"reference"
src=
"@/assets/material/view.png"
alt=
""
/>
</el-popover>
</el-popover>
...
@@ -426,7 +428,7 @@ export default {
...
@@ -426,7 +428,7 @@ export default {
// 提交
// 提交
handleSubmit
()
{
handleSubmit
()
{
this
.
$refs
.
materialAddForm
.
validate
(
valid
=>
{
this
.
$refs
.
materialAddForm
.
validate
(
valid
=>
{
console
.
log
(
this
.
textBoxContent
,
'text'
)
;
console
.
log
(
this
.
textBoxContent
,
'text'
)
if
(
valid
)
{
if
(
valid
)
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
params
.
status
=
0
params
.
status
=
0
...
@@ -819,4 +821,10 @@ export default {
...
@@ -819,4 +821,10 @@ export default {
.gl-footer
{
.gl-footer
{
z-index
:
999
;
z-index
:
999
;
}
}
.form-item-container
{
margin-top
:
32px
!important
;
}
.el-form-item
{
margin-bottom
:
20px
!important
;
}
</
style
>
</
style
>
src/views/material/components/addMaterialGroupDia.vue
View file @
bed895a
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
return
false
return
false
}
}
})
})
}
,
}
// handleCheckChange(val) {
// handleCheckChange(val) {
// console.log(val)
// console.log(val)
// this.materialGroupAddForm.businessType = val
// this.materialGroupAddForm.businessType = val
...
...
src/views/material/components/functionIntroduc.vue
View file @
bed895a
<
template
>
<
template
>
<div
class=
"introduct"
>
<div
class=
"introduct"
>
<el-dialog
title=
"功能介绍"
:visible
.
sync=
"introductionDialog"
width=
"1080px"
:before-close=
"handleClose"
>
<el-dialog
title=
"功能介绍"
:visible
.
sync=
"introductionDialog"
width=
"1080px"
:before-close=
"handleClose"
>
<p>
营销素材——将业务资料、经典案例、活动等以链接、PDF形式上传在营销素材库中,企业成员可在企业微信聊天侧边栏或者嘀加企微管家工作台中,一键发给客户,支持雷达追踪,并将客户的阅读等关键行为记录到客户动态中,并给客户打上指定标签。
</p>
<p
class=
"note"
>
营销素材——将业务资料、经典案例、活动等以链接、PDF形式上传在营销素材库中,企业成员可在企业微信聊天侧边栏或者嘀加企微管家工作台中,一键发给客户,支持雷达追踪,并将客户的阅读等关键行为记录到客户动态中,并给客户打上指定标签。
</p>
<h3>
我的优势
</h3>
<h3>
我的优势
</h3>
<p
class=
"list"
>
1、门店可以为不同的业务部门提供不同的营销素材,规范营销内容;
</p>
<p
class=
"list"
>
1、门店可以为不同的业务部门提供不同的营销素材,规范营销内容;
</p>
<p
class=
"list"
>
2、员工能便捷的在企业微信聊天侧边栏及嘀加企微管家工作台上直接使用营销素材,避免自己设计素材的烦恼;
</p>
<p
class=
"list"
>
2、员工能便捷的在企业微信聊天侧边栏及嘀加企微管家工作台上直接使用营销素材,避免自己设计素材的烦恼;
</p>
<p
class=
"list"
>
3、捕获客户对素材的交互行为并主动通知员工,获取客户的兴趣点,为业务转化提供参考依据。
</p>
<p
class=
"list"
>
3、捕获客户对素材的交互行为并主动通知员工,获取客户的兴趣点,为业务转化提供参考依据。
</p>
<
!--
<div
class=
"img_div"
>
--
>
<
div
class=
"img_div"
>
<img
class=
"img_div"
src=
"@/assets/material/introduction.png"
alt=
""
>
<img
src=
"@/assets/material/introduction.png"
alt=
""
>
<
!--
</div>
--
>
<
/div
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleClose"
>
关闭
</el-button>
<el-button
type=
"primary"
@
click=
"handleClose"
class=
"btn-close"
>
关闭
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -38,19 +38,30 @@ export default {
...
@@ -38,19 +38,30 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
.
img_div
{
.
el-dialog
{
height
:
334px
;
color
:
#333333
;
/* margin: 0 20px; */
padding
:
32px
32px
;
}
.note
{
p
{
line-height
:
20px
;
margin
:
0
0
20px
32
px
;
margin-bottom
:
20
px
;
}
}
h3
{
h3
{
font-size
:
17px
;
font-size
:
17px
;
margin
:
0
0
16px
32px
;
margin-bottom
:
16px
;
}
/* margin: 0 0 16px 32px; */
.list
{
}
margin
:
0
0
20px
32px
;
.list
{
margin-bottom
:
10px
;
}
.img_div
{
height
:
334px
;
img
{
width
:
100%
;
}
}
.btn-close
{
margin-right
:
20px
;
}
}
}
</
style
>
</
style
>
src/views/material/components/materialGroup.vue
View file @
bed895a
...
@@ -19,11 +19,11 @@
...
@@ -19,11 +19,11 @@
</li>
</li>
<!--
<li
@
click=
"handleAddGroup(2,item)"
>
修改
</li>
-->
<!--
<li
@
click=
"handleAddGroup(2,item)"
>
修改
</li>
-->
<li>
<li>
<GLButton
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2,item)"
>
修改
</GLButton>
<GLButton
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2,
item)"
>
修改
</GLButton>
</li>
</li>
<!--
<li
@
click=
"handleDeleteGroup(item.id)"
v-if=
"item.isDefault == -1"
>
删除
</li>
-->
<!--
<li
@
click=
"handleDeleteGroup(item.id)"
v-if=
"item.isDefault == -1"
>
删除
</li>
-->
<li>
<li>
<GLButton
:size=
"size"
type=
"text"
fn=
"删除"
@
click=
"handle
AddGroup(2,item
)"
>
删除
</GLButton>
<GLButton
:size=
"size"
type=
"text"
fn=
"删除"
@
click=
"handle
DeleteGroup(item.id
)"
>
删除
</GLButton>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -172,13 +172,13 @@ export default {
...
@@ -172,13 +172,13 @@ export default {
ul
{
ul
{
li
{
li
{
text-align
:
left
;
text-align
:
left
;
padding
:
18px
16px
16
px
18px
;
padding
:
18px
16px
8
px
18px
;
i
{
i
{
font-size
:
16px
;
font-size
:
16px
;
padding-top
:
6px
;
padding-top
:
6px
;
position
:
absolute
;
position
:
absolute
;
right
:
16px
;
right
:
16px
;
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
}
}
}
}
}
}
...
...
src/views/material/index.vue
View file @
bed895a
...
@@ -7,14 +7,13 @@
...
@@ -7,14 +7,13 @@
</el-button>
-->
</el-button>
-->
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增营销素材"
class=
"el-icon-plus"
@
click=
"addMaterial(1)"
>
创建营销素材
</GLButton>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增营销素材"
class=
"el-icon-plus"
@
click=
"addMaterial(1)"
>
创建营销素材
</GLButton>
</div>
</div>
<span
@
click=
"showIntroductionDialog"
>
<span
@
click=
"showIntroductionDialog"
class=
"introduc-word"
>
功能介绍
功能介绍
<i
class=
"el-icon-arrow-right"
></i>
<i
class=
"el-icon-arrow-right"
></i>
</span>
</span>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"search-form"
>
<div
class=
"search-form"
>
<glsx-combi-form
ref=
"materialFormRef1"
:isEdit=
"isEdit"
:formObj=
"searchForm"
:formData=
"materialFormData1"
:inline=
"true"
></glsx-combi-form>
<glsx-combi-form
ref=
"materialFormRef1"
:isEdit=
"isEdit"
:formObj=
"searchForm"
:formData=
"materialFormData"
:inline=
"true"
>
<glsx-combi-form
ref=
"materialFormRef2"
:isEdit=
"isEdit"
:formObj=
"searchForm"
:formData=
"materialFormData2"
:inline=
"true"
>
<span
slot=
"footer"
slot-scope=
"scope"
class=
"select-pro"
>
<span
slot=
"footer"
slot-scope=
"scope"
class=
"select-pro"
>
<el-button
type=
"primary"
:size=
"size"
@
click=
"getListApi"
>
查询
</el-button>
<el-button
type=
"primary"
:size=
"size"
@
click=
"getListApi"
>
查询
</el-button>
<el-button
type=
"default"
:size=
"size"
@
click=
"handleReset(scope)"
>
重置
</el-button>
<el-button
type=
"default"
:size=
"size"
@
click=
"handleReset(scope)"
>
重置
</el-button>
...
@@ -133,7 +132,7 @@ export default {
...
@@ -133,7 +132,7 @@ export default {
boxHeight
:
''
,
boxHeight
:
''
,
businessTypes
:
[],
businessTypes
:
[],
materialGroupName
:
''
,
materialGroupName
:
''
,
materialFormData
1
:
[
materialFormData
:
[
{
{
label
:
'业务类型:'
,
label
:
'业务类型:'
,
name
:
'businessType'
,
name
:
'businessType'
,
...
@@ -182,16 +181,14 @@ export default {
...
@@ -182,16 +181,14 @@ export default {
optionLabel
:
'禁用'
optionLabel
:
'禁用'
},
},
{
{
optionId
:
2
,
optionId
:
1
,
optionLabel
:
'草稿'
optionLabel
:
'草稿'
}
}
],
],
optionId
:
'optionId'
,
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
,
optionLabel
:
'optionLabel'
,
optionsName
:
'optionLabel'
optionsName
:
'optionLabel'
}
},
],
materialFormData2
:
[
{
{
label
:
'素材名称:'
,
label
:
'素材名称:'
,
name
:
'materialName'
,
name
:
'materialName'
,
...
@@ -199,6 +196,14 @@ export default {
...
@@ -199,6 +196,14 @@ export default {
placeholder
:
'请输入素材名称'
placeholder
:
'请输入素材名称'
}
}
],
],
// materialFormData2: [
// {
// label: '素材名称:',
// name: 'materialName',
// type: 'input',
// placeholder: '请输入素材名称'
// }
// ],
tableParams
:
{
tableParams
:
{
listName
:
'data'
,
listName
:
'data'
,
tableOption
:
true
,
tableOption
:
true
,
...
@@ -450,6 +455,7 @@ export default {
...
@@ -450,6 +455,7 @@ export default {
this
.
searchForm
.
groupId
=
item
.
id
this
.
searchForm
.
groupId
=
item
.
id
this
.
$apis
.
material
.
materialList
(
params
).
then
(
res
=>
{
this
.
$apis
.
material
.
materialList
(
params
).
then
(
res
=>
{
this
.
materialTableData
=
res
.
data
this
.
materialTableData
=
res
.
data
this
.
tableTotal
=
res
.
count
})
})
// this.handleSearch()
// this.handleSearch()
},
},
...
@@ -508,7 +514,7 @@ export default {
...
@@ -508,7 +514,7 @@ export default {
margin-top
:
10px
;
margin-top
:
10px
;
height
:
100%
;
height
:
100%
;
.search-form
{
.search-form
{
padding
:
20px
68px
0
68
px
;
padding
:
20px
0
0
20
px
;
}
}
.tabelList
{
.tabelList
{
margin-top
:
10px
;
margin-top
:
10px
;
...
@@ -553,4 +559,8 @@ export default {
...
@@ -553,4 +559,8 @@ export default {
width
:
200px
;
width
:
200px
;
height
:
200px
;
height
:
200px
;
}
}
</
style
>
>
\ No newline at end of file
\ No newline at end of file
.introduc-word
{
margin-left
:
16px
;
color
:
#5850FF
;
}
</
style
>
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