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
0969cdda
Commit
0969cdda
authored
May 17, 2022
by
李智书
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://git.xiaopay.net/lizhishu/xzf_uniapp-wechat-web
into develop
parents
798dfbb1
ae59bdda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+13
-12
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
0969cdda
...
...
@@ -44,12 +44,12 @@
<view
class=
"school-report-context-tab-item-one active"
>
<text>
消费报告
</text>
</view>
<view
class=
"school-report-context-tab-item-one"
>
<
!--
<
view
class=
"school-report-context-tab-item-one"
>
<text>
门禁报告
</text>
</view>
<view
class=
"school-report-context-tab-item-one"
>
<text>
公话报告
</text>
</view>
</view>
-->
</view>
<view
class=
"school-report-context-tab-item-two"
>
<view
class=
"share-button"
@
tap=
"shareHandler"
>
...
...
@@ -450,14 +450,15 @@
}
},
mounted
()
{
if
(
new
Date
().
getTime
()
<=
new
Date
(
'
2022/06/30
'
).
getTime
()){
this
.
isOpen
=
true
;
this
.
memberInfo
.
invalidDateStr
=
'
2022年6月30日
'
;
this
.
memberInfo
.
differDay
=
dayjs
(
'
2022/06/30
'
).
diff
(
dayjs
(),
'
day
'
);
this
.
containerHeight
=
4200
;
}
else
{
// if(new Date().getTime()
<=
new
Date
(
'
2022/06/30
'
).
getTime
()){
// this.isOpen=true;
// this.memberInfo.invalidDateStr='2022年6月30日';
// this.memberInfo.differDay=dayjs('2022/06/30').diff(dayjs(),'day');
// this.containerHeight = 4200;
// }else{
// this.queryIsDredgeMember();
// }
this
.
queryIsDredgeMember
();
}
let
tmpArr
=
[]
// 获取时间
for
(
let
i
=
0
;
i
<=
11
;
i
++
)
{
...
...
@@ -676,7 +677,7 @@
linechart
:
function
(
num
)
{
var
mySize
=
document
.
getElementById
(
'
consumer-trend-line
'
);
mySize
.
style
.
width
=
window
.
innerWidth
-
20
+
'
px
'
;
mySize
.
style
.
height
=
window
.
innerHeight
-
5
8
0
+
'
px
'
;
mySize
.
style
.
height
=
window
.
innerHeight
-
5
0
0
+
'
px
'
;
var
myChart
=
echarts
.
init
(
mySize
);
var
xdata
=
this
.
lineDatas
.
map
(
v
=>
v
.
name
);
var
year
=
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
.
slice
(
0
,
4
);
...
...
@@ -894,7 +895,7 @@
return
}
const
tmpObj
=
data
.
obj
;
this
.
isEatLow
=
tmpObj
.
canteenAmount
/
tmpObj
.
grossAmount
>
0.5
?
true
:
false
;
this
.
isEatLow
=
tmpObj
.
canteenAmount
/
tmpObj
.
grossAmount
<
0.5
?
true
:
false
;
if
(
num
)
{
this
.
pieDatas
=
[
[{
...
...
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