Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 15cce88c
authored
Jul 14, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.13.1' into 'master'
fixed See merge request
!5
2 parents
2e35b30e
0c55a4b6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
20 deletions
api/activityApi/ActivityApi.js
package-lock.json
package.json
packagesList/outDetail/components/OutputWork/index.js
packagesList/outDetail/components/OutputWork/index.wxml
utils/request/environment.js
api/activityApi/ActivityApi.js
View file @
15cce88
...
@@ -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
})
})
}
}
...
...
package-lock.json
View file @
15cce88
...
@@ -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.1
6
"
,
"version"
:
"1.1.1
8
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.1
6
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.1
8
.tgz"
,
"integrity"
:
"sha512-
XlBqP5ja4TqGB0nTW4dW6fdSQ9m/hAspbBKTJZ9CNUGVCKorkyjv/RfY85ta4OU5PiQCKTFZBbTELtz5MoxaVQ
=="
"integrity"
:
"sha512-
oNJMLkKh/BOFyiGUDlm5r+5dvqBlZx7T9U+UQ2BkqL8R9i713sCHs+1AOsFMA1GOjsgRM2ShgzoXaQef6RQ/ew
=="
}
}
}
}
}
}
package.json
View file @
15cce88
...
@@ -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.1
6
"
"glsx-applet-component"
:
"^1.1.1
8
"
},
},
"devDependencies"
:
{},
"devDependencies"
:
{},
"scripts"
:
{
"scripts"
:
{
...
...
packagesList/outDetail/components/OutputWork/index.js
View file @
15cce88
...
@@ -81,15 +81,15 @@ Component({
...
@@ -81,15 +81,15 @@ Component({
}],
}],
todayOutiqueOutputValue
:
[{
todayOutiqueOutputValue
:
[{
label
:
'发券量/张'
,
label
:
'发券量/张'
,
name
:
'sendCouponCountTo
tal
'
,
name
:
'sendCouponCountTo
day
'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'升级订单/单'
,
label
:
'升级订单/单'
,
name
:
'upgradeCountTo
tal
'
,
name
:
'upgradeCountTo
day
'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'营业额(总)/元'
,
label
:
'营业额(总)/元'
,
name
:
'orderMoneyTotal'
,
name
:
'orderMoneyTotal
Today
'
,
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
})
...
...
packagesList/outDetail/components/OutputWork/index.wxml
View file @
15cce88
...
@@ -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>
...
...
utils/request/environment.js
View file @
15cce88
...
@@ -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:开发版(正常开发工具,测试时)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment