Commit 15cce88c by 前端

Merge branch 'v3.13.1' into 'master'

fixed

See merge request !5
2 parents 2e35b30e 0c55a4b6
...@@ -279,42 +279,42 @@ class ActivityApi { ...@@ -279,42 +279,42 @@ class ActivityApi {
/**查询4s店商户产值总览、当日新增产值 --精品升级 */ /**查询4s店商户产值总览、当日新增产值 --精品升级 */
boutiquecouponOutputValue(data) { boutiquecouponOutputValue(data) {
return api.post({ return api.post({
method: `scrm.api.boutiquecoupon.outputValue.overview.byDayReport`, method: `scrm.api.boutiquecoupon.outputValue.overview.forStoreManager`,
...data ...data
}) })
} }
/**查询4s店商户查询员工产值排行信息--精品升级 */ /**查询4s店商户查询员工产值排行信息--精品升级 */
boutiquecouponQueryEmployeeRankList(data) { boutiquecouponQueryEmployeeRankList(data) {
return api.post({ return api.post({
method: `scrm.api.boutiquecoupon.outputValue.queryEmployeeRankList`, method: `scrm.api.boutiquecoupon.outputValue.queryEmployeeRankList.forStoreManager`,
...data ...data
}) })
} }
/**查询4s店商户查询发券量营业额统计数据--精品升级 */ /**查询4s店商户查询发券量营业额统计数据--精品升级 */
boutiquecouponQueryCouponCountAndOrderMoney(data) { boutiquecouponQueryCouponCountAndOrderMoney(data) {
return api.post({ return api.post({
method: `scrm.api.boutiquecoupon.outputValue.queryCouponCountAndOrderMoney`, method: `scrm.api.boutiquecoupon.outputValue.queryCouponCountAndOrderMoney.forStoreManager`,
...data ...data
}) })
} }
/**查询4s店商户查询营业额到店量统计数据--精品升级 */ /**查询4s店商户查询营业额到店量统计数据--精品升级 */
boutiquecouponQueryOrderMoneyTotalAndToShopCount(data) { boutiquecouponQueryOrderMoneyTotalAndToShopCount(data) {
return api.post({ return api.post({
method: `scrm.api.boutiquecoupon.outputValue.queryOrderMoneyTotalAndToShopCount`, method: `scrm.api.boutiquecoupon.outputValue.queryOrderMoneyTotalAndToShopCount.forStoreManager`,
...data ...data
}) })
} }
/**查询4s店商户日报表--精品升级 */ /**查询4s店商户日报表--精品升级 */
boutiquecouponQueryByDayReport(data) { boutiquecouponQueryByDayReport(data) {
return api.post({ return api.post({
method: `scrm.api.boutiquecoupon.outputValue.queryByDayReport`, method: `scrm.api.boutiquecoupon.outputValue.queryByDayReport.forStoreManager`,
...data ...data
}) })
} }
/**查询4s店商户月报表--精品升级 */ /**查询4s店商户月报表--精品升级 */
boutiquecouponQueryByMonthReport(data) { boutiquecouponQueryByMonthReport(data) {
return api.post({ return api.post({
method: `scrm.api.boutiquecoupon.outputValue.queryByMonthReport`, method: `scrm.api.boutiquecoupon.outputValue.queryByMonthReport.forStoreManager`,
...data ...data
}) })
} }
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"integrity": "sha512-swM4k3pVwt/6Tnijvq86paLiKE1CzbrBQ4lR7+9uRhwKOM0HS3ooK1Q4IjSEyxQ59ZFKmYYvZln77RZcnSDqmA==" "integrity": "sha512-swM4k3pVwt/6Tnijvq86paLiKE1CzbrBQ4lR7+9uRhwKOM0HS3ooK1Q4IjSEyxQ59ZFKmYYvZln77RZcnSDqmA=="
}, },
"glsx-applet-component": { "glsx-applet-component": {
"version": "1.1.16", "version": "1.1.18",
"resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.16.tgz", "resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.18.tgz",
"integrity": "sha512-XlBqP5ja4TqGB0nTW4dW6fdSQ9m/hAspbBKTJZ9CNUGVCKorkyjv/RfY85ta4OU5PiQCKTFZBbTELtz5MoxaVQ==" "integrity": "sha512-oNJMLkKh/BOFyiGUDlm5r+5dvqBlZx7T9U+UQ2BkqL8R9i713sCHs+1AOsFMA1GOjsgRM2ShgzoXaQef6RQ/ew=="
} }
} }
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"@vant/weapp": "^1.10.7", "@vant/weapp": "^1.10.7",
"glsx-applet-component": "^1.1.16" "glsx-applet-component": "^1.1.18"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
......
...@@ -81,15 +81,15 @@ Component({ ...@@ -81,15 +81,15 @@ Component({
}], }],
todayOutiqueOutputValue: [{ todayOutiqueOutputValue: [{
label: '发券量/张', label: '发券量/张',
name: 'sendCouponCountTotal', name: 'sendCouponCountToday',
unit: '' unit: ''
}, { }, {
label: '升级订单/单', label: '升级订单/单',
name: 'upgradeCountTotal', name: 'upgradeCountToday',
unit: '' unit: ''
}, { }, {
label: '营业额(总)/元', label: '营业额(总)/元',
name: 'orderMoneyTotal', name: 'orderMoneyTotalToday',
unit: '' unit: ''
}], }],
todayOutputValue: [{ todayOutputValue: [{
...@@ -234,11 +234,11 @@ Component({ ...@@ -234,11 +234,11 @@ Component({
params = { params = {
merchantId: thisPage.data.merchantId merchantId: thisPage.data.merchantId
} }
ActivityApi.boutiquecouponOutputValue({merchantId: thisPage.data.merchantId,startDate: new Date().format('yyyy-MM-dd'),endDate:new Date().format('yyyy-MM-dd')}).then(res => { // ActivityApi.boutiquecouponOutputValue({merchantId: thisPage.data.merchantId,startDate: new Date().format('yyyy-MM-dd'),endDate:new Date().format('yyyy-MM-dd')}).then(res => {
this.setData({ // this.setData({
outputTodayData: res // outputTodayData: res
}) // })
}) // })
} }
ActivityApi[apiName](params).then(res => { ActivityApi[apiName](params).then(res => {
thisPage.setData({ loading: false }) thisPage.setData({ loading: false })
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="output-title">当日新增</view> <view class="output-title">当日新增</view>
<view class="output-value today"> <view class="output-value today">
<view class="output-item" wx:key="index" wx:for="{{outputView[entranceType ==2 ?'todayOutputValue':'todayOutiqueOutputValue']}}"> <view class="output-item" wx:key="index" wx:for="{{outputView[entranceType ==2 ?'todayOutputValue':'todayOutiqueOutputValue']}}">
<view class="output-num">{{entranceType ==2?(outputData[item.name]|| 0):(outputTodayData[item.name]|| 0)}} </view> <view class="output-num">{{outputData[item.name]|| 0}} </view>
<view class="output-label">{{item.label}}</view> <view class="output-label">{{item.label}}</view>
</view> </view>
</view> </view>
......
...@@ -21,7 +21,7 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -21,7 +21,7 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false const manual = false
const release = false const release = false
let index = 2 let index = 1
// 判断小程序环境 // 判断小程序环境
// develop:开发版(正常开发工具,测试时) // develop:开发版(正常开发工具,测试时)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!