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 9197b7d1
authored
Aug 22, 2022
by
陈婉清
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'chenwq_dev_v2.9.0' into 'v2.9.0'
Chenwq dev v2.9.0 See merge request
!337
2 parents
d6398cfa
d9ff3fbf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
59 deletions
src/components/glsx-combi-form/index.vue
src/views/couponManage/editMemberService.vue
src/views/material/addMaterial.vue
src/views/orderManage/index.vue
src/views/seckillActivity/editCrowdFund.vue
src/components/glsx-combi-form/index.vue
View file @
9197b7d
<!-- 搜索 -->
<
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 @
9197b7d
...
...
@@ -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 @
9197b7d
<
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=
""
/>
...
...
src/views/orderManage/index.vue
View file @
9197b7d
...
...
@@ -497,19 +497,29 @@ export default {
tableOption
:
true
,
tableColumns
:
[
{
label
:
'订单编号'
,
prop
:
'orderCode'
,
width
:
'180'
label
:
'客户名称'
,
prop
:
'customerName'
,
line
:
2
,
width
:
180
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
{
label
:
'
商户订单
号'
,
prop
:
'
outTradeNo
'
,
width
:
'160'
,
label
:
'
手机
号'
,
prop
:
'
customerPhone
'
,
width
:
130
,
formatter
:
cellValue
=>
{
return
cellValue
.
outTradeNo
||
'-'
return
cellValue
.
customerPhone
||
'-'
}
},
{
label
:
'微信名称'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
300
},
{
label
:
'订单时间'
,
prop
:
'createdDate'
,
width
:
'180'
,
...
...
@@ -534,29 +544,6 @@ export default {
}
},
{
label
:
'微信名称'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
300
},
{
label
:
'客户名称'
,
prop
:
'customerName'
,
line
:
2
,
width
:
180
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
{
label
:
'手机号'
,
prop
:
'customerPhone'
,
width
:
130
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerPhone
||
'-'
}
},
{
label
:
'车架号'
,
prop
:
'vinNo'
,
width
:
130
,
...
...
@@ -599,6 +586,12 @@ export default {
}
},
{
label
:
'其他信息'
,
prop
:
''
,
width
:
'180'
,
line
:
1
},
{
label
:
'活动名称'
,
prop
:
'activityName'
,
width
:
'120'
...
...
@@ -632,6 +625,19 @@ export default {
formatter
:
cellValue
=>
{
return
this
.
baseData
.
deliveryTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
deliveryType
+
''
)
?
this
.
baseData
.
deliveryTypeList
.
find
(
item
=>
item
.
confId
==
cellValue
.
deliveryType
).
confName
:
'-'
}
},
{
label
:
'订单编号'
,
prop
:
'orderCode'
,
width
:
'180'
},
{
label
:
'商户订单号'
,
prop
:
'outTradeNo'
,
width
:
'160'
,
formatter
:
cellValue
=>
{
return
cellValue
.
outTradeNo
||
'-'
}
}
]
},
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
9197b7d
<!-- 众筹活动 -->
<
template
>
<div
class=
"edit-share marketing edit-box edit-activity"
v-loading=
"loading"
>
<
div
class=
"container edit-container"
>
<!-- 基本信息 --
>
<
!-- 基本信息 --
>
<div
class=
"container edit-container"
style=
"min-height: 520px !important;"
>
<p
class=
"edit-title"
>
基本信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"activityImg"
class=
"edit-tips m-t-8"
>
展示在首页的活动详情页
</div>
...
...
@@ -67,7 +67,9 @@
</p>
</
template
>
</glsx-combi-form>
<!-- 活动配置 -->
</div>
<!-- 活动配置 -->
<div
class=
"container edit-container crowd-config"
>
<p
class=
"edit-title"
>
活动配置
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"configEditFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"configEditFormData"
:formRules=
"editRule"
>
<
template
slot=
"customerServiceFlag"
slot-scope=
"scope"
>
...
...
@@ -138,7 +140,8 @@
</div>
</glsx-combi-form>
</div>
<div
class=
"wechat-box"
>
<!-- 展示 -->
<!-- <div class="wechat-box">
<img class="w-100-percent" src="@/assets/seckillActivity/phone.png" />
<div class="wechat-back">
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
...
...
@@ -186,7 +189,7 @@
</div>
<img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" />
</div>
</div>
</div>
-->
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
...
...
@@ -670,7 +673,7 @@ export default {
},
mounted
()
{
this
.
setMinHeight
()
this
.
setMinHeight
(
'.crowd-config'
)
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
.
addOrEdit
!=
'add'
?
this
.
getInfo
()
:
this
.
getMerchantInfo
()
var
id
=
this
.
routeInfo
.
id
...
...
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