Commit d9f4bc34 by 李君

增加成人儿童,顾客组数卡片

1 parent ed0da9d6
......@@ -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: [],
},
},
};
......@@ -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'">
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!