Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
9ba13f2c
Commit
9ba13f2c
authored
Nov 14, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'V1.7.3_report_feature' into develop
parents
3e22b568
c0661710
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
10 deletions
+22
-10
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+22
-10
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
9ba13f2c
...
...
@@ -2596,7 +2596,7 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
e
[
item
]
=
e
[
item
]
>
0
?
e
[
item
]
+
'
%↑
'
:
(
e
[
item
]
<
0
?
e
[
item
].
toString
().
slice
(
1
)
+
'
%↓
'
:
0
);
'
-
'
);
}
}
}
...
...
@@ -2642,15 +2642,27 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
let
tmpCalculatList
=
[];
let
calculateTypeList
=
[
'
就餐
'
,
'
未就餐
'
,
'
均值
'
,
'
较上
'
,
'
总计
'
];
calculateTypeList
.
forEach
(
e
=>
{
tmpCalculatList
.
push
({
"
calculateType
"
:
e
,
"
breakfastAmount
"
:
0
,
"
lunchAmount
"
:
0
,
"
supperAmount
"
:
0
,
"
otherAmount
"
:
0
,
"
totalAmount
"
:
0
,
"
consumerDetailsSumArr
"
:
[
e
,
0
,
0
,
0
,
0
,
0
]
})
if
(
e
==
'
较上
'
)
{
tmpCalculatList
.
push
({
"
calculateType
"
:
e
,
"
breakfastAmount
"
:
'
-
'
,
"
lunchAmount
"
:
'
-
'
,
"
supperAmount
"
:
'
-
'
,
"
otherAmount
"
:
'
-
'
,
"
totalAmount
"
:
'
-
'
,
"
consumerDetailsSumArr
"
:
[
e
,
'
-
'
,
'
-
'
,
'
-
'
,
'
-
'
,
'
-
'
]
})
}
else
{
tmpCalculatList
.
push
({
"
calculateType
"
:
e
,
"
breakfastAmount
"
:
0
,
"
lunchAmount
"
:
0
,
"
supperAmount
"
:
0
,
"
otherAmount
"
:
0
,
"
totalAmount
"
:
0
,
"
consumerDetailsSumArr
"
:
[
e
,
0
,
0
,
0
,
0
,
0
]
})
}
});
this
.
campusConsumerDetailObj
.
campusConsumerDetailCalculateList
=
JSON
.
parse
(
JSON
.
stringify
(
tmpCalculatList
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment