Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
黄瑜
VueElementTemplate
Commits
3633512c
Commit
3633512c
authored
May 03, 2018
by
李静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
511ea502
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
HmFullCalendar.vue
src/views/haomo/components/calendar/HmFullCalendar.vue
+6
-4
No files found.
src/views/haomo/components/calendar/HmFullCalendar.vue
View file @
3633512c
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</div>
</div>
<div
v-if=
"show"
class=
"incident"
>
<div
v-if=
"show"
class=
"incident"
>
<p>
{{
currentDate
}}
</p>
<p>
{{
currentDate
}}
</p>
<
span>
{{
event
}}
</span
>
<
p
v-for=
"event in allEvents"
>
{{
event
}}
</p
>
<span
class=
"close"
@
click=
"closeEvent"
>
X
</span>
<span
class=
"close"
@
click=
"closeEvent"
>
X
</span>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -183,6 +183,7 @@
...
@@ -183,6 +183,7 @@
position
:
relative
;
position
:
relative
;
background-color
:
#202020
;
background-color
:
#202020
;
width
:
180px
;
width
:
180px
;
height
:;
padding
:
20px
;
padding
:
20px
;
color
:
#CCC
;
color
:
#CCC
;
text-align
:
center
;
text-align
:
center
;
...
@@ -254,8 +255,9 @@
...
@@ -254,8 +255,9 @@
dateItems
:
''
,
// 当前月份所有日期的数据
dateItems
:
''
,
// 当前月份所有日期的数据
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
show
:
false
,
show
:
false
,
eventTitle
:
''
,
currentDate
:
''
,
currentDate
:
''
,
event
:
''
,
allEvents
:
''
,
schedules
:
[]
schedules
:
[]
}
}
},
},
...
@@ -449,9 +451,9 @@
...
@@ -449,9 +451,9 @@
console
.
log
(
result
,
'--------------------'
)
console
.
log
(
result
,
'--------------------'
)
if
(
result
.
schedule
)
{
if
(
result
.
schedule
)
{
const
currentTime
=
this
.
timestampToTime
(
result
.
schedule
.
date
)
const
currentTime
=
this
.
timestampToTime
(
result
.
schedule
.
date
)
console
.
log
(
currentTime
)
this
.
currentDate
=
currentTime
this
.
currentDate
=
currentTime
this
.
event
=
result
.
schedule
.
event
this
.
eventTitle
=
result
.
schedule
.
title
this
.
allEvents
=
result
.
schedule
.
allEvents
}
}
// this.$emit('dateChange', result)
// this.$emit('dateChange', result)
}
else
{
// 已激活行程提示的,不作反应
}
else
{
// 已激活行程提示的,不作反应
...
...
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