分析
+diff --git a/common/utils.js b/common/utils.js
index f33604e..c6bba96 100644
--- a/common/utils.js
+++ b/common/utils.js
@@ -301,6 +301,7 @@ function getThisMonthHave(value){
return `${y}-${m}`
}
+
// 输入时间拿到月份 输出月份的字符串
function getThisTimeMonth(value){
const date = new Date(value)
diff --git a/pages.json b/pages.json
index 1aa627e..7ea6e29 100644
--- a/pages.json
+++ b/pages.json
@@ -156,16 +156,30 @@
}
]
},
- { // 商业BI
- "root": "pages/commercialBI",
+ {
+ "root": "pages/commercialBINew",
"pages": [
+ {
+ "path": "flowAnalysis",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom",
+ "disableScroll": true
+ }
+ },
{
"path": "carPortrait",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
- },
+ }
+ ]
+ },
+ { // 商业BI
+ "root": "pages/commercialBI",
+ "pages": [
+
{
"path": "guestPortrait",
"style": {
@@ -277,20 +291,7 @@
}
]
},
- {
- // 商业BI新版
- "root": "pages/commercialBINew",
- "pages": [
- {
- "path": "flowAnalysis",
- "style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "disableScroll": true
- }
- }
- ]
- },
+
{
"root": "pages/plan",
"pages": [
diff --git a/pages/commercialBI/businessPortrait.vue b/pages/commercialBI/businessPortrait.vue
index cd76017..c06dc89 100644
--- a/pages/commercialBI/businessPortrait.vue
+++ b/pages/commercialBI/businessPortrait.vue
@@ -6,8 +6,7 @@
品牌指数
diff --git a/pages/commercialBI/guestPortrait.vue b/pages/commercialBI/guestPortrait.vue index 469bc1c..47070a6 100644 --- a/pages/commercialBI/guestPortrait.vue +++ b/pages/commercialBI/guestPortrait.vue @@ -6,8 +6,8 @@营收分析{{lastDay}}
@@ -497,6 +496,10 @@ export default { const data = await request.$webGet('CommercialApi/Revenue/GetSummaryRevenue',req) console.log('data22222',data) this.monthDetail = data.Result_Data.RevenuePushModel + if (this.serviceInfo.SERVERPART_NAME!=='安徽驿达' && this.monthDetail.BudgetRevenue){ + this.monthDetail.comparePlan = Number(this.$util.getMoney(((this.monthDetail.CashPay/this.monthDetail.BudgetRevenue)-1)*100)) + console.log('monthDetail',this.monthDetail) + } }, async getRevenueList(){ diff --git a/pages/commercialBI/serviceMessage.vue b/pages/commercialBI/serviceMessage.vue index 277a3da..27d59c2 100644 --- a/pages/commercialBI/serviceMessage.vue +++ b/pages/commercialBI/serviceMessage.vue @@ -29,15 +29,15 @@{{serviceInfo.SPREGIONTYPE_NAME}}
+{{serviceInfo.SPREGIONTYPE_NAME}}
-分析
+{{item.name}}
+{{item.value}}%
+{{item.name}}
+{{item.value}}%
+客单均价
{{ info.MonthAvgTicketPrice?info.MonthAvgTicketPrice:'-' }}
+该服务区
+{{ info.ProvinceAvgTicketPrice?info.ProvinceAvgTicketPrice:'-' }}
+省级平均
+{{item.name}}
+低消费
+普通消费
+高消费
+{{item.Brand_Name}}
+{{item.Bussiness_Name}}
+{{item.Bussiness_Time}}
+{{9}}
吸引力指数
+{{9}}
业绩评分
+{{9}}
坪效指数
+{{genderList[0].name}}
+低消费
+普通消费
+高消费
+{{genderList[1].name}}
+低消费
+普通消费
+高消费
+昨日客单量
+{{ info.TicketCount?info.TicketCount:'-' }}
+客单交易
{{ info.AvgTicketPrice?info.AvgTicketPrice:'-' }}
+客单均价
{{ info.VehicleCount?info.VehicleCount:'-' }}
+入区车辆
{{ info.AvgVehicleAmount ?info.AvgVehicleAmount :'-' }}
+单车价值
月均客单量
+{{ info.TicketAvgCount?info.TicketAvgCount:'-' }}
+客单交易
{{ info.MonthAvgTicketPrice?info.MonthAvgTicketPrice:'-' }}
+客单均价
{{ info.MonthVehicleCount?info.MonthVehicleCount:'-' }}
+入区车辆
{{ info.MonthVehicleAmount?info.MonthVehicleAmount:'-' }}
+单车价值
男
+{{man}}%
+女
+{{woman}}%
+{{obj.title?obj.title:''}}
+{{obj.value?obj.value:''}}%
+抱歉,数据为第三方接口传输,无法进行画像分析
+抱歉,第三方数据未传,无法分析
+-
+长款金额
-
+短款金额
-
+优惠金额
-
+-
+商品出售
-
+商品均价
-
+日均入区
-
+入区率
-
+停留时长
-
+长款金额
-
+短款金额
-
+优惠金额
-
+-
+商品出售
-
+商品均价
-
+日均入区
-
+入区率
-
+停留时长
{{item.name}}
+{{$util.fmoney(item.value,2)}}
+{{item.percentage+'%'}}
+{{item.name}}
+{{$util.fmoney(item.value,2)}}
+{{item.percentage+'%'}}
+{{item.value || '-'}}
+{{item.title}}{{item.unit}}
+{{isShowTitle}}个投诉建议
+