Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 bde6a7f7
authored
Dec 10, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
2 parents
f1630ab2
c81f1f03
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
184 additions
and
75 deletions
src/assets/css/public.scss
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editMemberService.vue
src/views/couponManage/index.vue
src/views/couponManage/receiveDetail.vue
src/views/couponManage/writeOffDetail.vue
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/selectMembers.vue
src/views/customerTransform/components/tag-textarea.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detaiCustomeGroup.vue
src/views/customerTransform/detailCustomer.vue
src/views/seckillActivity/editActivity.vue
src/views/seckillActivity/index.vue
src/assets/css/public.scss
View file @
bde6a7f
...
...
@@ -277,4 +277,16 @@ html {
.marketing
.table-img
.el-table--medium
td
.el-table__cell
{
padding
:
2px
0
!
important
;
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0
.3
);
}
\ No newline at end of file
src/views/couponManage/editCashCoupon.vue
View file @
bde6a7f
...
...
@@ -24,7 +24,7 @@
</div>
</div>
<p
class=
"edit-title"
>
{{
title
}}
代金券
</p>
<glsx-combi-form
class=
"edit-form-container"
style=
"min-height: 570px;"
ref=
"editFormRef"
labelWidth=
"144px
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
style=
"min-height: 570px;"
ref=
"editFormRef"
:isEdit=
"true
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"useChannelHtml"
>
<el-radio
v-model=
"editForm.useChannel"
label=
"1"
:disabled=
"apear != 'couponAdd'"
>
线上商品
</el-radio>
<el-radio
v-model=
"editForm.useChannel"
label=
"2"
:disabled=
"apear != 'couponAdd'"
>
到店核销
</el-radio>
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
bde6a7f
...
...
@@ -24,7 +24,7 @@
</div>
</div>
<p
class=
"edit-title"
>
{{
title
}}
折扣劵
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<el-form-item
prop=
"effectiveTime"
style=
"margin-top: 12px; display: block"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear != 'couponAdd'"
>
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
bde6a7f
...
...
@@ -24,7 +24,7 @@
</div>
</div>
<p
class=
"edit-title"
>
{{
title
}}
兑换券
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<el-form-item
prop=
"effectiveTime"
style=
"margin-top: 12px;display: block;"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear != 'couponAdd'"
>
...
...
src/views/couponManage/editMemberService.vue
View file @
bde6a7f
...
...
@@ -3,7 +3,7 @@
<div
class=
"edit-share marketing p-t-20 edit-box"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
会员服务
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear != 'couponAdd'"
>
无有效期
</el-radio>
<br
/>
...
...
src/views/couponManage/index.vue
View file @
bde6a7f
...
...
@@ -9,7 +9,7 @@
</div>
<div
class=
"container"
>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
...
@@ -18,7 +18,7 @@
</div>
<!-- 表格区域 开始 -->
<GLTable
ref=
"coupon"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"coupon"
:getListApi=
"getListApi"
:
noDataImg=
"url"
:
searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
v-if=
"scope.scope.status == '1'"
type=
"text"
@
click=
"start(scope.scope)"
>
生效
</el-button>
<el-button
v-if=
"scope.scope.status == '2'"
type=
"text"
@
click=
"end(scope.scope)"
>
失效
</el-button>
...
...
@@ -35,11 +35,13 @@
</
template
>
<
script
>
import
url
from
'@/assets/empty.png'
export
default
{
name
:
'coupon'
,
data
()
{
return
{
size
:
'small'
,
url
:
url
,
// 下架
isDownVisible
:
false
,
downForm
:
{
...
...
src/views/couponManage/receiveDetail.vue
View file @
bde6a7f
...
...
@@ -3,7 +3,7 @@
<div
class=
"marketing pro-group p-t-20"
>
<div
class=
"container"
>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
...
@@ -45,7 +45,7 @@
</span>
</div>
<!-- 表格区域 开始 -->
<GLTable
ref=
"receiveList"
:getListApi=
"getListApi"
:
searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchF
n"
></GLTable>
<GLTable
ref=
"receiveList"
:getListApi=
"getListApi"
:
noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFu
n"
></GLTable>
<!-- 表格区域 end -->
</div>
</div>
...
...
@@ -53,11 +53,13 @@
<
script
>
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
export
default
{
name
:
'receiveDetail'
,
data
()
{
return
{
size
:
'small'
,
url
:
url
,
coupon
:
{
couponName
:
''
,
stock
:
''
,
...
...
@@ -226,6 +228,11 @@ export default {
phone
:
''
}
this
.
handleSearch
()
},
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
receiveList
.
data
.
length
?
(
this
.
$refs
.
receiveList
.
tableHeightValues
=
''
)
:
this
.
$refs
.
receiveList
.
setTableHeightFun
()
}
}
}
...
...
src/views/couponManage/writeOffDetail.vue
View file @
bde6a7f
...
...
@@ -3,7 +3,7 @@
<div
class=
"marketing pro-group p-t-20"
>
<div
class=
"container"
>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
...
@@ -37,7 +37,7 @@
</span>
</div>
<!-- 表格区域 开始 -->
<GLTable
ref=
"writeOffList"
:getListApi=
"getListApi"
:
searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchF
n"
></GLTable>
<GLTable
ref=
"writeOffList"
:getListApi=
"getListApi"
:
noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFu
n"
></GLTable>
<!-- 表格区域 end -->
</div>
<!-- 优惠券核销 -->
...
...
@@ -53,12 +53,13 @@
<
script
>
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
export
default
{
name
:
'writeOffDetail'
,
data
()
{
return
{
size
:
'small'
,
// 下架
url
:
url
,
writeOffVisible
:
false
,
coupon
:
{
couponName
:
''
,
...
...
@@ -262,6 +263,11 @@ export default {
verificationCode
:
''
}
this
.
handleSearch
()
},
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
writeOffList
.
data
.
length
?
(
this
.
$refs
.
writeOffList
.
tableHeightValues
=
''
)
:
this
.
$refs
.
writeOffList
.
setTableHeightFun
()
}
}
}
...
...
src/views/customerTransform/addCustomer.vue
View file @
bde6a7f
...
...
@@ -22,7 +22,21 @@
class=
"sale-select"
v-show=
"basicForm.userList && basicForm.userList.length != 0"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
</div>
<!--
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
...
...
@@ -32,7 +46,7 @@
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
</div>
</div>
-->
</div>
</el-form-item>
<el-form-item
label=
"选择客户"
prop=
"selectType"
>
...
...
@@ -595,7 +609,8 @@ export default {
align-items
:
center
;
}
.input-tag-wrapper
{
max-width
:
300px
;
max-height
:
68px
;
overflow
:
auto
;
position
:
relative
;
font-size
:
14px
;
background-color
:
#fff
;
...
...
@@ -603,32 +618,28 @@ export default {
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
align-items
:
center
;
/deep/
input
{
/* input { */
/* background-color: red!important; 调试用的样式 */
outline
:
none
!important
;
border
:
none
!important
;
}
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
margin-top
:
6px
;
font-size
:
14px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
.el-tag
{
margin-right
:
4px
;
height
:
26px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
.tag-input
{
background
:
transparent
;
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
bde6a7f
...
...
@@ -20,13 +20,25 @@
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
<!--
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
-->
</div>
</div>
<div
class=
"form-tips"
>
群主收到通知后,可选择他管理的客户群并群发该内容。
</div>
...
...
@@ -370,6 +382,8 @@ export default {
}
.input-tag-wrapper
{
max-width
:
300px
;
max-height
:
68px
;
overflow
:
auto
;
position
:
relative
;
font-size
:
14px
;
background-color
:
#fff
;
...
...
@@ -377,32 +391,28 @@ export default {
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
align-items
:
center
;
/deep/
input
{
/* input { */
/* background-color: red!important; 调试用的样式 */
outline
:
none
!important
;
border
:
none
!important
;
}
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
margin-top
:
6px
;
font-size
:
14px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
.el-tag
{
margin-right
:
4px
;
height
:
26px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
.tag-input
{
background
:
transparent
;
...
...
src/views/customerTransform/components/selectMembers.vue
View file @
bde6a7f
...
...
@@ -6,12 +6,24 @@
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<div
class=
"tag-box"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
<!--
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
-->
</div>
<el-input
...
...
@@ -162,10 +174,15 @@ export default {
}
}
.tag-box
{
max-height
:
6
6
px
;
max-height
:
6
0
px
;
overflow
:
auto
;
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
}
.input-tag-wrapper
{
//
max-height
:
68px
;
//
overflow
:
auto
;
position
:
relative
;
font-size
:
14px
;
background-color
:
#fff
;
...
...
@@ -173,16 +190,17 @@ export default {
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
outline
:
none
;
padding
:
0
0
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
align-items
:
center
;
margin-top
:
6px
;
font-size
:
14px
;
/deep/
input
{
/* input { */
/* background-color: red!important; 调试用的样式 */
...
...
@@ -194,11 +212,17 @@ export default {
width
:
auto
;
flex
:
1
;
}
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
.el-tag
{
margin-right
:
4px
;
height
:
26px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
.tag-input
{
background
:
transparent
;
...
...
@@ -221,15 +245,4 @@ export default {
height
:
32px
;
line-height
:
32px
;
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0.3
);
}
</
style
>
src/views/customerTransform/components/tag-textarea.vue
View file @
bde6a7f
...
...
@@ -142,7 +142,12 @@ export default {
this
.
savedRange
.
insertNode
(
node
)
// 更新双向绑定数据
let
target
=
this
.
$refs
.
wTextareaContent
this
.
updateData
(
target
.
innerHTML
)
// this.updateData(target.innerHTML)
if
(
navigator
.
userAgent
.
indexOf
(
'Firefox'
)
>
0
||
navigator
.
userAgent
.
indexOf
(
'QQBrowser'
)
>
0
)
{
this
.
updateData
(
target
.
innerHTML
+
' '
)
}
else
{
this
.
updateData
(
target
.
innerHTML
)
}
this
.
currentText
=
target
.
innerText
this
.
$emit
(
'updateText'
,
this
.
currentText
)
},
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
bde6a7f
...
...
@@ -82,7 +82,7 @@
<div
class=
"tips-text"
>
<img
src=
"../../../assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每
位
客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每
个
客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
</div>
</div>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
...
...
src/views/customerTransform/detaiCustomeGroup.vue
View file @
bde6a7f
...
...
@@ -59,7 +59,6 @@ export default {
{
label
:
'群主'
,
name
:
'staffId'
,
labelWidth
:
28
,
type
:
'select'
,
isClear
:
true
,
optionLabel
:
'staffName'
,
...
...
@@ -67,7 +66,7 @@ export default {
optionList
:
[]
},
{
label
:
'送达状态'
,
label
:
'
消息
送达状态'
,
name
:
'status'
,
type
:
'select'
,
isClear
:
true
,
...
...
src/views/customerTransform/detailCustomer.vue
View file @
bde6a7f
...
...
@@ -28,9 +28,21 @@
<div
class=
"info-text"
>
<div
class=
"info-name"
>
{{
item
.
staffName
}}
<span
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
</span>
<span
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
<el-popover
v-show=
"item.status != 0 && item.status != 1"
placement=
"top-start"
title=
"失败原因:"
width=
"400"
trigger=
"hover"
>
<p>
1.若插入活动发送失败,可能为企微未绑定活动小程序,请绑定后再尝试。
</p>
<p>
2.可能为客户开启消息免打扰,消息发送失败。
</p>
<p>
3.可能为群发次数达到上限,上限次数为每个客户/客户群每天仅可接收1条群发消息。
</p>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</span>
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
</div>
...
...
@@ -76,10 +88,21 @@
<div
class=
"info-text"
>
<div
class=
"info-name"
>
{{
item
.
customerName
}}
<div
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
</div>
<div
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
<el-popover
v-show=
"item.status != 0 && item.status != 1"
placement=
"top-start"
title=
"失败原因:"
width=
"400"
trigger=
"hover"
>
<p>
1.若插入活动发送失败,可能为企微未绑定活动小程序,请绑定后再尝试。
</p>
<p>
2.可能为客户开启消息免打扰,消息发送失败。
</p>
<p>
3.可能为群发次数达到上限,上限次数为每个客户/客户群每天仅可接收1条群发消息。
</p>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</div>
</div>
</div>
<div
class=
"info-right"
>
...
...
@@ -106,6 +129,8 @@
</div>
</
template
>
<
script
>
const
iconUrl
=
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAFoTx1HAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADqADAAQAAAABAAAADgAAAAC98Dn6AAAB7klEQVQoFVVSQUhUURQ9981sVFyYRRHuFFq1CGlZC3etnBlMRhMXQwhtCqIQJBA3gSSi1EpkNqkjCjOjm1YWuGojBVO7Fi0K2qQLF6H453bO+/ODLvz37z333PvOu+8BtImCf0K56J8VYKLoC9HRMlnwRxaRgB0kOHDDz5gl/0hZBaaFwGl3H65j577nygV/ITCM71pinRo1GiF4zm8jqzkr5dEtluiTJZ9zx8fYTEBmbP5D/tSY3wnaRUwB0rbdsAH5SYK3sW2l4r1/jnFIsUMElmsNmxdB7JGsUnGUWvQz+XkHXtXqNsxx/KL/Zg+oS5xxi8A2T8SqNe0az3NANyfVJD4N5ripZDTDrc1da8kn/i1QxGya4eq4Kl8aui7hblRLUd/JXCSxxXarBJ9T8fuYFLsztiqTv4NjXUTh2rZteEhiP8OKiiIez3+CFoWubdXtpUDe1XAbmJEfQLxpRxFPRz7T1ccz6BFkl6okRzHFOJ5ccbnkr8l5LF8mrl5Pnv5gJksJjmlD/wclv9121ClxeqthH4TJQh5fLhIMaa7LOrRuIk2la89lfO29ghuU/69IHBatqIZfOhgWv2OXhUIOi/FCnDpoZuYqaCaYpYJ5gvf+m6pInUE9Y5NRhoPCdGl80fscyFK1aqfCZH8B0rPa9foo7e4AAAAASUVORK5CYII='
import
Vue
from
'vue'
import
BasicInof
from
'./components/basicInfo.vue'
export
default
{
...
...
@@ -114,6 +139,7 @@ export default {
},
data
()
{
return
{
iconUrl
,
activeIndex
:
''
,
customIndex
:
''
,
employeelist
:
[],
...
...
@@ -252,6 +278,8 @@ export default {
line-height
:
22px
;
}
.info-name
{
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
color
:
#333
;
font-weight
:
500
;
...
...
@@ -263,7 +291,15 @@ export default {
font-size
:
14px
;
}
.send
{
position
:
relative
;
color
:
#666
;
span
{
img
{
position
:
absolute
;
right
:
-6px
;
top
:
4px
;
}
}
}
.unsend
{
padding
:
3px
10px
;
...
...
@@ -272,7 +308,13 @@ export default {
border-radius
:
2px
;
}
.customer-table
{
display
:
table
;
display
:
flex
;
&.send
{
width
:
70px
;
}
span
{
vertical-align
:
middle
;
}
}
div
{
margin-top
:
10px
;
...
...
src/views/seckillActivity/editActivity.vue
View file @
bde6a7f
...
...
@@ -3,7 +3,7 @@
<div
class=
"edit-share marketing p-t-20 edit-box"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
秒杀活动
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"activityTimeHtml"
>
<!--
<el-form-item>
-->
<el-date-picker
v-model=
"editForm.activityTime"
type=
"datetimerange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
:picker-options=
"pickerOptions"
:default-time=
"['00:00:00', '23:59:59']"
:disabled=
"isDisabled"
clearable
></el-date-picker>
...
...
src/views/seckillActivity/index.vue
View file @
bde6a7f
...
...
@@ -6,7 +6,7 @@
</div>
<div
class=
"container"
>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
...
@@ -15,7 +15,7 @@
</div>
<!-- 表格区域 开始 -->
<GLTable
ref=
"activity"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"activity"
:getListApi=
"getListApi"
:
noDataImg=
"url"
:
searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<template
slot=
"activityImg"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.activityImg"
/>
</
template
>
...
...
@@ -39,11 +39,13 @@
<
script
>
import
shareDialog
from
'../productGroup/components/shareDialog'
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
export
default
{
name
:
'activity'
,
data
()
{
return
{
size
:
'small'
,
url
:
url
,
downForm
:
{
id
:
''
,
offReason
:
''
,
...
...
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