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
e8d7bd6d
Commit
e8d7bd6d
authored
Jun 15, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
6eb52044
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+14
-14
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
e8d7bd6d
...
@@ -876,7 +876,7 @@
...
@@ -876,7 +876,7 @@
this
.
isOpen
=
true
;
this
.
isOpen
=
true
;
this
.
flag
=
0
;
this
.
flag
=
0
;
this
.
memberInfo
.
invalidDateStr
=
'
2022年6月30日
'
;
this
.
memberInfo
.
invalidDateStr
=
'
2022年6月30日
'
;
this
.
memberInfo
.
differDay
=
dayjs
(
'
2022/06/30
'
).
diff
(
dayjs
(),
'
day
'
);
this
.
memberInfo
.
differDay
=
dayjs
(
'
2022/06/30
'
).
diff
(
dayjs
(),
'
day
'
)
+
1
;
this
.
containerHeight
=
4200
;
this
.
containerHeight
=
4200
;
this
.
queryConsumerSummaryAmount
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryConsumerSummaryAmount
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
...
@@ -894,7 +894,7 @@
...
@@ -894,7 +894,7 @@
this
.
isOpen
=
true
;
this
.
isOpen
=
true
;
this
.
flag
=
0
;
this
.
flag
=
0
;
this
.
memberInfo
.
invalidDateStr
=
'
2022年6月30日
'
;
this
.
memberInfo
.
invalidDateStr
=
'
2022年6月30日
'
;
this
.
memberInfo
.
differDay
=
dayjs
(
'
2022/06/30
'
).
diff
(
dayjs
(),
'
day
'
);
this
.
memberInfo
.
differDay
=
dayjs
(
'
2022/06/30
'
).
diff
(
dayjs
(),
'
day
'
)
+
1
;
this
.
containerHeight
=
4200
;
this
.
containerHeight
=
4200
;
this
.
queryConsumerSummaryAmount
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryConsumerSummaryAmount
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
...
@@ -1692,20 +1692,20 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
...
@@ -1692,20 +1692,20 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
// 三对象排序
// 三对象排序
numsort
(
obj1
,
obj2
,
obj3
)
{
numsort
(
obj1
,
obj2
,
obj3
)
{
var
temp
;
var
temp
;
if
(
obj1
.
num
>
obj2
.
num
)
{
if
(
obj1
.
num
>
obj2
.
num
)
{
temp
=
JSON
.
parse
(
JSON
.
stringify
(
obj1
));
temp
=
JSON
.
parse
(
JSON
.
stringify
(
obj1
));
obj1
=
JSON
.
parse
(
JSON
.
stringify
(
obj2
));
obj1
=
JSON
.
parse
(
JSON
.
stringify
(
obj2
));
obj2
.
num
=
JSON
.
parse
(
JSON
.
stringify
(
temp
));
obj2
.
num
=
JSON
.
parse
(
JSON
.
stringify
(
temp
));
}
}
if
(
obj2
.
num
>
obj3
.
num
)
{
if
(
obj2
.
num
>
obj3
.
num
)
{
temp
=
JSON
.
parse
(
JSON
.
stringify
(
obj2
));
temp
=
JSON
.
parse
(
JSON
.
stringify
(
obj2
));
obj2
=
JSON
.
parse
(
JSON
.
stringify
(
obj3
));
obj2
=
JSON
.
parse
(
JSON
.
stringify
(
obj3
));
obj3
=
JSON
.
parse
(
JSON
.
stringify
(
temp
));
obj3
=
JSON
.
parse
(
JSON
.
stringify
(
temp
));
}
}
if
(
obj1
.
num
>
obj2
.
num
)
{
if
(
obj1
.
num
>
obj2
.
num
)
{
temp
=
JSON
.
parse
(
JSON
.
stringify
(
obj1
));
temp
=
JSON
.
parse
(
JSON
.
stringify
(
obj1
));
obj1
=
JSON
.
parse
(
JSON
.
stringify
(
obj2
));
obj1
=
JSON
.
parse
(
JSON
.
stringify
(
obj2
));
obj2
=
JSON
.
parse
(
JSON
.
stringify
(
temp
));
obj2
=
JSON
.
parse
(
JSON
.
stringify
(
temp
));
}
}
return
[{
return
[{
name
:
obj1
.
name
,
name
:
obj1
.
name
,
...
...
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