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 d84edd32
authored
Oct 19, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调
1 parent
4b7ed2a2
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
320 additions
and
170 deletions
api/outputApi/output.js
packageOutput/pages/openBusiness/openBusiness.js
packageOutput/pages/summary/components/outputTransform/outputTransform.js
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
packageOutput/pages/summary/summary.js
packageOutput/pages/summary/summary.wxml
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.scss
pages/tab/output/components/client/client.wxml
utils/request/environment.js
api/outputApi/output.js
View file @
d84edd3
...
@@ -32,5 +32,14 @@ class outputApi {
...
@@ -32,5 +32,14 @@ class outputApi {
}
}
)
)
}
}
/** 查找可开通的产品 */
getNoOpenPro
(
data
)
{
return
api
.
post
(
{
method
:
'scrm.api.busassistant.activity.findNotOpenProducts'
,
...
data
}
)
}
}
}
export
default
outputApi
export
default
outputApi
packageOutput/pages/openBusiness/openBusiness.js
View file @
d84edd3
...
@@ -17,82 +17,86 @@ Page({
...
@@ -17,82 +17,86 @@ Page({
// 活动内容
// 活动内容
activityList
:
[],
activityList
:
[],
sceneActivityObj
:
{
sceneActivityObj
:
{
scene1
:
[{
scene1
:
[],
name
:
'360实景导航'
,
scene2
:
[],
price
:
10
scene3
:
[],
},
{
scene4
:
[],
name
:
'AR实景导航'
,
// scene1: [{
price
:
20
// name: '360实景导航',
},
{
// price: 10
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
},
{
// price: 20
name
:
'AR实景导航'
,
// }, {
price
:
20
// name: 'AR实景导航',
}],
// price: 20
scene2
:
[{
// }, {
name
:
'座椅通风'
,
// name: 'AR实景导航',
price
:
30
// price: 20
},
{
// }],
name
:
'座椅通风'
,
// scene2: [{
price
:
40
// name: '座椅通风',
}],
// price: 30
scene3
:
[{
// }, {
name
:
'氛围灯'
,
// name: '座椅通风',
price
:
50
// price: 40
},
{
// }],
name
:
'氛围灯'
,
// scene3: [{
price
:
60
// name: '氛围灯',
}],
// price: 50
scene4
:
[{
// }, {
name
:
'数字化'
,
// name: '氛围灯',
price
:
70
// price: 60
},
{
// }],
name
:
'数字化'
,
// scene4: [{
price
:
80
// name: '数字化',
},
{
// price: 70
name
:
'数字化'
,
// }, {
price
:
70
// name: '数字化',
},
{
// price: 80
name
:
'数字化'
,
// }, {
price
:
80
// name: '数字化',
},
{
// price: 70
name
:
'数字化'
,
// }, {
price
:
70
// name: '数字化',
},
{
// price: 80
name
:
'数字化'
,
// }, {
price
:
80
// name: '数字化',
},
{
// price: 70
name
:
'数字化'
,
// }, {
price
:
70
// name: '数字化',
},
{
// price: 80
name
:
'数字化'
,
// }, {
price
:
80
// name: '数字化',
}]
// price: 70
// }, {
// name: '数字化',
// price: 80
// }]
}
}
},
},
...
...
packageOutput/pages/summary/components/outputTransform/outputTransform.js
View file @
d84edd3
...
@@ -28,15 +28,15 @@ Component({
...
@@ -28,15 +28,15 @@ Component({
name
:
'totalOrderMoney'
name
:
'totalOrderMoney'
},
{
},
{
label
:
'客单价'
,
label
:
'客单价'
,
name
:
''
,
name
:
'
calCustomerUnitPrice
'
,
prefix
:
'¥'
prefix
:
'¥'
},
{
},
{
label
:
'引流体验量'
,
label
:
'引流体验量'
,
name
:
''
,
name
:
'
calExperience
'
,
suffix
:
'%'
suffix
:
'%'
},
{
},
{
label
:
'体验转化率'
,
label
:
'体验转化率'
,
name
:
''
,
name
:
'
calTransform
'
,
suffix
:
'%'
suffix
:
'%'
}]
}]
},
},
...
...
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
View file @
d84edd3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<view class="block" wx:for="{{formDataList}}" wx:key="index">
<view class="block" wx:for="{{formDataList}}" wx:key="index">
<view>
<view>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
{{formData[item.name]}}
{{formData[item.name]
|| 0
}}
<text wx:if="{{item.suffix}}">{{item.suffix}}</text>
<text wx:if="{{item.suffix}}">{{item.suffix}}</text>
</view>
</view>
<view class="label">{{item.label}}</view>
<view class="label">{{item.label}}</view>
...
...
packageOutput/pages/summary/summary.js
View file @
d84edd3
...
@@ -7,7 +7,7 @@ Page({
...
@@ -7,7 +7,7 @@ Page({
*/
*/
data
:
{
data
:
{
IMGURL
:
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/'
,
IMGURL
:
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/'
,
merchantName
:
''
,
sceneCodeList
:
[
'SC001'
,
'SC002'
,
'SC003'
,
'SC004'
]
,
merchantInfo
:
{},
merchantInfo
:
{},
sceneObj
:
{
sceneObj
:
{
scene1
:
null
,
scene1
:
null
,
...
@@ -15,94 +15,98 @@ Page({
...
@@ -15,94 +15,98 @@ Page({
scene3
:
null
,
scene3
:
null
,
scene4
:
null
scene4
:
null
},
},
sceneActive
:
1
,
sceneActive
:
2
,
scenePriceList
:
[{
scenePriceList
:
[{
total
:
0
total
:
0
},
{
},
{
total
:
1000.45
total
:
0
},
{
},
{
total
:
0
total
:
0
},
{
},
{
total
:
14580.45
total
:
0
}],
}],
// 活动内容
// 活动内容
scrollLeft
:
0
,
scrollLeft
:
0
,
activityActive
:
0
,
activityActive
:
0
,
activityList
:
[],
activityList
:
[],
sceneActivityObj
:
{
sceneActivityObj
:
{
scene1
:
[{
scene1
:
[],
name
:
'360实景导航'
,
scene2
:
[],
price
:
10
scene3
:
[],
},
{
scene4
:
[],
name
:
'AR实景导航'
,
// [{
price
:
20
,
// productName: '360实景导航',
isOpen
:
true
// price: 10
},
{
// }, {
name
:
'AR实景导航'
,
// productName: 'AR实景导航',
price
:
20
,
// price: 20,
isOpen
:
true
// openFlag: true
},
{
// }, {
name
:
'AR实景导航'
,
// productName: 'AR实景导航',
price
:
20
,
// price: 20,
isOpen
:
true
// openFlag: true
},
{
// }, {
name
:
'AR实景导航'
,
// productName: 'AR实景导航',
price
:
20
,
// price: 20,
isOpen
:
false
// openFlag: true
},
{
// }, {
name
:
'AR实景导航'
,
// productName: 'AR实景导航',
price
:
20
,
// price: 20,
isOpen
:
true
// openFlag: false
}],
// }, {
scene2
:
[{
// productName: 'AR实景导航',
name
:
'座椅通风'
,
// price: 20,
price
:
30
,
// openFlag: true
isOpen
:
true
,
// }],
toShopCount
:
120
,
// scene2: [{
experienceCount
:
200
,
// productName: '座椅通风',
upgradeCount
:
300
,
// price: 30,
totalOrderMoney
:
365
// openFlag: true,
},
{
// toShopCount: 120,
name
:
'座椅通风'
,
// experienceCount: 200,
price
:
40
// upgradeCount: 300,
}],
// totalOrderMoney: 365
scene3
:
[{
// }, {
name
:
'氛围灯'
,
// productName: '座椅通风',
price
:
50
// price: 40
},
{
// }],
name
:
'氛围灯'
,
// scene3: [{
price
:
60
,
// productName: '氛围灯',
isOpen
:
true
// price: 50
}],
// }, {
scene4
:
[{
// productName: '氛围灯',
name
:
'数字化'
,
// price: 60,
price
:
70
,
// openFlag: true
isOpen
:
true
// }],
},
{
// scene4: [{
name
:
'数字化'
,
// productName: '数字化',
price
:
80
// price: 70,
},
{
// openFlag: true
name
:
'数字化'
,
// }, {
price
:
70
// productName: '数字化',
},
{
// price: 80
name
:
'数字化'
,
// }, {
price
:
80
,
// productName: '数字化',
isOpen
:
true
// price: 70
},
{
// }, {
name
:
'数字化'
,
// productName: '数字化',
price
:
70
// price: 80,
},
{
// openFlag: true
name
:
'数字化'
,
// }, {
price
:
80
,
// productName: '数字化',
isOpen
:
true
// price: 70
},
{
// }, {
name
:
'数字化'
,
// productName: '数字化',
price
:
70
// price: 80,
},
{
// openFlag: true
name
:
'数字化'
,
// }, {
price
:
80
,
// productName: '数字化',
isOpen
:
true
// price: 70
}]
// }, {
// productName: '数字化',
// price: 80,
// openFlag: true
// }]
},
},
// 产值
// 产值
searchForm
:
{
searchForm
:
{
...
@@ -123,6 +127,10 @@ Page({
...
@@ -123,6 +127,10 @@ Page({
sceneActive
:
idx
,
sceneActive
:
idx
,
activityActive
:
0
activityActive
:
0
})
})
if
(
!
this
.
data
.
sceneActivityObj
[
'scene'
+
this
.
data
.
sceneActive
].
length
)
{
this
.
getNoOpenPro
(
this
.
data
.
sceneCodeList
[
this
.
data
.
sceneActive
-
1
])
return
true
}
this
.
setCurActivity
()
this
.
setCurActivity
()
// console.log('换内容---')
// console.log('换内容---')
},
},
...
@@ -169,6 +177,24 @@ Page({
...
@@ -169,6 +177,24 @@ Page({
wx
.
$router
.
go
(
'packageOutput.openBusiness'
)
wx
.
$router
.
go
(
'packageOutput.openBusiness'
)
},
},
getNoOpenPro
(
sceneCode
)
{
var
params
=
{
serviceMerchantId
:
this
.
data
.
merchantInfo
.
pMerchantId
,
merchant4sId
:
this
.
data
.
merchantInfo
.
merchantId
,
sceneCode
:
sceneCode
}
outputApi
.
getNoOpenPro
(
params
).
then
(
res
=>
{
this
.
setData
({
[
'sceneActivityObj.scene'
+
this
.
data
.
sceneActive
]:
res
})
if
([
2
,
3
].
includes
(
+
this
.
data
.
sceneActive
))
{
this
.
getCustomerDetail
()
}
else
{
this
.
setCurActivity
()
}
})
},
dealSearchTime
()
{
dealSearchTime
()
{
var
params
=
{}
var
params
=
{}
switch
(
this
.
data
.
searchForm
[
'scene'
+
this
.
data
.
sceneActive
+
'Idx'
])
{
switch
(
this
.
data
.
searchForm
[
'scene'
+
this
.
data
.
sceneActive
+
'Idx'
])
{
...
@@ -190,10 +216,44 @@ Page({
...
@@ -190,10 +216,44 @@ Page({
return
params
return
params
},
},
/** 1.1和1.2场景产品数据处理
* 调同一个接口,返回两个服务下面的全部产品的数据
*/
getCustomerDetail
()
{
getCustomerDetail
()
{
var
params
=
this
.
dealSearchTime
()
var
params
=
this
.
dealSearchTime
()
outputApi
.
getCustomerDetail
({
merchantId
:
44209390
,
...
params
}).
then
(
res
=>
{
outputApi
.
getCustomerDetail
({
merchantId
:
this
.
data
.
merchantInfo
.
merchantId
,
...
params
}).
then
(
res
=>
{
console
.
log
(
res
)
var
actList
=
this
.
data
.
sceneActivityObj
[
'scene'
+
this
.
data
.
sceneActive
]
var
actCodeList
=
actList
.
map
(
item
=>
item
.
productCode
)
console
.
log
(
actCodeList
)
var
curTotal
=
0
var
otherTotal
=
0
var
otherScene
=
this
.
data
.
sceneActive
==
2
?
3
:
2
res
.
forEach
(
item
=>
{
var
idx
=
actCodeList
.
findIndex
(
i
=>
i
==
item
.
productCode
)
if
(
idx
!=
-
1
)
{
var
orderTotal
=
item
.
orderTotal
if
(
item
.
orderTotal
)
{
item
.
orderTotal
.
calCustomerUnitPrice
=
Math
.
round
(
orderTotal
.
totalSubOrderOrderMoney
/
orderTotal
.
upgradeCount
).
toFixed
(
0
)
item
.
orderTotal
.
calExperience
=
Math
.
round
((
orderTotal
.
experienceCount
*
100
)
/
orderTotal
.
toShopCount
).
toFixed
(
0
)
item
.
orderTotal
.
calTransform
=
Math
.
round
((
orderTotal
.
upgradeCount
*
100
)
/
orderTotal
.
experienceCount
).
toFixed
(
0
)
}
actList
[
idx
]
=
{
...
actList
[
idx
],
orderTotal
:
item
.
orderTotal
}
curTotal
=
curTotal
+
(
item
.
orderTotal
?.
totalSubOrderOrderMoney
||
0
)
}
else
{
otherTotal
=
otherTotal
+
(
item
.
orderTotal
?.
totalSubOrderOrderMoney
||
0
)
}
})
// 总金额
this
.
setData
({
[
'sceneActivityObj.scene'
+
this
.
data
.
sceneActive
]:
actList
,
[
'scenePriceList['
+
(
this
.
data
.
sceneActive
-
1
)
+
'].total'
]:
curTotal
,
[
'scenePriceList['
+
(
otherScene
-
1
)
+
'].total'
]:
otherTotal
})
console
.
log
(
this
.
data
.
sceneActivityObj
[
'scene'
+
this
.
data
.
sceneActive
])
this
.
setCurActivity
()
})
})
},
},
...
@@ -202,13 +262,21 @@ Page({
...
@@ -202,13 +262,21 @@ Page({
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
wx
.
$router
.
getData
(
obj
=>
{
wx
.
$router
.
getData
(
obj
=>
{
console
.
log
(
obj
)
var
scene
=
{}
Object
.
keys
(
this
.
data
.
sceneObj
).
forEach
(
item
=>
{
scene
[
item
]
=
obj
[
item
]
})
this
.
setData
({
this
.
setData
({
merchantInfo
:
obj
,
merchantInfo
:
obj
,
sceneObj
:
{}
sceneObj
:
scene
,
sceneCodeList
:
obj
.
sceneCodeList
})
})
this
.
getNoOpenPro
(
this
.
data
.
sceneCodeList
[
this
.
data
.
sceneActive
-
1
])
// this.getCustomerDetail()
// this.setCurActivity()
})
})
this
.
getCustomerDetail
()
this
.
setCurActivity
()
},
},
/**
/**
...
...
packageOutput/pages/summary/summary.wxml
View file @
d84edd3
<!--packageOutput/pages/summary/summary.wxml-->
<!--packageOutput/pages/summary/summary.wxml-->
<view class="summary">
<view class="summary">
<view class="layout {{ (sceneActive == 4 && activityList[activityActive].
isOpen
) ? 'bg-grey' : 'bg-white'}}">
<view class="layout {{ (sceneActive == 4 && activityList[activityActive].
openFlag
) ? 'bg-grey' : 'bg-white'}}">
<view class="title bg-white">选产品/活动</view>
<view class="title bg-white">选产品/活动</view>
<view class="scene-box bg-white">
<view class="scene-box bg-white">
<scene-box formData="{{sceneObj}}" scenePriceList="{{scenePriceList}}" sceneActive="{{sceneActive}}" bindhandleSceneChange="handleSceneChange"></scene-box>
<scene-box formData="{{sceneObj}}" scenePriceList="{{scenePriceList}}" sceneActive="{{sceneActive}}" bindhandleSceneChange="handleSceneChange"></scene-box>
...
@@ -9,13 +9,13 @@
...
@@ -9,13 +9,13 @@
<view class="p-rl-20 bg-white">
<view class="p-rl-20 bg-white">
<scroll-view scroll-x="{{true}}" class="activity-box" scroll-left="{{scrollLeft}}">
<scroll-view scroll-x="{{true}}" class="activity-box" scroll-left="{{scrollLeft}}">
<view class="flex">
<view class="flex">
<view class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.
isOpen ? 'open' : 'no-open'}}" wx:for="{{activityList}}" wx:key="index" bindtap="handleActChange" data-idx="{{index}}">{{item.n
ame}}</view>
<view class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.
openFlag ? 'open' : 'no-open'}}" wx:for="{{activityList}}" wx:key="index" bindtap="handleActChange" data-idx="{{index}}">{{item.productN
ame}}</view>
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
<!-- 活动内容 -->
<!-- 活动内容 -->
<view class="activity-content">
<view class="activity-content">
<view wx:if="{{activityList[activityActive].
isOpen
&& sceneActive != 1}}">
<view wx:if="{{activityList[activityActive].
openFlag
&& sceneActive != 1}}">
<view class="activity-title title bg-white {{ sceneActive == 4 ? 'no-border' : ''}}">
<view class="activity-title title bg-white {{ sceneActive == 4 ? 'no-border' : ''}}">
<view>看产值</view>
<view>看产值</view>
<view class="select" bindtap="handleSearch">
<view class="select" bindtap="handleSearch">
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}"></image>
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}"></image>
</view>
</view>
</view>
</view>
<output-transform wx:if="{{sceneActive == 2 || sceneActive == 3}}" formData="{{activityList[activityActive]}}"></output-transform>
<output-transform wx:if="{{sceneActive == 2 || sceneActive == 3}}" formData="{{activityList[activityActive]
.orderTotal
}}"></output-transform>
<output-crowdfund wx:if="{{sceneActive == 4}}"></output-crowdfund>
<output-crowdfund wx:if="{{sceneActive == 4}}"></output-crowdfund>
</view>
</view>
<view wx:else class="content-empty bg-white">
<view wx:else class="content-empty bg-white">
...
@@ -32,5 +32,5 @@
...
@@ -32,5 +32,5 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{!activityList[activityActive].
isOpen
}}" class="btn-blue" bindtap="handleJump">点击开通</view>
<view wx:if="{{!activityList[activityActive].
openFlag
}}" class="btn-blue" bindtap="handleJump">点击开通</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
pages/tab/output/components/client/client.js
View file @
d84edd3
...
@@ -18,17 +18,72 @@ Component({
...
@@ -18,17 +18,72 @@ Component({
data
:
{
data
:
{
IMGURL
:
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/'
,
IMGURL
:
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/'
,
pMerchantId
:
44209845
,
pMerchantId
:
44209845
,
// pMerchantId: 41214,
totalProfit
:
0
,
totalProfit
:
0
,
pageObj
:
{
pageObj
:
{
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
3
pageSize
:
3
},
},
totalPages
:
-
1
,
totalPages
:
-
1
,
list
:
[]
list
:
[{
"totalMoney"
:
540967.00
,
"merchantId"
:
44211468
,
"merchantName"
:
"明明长岭4s店A"
,
"sceneList"
:
[{
"sceneCode"
:
"SC001"
,
"flag"
:
null
},
{
"sceneCode"
:
"SC002"
,
"flag"
:
true
},
{
"sceneCode"
:
"SC003"
,
"flag"
:
null
},
{
"sceneCode"
:
"SC004"
,
"flag"
:
null
}],
"msgList"
:
null
},
{
"totalMoney"
:
67341.00
,
"merchantId"
:
44211470
,
"merchantName"
:
"明明长岭4s店C"
,
"sceneList"
:
[{
"sceneCode"
:
"SC001"
,
"flag"
:
null
},
{
"sceneCode"
:
"SC002"
,
"flag"
:
true
},
{
"sceneCode"
:
"SC003"
,
"flag"
:
null
},
{
"sceneCode"
:
"SC004"
,
"flag"
:
null
}],
"msgList"
:
null
},
{
"totalMoney"
:
54146.00
,
"merchantId"
:
44211469
,
"merchantName"
:
"明明长岭4s店B"
,
"sceneList"
:
[{
"sceneCode"
:
"SC001"
,
"flag"
:
null
},
{
"sceneCode"
:
"SC002"
,
"flag"
:
true
},
{
"sceneCode"
:
"SC003"
,
"flag"
:
null
},
{
"sceneCode"
:
"SC004"
,
"flag"
:
null
}],
"msgList"
:
null
}]
},
},
lifetimes
:
{
lifetimes
:
{
attached
()
{
attached
()
{
this
.
getClientApi
()
//
this.getClientApi()
}
}
},
},
...
@@ -56,6 +111,11 @@ Component({
...
@@ -56,6 +111,11 @@ Component({
outputApi
.
getCustomerPageList
({
merchantId
:
this
.
data
.
pMerchantId
,
...
this
.
data
.
pageObj
}).
then
(
res
=>
{
outputApi
.
getCustomerPageList
({
merchantId
:
this
.
data
.
pMerchantId
,
...
this
.
data
.
pageObj
}).
then
(
res
=>
{
var
list
=
this
.
data
.
list
var
list
=
this
.
data
.
list
list
=
list
.
concat
(
res
.
list
)
list
=
list
.
concat
(
res
.
list
)
list
.
forEach
((
item
,
index
)
=>
{
item
.
sceneList
.
forEach
((
k
,
idx
)
=>
{
item
[
'scene'
+
(
idx
+
1
)]
=
item
.
sceneList
[
idx
].
flag
})
})
this
.
setData
({
this
.
setData
({
list
:
list
,
list
:
list
,
totalPages
:
res
.
pages
totalPages
:
res
.
pages
...
@@ -81,6 +141,7 @@ Component({
...
@@ -81,6 +141,7 @@ Component({
scene2
:
currentItem
.
scene2
,
scene2
:
currentItem
.
scene2
,
scene3
:
currentItem
.
scene3
,
scene3
:
currentItem
.
scene3
,
scene4
:
currentItem
.
scene4
,
scene4
:
currentItem
.
scene4
,
sceneCodeList
:
currentItem
.
sceneList
.
map
(
item
=>
item
.
sceneCode
),
pMerchantId
:
this
.
data
.
pMerchantId
pMerchantId
:
this
.
data
.
pMerchantId
}
}
wx
.
$router
.
go
(
'packageOutput.summary'
,
params
)
wx
.
$router
.
go
(
'packageOutput.summary'
,
params
)
...
...
pages/tab/output/components/client/client.scss
View file @
d84edd3
...
@@ -4,6 +4,11 @@
...
@@ -4,6 +4,11 @@
height
:
calc
(
100vh
-
170rpx
);
height
:
calc
(
100vh
-
170rpx
);
color
:
#323436
;
color
:
#323436
;
padding
:
16rpx
0
60rpx
;
padding
:
16rpx
0
60rpx
;
background-color
:
#F2F3F7
;
}
.client-box
{
margin
:
0
16rpx
;
}
}
.flex
{
.flex
{
...
...
pages/tab/output/components/client/client.wxml
View file @
d84edd3
<!--pages/tab/output/components/client/client.wxml-->
<!--pages/tab/output/components/client/client.wxml-->
<scroll-view class="client" scroll-y="{{true}}" bindscrolltolower="onReachBottom" lower-threshold='50' scroll-top="{{scrollTop}}">
<scroll-view class="client" scroll-y="{{true}}" bindscrolltolower="onReachBottom" lower-threshold='50' scroll-top="{{scrollTop}}">
<view class="client-box">
<view class="profit-box flex-between">
<view class="profit-box flex-between">
<text>总收益</text>
<text>总收益</text>
<text class="price-txt">¥{{totalProfit}}</text>
<text class="price-txt">¥{{totalProfit}}</text>
...
@@ -35,4 +36,5 @@
...
@@ -35,4 +36,5 @@
</view>
</view>
</view>
</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">到底啦!</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">到底啦!</view>
</view>
</scroll-view>
</scroll-view>
\ No newline at end of file
\ No newline at end of file
utils/request/environment.js
View file @
d84edd3
...
@@ -53,7 +53,8 @@ const pathEnum = {
...
@@ -53,7 +53,8 @@ const pathEnum = {
material
:
'/rop-scrm-marketing/'
,
//素材
material
:
'/rop-scrm-marketing/'
,
//素材
sop
:
'/rop-scrm-sop/'
,
sop
:
'/rop-scrm-sop/'
,
customercollect
:
'/rop-scrm-bigdatautil/'
,
customercollect
:
'/rop-scrm-bigdatautil/'
,
drac
:
'/rop-scrm-entmicro/'
drac
:
'/rop-scrm-entmicro/'
,
busassistant
:
'/rop-scrm-busassistant/'
}
}
const
defaultMerchantId
=
{
const
defaultMerchantId
=
{
ip
:
'44184606'
,
ip
:
'44184606'
,
...
...
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