Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 04d490c8
authored
May 20, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.11.0' of
http://192.168.3.233:8090/saas/scrm-micro-home
into v3.11.0
2 parents
72e2bf55
fc6ef695
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/views/home/components/Marketing/components/ScheduleCalendar/index.vue
src/views/home/components/Marketing/components/ScheduleCalendar/index.vue
View file @
04d490c
...
...
@@ -62,6 +62,7 @@ export default {
this
.
$parent
.
handleShowCalendar
(
0
)
},
getCalendarData
()
{
let
colors
=
[
'#BFEFD5'
,
'#FEE9CC'
,
'#FEDCCF'
,
'#CAF2F1'
,
'#ECD0FF'
]
let
{
eventList
,
calendarData
,
calendar
,
currentDate
}
=
this
eventList
=
calendarData
.
map
(
item
=>
{
return
{
...
...
@@ -69,7 +70,13 @@ export default {
calendarId
:
item
.
id
,
title
:
item
.
title
,
start
:
item
.
startTime
.
replace
(
'/'
,
'-'
),
end
:
item
.
endTime
end
:
item
.
endTime
,
color
:
'#333333'
,
backgroundColor
:
colors
[
item
.
marketingType
],
// dragBackgroundColor: '#3c056d',
customStyle
:
{
fontSize
:
'12px;'
,
},
}
})
calendar
.
createEvents
(
eventList
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment