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 fe0eee8d
authored
Nov 30, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
1defe410
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
11 deletions
src/views/customerTransform/addCustomer.vue
src/views/home/components/lineChart.vue
src/views/home/index.vue
src/views/customerTransform/addCustomer.vue
View file @
fe0eee8
...
@@ -46,10 +46,10 @@
...
@@ -46,10 +46,10 @@
<el-form
:model=
"basicForm.condition"
label-width=
"120px"
>
<el-form
:model=
"basicForm.condition"
label-width=
"120px"
>
<el-form-item
label=
"性别"
>
<el-form-item
label=
"性别"
>
<el-radio-group
v-model=
"basicForm.condition.sex"
@
change=
"valueChange"
>
<el-radio-group
v-model=
"basicForm.condition.sex"
@
change=
"valueChange"
>
<el-radio
:label=
"1"
>
全部
</el-radio>
<el-radio
label
>
全部
</el-radio>
<el-radio
:label=
"
2
"
>
男性
</el-radio>
<el-radio
:label=
"
1
"
>
男性
</el-radio>
<el-radio
:label=
"
3
"
>
女性
</el-radio>
<el-radio
:label=
"
2
"
>
女性
</el-radio>
<el-radio
:label=
"
4
"
>
未知性别
</el-radio>
<el-radio
:label=
"
0
"
>
未知性别
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"所在群聊"
>
<el-form-item
label=
"所在群聊"
>
...
@@ -281,7 +281,7 @@ export default {
...
@@ -281,7 +281,7 @@ export default {
// 是否有修改筛选成员
// 是否有修改筛选成员
isUpdate
:
true
,
isUpdate
:
true
,
tagging
:
[],
tagging
:
[],
groupNumber
:
''
,
groupNumber
:
0
,
dateOptions
:
{
dateOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
let
now
=
new
Date
()
let
now
=
new
Date
()
...
@@ -338,7 +338,13 @@ export default {
...
@@ -338,7 +338,13 @@ export default {
console
.
log
(
valid
)
console
.
log
(
valid
)
this
.
$refs
.
groupForm
.
validate
(
v
=>
{
this
.
$refs
.
groupForm
.
validate
(
v
=>
{
if
(
v
)
{
if
(
v
)
{
console
.
log
(
v
)
if
(
this
.
groupNumber
==
0
)
{
this
.
$message
({
type
:
'error'
,
message
:
'选择客户数量为0,不可创建'
})
return
}
const
params
=
this
.
getSiftMembers
()
const
params
=
this
.
getSiftMembers
()
params
.
type
=
1
params
.
type
=
1
params
.
attachmentList
=
this
.
basicForm
.
attachmentList
params
.
attachmentList
=
this
.
basicForm
.
attachmentList
...
...
src/views/home/components/lineChart.vue
View file @
fe0eee8
...
@@ -17,7 +17,6 @@ export default {
...
@@ -17,7 +17,6 @@ export default {
// formatter: `{b}\r \n成交金额:{c}\n \n 订单总数:{d}单`
// formatter: `{b}\r \n成交金额:{c}\n \n 订单总数:{d}单`
formatter
:
function
(
params
)
{
formatter
:
function
(
params
)
{
var
tips
=
''
var
tips
=
''
console
.
log
(
params
)
if
(
params
!=
null
&&
params
.
length
>
0
)
{
if
(
params
!=
null
&&
params
.
length
>
0
)
{
tips
+=
params
[
0
].
name
+
'<br />'
tips
+=
params
[
0
].
name
+
'<br />'
for
(
var
i
=
0
;
i
<
params
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
params
.
length
;
i
++
)
{
...
@@ -72,7 +71,7 @@ export default {
...
@@ -72,7 +71,7 @@ export default {
const
xData
=
val
.
map
(
i
=>
i
.
dataDateStr
)
const
xData
=
val
.
map
(
i
=>
i
.
dataDateStr
)
const
yData
=
val
.
map
(
i
=>
i
.
amount
)
const
yData
=
val
.
map
(
i
=>
i
.
amount
)
this
.
option
.
xAxis
.
data
=
xData
.
reverse
()
this
.
option
.
xAxis
.
data
=
xData
.
reverse
()
this
.
option
.
series
[
0
].
data
=
yData
this
.
option
.
series
[
0
].
data
=
yData
.
reverse
()
this
.
option
.
series
[
0
].
count
=
val
.
map
(
i
=>
i
.
count
)
this
.
option
.
series
[
0
].
count
=
val
.
map
(
i
=>
i
.
count
)
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
}
}
...
...
src/views/home/index.vue
View file @
fe0eee8
...
@@ -34,7 +34,16 @@
...
@@ -34,7 +34,16 @@
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
优惠券总数
优惠券总数
<img
:src=
"iconUrl"
alt
/>
<el-popover
placement=
"top-start"
title=
"优惠券总数"
width=
"200"
trigger=
"hover"
content=
"营销工具中优惠券类配置的所有类型的券总数量。"
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
</span>
<span
class=
"date-content"
>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
coupon
.
totalIssue
}}
</span>
张
<span
class=
"data-num"
>
{{
coupon
.
totalIssue
}}
</span>
张
...
@@ -43,7 +52,16 @@
...
@@ -43,7 +52,16 @@
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
发放总数
发放总数
<img
:src=
"iconUrl"
alt
/>
<el-popover
placement=
"top-start"
title=
"发放总数"
width=
"200"
trigger=
"hover"
content=
"配置的优惠券中已发放给客户的数量。"
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
</span>
<span
class=
"date-content"
>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
coupon
.
totalIssue
}}
</span>
张
<span
class=
"data-num"
>
{{
coupon
.
totalIssue
}}
</span>
张
...
@@ -52,7 +70,16 @@
...
@@ -52,7 +70,16 @@
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
核销总数
核销总数
<img
:src=
"iconUrl"
alt
/>
<el-popover
placement=
"top-start"
title=
"核销总数"
width=
"200"
trigger=
"hover"
content=
"已发放给客户的券被核销的数量。"
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
</span>
<span
class=
"date-content"
>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
coupon
.
totalVerification
}}
</span>
张
<span
class=
"data-num"
>
{{
coupon
.
totalVerification
}}
</span>
张
...
@@ -633,6 +660,7 @@ export default {
...
@@ -633,6 +660,7 @@ export default {
&
-picker
{
&
-picker
{
//
width
:
240px
;
//
width
:
240px
;
//
width
:
25%
;
//
width
:
25%
;
width
:
calc
(
100%
-
130px
);
margin-left
:
20px
;
margin-left
:
20px
;
}
}
&
-content
{
&
-content
{
...
...
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