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
48cdf3ad
Commit
48cdf3ad
authored
Sep 07, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v_req_8.2' into develop
parents
4753cdd5
63f55650
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
src/components/canlendar.vue
src/components/canlendar.vue
+8
-4
src/pages/ApplyConsumption/campusReport/campusReport.vue
src/pages/ApplyConsumption/campusReport/campusReport.vue
+0
-2
No files found.
src/components/canlendar.vue
View file @
48cdf3ad
...
...
@@ -189,30 +189,34 @@
let
year
=
this
.
shareDate
.
getFullYear
();
let
curMonth
=
this
.
shareDate
.
getMonth
();
let
date
=
this
.
shareDate
.
getDate
();
console
.
log
(
date
,
'
date
'
,
curMonth
,
'
curMonth
'
)
let
obj
=
{
year
:
year
,
month
:
curMonth
,
date
:
date
,
disable
:
curMonth
!==
month
,
value
:
this
.
stringify
(
year
,
curMonth
,
date
),
signdate
:
false
signdate
:
false
,
unrecordedZao
:
false
,
unrecordedWu
:
false
,
unrecordedWan
:
false
}
if
(
curMonth
==
month
)
{
if
(
curMonth
==
currentToday
.
month
)
{
let
f
=
this
.
groupList
.
filter
(
y
=>
y
.
date
==
date
)
if
(
f
.
length
)
{
obj
.
signdate
=
true
if
(
f
[
0
].
date
==
1
){
currentToday
=
Object
.
assign
(
currentToday
,
f
[
0
])
}
obj
=
Object
.
assign
(
obj
,
f
[
0
])
}
}
list
.
push
(
obj
);
begin
+=
oneDayMS
;
}
console
.
log
(
currentToday
,
'
currentToday
'
)
this
.
changeToday_
(
currentToday
)
this
.
calendarList
=
list
;
console
.
log
(
list
,
'
calendarList
'
)
}
},
watch
:
{
...
...
src/pages/ApplyConsumption/campusReport/campusReport.vue
View file @
48cdf3ad
...
...
@@ -464,7 +464,6 @@
},
// 切换日期
changeToday
(
today
)
{
console
.
log
(
today
,
'
111111111111111111111111111111
'
)
this
.
today
.
date
=
(
today
.
month
+
1
)
+
'
月
'
+
(
today
.
date
||
'
1
'
)
+
'
日
'
if
(
Reflect
.
has
(
today
,
'
unrecordedZao
'
))
{
this
.
today
.
zao
=
today
.
unrecordedZao
||
false
...
...
@@ -475,7 +474,6 @@
if
(
Reflect
.
has
(
today
,
'
unrecordedWan
'
))
{
this
.
today
.
wan
=
today
.
unrecordedWan
||
false
}
console
.
log
(
this
.
today
,
'
222222222222
'
)
},
dateRangeChange
(
e
)
{
console
.
log
(
e
)
...
...
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