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 8ecaf9e0
authored
Aug 30, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v4.27.0_0831' of
http://192.168.3.233:8090/saas_plus/business-assi…
…stant into v4.27.0_0831
2 parents
e26f3ddd
862f8bf3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
159 deletions
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
pages/tab/outputValue/components/employees/employess.wxml
pages/tab/outputValue/components/merchant/merchant.js
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.js
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.wxml
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.js
pages/tab/outputValue/components/merchantCom/serviceTotal/serviceTotal.scss
pages/tab/outputValue/components/merchantCom/serviceTotal/serviceTotal.wxml
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
View file @
8ecaf9e
...
@@ -162,6 +162,7 @@ Component({
...
@@ -162,6 +162,7 @@ Component({
getStaffList
()
{
getStaffList
()
{
let
{
partnerMerchantIds
}
=
this
.
data
.
formData
let
{
partnerMerchantIds
}
=
this
.
data
.
formData
let
{
userInfo
}
=
this
.
data
let
{
userInfo
}
=
this
.
data
console
.
log
(
partnerMerchantIds
,
'partnerMerchantIds'
)
let
params
=
{
let
params
=
{
partnerMerchantIds
:
partnerMerchantIds
.
length
?
partnerMerchantIds
:
userInfo
?.
subLoginUser
?.
merchantId
partnerMerchantIds
:
partnerMerchantIds
.
length
?
partnerMerchantIds
:
userInfo
?.
subLoginUser
?.
merchantId
}
}
...
@@ -260,6 +261,7 @@ Component({
...
@@ -260,6 +261,7 @@ Component({
formData
.
startTime
=
''
formData
.
startTime
=
''
formData
.
endTime
=
''
formData
.
endTime
=
''
}
}
if
(
e
)
this
.
getStaffList
()
// 点击重置
// this.setDate()
// this.setDate()
// this.setData({
// this.setData({
// isShowCalendarMonth: false
// isShowCalendarMonth: false
...
...
pages/tab/outputValue/components/employees/employess.wxml
View file @
8ecaf9e
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<view class="font_wei500">{{'¥' + filter.money_three_for_two_thousands(subItem.customerUnitPrice || '0.00', true)}}</view>
<view class="font_wei500">{{'¥' + filter.money_three_for_two_thousands(subItem.customerUnitPrice || '0.00', true)}}</view>
</view>
</view>
<view class="flex_1 flex">
<view class="flex_1 flex">
<view class="font_wei700">{{subItem.
o
rderCount}}单</view>
<view class="font_wei700">{{subItem.
upgradeO
rderCount}}单</view>
<view class="font_wei500">{{subItem.conversionRate}}%</view>
<view class="font_wei500">{{subItem.conversionRate}}%</view>
</view>
</view>
</view>
</view>
...
...
pages/tab/outputValue/components/merchant/merchant.js
View file @
8ecaf9e
...
@@ -46,156 +46,8 @@ Component({
...
@@ -46,156 +46,8 @@ Component({
loading
:
true
,
loading
:
true
,
scrollTop
:
0
,
scrollTop
:
0
,
isAsk
:
false
,
isAsk
:
false
,
// totalObj: {
// scene1Total: '72536',
// scene0Total: '76400',
// scene3Total: '15486',
// total: '164422'
// },
// 1精品升级(太阳膜),3众筹,0会员权益)
// 1精品升级(太阳膜),3众筹,0会员权益)
merchantList
:
[],
merchantList
:
[],
// 服务商-多4s店-全部
// allMerchantList: [{
// yearMonth: '2023-08',
// curMonthTotalData: {
// scene1Total: '5986',
// scene0Total: '76400',
// scene3Total: '11000',
// total: '19567'
// },
// merchantDataList: [{
// merchantId: 44211638,
// merchantName: '四川申蓉汇亚汽车贸易有限公司',
// productCodes: ['PC009'],
// curMonthTotalData: {
// scene1Total: '5026',
// scene0Total: '11000',
// scene3Total: '2581',
// total: '18607'
// },
// lastMonthTotalData: {
// scene1Total: '51122',
// scene0Total: '2355',
// scene3Total: '65400',
// total: '0'
// }
// }, {
// merchantId: 44211638,
// merchantName: '四川港宏新通汽车销售服务有限公司',
// productCodes: ['PC003', 'PC005', 'PC006', 'PC007', 'PC009'],
// curMonthTotalData: {
// scene1Total: '960',
// scene0Total: '0',
// scene3Total: '0',
// total: '960'
// },
// lastMonthTotalData: {
// scene1Total: '123223',
// scene0Total: '0',
// scene3Total: '0',
// total: '0'
// }
// }]
// }],
// 指定场景
// otherMerchantList: [{
// yearMonth: '2023-08',
// curMonthTotalData: {
// totalCustomer: '22',
// total: '133862000',
// notUpgradeCount: '22',
// bizTotal: '960523',
// custUnitPrice: '1523',
// upgradeCount: '66',
// activityTotal: '25',
// orderTotal: '22',
// upgradeRate: '65',
// productCode: 'pc001'
// },
// merchantDataList: [{
// merchantId: 111,
// merchantName: '广西弘泽汽车销售服务有限公司',
// bizTotal: '39000',
// curDayTotalData: {
// totalCustomer: '177',
// total: '',
// notUpgradeCount: '199',
// bizTotal: '18228',
// custUnitPrice: '559',
// upgradeCount: '177',
// activityTotal: '',
// orderTotal: '',
// upgradeRate: '89',
// productCode: ''
// },
// curMonthTotalData: [{
// totalCustomer: '2000',
// total: '',
// notUpgradeCount: '199',
// bizTotal: '258228',
// custUnitPrice: '559',
// upgradeCount: '2000',
// activityTotal: '1',
// orderTotal: '22',
// upgradeRate: '12',
// productCode: '',
// productName: '数字化美容'
// }, {
// totalCustomer: '2000',
// total: '',
// notUpgradeCount: '199',
// bizTotal: '258228',
// custUnitPrice: '559',
// upgradeCount: '2000',
// activityTotal: '3',
// orderTotal: '50',
// upgradeRate: '12',
// productCode: '',
// productName: '座椅通风'
// }, {
// totalCustomer: '2000',
// total: '',
// notUpgradeCount: '199',
// bizTotal: '258228',
// custUnitPrice: '559',
// upgradeCount: '2000',
// activityTotal: '1',
// orderTotal: '22',
// upgradeRate: '12',
// productCode: '',
// productName: 'AR导航'
// }]
// }, {
// merchantId: 222,
// merchantName: '益阳佳烨丰田汽车销售服务有限公司啦啦啦啦',
// bizTotal: '19000',
// curDayTotalData: {
// totalCustomer: '',
// total: '',
// notUpgradeCount: '199',
// bizTotal: '18228',
// custUnitPrice: '559',
// upgradeCount: '2000',
// activityTotal: '',
// orderTotal: '',
// upgradeRate: '89',
// productCode: ''
// },
// curMonthTotalData: [{
// totalCustomer: '',
// total: '',
// notUpgradeCount: '199',
// bizTotal: '258228',
// custUnitPrice: '559',
// upgradeCount: '2000',
// activityTotal: '1',
// orderTotal: '22',
// upgradeRate: '5',
// productCode: '',
// productName: 'AR导航'
// }]
// }]
// }]
},
},
/**
/**
...
@@ -206,7 +58,11 @@ Component({
...
@@ -206,7 +58,11 @@ Component({
if
(
isReset
)
{
if
(
isReset
)
{
this
.
setData
({
this
.
setData
({
[
'pageCof.startYearMonth'
]:
''
,
[
'pageCof.startYearMonth'
]:
''
,
[
'pageCof.endYearMonth'
]:
''
[
'pageCof.endYearMonth'
]:
''
,
isEnd
:
false
,
loading
:
true
,
scrollTop
:
0
,
isAsk
:
false
})
})
}
}
this
.
getTotal
()
this
.
getTotal
()
...
@@ -242,8 +98,6 @@ Component({
...
@@ -242,8 +98,6 @@ Component({
}
else
if
(
startTime
&&
endTime
)
{
}
else
if
(
startTime
&&
endTime
)
{
_currentDate
=
new
Date
(
endTime
.
replace
(
/-/g
,
'/'
))
_currentDate
=
new
Date
(
endTime
.
replace
(
/-/g
,
'/'
))
_endMonthDate
=
new
Date
(
endTime
.
replace
(
/-/g
,
'/'
))
_endMonthDate
=
new
Date
(
endTime
.
replace
(
/-/g
,
'/'
))
console
.
log
(
_currentDate
,
'_currentDate---'
)
console
.
log
(
_endMonthDate
,
'_endMonthDate---'
)
}
}
_endMonthDate
.
setMonth
(
_currentDate
.
getMonth
()
-
monthInterval
)
_endMonthDate
.
setMonth
(
_currentDate
.
getMonth
()
-
monthInterval
)
let
_startMonthDate
=
new
Date
(
isReset
?
_currentDate
:
_endMonthDate
)
let
_startMonthDate
=
new
Date
(
isReset
?
_currentDate
:
_endMonthDate
)
...
@@ -257,7 +111,6 @@ Component({
...
@@ -257,7 +111,6 @@ Component({
})
})
},
},
getMerchantList
(
isReset
=
false
)
{
getMerchantList
(
isReset
=
false
)
{
console
.
log
(
'getMerchantList---'
)
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
searchForm
,
merchantList
,
isAsk
,
isEnd
}
=
this
.
data
let
{
searchForm
,
merchantList
,
isAsk
,
isEnd
}
=
this
.
data
if
(
isAsk
||
isEnd
)
{
if
(
isAsk
||
isEnd
)
{
...
@@ -278,7 +131,6 @@ Component({
...
@@ -278,7 +131,6 @@ Component({
wx
.
$api
.
showLoading
(
'加载中...'
)
wx
.
$api
.
showLoading
(
'加载中...'
)
const
paiName
=
searchForm
.
sceneType
?
'getQuerySceneList'
:
'getAllSceneList'
const
paiName
=
searchForm
.
sceneType
?
'getQuerySceneList'
:
'getAllSceneList'
outputValueApi
[
paiName
](
params
).
then
(
res
=>
{
outputValueApi
[
paiName
](
params
).
then
(
res
=>
{
console
.
log
(
res
,
'res---'
)
this
.
setData
({
this
.
setData
({
merchantList
:
isReset
?
(
res
||
[])
:
merchantList
.
concat
(
res
||
[])
merchantList
:
isReset
?
(
res
||
[])
:
merchantList
.
concat
(
res
||
[])
})
})
...
...
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.js
View file @
8ecaf9e
...
@@ -80,7 +80,6 @@ Component({
...
@@ -80,7 +80,6 @@ Component({
this
.
setData
({
this
.
setData
({
curInfo
:
curInfo
curInfo
:
curInfo
})
})
console
.
log
(
curInfo
)
}
}
},
},
dealData
()
{
dealData
()
{
...
@@ -94,7 +93,6 @@ Component({
...
@@ -94,7 +93,6 @@ Component({
},
},
jump
(
e
)
{
jump
(
e
)
{
let
{
info
}
=
e
.
currentTarget
.
dataset
let
{
info
}
=
e
.
currentTarget
.
dataset
console
.
log
(
info
)
wx
.
$router
.
go
(
'packagesList.newSummary'
,
info
)
wx
.
$router
.
go
(
'packagesList.newSummary'
,
info
)
},
},
}
}
...
...
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.wxml
View file @
8ecaf9e
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<view class="line crowdfund"></view>
<view class="line crowdfund"></view>
</view>
</view>
<view class="flex-wrap">
<view class="flex-wrap">
<view wx:for="{{item.curMonthTotalData}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx"
class="crowdfund-item
">
<view wx:for="{{item.curMonthTotalData}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx"
class="{{subItem.isShow ? 'crowdfund-item' : ''}}
">
<view wx:if="{{subItem.isShow}}">
<view wx:if="{{subItem.isShow}}">
<view class="label">{{subItem.productName}}</view>
<view class="label">{{subItem.productName}}</view>
<view class="num">{{subItem.activityTotal || 0}}场<text class="num-grey">/</text>{{subItem.orderTotal || 0}}单<text class="num-grey">/</text>¥{{filter.money_three_for_two_thousands(subItem.bizTotal || 0)}}</view>
<view class="num">{{subItem.activityTotal || 0}}场<text class="num-grey">/</text>{{subItem.orderTotal || 0}}单<text class="num-grey">/</text>¥{{filter.money_three_for_two_thousands(subItem.bizTotal || 0)}}</view>
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.js
View file @
8ecaf9e
...
@@ -73,7 +73,6 @@ Component({
...
@@ -73,7 +73,6 @@ Component({
},
},
jump
(
e
)
{
jump
(
e
)
{
let
{
info
}
=
e
.
currentTarget
.
dataset
let
{
info
}
=
e
.
currentTarget
.
dataset
console
.
log
(
info
)
wx
.
$router
.
go
(
'packagesList.newSummary'
,
info
)
wx
.
$router
.
go
(
'packagesList.newSummary'
,
info
)
},
},
switchChange
()
{
switchChange
()
{
...
...
pages/tab/outputValue/components/merchantCom/serviceTotal/serviceTotal.scss
View file @
8ecaf9e
...
@@ -14,6 +14,10 @@
...
@@ -14,6 +14,10 @@
color
:
#323436
;
color
:
#323436
;
padding
:
0
24rpx
;
padding
:
0
24rpx
;
.top-name
{
max-width
:
calc
(
100%
-
92rpx
);
}
.tips
{
.tips
{
width
:
84rpx
;
width
:
84rpx
;
height
:
28rpx
;
height
:
28rpx
;
...
...
pages/tab/outputValue/components/merchantCom/serviceTotal/serviceTotal.wxml
View file @
8ecaf9e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<wxs src="/pages/tab/outputValue/index.wxs" module="filter" />
<wxs src="/pages/tab/outputValue/index.wxs" module="filter" />
<view class="service-total">
<view class="service-total">
<view class="top">
<view class="top">
{{serviceName}}
<view class="top-name text-hide">{{serviceName}}</view>
<view class="tips">服务商</view>
<view class="tips">服务商</view>
</view>
</view>
<view class="box">
<view class="box">
...
...
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