diff --git a/pages.json b/pages.json index 5e001d2..ad396a0 100644 --- a/pages.json +++ b/pages.json @@ -82,6 +82,18 @@ } ] }, + { + "root": "pages/revenue", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + } + ] + }, { // 商业BI "root": "pages/commercialBI", "pages": [ diff --git a/pages/commercialBI/formatDetail.vue b/pages/commercialBI/formatDetail.vue index ecd08c2..bdc6bfe 100644 --- a/pages/commercialBI/formatDetail.vue +++ b/pages/commercialBI/formatDetail.vue @@ -36,7 +36,7 @@ {{detail.BUSINESSTRADE_NAME}} {{detail.BRAND_TYPENAME}} -
+
{{detail.MerchantName || ''}} @@ -181,12 +181,12 @@ export default { }, handleShopDetail(item){ console.log('item',item) - // if (item.COOPMERCHANTS_ID && item.COOPMERCHANTS_ID!=='-1'){ - // uni.navigateTo({ - // url:`/pages/commercialBI/shopDetail?id=${item.COOPMERCHANTS_ID}&COOPMERCHANTSID=${item.COOPMERCHANTS_ID_Encrypted}` - // }) - // } - } + if (item.MerchantID && item.MerchantID!=='-1'){ + uni.navigateTo({ + url:`/pages/commercialBI/shopDetail?id=${item.MerchantID}&COOPMERCHANTSID=${item.MerchantID_Encrypt}` + }) + } + }, } } diff --git a/pages/commercialBI/formatPortrait.vue b/pages/commercialBI/formatPortrait.vue index 01be0d6..ee53553 100644 --- a/pages/commercialBI/formatPortrait.vue +++ b/pages/commercialBI/formatPortrait.vue @@ -66,7 +66,9 @@
- {{item.MerchantName || ''}} + + {{item.MerchantName || ''}} +
@@ -611,6 +613,9 @@ export default { } .suggest{ display: inline-block; + box-sizing: border-box; + width: 100%; + //width: 80%; min-height: 25px; padding: 0 8px; background: linear-gradient(90deg, RGBA(222, 231, 255, 1) 0%, RGBA(241, 246, 255, 1) 100%); diff --git a/pages/commercialBI/shopDetail.vue b/pages/commercialBI/shopDetail.vue index 9bf838e..1102d9c 100644 --- a/pages/commercialBI/shopDetail.vue +++ b/pages/commercialBI/shopDetail.vue @@ -78,7 +78,7 @@
经营项目 - ({{`${serviceList.length}`}}) + ({{projectLong}})
@@ -185,7 +185,8 @@ export default { 4: '特产、工艺品等其他类', 5: '汽修类', }, - personList:[] + personList:[], + projectLong: 0 } }, onLoad(query){ @@ -251,6 +252,7 @@ export default { console.log('list',data) this.serviceList = data.Result_Data.AccountReceivablesList if (this.serviceList && this.serviceList.length>0){ + this.projectLong = this.serviceList.length this.serviceList.forEach(item=>{ const nowDay = new Date().getTime() const startDay = new Date(item.PROJECT_STARTDATE).getTime() diff --git a/pages/examine/index.vue b/pages/examine/index.vue index f59eb78..a8338f0 100644 --- a/pages/examine/index.vue +++ b/pages/examine/index.vue @@ -1,35 +1,35 @@