diff --git a/ahyd_DIB.zip b/ahyd_DIB.zip
new file mode 100644
index 0000000..5398e75
Binary files /dev/null and b/ahyd_DIB.zip differ
diff --git a/pages/commercialBI/components/manager/revenueAnalysis.vue b/pages/commercialBI/components/manager/revenueAnalysis.vue
index 8c27159..8f25e84 100644
--- a/pages/commercialBI/components/manager/revenueAnalysis.vue
+++ b/pages/commercialBI/components/manager/revenueAnalysis.vue
@@ -117,7 +117,8 @@ export default {
// this.dataInfo.SalesPerSquareMeter = this.$util.fmoney(this.dataInfo.SalesPerSquareMeter)
console.log('value',value)
}
- }
+ },
+ deep:true
},
methods:{
diff --git a/pages/commercialBI/managePortrait.vue b/pages/commercialBI/managePortrait.vue
index 0326a94..cf5292e 100644
--- a/pages/commercialBI/managePortrait.vue
+++ b/pages/commercialBI/managePortrait.vue
@@ -258,6 +258,7 @@ export default {
this.time = option.time
},
onShow(){
+ this.monthDetail = undefined
let storeTime = uni.getStorageSync('lastDay')
this.lastDay = uni.getStorageSync('lastDay')
if (storeTime){
@@ -442,20 +443,27 @@ export default {
this.showNoticeYear = false
},
async getSummaryMonth(){
+ let currentService = uni.getStorageSync('currentService')
console.log('this.time',this.time)
const date = new Date(this.time)
let y = date.getFullYear()
let m = date.getMonth() + 1
+ let d = date.getDate()
if (m<10){
m = '0'+m
}
+ if (d<10){
+ d = '0'+d
+ }
const req= {
pushProvinceCode:'340000',
- StatisticsMonth:`${y}${m}`,
+ Statistics_StartDate:`${y}-${m}-01`,
+ Statistics_Date:`${y}-${m}-${d}`,
+ Serverpart_ID:currentService.Serverpart_ID
}
- const data = await request.$webGet('CommercialApi/Revenue/GetSummaryRevenueMonth',req)
+ const data = await request.$webGet('CommercialApi/Revenue/GetSummaryRevenue',req)
console.log('data22222',data)
- this.monthDetail = data.Result_Data.MonthRevenueModel
+ this.monthDetail = data.Result_Data.RevenuePushModel
},
async getRevenueList(){
diff --git a/pages/index/components/rateCharts.vue b/pages/index/components/rateCharts.vue
index b2505bf..7f1dbd1 100644
--- a/pages/index/components/rateCharts.vue
+++ b/pages/index/components/rateCharts.vue
@@ -1,7 +1,7 @@
-
+
@@ -52,6 +52,7 @@ export default {
this.drawCharts(this.name,res)
}
},
+ immediate:true
}
},
methods:{
@@ -97,7 +98,7 @@ export default {
}
});
setTimeout( ()=>{
- this.canvasToTempImage(this.name)
+ _this.canvasToTempImage(_this.name)
},500)
},
canvasToTempImage(id){
@@ -123,8 +124,8 @@ export default {