Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李君
/
carrefour
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 d9f4bc34
authored
Nov 03, 2022
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加成人儿童,顾客组数卡片
1 parent
ed0da9d6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
5 deletions
src/views/iPage/common/card.config.js
src/views/iPage/common/module/card.vue
src/views/queueManagement/dataPlayback/index.vue
src/views/queueManagement/queueLive/index.vue
src/views/iPage/common/card.config.js
View file @
d9f4bc3
...
...
@@ -527,5 +527,35 @@ export default {
year
:
{
level
:
[
"MONTH"
,
"WEEK"
,
"DAY"
],
},
}
},
mall_customer_group
:
{
name
:
"顾客组数"
,
unit
:
'iPage.number'
,
unit2
:
'iPage.number'
,
info
:
"顾客组数"
,
month
:
{
level
:
[],
},
day
:
{
level
:
[],
},
year
:
{
level
:
[],
},
},
mall_customer_adult_child
:
{
name
:
"成人&儿童"
,
unit
:
'iPage.number'
,
unit2
:
'iPage.number'
,
info
:
"成人&儿童"
,
month
:
{
level
:
[],
},
day
:
{
level
:
[],
},
year
:
{
level
:
[],
},
},
};
src/views/iPage/common/module/card.vue
View file @
d9f4bc3
...
...
@@ -27,6 +27,12 @@
<div
class=
"grow acea-row row-start"
v-else-if=
"card.chartKey=='mall_number'"
>
<!--
<p
style=
"margin-right:20px;"
><i>
{{
card
.
open_mall_number
}}
</i><span>
个
</span></p>
-->
</div>
<div
class=
"grow acea-row row-start"
v-else-if=
"card.chartKey=='mall_customer_adult_child'"
>
<!--
<p
style=
"margin-right:20px;"
><i>
{{
card
.
open_mall_number
}}
</i><span>
个
</span></p>
-->
</div>
<div
class=
"grow acea-row row-start"
v-else-if=
"card.chartKey=='mall_customer_group'"
>
<!--
<p
style=
"margin-right:20px;"
><i>
{{
card
.
open_mall_number
}}
</i><span>
个
</span></p>
-->
</div>
<!-- 已开业商场 E -->
<!-- 日报 S -->
<div
class=
"grow day"
v-else-if=
"params.dateType=='day'"
>
...
...
src/views/queueManagement/dataPlayback/index.vue
View file @
d9f4bc3
...
...
@@ -369,6 +369,7 @@
let
htmls
=
""
;
htmls
=
`<div><div style="font-size:14px;height:31px;line-height:31px;padding-left:15px;padding-right:15px;">
${
parmas
[
0
].
name
}
</div>`
;
parmas
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
data
!=
null
){
if
(
item
.
seriesName
==
'Queue Length'
){
htmls
+=
`<p style="font-size:13px;padding:4px 15px;">
${
item
.
marker
}
${
item
.
seriesName
}
:
${
item
.
data
}${
this
.
$t
(
'format.perNum'
)}
</p>`
;
}
else
{
...
...
@@ -380,6 +381,8 @@
}
htmls
+=
`<p style="font-size:13px;padding:4px 15px;">
${
item
.
marker
}
${
item
.
seriesName
}
:
${
count
}
</p>`
;
}
}
});
htmls
+=
"</div>"
;
return
htmls
;
...
...
@@ -388,9 +391,9 @@
let
htmls
=
""
;
htmls
=
`<div><div style="font-size:14px;height:31px;line-height:31px;padding-left:15px;padding-right:15px;">
${
parmas
[
0
].
name
}
</div>`
;
parmas
.
forEach
((
item
,
index
)
=>
{
// if(item.data
){
if
(
item
.
data
!=
null
){
htmls
+=
`<p style="font-size:13px;padding:4px 15px;">
${
item
.
marker
}
${
item
.
seriesName
}
:
${
item
.
data
}${
this
.
$t
(
'format.perNum'
)}
</p>`
;
//
}
}
});
htmls
+=
"</div>"
;
return
htmls
;
...
...
src/views/queueManagement/queueLive/index.vue
View file @
d9f4bc3
...
...
@@ -337,6 +337,7 @@ export default {
let
htmls
=
""
;
htmls
=
`<div><div style="font-size:14px;height:31px;line-height:31px;padding-left:15px;padding-right:15px;">
${
parmas
[
0
].
name
}
</div>`
;
parmas
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
data
!=
null
){
if
(
item
.
seriesName
==
'Queue Length'
){
htmls
+=
`<p style="font-size:13px;padding:4px 15px;">
${
item
.
marker
}
${
item
.
seriesName
}
:
${
item
.
data
}${
this
.
$t
(
'format.perNum'
)}
</p>`
;
}
else
{
...
...
@@ -348,6 +349,7 @@ export default {
}
htmls
+=
`<p style="font-size:13px;padding:4px 15px;">
${
item
.
marker
}
${
item
.
seriesName
}
:
${
count
}
</p>`
;
}
}
});
htmls
+=
"</div>"
;
return
htmls
;
...
...
@@ -356,9 +358,9 @@ export default {
let
htmls
=
""
;
htmls
=
`<div><div style="font-size:14px;height:31px;line-height:31px;padding-left:15px;padding-right:15px;">
${
parmas
[
0
].
name
}
</div>`
;
parmas
.
forEach
((
item
,
index
)
=>
{
// if(item.data
){
if
(
item
.
data
!=
null
){
htmls
+=
`<p style="font-size:13px;padding:4px 15px;">
${
item
.
marker
}
${
item
.
seriesName
}
:
${
item
.
data
}${
this
.
$t
(
'format.perNum'
)}
</p>`
;
//
}
}
});
htmls
+=
"</div>"
;
return
htmls
;
...
...
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