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
a3919494
Commit
a3919494
authored
May 26, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校园报告code更改
parent
33787b57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
19 deletions
+17
-19
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+17
-19
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
a3919494
...
...
@@ -835,13 +835,13 @@
this
.
isAttendanceOpen
=
true
;
this
.
isPubTalkOpen
=
true
;
}
else
{
this
.
queryIsDredgeMember
(
4
002
);
this
.
queryIsDredgeMember
(
4003
);
this
.
queryIsDredgeMember
(
2
002
);
this
.
queryIsDredgeMember
(
3002
);
}
// 消费报告
this
.
queryIsDredgeMember
(
4001
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
1002
).
then
(()
=>
{
if
(
this
.
isOpen
)
{
this
.
queryMemberValidTime
(
4001
).
then
(
e
=>
{
this
.
queryMemberValidTime
(
1002
).
then
(
e
=>
{
if
(
new
Date
(
this
.
memberInfo
.
invalidDate
).
getTime
()
<=
new
Date
(
'
2022/06/30
'
)
.
getTime
())
{
this
.
isOpen
=
true
;
...
...
@@ -852,7 +852,7 @@
this
.
queryStudentConsumerPreference
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
}
else
{
this
.
queryIsDredgeMember
(
4001
,
1
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
1002
,
1
).
then
(()
=>
{
this
.
queryStudentConsumerPreference
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
...
...
@@ -870,7 +870,7 @@
this
.
queryStudentConsumerPreference
(
1
).
then
(
e
=>
this
.
piechart
());
this
.
queryDayConsumerTrend
(
1
).
then
(
e
=>
this
.
linechart
(
this
.
reportTypeIndex
));
}
else
{
this
.
queryIsDredgeMember
(
4001
,
1
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
1002
,
1
).
then
(()
=>
{
this
.
queryStudentConsumerPreference
();
this
.
queryDayConsumerTrend
();
});
...
...
@@ -942,7 +942,7 @@
this
.
memberInfo
.
differDay
=
''
;
this
.
memberInfo
.
invalidDateStr
=
''
;
this
.
memberInfo
.
leastAmount
=
''
;
this
.
queryIsDredgeMember
(
4003
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
3002
).
then
(()
=>
{
if
(
this
.
isAttendanceOpen
)
{
if
(
new
Date
(
this
.
memberInfo
.
invalidDate
).
getTime
()
<=
new
Date
(
'
2022/06/30
'
)
.
getTime
())
{
...
...
@@ -960,7 +960,7 @@
}
});
}
else
{
this
.
queryIsDredgeMember
(
4003
,
2
);
this
.
queryIsDredgeMember
(
3002
,
2
);
this
.
statisAttendanceAbnormal
();
this
.
attendanceReprotDatail
(
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
)
.
then
(
e
=>
{
...
...
@@ -987,7 +987,7 @@
}
});
}
else
{
this
.
queryIsDredgeMember
(
4003
,
2
);
this
.
queryIsDredgeMember
(
3002
,
2
);
}
}
})
...
...
@@ -995,7 +995,7 @@
this
.
memberInfo
.
differDay
=
''
;
this
.
memberInfo
.
invalidDateStr
=
''
;
this
.
memberInfo
.
leastAmount
=
''
;
this
.
queryIsDredgeMember
(
4
002
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
2
002
).
then
(()
=>
{
if
(
this
.
isPubTalkOpen
)
{
if
(
new
Date
(
this
.
memberInfo
.
invalidDate
).
getTime
()
<=
new
Date
(
'
2022/06/30
'
)
.
getTime
())
{
...
...
@@ -1012,7 +1012,7 @@
})
})
}
else
{
this
.
queryIsDredgeMember
(
4
002
,
3
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
2
002
,
3
).
then
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
callNumberBarchart
();
this
.
callDurationBarchart
();
...
...
@@ -1035,7 +1035,7 @@
})
})
}
else
{
this
.
queryIsDredgeMember
(
4
002
,
3
).
then
(()
=>
{
this
.
queryIsDredgeMember
(
2
002
,
3
).
then
(()
=>
{
this
.
queryStudentConsumerPreference
();
this
.
queryDayConsumerTrend
();
this
.
getPubTalkReport
().
then
(
e
=>
{
...
...
@@ -1887,8 +1887,7 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
userId
:
getQueryParams
(
'
userId
'
),
startTime
:
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
,
endTime
:
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
endDate
,
// classId:this.userInfo.classId
classId
:
16186
classId
:
this
.
userInfo
.
classId
})
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
...
...
@@ -1919,8 +1918,7 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
schoolId
:
getQueryParams
(
'
schoolId
'
),
userId
:
getQueryParams
(
'
userId
'
),
currentDate
,
// classId:this.userInfo.classId
classId
:
16186
classId
:
this
.
userInfo
.
classId
})
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
...
...
@@ -1973,19 +1971,19 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
return
}
switch
(
serviceItemCode
)
{
case
4001
:
case
1002
:
this
.
isOpen
=
data
.
obj
.
status
;
if
(
!
this
.
isOpen
)
{
this
.
flag
=
1
;
}
break
;
case
4
002
:
case
2
002
:
this
.
isPubTalkOpen
=
data
.
obj
.
status
;
if
(
!
this
.
isPubTalkOpen
)
{
this
.
flag
=
3
;
}
break
;
case
4003
:
case
3002
:
this
.
isAttendanceOpen
=
data
.
obj
.
status
;
if
(
!
this
.
isAttendanceOpen
)
{
this
.
flag
=
2
;
...
...
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