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
806c8ece
Commit
806c8ece
authored
May 12, 2018
by
郜超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
e40b5d4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
HmFullCalendar.vue
src/views/haomo/components/calendar/HmFullCalendar.vue
+2
-1
index.vue
src/views/haomo/components/calendar/index.vue
+2
-1
No files found.
src/views/haomo/components/calendar/HmFullCalendar.vue
View file @
806c8ece
...
@@ -482,8 +482,9 @@
...
@@ -482,8 +482,9 @@
getDailyEvent
()
{
getDailyEvent
()
{
const
self
=
this
const
self
=
this
var
saveTime
=
''
var
saveTime
=
''
var
filterparams
=
self
.
demoEvent
.
filterparams
request
(
self
.
schema
.
modelUnderscorePlural
,
{
request
(
self
.
schema
.
modelUnderscorePlural
,
{
params
:
{
'sortItem'
:
self
.
demoEvent
.
timeOrder
,
'pageSize'
:
10000
}
params
:
{
'sortItem'
:
self
.
demoEvent
.
timeOrder
,
'pageSize'
:
10000
,
filters
:
{
filterparams
}
}
}).
then
(
resp
=>
{
}).
then
(
resp
=>
{
console
.
log
(
resp
.
data
,
'========='
)
console
.
log
(
resp
.
data
,
'========='
)
_
.
each
(
resp
.
data
,
function
(
item
)
{
_
.
each
(
resp
.
data
,
function
(
item
)
{
...
...
src/views/haomo/components/calendar/index.vue
View file @
806c8ece
...
@@ -28,7 +28,8 @@
...
@@ -28,7 +28,8 @@
title
:
'loginid'
,
title
:
'loginid'
,
date
:
'createTime'
,
date
:
'createTime'
,
events
:
'email'
,
events
:
'email'
,
timeOrder
:
'create_time'
timeOrder
:
'create_time'
,
filterparams
:
''
}
}
// title为需要传入的事件名所对应的的字段名,date为时间所对应的字段,events为事件所对应的字段,都不是必传
// title为需要传入的事件名所对应的的字段名,date为时间所对应的字段,events为事件所对应的字段,都不是必传
// timeOrder为所有所有事件按照数据库的哪个字段排序,为下划线格式
// timeOrder为所有所有事件按照数据库的哪个字段排序,为下划线格式
...
...
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