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
bdf2cee8
Commit
bdf2cee8
authored
Sep 05, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dom报错问题修复
parent
80a99f82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/pages/ApplyConsumption/campusReport/campusReport.vue
src/pages/ApplyConsumption/campusReport/campusReport.vue
+9
-6
No files found.
src/pages/ApplyConsumption/campusReport/campusReport.vue
View file @
bdf2cee8
...
@@ -397,24 +397,27 @@
...
@@ -397,24 +397,27 @@
console
.
log
(
this
.
currentDate
,
'
currentDate1111111111111
'
,
this
.
shareDate
,
'
this.homeDataInfo
'
,
this
console
.
log
(
this
.
currentDate
,
'
currentDate1111111111111
'
,
this
.
shareDate
,
'
this.homeDataInfo
'
,
this
.
homeDataInfo
)
.
homeDataInfo
)
},
},
async
mounted
()
{
mounted
()
{
console
.
log
(
this
.
dataRangeArr
,
'
dataRangeArr
'
)
console
.
log
(
this
.
dataRangeArr
,
'
dataRangeArr
'
)
this
.
homeDataInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'
HomeDataInfo
'
))
this
.
homeDataInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'
HomeDataInfo
'
))
this
.
getCampusConsumerReport
()
if
(
this
.
homeDataInfo
.
vipStatus
===
1
)
{
if
(
this
.
homeDataInfo
.
vipStatus
===
1
)
{
this
.
isVip
=
true
;
this
.
isVip
=
true
;
this
.
vipExpiredDt
=
moment
(
this
.
homeDataInfo
.
vipExpiredDt
).
format
(
'
YYYY年MM月DD日
'
)
this
.
vipExpiredDt
=
moment
(
this
.
homeDataInfo
.
vipExpiredDt
).
format
(
'
YYYY年MM月DD日
'
)
console
.
log
(
this
.
vipExpiredDt
,
'
this.vipExpiredDt
'
)
console
.
log
(
this
.
vipExpiredDt
,
'
this.vipExpiredDt
'
)
this
.
initPieCharts
()
this
.
getCateringAbnormalTypeGroupList
()
}
}
console
.
log
(
this
.
isVip
,
'
isVip
'
)
console
.
log
(
this
.
isVip
,
'
isVip
'
)
this
.
columns
=
this
.
dataRangeArr
.
map
(
x
=>
x
.
month
)
this
.
columns
=
this
.
dataRangeArr
.
map
(
x
=>
x
.
month
)
console
.
log
(
this
.
columns
,
'
columns
'
)
console
.
log
(
this
.
columns
,
'
columns
'
)
// await this.CloudGatewayToken()
await
this
.
getCampusConsumerReport
()
await
this
.
initPieCharts
()
await
this
.
getCateringAbnormalTypeGroupList
()
// await this.getUserDealReportListAndSum()
},
},
methods
:
{
methods
:
{
async
init
(){
// await this.getCampusConsumerReport()
// await this.initPieCharts()
// await this.getCateringAbnormalTypeGroupList()
},
shareHandler
:
function
()
{
shareHandler
:
function
()
{
let
htmlCanvasImg
=
document
.
getElementsByClassName
(
"
htmlCanvasImg
"
)[
0
];
let
htmlCanvasImg
=
document
.
getElementsByClassName
(
"
htmlCanvasImg
"
)[
0
];
if
(
htmlCanvasImg
)
{
if
(
htmlCanvasImg
)
{
...
...
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