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 f1bf6d51
authored
Apr 24, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
374b76ad
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
18 deletions
api/activityApi/ActivityApi.js
config.js
login/index/components/authSetting/authSetting.wxml
packagesList/outDetail/components/OutputWork/index.js
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.scss
api/activityApi/ActivityApi.js
View file @
f1bf6d5
...
@@ -240,6 +240,14 @@ class ActivityApi {
...
@@ -240,6 +240,14 @@ class ActivityApi {
...
data
...
data
})
})
}
}
/**看产值-车损权益升级-产值总览当日 */
merchantsOutputToday
(
data
)
{
return
api
.
post
({
method
:
`scrm.api.boutiquecoupon.store.assistant.merchants.total.output.value.statistics.today`
,
...
data
})
}
/**看产值-车损权益升级-产值报表 */
/**看产值-车损权益升级-产值报表 */
merchantsOutputReport
(
data
)
{
merchantsOutputReport
(
data
)
{
return
api
.
post
({
return
api
.
post
({
...
...
config.js
View file @
f1bf6d5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
*/
*/
// 配置预发布的小程序aapId
// 配置预发布的小程序aapId
export
const
preReleaseAppId
=
'
wxc50d04ae5aa9984a
'
export
const
preReleaseAppId
=
'
55555
'
// 小程序id
// 小程序id
export
const
appId
=
'wxc50d04ae5aa9984a'
export
const
appId
=
'wxc50d04ae5aa9984a'
...
...
login/index/components/authSetting/authSetting.wxml
View file @
f1bf6d5
<view class='tips'>
<view class='tips'>
<view class='choose-box' bindtap="choose">
<view class='choose-box' bindtap="choose">
<view class='icon'>
<view class='icon'>
<image src="{{agree?'./images/ok.png':'./images/box.png'}}" class='check-img' />
<icon wx:if="{{agree}}" class="icon-small" type="success" size="14" color="#4466F0"></icon>
<icon wx:else class="icon-small" type="circle" size="14" color="#4466F0"></icon>
</view>
</view>
</view>
</view>
阅读并同意以下协议
阅读并同意以下协议
...
...
packagesList/outDetail/components/OutputWork/index.js
View file @
f1bf6d5
...
@@ -90,16 +90,16 @@ Component({
...
@@ -90,16 +90,16 @@ Component({
unit
:
''
unit
:
''
}],
}],
todayOutputValue
:
[{
todayOutputValue
:
[{
label
:
'发券量/张
'
,
label
:
'报价量
'
,
name
:
'avgQuotationPrice
'
,
name
:
'quotationCount
'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'升级订单/单
'
,
label
:
'成交量
'
,
name
:
'avgQuotationPrice
'
,
name
:
'successCount
'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'营业额(总)/元
'
,
label
:
'产值
'
,
name
:
'avgQuotationPric
e'
,
name
:
'outputValu
e'
,
unit
:
''
unit
:
''
}],
}],
},
},
...
@@ -131,14 +131,11 @@ Component({
...
@@ -131,14 +131,11 @@ Component({
initLocal
(
val
)
{
initLocal
(
val
)
{
this
.
setData
({
this
.
setData
({
type
:
val
,
type
:
val
,
listData
:
[],
activeTrigger
:
false
,
activeTrigger
:
false
,
activePageNum
:
1
,
noResult
:
false
,
activeTotal
:
0
,
outputData
:
{},
pageNum
:
1
,
sfaffList
:
[],
total
:
0
,
tabelTh
:
[]
pageSize
:
10
,
noResult
:
false
},
()
=>
{
},
()
=>
{
thisPage
=
wx
.
$router
.
getPageInstance
()
thisPage
=
wx
.
$router
.
getPageInstance
()
this
.
getActivityInfo
()
this
.
getActivityInfo
()
...
@@ -148,6 +145,7 @@ Component({
...
@@ -148,6 +145,7 @@ Component({
this
.
initSearch
()
this
.
initSearch
()
this
.
getOutput
()
this
.
getOutput
()
this
.
getStaffOutput
()
this
.
getStaffOutput
()
this
.
merchantsOutputToday
()
this
.
getHistogram
()
this
.
getHistogram
()
this
.
getTrend
()
this
.
getTrend
()
},
},
...
@@ -220,7 +218,7 @@ Component({
...
@@ -220,7 +218,7 @@ Component({
// 看产值-产值总览
// 看产值-产值总览
getOutput
()
{
getOutput
()
{
const
{
const
{
type
type
,
}
=
this
.
data
}
=
this
.
data
let
apiName
=
'boutiquecouponOutputValue'
let
apiName
=
'boutiquecouponOutputValue'
let
params
=
{
let
params
=
{
...
@@ -234,7 +232,19 @@ Component({
...
@@ -234,7 +232,19 @@ Component({
}
}
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
this
.
setData
({
this
.
setData
({
outputData
:
res
outputData
:
{
...
this
.
data
.
outputData
,
...
res
}
})
console
.
log
(
this
.
data
.
outputData
)
})
},
merchantsOutputToday
()
{
const
{
type
,
}
=
this
.
data
if
(
type
!=
2
)
return
ActivityApi
.
merchantsOutputToday
({
merchantIds
:
[
thisPage
.
data
.
merchantId
]
}).
then
(
res
=>
{
this
.
setData
({
outputData
:
{
...
this
.
data
.
outputData
,
...
res
}
})
})
})
})
},
},
...
...
pages/tab/output/components/client/client.js
View file @
f1bf6d5
...
@@ -129,7 +129,7 @@ Component({
...
@@ -129,7 +129,7 @@ Component({
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
params
=
{
let
params
=
{
...
sortSearchData
,
...
sortSearchData
,
merchantIds
:
[
userInfo
.
subLoginUser
.
merchantId
]
,
merchantIds
:
userInfo
.
subLoginUser
.
permissionMerchantIds
,
}
}
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
this
.
resetBusiData
()
this
.
resetBusiData
()
...
...
pages/tab/output/components/client/client.scss
View file @
f1bf6d5
...
@@ -20,7 +20,9 @@
...
@@ -20,7 +20,9 @@
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0rpx
24rpx
0rpx
40rpx
;
padding
:
0rpx
24rpx
0rpx
40rpx
;
input
{
input
{
flex
:
1
;
height
:
64rpx
;
height
:
64rpx
;
line-height
:
64rpx
;
line-height
:
64rpx
;
}
}
...
...
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