From 5137dcd55f26890a8234bdbe4352907a974575d0 Mon Sep 17 00:00:00 2001 From: cclu <1106109051@qq.com> Date: Thu, 6 Apr 2023 20:20:00 +0800 Subject: [PATCH] update --- common/utils.js | 11 + manifest.json | 6 + pages/commercialBI/businessPortrait.vue | 94 ++++++-- pages/commercialBI/carPortrait.vue | 66 ++++-- .../components/bussiness/bestsellerShop.vue | 5 +- .../components/bussiness/businessFormat.vue | 5 +- .../bussiness/consumptionCompare.vue | 5 +- .../components/bussiness/levelTop.vue | 5 +- .../bussiness/timePeriodAnalysis.vue | 5 +- .../commercialBI/components/car/entryZone.vue | 3 +- .../components/format/bandLevel.vue | 17 +- .../components/format/bandNumber.vue | 3 +- .../components/format/consumLevel.vue | 6 +- .../components/format/fillingDegree.vue | 5 +- .../components/guest/businessType.vue | 3 +- .../components/guest/consumPrefer.vue | 2 +- .../components/guest/consumptionLevel.vue | 4 +- .../components/guest/customerSecond.vue | 2 +- pages/commercialBI/components/headerTop.vue | 30 ++- .../components/manager/moneyCompare.vue | 5 +- .../components/manager/revenueTrends.vue | 5 +- pages/commercialBI/formatPortrait.vue | 88 +++++-- pages/commercialBI/guestPortrait.vue | 102 +++++--- pages/commercialBI/managePortrait.vue | 72 ++++-- pages/index/index.vue | 72 ++++-- pages/map/detail.vue | 61 ++--- pages/map/index.vue | 221 +++++++++++++----- pages/userCenter/components/userList.vue | 6 +- pages/userCenter/userCenter.vue | 23 +- util/dateTime/index.js | 1 + 30 files changed, 651 insertions(+), 282 deletions(-) diff --git a/common/utils.js b/common/utils.js index eebd48a..855766d 100644 --- a/common/utils.js +++ b/common/utils.js @@ -239,6 +239,16 @@ function getThisMonthDay(value){ return howDay } +// 输入时间拿到月份 +function getThisMonth(value){ + const date = new Date(value) + let y = date.getFullYear() + let m = date.getMonth()+1 + if (m<10){ + m = '0'+m + } + return `${y}${m}` +} // 视频播放 @@ -252,6 +262,7 @@ export default { netChange, cutDate, getThisMonthDay, + getThisMonth, fmoney, noDecimal, changeStringToDate, diff --git a/manifest.json b/manifest.json index 35d8ed7..40f8abe 100644 --- a/manifest.json +++ b/manifest.json @@ -66,6 +66,12 @@ "minified" : true, "postcss" : true }, + "plugins": { + "chooseLocation": { + "version": "1.0.10", + "provider": "wx76a9a06e5b4e693e" + } + }, "usingComponents" : true, "permission" : { "scope.userLocation" : { diff --git a/pages/commercialBI/businessPortrait.vue b/pages/commercialBI/businessPortrait.vue index 42e34d8..25f993d 100644 --- a/pages/commercialBI/businessPortrait.vue +++ b/pages/commercialBI/businessPortrait.vue @@ -1,31 +1,47 @@