Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 d566fe0b
authored
Oct 20, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://192.168.3.233:8090/saas_plus/business-assistant
into develop
2 parents
620893d3
dd5a8a50
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
packageOutput/pages/summary/summary.js
pages/tab/output/components/merchant/mrechant.js
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
View file @
d566fe0
...
@@ -78,7 +78,7 @@ Component({
...
@@ -78,7 +78,7 @@ Component({
methods
:
{
methods
:
{
dealStaffList
()
{
dealStaffList
()
{
var
list
=
this
.
data
.
orderObj
var
list
=
this
.
data
.
orderObj
list
.
activityList
.
forEach
(
item
=>
{
list
&&
list
.
activityList
.
forEach
(
item
=>
{
item
.
showStaffList
=
item
.
staffList
.
length
>
10
?
item
.
staffList
.
slice
(
0
,
10
)
:
item
.
staffList
item
.
showStaffList
=
item
.
staffList
.
length
>
10
?
item
.
staffList
.
slice
(
0
,
10
)
:
item
.
staffList
item
.
staffList
=
item
.
staffList
.
length
>
10
?
item
.
staffList
.
slice
(
10
)
:
[]
item
.
staffList
=
item
.
staffList
.
length
>
10
?
item
.
staffList
.
slice
(
10
)
:
[]
})
})
...
...
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
View file @
d566fe0
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view class="order-block" wx:for="{{orderFormList}}" wx:key="index">
<view class="order-block" wx:for="{{orderFormList}}" wx:key="index">
<view class="order-txt">
<view class="order-txt">
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
{{orderObj[item.name]}}
{{orderObj[item.name]
|| 0
}}
</view>
</view>
<view class="order-label">{{item.label}}</view>
<view class="order-label">{{item.label}}</view>
</view>
</view>
...
...
packageOutput/pages/summary/summary.js
View file @
d566fe0
...
@@ -93,7 +93,7 @@ Page({
...
@@ -93,7 +93,7 @@ Page({
this
.
setData
({
this
.
setData
({
[
'searchForm.scene'
+
this
.
data
.
sceneActive
+
'Idx'
]:
res
.
tapIndex
[
'searchForm.scene'
+
this
.
data
.
sceneActive
+
'Idx'
]:
res
.
tapIndex
})
})
this
.
getCustomerDetail
()
this
.
data
.
sceneActive
!=
4
?
this
.
getCustomerDetail
()
:
this
.
getActivityRevenue
()
console
.
log
(
'调接口---'
)
console
.
log
(
'调接口---'
)
}
}
})
})
...
@@ -218,6 +218,7 @@ Page({
...
@@ -218,6 +218,7 @@ Page({
/** 查询场景4的产值 */
/** 查询场景4的产值 */
getActivityRevenue
()
{
getActivityRevenue
()
{
wx
.
showLoading
()
var
params
=
this
.
dealSearchStatus
()
var
params
=
this
.
dealSearchStatus
()
outputApi
.
getActivityRevenue
({
merchantId
:
this
.
data
.
merchantInfo
.
merchantId
,
...
params
}).
then
(
res
=>
{
outputApi
.
getActivityRevenue
({
merchantId
:
this
.
data
.
merchantInfo
.
merchantId
,
...
params
}).
then
(
res
=>
{
// console.log(res)
// console.log(res)
...
@@ -270,6 +271,8 @@ Page({
...
@@ -270,6 +271,8 @@ Page({
[
'sceneActivityObj.scene'
+
this
.
data
.
sceneActive
]:
actList
[
'sceneActivityObj.scene'
+
this
.
data
.
sceneActive
]:
actList
})
})
this
.
setCurActivity
()
this
.
setCurActivity
()
}).
finally
(()
=>
{
wx
.
hideLoading
()
})
})
},
},
...
...
pages/tab/output/components/merchant/mrechant.js
View file @
d566fe0
...
@@ -135,7 +135,6 @@ Component({
...
@@ -135,7 +135,6 @@ Component({
outputApi
outputApi
.
partnerMerchantTotal
({
merchantId
:
userInfo
.
merchantId
})
.
partnerMerchantTotal
({
merchantId
:
userInfo
.
merchantId
})
.
then
(
result
=>
{
.
then
(
result
=>
{
debugger
console
.
log
(
result
)
console
.
log
(
result
)
let
{
dataList
,
yqMerchantIds
}
=
result
let
{
dataList
,
yqMerchantIds
}
=
result
...
...
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