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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
51 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
This diff is collapsed.
Click to expand it.
src/views/material/components/addMaterialGroupDia.vue
View file @
bed895a
...
@@ -108,18 +108,18 @@ export default {
...
@@ -108,18 +108,18 @@ export default {
return
return
}
}
// 判断素材组名称是否重复
// 判断素材组名称是否重复
var
groupName
=
[]
var
groupName
=
[]
this
.
groupCounter
.
forEach
(
item
=>
{
this
.
groupCounter
.
forEach
(
item
=>
{
groupName
.
push
(
item
.
materialGroupName
)
groupName
.
push
(
item
.
materialGroupName
)
})
var
idx
=
groupName
.
indexOf
(
this
.
materialGroupAddForm
.
materialGroupName
)
if
(
idx
!=
-
1
)
{
this
.
$message
({
message
:
'素材组名称不能重复'
,
type
:
'warning'
})
})
var
idx
=
groupName
.
indexOf
(
this
.
materialGroupAddForm
.
materialGroupName
)
return
if
(
idx
!=
-
1
)
{
}
this
.
$message
({
message
:
'素材组名称不能重复'
,
type
:
'warning'
})
return
}
this
.
eventBus
.
$emit
(
'addMaterialGroup'
,
params
)
this
.
eventBus
.
$emit
(
'addMaterialGroup'
,
params
)
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
}
else
{
}
else
{
...
@@ -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
32px
;
margin-bottom
:
20px
;
}
}
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
>
\ No newline at end of file
\ No newline at end of file
</
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,14 +172,14 @@ export default {
...
@@ -172,14 +172,14 @@ 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