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 2ba565fc
authored
Dec 11, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
群发修改
1 parent
a67eb0de
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
10 deletions
src/assets/guestCustom/activity-logo.png
src/assets/guestCustom/default-customer.png
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/activityModel.vue
src/views/customerTransform/components/basicInfo.vue
src/views/customerTransform/components/preview.vue
src/views/customerTransform/index.vue
src/assets/guestCustom/activity-logo.png
View file @
2ba565f
18.6 KB
|
W:
|
H:
19.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/guestCustom/default-customer.png
0 → 100644
View file @
2ba565f
1.81 KB
src/views/customerTransform/addCustomerGroup.vue
View file @
2ba565f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
label-width=
"120px"
label-width=
"120px"
>
>
<el-form-item
label=
"群聊名称"
prop=
"massName"
>
<el-form-item
label=
"群聊名称"
prop=
"massName"
>
<el-input
v-model=
"basicForm.massName"
placeholder=
"群发名称仅内部可见"
maxlength=
"10"
></el-input>
<el-input
v-model=
"basicForm.massName"
placeholder=
"群发名称仅内部可见
,且不可重复
"
maxlength=
"10"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"userList"
>
<el-form-item
prop=
"userList"
>
<label
slot=
"label"
class=
"required"
>
选择群主
</label>
<label
slot=
"label"
class=
"required"
>
选择群主
</label>
...
...
src/views/customerTransform/components/activityModel.vue
View file @
2ba565f
...
@@ -230,6 +230,9 @@ export default {
...
@@ -230,6 +230,9 @@ export default {
line-height
:
24px
;
line-height
:
24px
;
}
}
/
deep
/
{
/
deep
/
{
.el-pager
{
height
:
30px
;
}
.el-checkbox
:last-of-type
{
.el-checkbox
:last-of-type
{
margin-right
:
8px
;
margin-right
:
8px
;
}
}
...
@@ -276,7 +279,8 @@ export default {
...
@@ -276,7 +279,8 @@ export default {
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
25%
);
grid-template-columns
:
repeat
(
4
,
25%
);
grid-row-gap
:
10px
;
grid-row-gap
:
10px
;
height
:
38vh
;
max-height
:
35vh
;
min-height
:
35vh
;
padding
:
10px
;
padding
:
10px
;
overflow
:
auto
;
overflow
:
auto
;
text-align
:
center
;
text-align
:
center
;
...
...
src/views/customerTransform/components/basicInfo.vue
View file @
2ba565f
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<div
class=
"statistics-li"
>
<div
class=
"statistics-li"
>
<div
class=
"statistics-number"
>
<div
class=
"statistics-number"
>
<span>
{{
form
==
'customer'
?
statistic
.
senderCustomerCount
:
statistic
.
senderGroupCount
}}
</span>
<span>
{{
form
==
'customer'
?
statistic
.
senderCustomerCount
:
statistic
.
senderGroupCount
}}
</span>
人
{{
form
==
'customer'
?
'人'
:
'个'
}}
</div>
</div>
<div
class=
"statistics-text"
>
送达
{{
form
==
'customer'
?
'客户'
:
'群聊'
}}
</div>
<div
class=
"statistics-text"
>
送达
{{
form
==
'customer'
?
'客户'
:
'群聊'
}}
</div>
</div>
</div>
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<div
class=
"statistics-li"
>
<div
class=
"statistics-li"
>
<div
class=
"statistics-number"
>
<div
class=
"statistics-number"
>
<span>
{{
form
==
'customer'
?
statistic
.
unSenderCustomerCount
:
statistic
.
unSenderGroupCount
}}
</span>
<span>
{{
form
==
'customer'
?
statistic
.
unSenderCustomerCount
:
statistic
.
unSenderGroupCount
}}
</span>
人
{{
form
==
'customer'
?
'人'
:
'个'
}}
</div>
</div>
<div
class=
"statistics-text"
>
未送达
{{
form
==
'customer'
?
'客户'
:
'群聊'
}}
</div>
<div
class=
"statistics-text"
>
未送达
{{
form
==
'customer'
?
'客户'
:
'群聊'
}}
</div>
</div>
</div>
...
...
src/views/customerTransform/components/preview.vue
View file @
2ba565f
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
<div
class=
"preview-content"
>
<div
class=
"preview-content"
>
<div
class=
"preview-time"
>
{{
currentTime
}}
</div>
<div
class=
"preview-time"
>
{{
currentTime
}}
</div>
<div
class=
"preview-info"
v-for=
"item in previewList"
:key=
"item.id"
>
<div
class=
"preview-info"
v-for=
"item in previewList"
:key=
"item.id"
>
<img
class=
"avatar"
src=
"@/assets/
logo
.png"
alt
/>
<img
class=
"avatar"
src=
"@/assets/
guestCustom/default-customer
.png"
alt
/>
<template
v-if=
"item.attType == 1"
>
<template
v-if=
"item.attType == 1"
>
<div
class=
"preview-text text"
>
{{
item
.
attContent
}}
</div>
<div
class=
"preview-text text"
>
{{
item
.
attContent
}}
</div>
</
template
>
</
template
>
<
template
v-else-if=
"item.attType == 7"
>
<
template
v-else-if=
"item.attType == 7"
>
<div
class=
"preview-activity"
>
<div
class=
"preview-activity"
>
<
img
class=
"applet-logo"
src=
"@/assets/guestCustom/applet-logo.png"
alt
/
>
<
!--
<img
class=
"applet-logo"
src=
"@/assets/guestCustom/applet-logo.png"
alt
/>
--
>
<div
class=
"activity-name"
>
{{
item
.
attContent
.
marketingName
}}
</div>
<div
class=
"activity-name"
>
{{
item
.
attContent
.
marketingName
}}
</div>
<img
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-logo.png"
alt
/>
<img
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-logo.png"
alt
/>
<div
class=
"activity-footer"
>
<div
class=
"activity-footer"
>
...
...
src/views/customerTransform/index.vue
View file @
2ba565f
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
<GLTable
:key=
"key"
ref=
"customer"
ref=
"customer"
:getListApi=
"customerList"
:getListApi=
"customerList"
:tableParams=
"gueastTableParams"
:tableParams=
"gueastTableParams"
...
@@ -60,6 +61,7 @@
...
@@ -60,6 +61,7 @@
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
<GLTable
:key=
"groupKey"
ref=
"customerGroup"
ref=
"customerGroup"
:getListApi=
"customerGroupList"
:getListApi=
"customerGroupList"
:tableParams=
"gueastGroupTableParams"
:tableParams=
"gueastGroupTableParams"
...
@@ -99,7 +101,7 @@ export default {
...
@@ -99,7 +101,7 @@ export default {
}
}
return
{
return
{
ATT_TYPE
,
ATT_TYPE
,
activeIndex
:
'1'
,
activeIndex
:
1
,
gueastTableParams
:
{
gueastTableParams
:
{
listName
:
'data'
,
listName
:
'data'
,
tableOption
:
false
,
tableOption
:
false
,
...
@@ -199,7 +201,7 @@ export default {
...
@@ -199,7 +201,7 @@ export default {
line
:
2
line
:
2
},
},
{
{
label
:
'
已
送达群聊'
,
label
:
'送达群聊'
,
prop
:
'sendCustomerNum'
,
prop
:
'sendCustomerNum'
,
line
:
2
line
:
2
},
},
...
@@ -220,7 +222,9 @@ export default {
...
@@ -220,7 +222,9 @@ export default {
addHtml
:
'optionBtns'
addHtml
:
'optionBtns'
}
}
]
]
}
},
key
:
new
Date
(),
groupKey
:
new
Date
()
}
}
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
...
@@ -232,11 +236,13 @@ export default {
...
@@ -232,11 +236,13 @@ export default {
},
},
methods
:
{
methods
:
{
switchMenu
(
val
)
{
switchMenu
(
val
)
{
this
.
activeIndex
=
val
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
activeIndex
=
val
if
(
val
==
1
)
{
if
(
val
==
1
)
{
this
.
key
=
new
Date
()
if
(
this
.
$refs
.
customer
)
this
.
$refs
.
customer
.
refreshTable
()
if
(
this
.
$refs
.
customer
)
this
.
$refs
.
customer
.
refreshTable
()
}
else
{
}
else
{
this
.
groupKey
=
new
Date
()
if
(
this
.
$refs
.
customerGroup
)
this
.
$refs
.
customerGroup
.
refreshTable
()
if
(
this
.
$refs
.
customerGroup
)
this
.
$refs
.
customerGroup
.
refreshTable
()
}
}
})
})
...
...
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