Commit 83a02851 by 张立顺

Merge branch 'dev_v4.27.1' of http://192.168.3.233:8090/saas_plus/business-assis…

…tant into dev_v4.27.1
2 parents a2a48787 3e313d84
...@@ -26,7 +26,7 @@ const sceneToInfo = [{ ...@@ -26,7 +26,7 @@ const sceneToInfo = [{
// 太阳膜 // 太阳膜
const membranesTopList = [{ const membranesTopList = [{
label: '订单量', label: '订单量',
name: 'orderTotal', name: 'upgradeCount',
suffix: '单' suffix: '单'
}, { }, {
label: '转化率', label: '转化率',
......
...@@ -61,7 +61,10 @@ Component({ ...@@ -61,7 +61,10 @@ Component({
judgeIsShow() { judgeIsShow() {
let { searchForm } = this.data let { searchForm } = this.data
let { userInfo } = wx.$storage.get() let { userInfo } = wx.$storage.get()
let isSuper = userInfo.isSuper && searchForm.partnerMerchantIds[0] == userInfo.merchantId let isSuper = true
if(userInfo.isSuper) {
isSuper = searchForm.partnerMerchantIds[0] == userInfo.merchantId
}
this.setData({ this.setData({
totalShow: (searchForm.startTime && searchForm.endTime) || searchForm.shopMerchantIds.length || !isSuper totalShow: (searchForm.startTime && searchForm.endTime) || searchForm.shopMerchantIds.length || !isSuper
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!