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 3963f9e9
authored
Aug 30, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
我的门店,重置参数,样式
1 parent
42ab8980
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
157 deletions
pages/tab/outputValue/components/merchant/merchant.js
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.js
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/merchant/merchant.js
View file @
3963f9e
...
@@ -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 @
3963f9e
...
@@ -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/merchantAll/merchantAll.js
View file @
3963f9e
...
@@ -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 @
3963f9e
...
@@ -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 @
3963f9e
...
@@ -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