Commit 7f398b1f by Jaxon

Merge branch 'feature/statistics' into 'SAAS+V5.8.2'

Feature/statistics

See merge request !15
2 parents 9c416297 b82abade
......@@ -10,5 +10,9 @@ v20.20.2
##### 督导
-dev 13132112126
-test 13267032121
-dev
* 13476670746
* 13132112126
-test
* 13267032121
* 13476670746
......@@ -101,7 +101,7 @@
{{ item.label }}
</view>
<view class="value text-hide ">
{{ data[item.name] }}
{{ data[item.name] || item.emptyValue || '0' }}
</view>
</view>
</view>
......
......@@ -19,12 +19,14 @@ export const schemaList = [
label: "交付数",
col: 8,
titleInfo: true,
emptyValue: "0",
},
{
name: "displayPreSalesTouchCount",
label: "触客数",
col: 8,
titleInfo: true,
emptyValue: "0",
},
{
......@@ -32,6 +34,7 @@ export const schemaList = [
label: "总产值(万)",
col: 8,
titleInfo: true,
emptyValue: "0",
},
{
......@@ -39,47 +42,55 @@ export const schemaList = [
label: "整车延保",
col: 8,
tips: "整车延保触客转化率",
emptyValue: "0%",
},
{
name: "displayPeaceOfMindRate",
label: "安心包",
col: 6,
tips: "安心包触客转化率",
emptyValue: "0%",
},
{
name: "displayBatteryWarrantyRate",
label: "电池",
col: 5,
tips: "电池延保触客转化率",
emptyValue: "0%",
},
{
name: "displayTireInsuranceRate",
label: "轮胎",
col: 5,
tips: "轮胎险触客转化率",
emptyValue: "0%",
},
{
name: "displayVehicleWarrantyAfterSalesRate",
label: "整车延保售后成交/总成交",
col: 12,
emptyValue: "0/0",
},
{
name: "displayPeaceOfMindAfterSalesRate",
label: "安心包售后成交/总成交",
col: 12,
emptyValue: "0/0",
},
{
name: "displayBatteryAfterSalesRate",
label: "电池售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayTireInsuranceAfterSalesRate",
label: "轮胎售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
];
export const schemaCommonBrandList = [
......@@ -88,64 +99,75 @@ export const schemaCommonBrandList = [
label: "交付数",
col: 8,
titleInfo: true,
emptyValue: "0",
},
{
name: "displayPreSalesTouchCount",
label: "触客数",
col: 8,
titleInfo: true,
emptyValue: "0",
},
{
name: "displayTotalOutput",
label: "总产值(万)",
col: 8,
titleInfo: true,
emptyValue: "0",
},
{
name: "displayTouchConversionRate",
label: "触客成交率",
col: 7,
emptyValue: "0%",
},
{
name: "displayWarrantyRate",
label: "延保",
col: 5,
tips: "延保触客转化率",
emptyValue: "0%",
},
{
name: "displayEquityProductRate",
label: "权益商品",
col: 7,
tips: "权益商品触客转化率",
emptyValue: "0%",
},
{
name: "displayEquityRate",
label: "权益",
col: 5,
tips: "权益触客转化率",
emptyValue: "0%",
},
{
name: "displayWarrantyAfterSalesRate",
label: "延保售后成交/总成交",
col: 12,
emptyValue: "0/0",
},
{
name: "displayEquityProductAfterSalesRate",
label: "权益商品售后成交/总成交",
col: 12,
emptyValue: "0/0",
},
{
name: "displayEquityAfterSalesRate",
label: "权益售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayEquityAvgUnitPrice",
label: "权益平均客单价(元)",
col: 12,
isMore: true,
emptyValue: "0",
},
];
......@@ -97,8 +97,8 @@ Page({
});
this.setData({
originList: data,
list: this.filterData(data),
originList: data.splice(0, 10),
list: this.filterData(data.splice(0, 10)),
});
} finally {
wx.$util.hideLoading();
......
......@@ -3,16 +3,19 @@ export const schemaList = [
name: "displayTotalOutput",
label: "总产值(万)",
col: 8,
emptyValue: "0",
},
{
name: "displayDeliveryCount",
label: "交付数",
col: 8,
emptyValue: "0",
},
{
name: "displayPreSalesTouchCount",
label: "触客数",
col: 8,
emptyValue: "0",
},
{
......@@ -20,24 +23,28 @@ export const schemaList = [
label: "整车延保",
col: 8,
tips: "整车延保触客转化率",
emptyValue: "0%",
},
{
name: "displayPeaceOfMindRate",
label: "安心包",
col: 6,
tips: "安心包触客转化率",
emptyValue: "0%",
},
{
name: "displayBatteryWarrantyRate",
label: "电池",
col: 5,
tips: "电池延保触客转化率",
emptyValue: "0%",
},
{
name: "displayTireInsuranceRate",
label: "轮胎",
col: 5,
tips: "轮胎险触客转化率",
emptyValue: "0%",
},
{
......@@ -45,24 +52,28 @@ export const schemaList = [
label: "整车延保售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayPeaceOfMindAfterSalesRate",
label: "安心包售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayBatteryAfterSalesRate",
label: "电池售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayTireInsuranceAfterSalesRate",
label: "轮胎售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
];
......@@ -71,62 +82,73 @@ export const schemaCommonBrandList = [
name: "displayTotalOutput",
label: "总产值(万)",
col: 8,
emptyValue: "0",
},
{
name: "displayDeliveryCount",
label: "交付数",
col: 8,
emptyValue: "0",
},
{
name: "displayPreSalesTouchCount",
label: "触客数",
col: 8,
emptyValue: "0",
},
{
name: "displayTouchConversionRate",
label: "触客成交率",
col: 7,
emptyValue: "0%",
},
{
name: "displayWarrantyRate",
label: "延保",
col: 5,
tips: "延保触客转化率",
emptyValue: "0%",
},
{
name: "displayEquityProductRate",
label: "权益商品",
col: 7,
tips: "权益商品触客转化率",
emptyValue: "0%",
},
{
name: "displayEquityRate",
label: "权益",
col: 5,
tips: "权益触客转化率",
emptyValue: "0%",
},
{
name: "displayWarrantyAfterSalesRate",
label: "延保售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayEquityProductAfterSalesRate",
label: "权益商品售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayEquityAfterSalesRate",
label: "权益售后成交/总成交",
col: 12,
isMore: true,
emptyValue: "0/0",
},
{
name: "displayEquityAvgUnitPrice",
label: "权益平均客单价(元)",
col: 12,
isMore: true,
emptyValue: "0",
},
];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!