Commit 04d490c8 by 杨明

Merge branch 'v3.11.0' of http://192.168.3.233:8090/saas/scrm-micro-home into v3.11.0

2 parents 72e2bf55 fc6ef695
......@@ -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)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!