Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
supervisor-miniprogram
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 77a3b76e
authored
Jun 11, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(督导统计): 添加默认值显示 , 当数据为空时, 使用空值默认值展示
1 parent
c5603062
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
5 deletions
README.md
packageIndex/components/statisticsItem/statisticsItem.wxml
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.data.js
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.js
packageIndex/pages/storePerformance/storePerformance.data.js
README.md
View file @
77a3b76
...
@@ -10,5 +10,9 @@ v20.20.2
...
@@ -10,5 +10,9 @@ v20.20.2
##### 督导
##### 督导
-dev 13132112126
-dev
-test 13267032121
* 13476670746
* 13132112126
-test
* 13267032121
* 13476670746
packageIndex/components/statisticsItem/statisticsItem.wxml
View file @
77a3b76
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
{{ item.label }}
{{ item.label }}
</view>
</view>
<view class="value text-hide ">
<view class="value text-hide ">
{{ data[item.name] }}
{{ data[item.name]
|| item.emptyValue || '0'
}}
</view>
</view>
</view>
</view>
</view>
</view>
...
...
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.data.js
View file @
77a3b76
...
@@ -19,12 +19,14 @@ export const schemaList = [
...
@@ -19,12 +19,14 @@ export const schemaList = [
label
:
"交付数"
,
label
:
"交付数"
,
col
:
8
,
col
:
8
,
titleInfo
:
true
,
titleInfo
:
true
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayPreSalesTouchCount"
,
name
:
"displayPreSalesTouchCount"
,
label
:
"触客数"
,
label
:
"触客数"
,
col
:
8
,
col
:
8
,
titleInfo
:
true
,
titleInfo
:
true
,
emptyValue
:
"0"
,
},
},
{
{
...
@@ -32,6 +34,7 @@ export const schemaList = [
...
@@ -32,6 +34,7 @@ export const schemaList = [
label
:
"总产值(万)"
,
label
:
"总产值(万)"
,
col
:
8
,
col
:
8
,
titleInfo
:
true
,
titleInfo
:
true
,
emptyValue
:
"0"
,
},
},
{
{
...
@@ -39,47 +42,55 @@ export const schemaList = [
...
@@ -39,47 +42,55 @@ export const schemaList = [
label
:
"整车延保"
,
label
:
"整车延保"
,
col
:
8
,
col
:
8
,
tips
:
"整车延保触客转化率"
,
tips
:
"整车延保触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayPeaceOfMindRate"
,
name
:
"displayPeaceOfMindRate"
,
label
:
"安心包"
,
label
:
"安心包"
,
col
:
6
,
col
:
6
,
tips
:
"安心包触客转化率"
,
tips
:
"安心包触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayBatteryWarrantyRate"
,
name
:
"displayBatteryWarrantyRate"
,
label
:
"电池"
,
label
:
"电池"
,
col
:
5
,
col
:
5
,
tips
:
"电池延保触客转化率"
,
tips
:
"电池延保触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayTireInsuranceRate"
,
name
:
"displayTireInsuranceRate"
,
label
:
"轮胎"
,
label
:
"轮胎"
,
col
:
5
,
col
:
5
,
tips
:
"轮胎险触客转化率"
,
tips
:
"轮胎险触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayVehicleWarrantyAfterSalesRate"
,
name
:
"displayVehicleWarrantyAfterSalesRate"
,
label
:
"整车延保售后成交/总成交"
,
label
:
"整车延保售后成交/总成交"
,
col
:
12
,
col
:
12
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayPeaceOfMindAfterSalesRate"
,
name
:
"displayPeaceOfMindAfterSalesRate"
,
label
:
"安心包售后成交/总成交"
,
label
:
"安心包售后成交/总成交"
,
col
:
12
,
col
:
12
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayBatteryAfterSalesRate"
,
name
:
"displayBatteryAfterSalesRate"
,
label
:
"电池售后成交/总成交"
,
label
:
"电池售后成交/总成交"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayTireInsuranceAfterSalesRate"
,
name
:
"displayTireInsuranceAfterSalesRate"
,
label
:
"轮胎售后成交/总成交"
,
label
:
"轮胎售后成交/总成交"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0/0"
,
},
},
];
];
export
const
schemaCommonBrandList
=
[
export
const
schemaCommonBrandList
=
[
...
@@ -88,64 +99,75 @@ export const schemaCommonBrandList = [
...
@@ -88,64 +99,75 @@ export const schemaCommonBrandList = [
label
:
"交付数"
,
label
:
"交付数"
,
col
:
8
,
col
:
8
,
titleInfo
:
true
,
titleInfo
:
true
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayPreSalesTouchCount"
,
name
:
"displayPreSalesTouchCount"
,
label
:
"触客数"
,
label
:
"触客数"
,
col
:
8
,
col
:
8
,
titleInfo
:
true
,
titleInfo
:
true
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayTotalOutput"
,
name
:
"displayTotalOutput"
,
label
:
"总产值(万)"
,
label
:
"总产值(万)"
,
col
:
8
,
col
:
8
,
titleInfo
:
true
,
titleInfo
:
true
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayTouchConversionRate"
,
name
:
"displayTouchConversionRate"
,
label
:
"触客成交率"
,
label
:
"触客成交率"
,
col
:
7
,
col
:
7
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayWarrantyRate"
,
name
:
"displayWarrantyRate"
,
label
:
"延保"
,
label
:
"延保"
,
col
:
5
,
col
:
5
,
tips
:
"延保触客转化率"
,
tips
:
"延保触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayEquityProductRate"
,
name
:
"displayEquityProductRate"
,
label
:
"权益商品"
,
label
:
"权益商品"
,
col
:
7
,
col
:
7
,
tips
:
"权益商品触客转化率"
,
tips
:
"权益商品触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayEquityRate"
,
name
:
"displayEquityRate"
,
label
:
"权益"
,
label
:
"权益"
,
col
:
5
,
col
:
5
,
tips
:
"权益触客转化率"
,
tips
:
"权益触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayWarrantyAfterSalesRate"
,
name
:
"displayWarrantyAfterSalesRate"
,
label
:
"延保售后成交/总成交"
,
label
:
"延保售后成交/总成交"
,
col
:
12
,
col
:
12
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayEquityProductAfterSalesRate"
,
name
:
"displayEquityProductAfterSalesRate"
,
label
:
"权益商品售后成交/总成交"
,
label
:
"权益商品售后成交/总成交"
,
col
:
12
,
col
:
12
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayEquityAfterSalesRate"
,
name
:
"displayEquityAfterSalesRate"
,
label
:
"权益售后成交/总成交"
,
label
:
"权益售后成交/总成交"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayEquityAvgUnitPrice"
,
name
:
"displayEquityAvgUnitPrice"
,
label
:
"权益平均客单价(元)"
,
label
:
"权益平均客单价(元)"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0"
,
},
},
];
];
packageIndex/pages/stationStaffPerformance/stationStaffPerformance.js
View file @
77a3b76
...
@@ -97,8 +97,8 @@ Page({
...
@@ -97,8 +97,8 @@ Page({
});
});
this
.
setData
({
this
.
setData
({
originList
:
data
,
originList
:
data
.
splice
(
0
,
10
)
,
list
:
this
.
filterData
(
data
),
list
:
this
.
filterData
(
data
.
splice
(
0
,
10
)
),
});
});
}
finally
{
}
finally
{
wx
.
$util
.
hideLoading
();
wx
.
$util
.
hideLoading
();
...
...
packageIndex/pages/storePerformance/storePerformance.data.js
View file @
77a3b76
...
@@ -71,62 +71,73 @@ export const schemaCommonBrandList = [
...
@@ -71,62 +71,73 @@ export const schemaCommonBrandList = [
name
:
"displayTotalOutput"
,
name
:
"displayTotalOutput"
,
label
:
"总产值(万)"
,
label
:
"总产值(万)"
,
col
:
8
,
col
:
8
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayDeliveryCount"
,
name
:
"displayDeliveryCount"
,
label
:
"交付数"
,
label
:
"交付数"
,
col
:
8
,
col
:
8
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayPreSalesTouchCount"
,
name
:
"displayPreSalesTouchCount"
,
label
:
"触客数"
,
label
:
"触客数"
,
col
:
8
,
col
:
8
,
emptyValue
:
"0"
,
},
},
{
{
name
:
"displayTouchConversionRate"
,
name
:
"displayTouchConversionRate"
,
label
:
"触客成交率"
,
label
:
"触客成交率"
,
col
:
7
,
col
:
7
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayWarrantyRate"
,
name
:
"displayWarrantyRate"
,
label
:
"延保"
,
label
:
"延保"
,
col
:
5
,
col
:
5
,
tips
:
"延保触客转化率"
,
tips
:
"延保触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayEquityProductRate"
,
name
:
"displayEquityProductRate"
,
label
:
"权益商品"
,
label
:
"权益商品"
,
col
:
7
,
col
:
7
,
tips
:
"权益商品触客转化率"
,
tips
:
"权益商品触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayEquityRate"
,
name
:
"displayEquityRate"
,
label
:
"权益"
,
label
:
"权益"
,
col
:
5
,
col
:
5
,
tips
:
"权益触客转化率"
,
tips
:
"权益触客转化率"
,
emptyValue
:
"0%"
,
},
},
{
{
name
:
"displayWarrantyAfterSalesRate"
,
name
:
"displayWarrantyAfterSalesRate"
,
label
:
"延保售后成交/总成交"
,
label
:
"延保售后成交/总成交"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayEquityProductAfterSalesRate"
,
name
:
"displayEquityProductAfterSalesRate"
,
label
:
"权益商品售后成交/总成交"
,
label
:
"权益商品售后成交/总成交"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayEquityAfterSalesRate"
,
name
:
"displayEquityAfterSalesRate"
,
label
:
"权益售后成交/总成交"
,
label
:
"权益售后成交/总成交"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0/0"
,
},
},
{
{
name
:
"displayEquityAvgUnitPrice"
,
name
:
"displayEquityAvgUnitPrice"
,
label
:
"权益平均客单价(元)"
,
label
:
"权益平均客单价(元)"
,
col
:
12
,
col
:
12
,
isMore
:
true
,
isMore
:
true
,
emptyValue
:
"0"
,
},
},
];
];
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