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 363bb01f
authored
Oct 20, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixbug
1 parent
e4e03ee8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
pages/mineDetail/messageBox/messageBox.js
pages/tab/output/components/merchant/mrechant.js
pages/tab/output/components/nothingTipsCon/nothingTipsCon.js
pages/mineDetail/messageBox/messageBox.js
View file @
363bb01
...
@@ -103,11 +103,10 @@ Component({
...
@@ -103,11 +103,10 @@ Component({
let
that
=
this
let
that
=
this
let
{
serviceMerchantId
,
type
,
warReportList
,
messageList
}
=
this
.
data
let
{
serviceMerchantId
,
type
,
warReportList
,
messageList
}
=
this
.
data
let
list
=
type
[
typeName
][
'list'
]
let
list
=
type
[
typeName
][
'list'
]
// console.log('list', this.data[list])
// console.log('list', this.data[list])
// return
// return
let
params
=
{
let
params
=
{
serviceMerchantId
:
'44211459'
,
serviceMerchantId
:
serviceMerchantId
,
...
type
[
typeName
]
...
type
[
typeName
]
}
}
// console.log(Math.ceil(2.8))
// console.log(Math.ceil(2.8))
...
...
pages/tab/output/components/merchant/mrechant.js
View file @
363bb01
...
@@ -141,15 +141,15 @@ Component({
...
@@ -141,15 +141,15 @@ Component({
outputApi
outputApi
.
partnerMerchantTotal
({
merchantId
:
userInfo
.
merchantId
})
.
partnerMerchantTotal
({
merchantId
:
userInfo
.
merchantId
})
.
then
(
result
=>
{
.
then
(
result
=>
{
//
debugger
debugger
//
console.log('result', result)
console
.
log
(
'result'
,
result
)
let
{
dataList
,
yqMerchantIds
}
=
result
let
{
dataList
,
yqMerchantIds
}
=
result
const
list
=
yqMerchantIds
.
reduce
((
list
,
item
,
index
)
=>
{
const
list
=
yqMerchantIds
.
reduce
((
list
,
item
,
index
)
=>
{
let
obj
=
{}
let
obj
=
{}
obj
.
totalMoney
=
dataList
[
index
]?.
totalMoney
||
0
obj
.
totalMoney
=
dataList
[
index
]?.
totalMoney
||
0
obj
.
totalOrder
=
dataList
[
index
]?.
totalOrder
||
0
obj
.
totalOrder
=
dataList
[
index
]?.
totalOrder
||
0
obj
.
merchantName
=
dataList
[
index
].
merchantName
obj
.
merchantName
=
dataList
[
index
]
?
.
merchantName
obj
.
merchantId
=
item
obj
.
merchantId
=
item
obj
.
startInd
=
obj
.
startInd
=
dataList
[
index
]?.
sceneList
.
findIndex
(
item
=>
{
dataList
[
index
]?.
sceneList
.
findIndex
(
item
=>
{
...
...
pages/tab/output/components/nothingTipsCon/nothingTipsCon.js
View file @
363bb01
...
@@ -18,6 +18,7 @@ Component({
...
@@ -18,6 +18,7 @@ Component({
*/
*/
methods
:
{
methods
:
{
nav
()
{
nav
()
{
// debugger
wx
.
$router
.
go
(
'pages.index'
)
wx
.
$router
.
go
(
'pages.index'
)
}
}
}
}
...
...
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