|
@@ -553,7 +553,7 @@ export default {
|
|
|
if (res.code === 200) {
|
|
|
this.calendarEvents = res.data.map((item, index) => {
|
|
|
const colorObj = this.mapMemberColor[item.peopleObject.idap]
|
|
|
- const bgColor = params.peoples.length < 2 ? this.mapTypeColor[item.type].bgColor : colorObj.bgColor
|
|
|
+ const bgColor = params.peoples.length < 2 ? item.origin ? 'rgba(122,209,67,1)' : this.mapTypeColor[item.type].bgColor : colorObj.bgColor
|
|
|
const title = item.origin ? '日程:' : '排期:'
|
|
|
// let require = ''
|
|
|
let task = ''
|
|
@@ -566,7 +566,7 @@ export default {
|
|
|
}
|
|
|
return {
|
|
|
id: item.id,
|
|
|
- title: `${title}【${item.peopleObject.name}】${name} ${item.desc ? ':' + item.desc + ';' : ''} ${task}`,
|
|
|
+ title: `${title}【${item.peopleObject.name}】${name}${item.desc ? ':' + item.desc + ';' : ''} ${task}`,
|
|
|
start: moment(item.startTime).toDate(),
|
|
|
end: moment(item.endTime).add(1, 'day').toDate(),
|
|
|
detailData: item,
|