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
152acd85
Commit
152acd85
authored
May 13, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校园报告—消费报告提交更新
parent
0bd1bbb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+16
-8
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
152acd85
...
...
@@ -450,7 +450,13 @@
}
},
mounted
()
{
if
(
new
Date
().
getTime
()
<=
new
Date
(
'
2022/06/30
'
).
getTime
()){
this
.
isOpen
=
true
;
this
.
queryMemberValidTime
();
this
.
containerHeight
=
4200
;
}
else
{
this
.
queryIsDredgeMember
();
}
let
tmpArr
=
[]
// 获取时间
for
(
let
i
=
0
;
i
<=
11
;
i
++
)
{
...
...
@@ -469,12 +475,6 @@
this
.
maxDate
=
new
Date
(
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
endDate
);
this
.
diningSituations
.
diningSituationsRequestDate
=
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
;
this
.
diningSituations
.
diningSituationsDate
=
this
.
formatDate
(
this
.
minDate
);
this
.
queryCampusStudentInfo
();
this
.
queryNotRepastDetails
(
this
.
diningSituations
.
diningSituationsRequestDate
,
this
.
diningSituations
.
diningSituationsRequestDate
,
1
);
this
.
queryNotRepastDetails
(
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
,
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
endDate
,
2
);
this
.
queryConsumerTrend
();
if
(
this
.
isOpen
)
{
this
.
queryStudentConsumerPreference
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
...
...
@@ -482,6 +482,12 @@
this
.
queryStudentConsumerPreference
();
this
.
queryDayConsumerTrend
();
}
this
.
queryCampusStudentInfo
();
this
.
queryNotRepastDetails
(
this
.
diningSituations
.
diningSituationsRequestDate
,
this
.
diningSituations
.
diningSituationsRequestDate
,
1
);
this
.
queryNotRepastDetails
(
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
,
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
endDate
,
2
);
this
.
queryConsumerTrend
();
},
methods
:
{
toImage
:
function
()
{
...
...
@@ -1564,6 +1570,7 @@
#consumer-preferences-pie
{
height
:
385rpx
;
top
:
-60rpx
;
z-index
:
100
;
}
}
...
...
@@ -1700,8 +1707,9 @@
#consumer-trend-line
{
position
:
absolute
;
top
:
1
3
0rpx
;
top
:
1
2
0rpx
;
left
:
10rpx
;
z-index
:
100
;
}
.consumer-trend-line-icon
{
...
...
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