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 43448739
authored
Aug 19, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表单改版,素材
1 parent
0eb64338
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
23 deletions
src/components/glsx-combi-form/index.vue
src/views/couponManage/editMemberService.vue
src/views/material/addMaterial.vue
src/components/glsx-combi-form/index.vue
View file @
4344873
<!-- 搜索 -->
<
template
>
<div
:class=
"['glsx-combi-form', isEdit ? 'gl-form-page' : '']"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block
ml20
"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<template
v-for=
"(item, index) in formData"
>
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:labelWidth=
"isEdit ? '154px' : labelWidth"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
...
...
src/views/couponManage/editMemberService.vue
View file @
4344873
...
...
@@ -4,7 +4,7 @@
<p
class=
"pageTitle"
>
基本信息
</p>
</div>
<div
class=
"live-room container gl-form-page"
style=
"padding-top: 20px;"
v-loading=
"sloading"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
:label-width=
"defaultLabelWidth"
class=
"demo-ruleForm
ml20
"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
:label-width=
"defaultLabelWidth"
class=
"demo-ruleForm"
>
<el-form-item
size=
"small"
label=
"服务名称:"
prop=
"couponName"
style=
"width: 440px"
id=
"couponName"
>
<el-input
size=
"small"
:disabled=
"disabledContent"
v-model
.
trim=
"ruleForm.couponName"
maxlength=
"20"
placeholder=
"请输入服务名称,如“精洗轿车”"
></el-input>
</el-form-item>
...
...
src/views/material/addMaterial.vue
View file @
4344873
<
template
>
<div
class=
"container"
>
<el-form
ref=
"materialAddForm"
:model=
"materialAddForm"
label-width=
"146px
"
:rules=
"materialAddFormRules"
>
<div
class=
"container
marketing
"
>
<el-form
ref=
"materialAddForm"
:model=
"materialAddForm"
:label-width=
"defaultLabelWidth
"
:rules=
"materialAddFormRules"
>
<div
class=
"creat-material"
>
<h4>
{{
title
}}
</h4>
<el-divider></el-divider>
<div
class=
"
form-item-container
"
>
<el-form-item
v-if=
"routeInfo.addOrEdit == 1"
label=
"选择素材组
:
"
prop=
"groupId"
>
<div
class=
"
m-l-20
"
>
<el-form-item
v-if=
"routeInfo.addOrEdit == 1"
label=
"选择素材组
:
"
prop=
"groupId"
>
<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-select>
...
...
@@ -15,10 +15,10 @@
<el-option
v-for=
"item in groupCounter"
:key=
"item.id"
:label=
"item.materialGroupName"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"素材名称
:
"
prop=
"materialName"
>
<el-form-item
label=
"素材名称
:
"
prop=
"materialName"
>
<el-input
v-model=
"materialAddForm.materialName"
:size=
"size"
placeholder=
"请输入素材名称"
maxlength=
"30"
></el-input>
</el-form-item>
<el-form-item
label=
"素材类型
:
"
prop=
"materialType"
>
<el-form-item
label=
"素材类型
:
"
prop=
"materialType"
>
<el-radio-group
v-model=
"materialAddForm.materialType"
@
change=
"radioChange"
:disabled=
"routeInfo.addOrEdit == 2 && routeInfo.status != 1"
>
<el-radio
:label=
"1"
>
PDF文件
</el-radio>
<!--
<el-radio
:label=
"2"
>
自定义链接
</el-radio>
-->
...
...
@@ -40,12 +40,12 @@
</div>
<!-- 选择自定义链接 -->
<!--
<div
v-show=
"materialAddForm.materialType == 2"
>
<el-form
:model=
"linkForm"
:rules=
"linkRules"
ref=
"linkForm"
label-width=
"100px"
>
<el-form-item
label=
"链接地址"
prop=
"link"
>
<el-input
v-model=
"linkForm.link"
placeholder=
"请填写跳转链接"
maxlength=
"150"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</div>
-->
<el-form
:model=
"linkForm"
:rules=
"linkRules"
ref=
"linkForm"
label-width=
"100px"
>
<el-form-item
label=
"链接地址"
prop=
"link"
>
<el-input
v-model=
"linkForm.link"
placeholder=
"请填写跳转链接"
maxlength=
"150"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</div>
-->
<!-- 选择图文 -->
<div
v-show=
"materialAddForm.materialType == 3"
>
<textBox
@
change=
"writeChange"
ref=
"textBox"
@
forbid=
"forbidEdit"
></textBox>
...
...
@@ -57,7 +57,7 @@
<div
class=
"track"
>
<h4>
追踪设置
</h4>
<el-divider></el-divider>
<div
form-item-container
>
<div
form-item-container
class=
"m-l-20"
>
<el-form-item
prop=
"businessType"
>
<span
slot=
"label"
>
<span
class=
"label-word"
>
...
...
@@ -65,7 +65,7 @@
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"给素材添加业务类型,客户可根据业务类型筛选,也可在客户浏览了该素材时能及时提醒跟进员工,以提高客户成单率。"
>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
</el-popover>
:
:
</span>
</span>
<el-checkbox-group
v-model=
"materialAddForm.businessType"
>
...
...
@@ -79,7 +79,7 @@
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"有效浏览:指客户在页面的停留时间超过15秒并且有交互行为,非完全静止"
>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
</el-popover>
:
:
</span>
</span>
<el-checkbox
:value=
"materialAddForm.isNotifySender"
:checked=
"checked"
@
change=
"notifyChange"
>
客户打开素材链接时通知发送人
</el-checkbox>
...
...
@@ -92,7 +92,7 @@
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
content=
"标签失效后在客户信息中看不到此标签,但是在素材效果统计的记录仍然存在"
>
<img
slot=
"reference"
src=
"@/assets/question.png"
alt=
""
/>
</el-popover>
:
:
</span>
</span>
<span
class=
"track-behavior"
>
给浏览了素材的客户自动打上标签,并且标签在30天后自动失效
</span>
...
...
@@ -114,7 +114,7 @@
</div>
</div>
<div
class=
"share"
>
<div
class=
"share-container"
>
<div
class=
"share-container
m-l-20
"
>
<div
class=
"share-top"
>
<span>
分享设置
</span>
<span
class=
"share-tips"
>
设置自定义分享内容,能提高用户体验,促进用户打开链接的概率
</span>
...
...
@@ -132,14 +132,14 @@
</div>
<el-divider></el-divider>
<div
class=
"share-desc"
v-show=
"descVisible"
>
<div
class=
"share-desc-left"
>
<el-form-item
label=
"分享标题
:
"
>
<div
class=
"share-desc-left
m-l-20
"
>
<el-form-item
label=
"分享标题
:
"
>
<el-input
v-model=
"materialAddForm.materialTitle"
:size=
"size"
maxlength=
"30"
show-word-limit
placeholder=
"请输入自定义标题"
></el-input>
</el-form-item>
<el-form-item
label=
"描述
:
"
>
<el-form-item
label=
"描述
:
"
>
<el-input
type=
"textarea"
v-model=
"materialAddForm.description"
:size=
"size"
maxlength=
"30"
show-word-limit
placeholder=
"请输入自定义描述"
></el-input>
</el-form-item>
<el-form-item
label=
"封面
:
"
>
<el-form-item
label=
"封面
:
"
>
<div
class=
"img-div"
>
<div
class=
"put-img"
v-show=
"materialAddForm.titleUrl"
>
<img
:src=
"materialAddForm.titleUrl"
alt=
""
/>
...
...
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