feat: 更换calendar

This commit is contained in:
weifashi 2023-11-24 01:50:51 +08:00
parent 32aae08ef2
commit 5e784f64a6
5 changed files with 129 additions and 108 deletions

View File

@ -54,7 +54,6 @@
"stylus": "^0.59.0",
"stylus-loader": "^7.1.0",
"tinymce": "^5.10.3",
"tui-calendar-hi": "^1.15.1-5",
"view-design-hi": "^4.7.0-48",
"vite": "^2.9.15",
"vite-plugin-file-copy": "^1.0.0",
@ -89,6 +88,7 @@
}
],
"dependencies": {
"@micro-zoe/micro-app": "^0.8.11"
"@micro-zoe/micro-app": "^0.8.11",
"@toast-ui/calendar": "^2.1.3"
}
}

View File

@ -33,7 +33,7 @@
:taskView="false"
:useCreationPopup="false"
@beforeCreateSchedule="onBeforeCreateSchedule"
@beforeClickSchedule="onBeforeClickSchedule"
@beforeUpdateEvent="onBeforeClickSchedule"
@beforeUpdateSchedule="onBeforeUpdateSchedule"
disable-click/>
</div>
@ -44,10 +44,6 @@
</template>
<script>
import 'tui-date-picker/dist/tui-date-picker.css';
import 'tui-time-picker/dist/tui-time-picker.css';
import 'tui-calendar-hi/dist/tui-calendar-hi.css'
import {mapState, mapGetters} from "vuex";
import Calendar from "./components/Calendar";
import moment from "moment";
@ -141,7 +137,7 @@ export default {
},
computed: {
...mapState(['cacheTasks', 'taskCompleteTemps', 'wsOpenNum', 'themeIsDark']),
...mapState(['cacheUserBasic', 'cacheTasks', 'taskCompleteTemps', 'wsOpenNum', 'themeIsDark']),
...mapGetters(['transforTasks']),
@ -179,12 +175,15 @@ export default {
start: $A.Date(data.start_at).toISOString(),
end: $A.Date(data.end_at).toISOString(),
color: "#515a6e",
bgColor: data.color || '#E3EAFD',
backgroundColor: data.color || '#E3EAFD',
borderColor: data.p_color,
priority: '',
priority: '1122',
preventClick: true,
preventCheckHide: true,
isChecked: !!data.complete_at,
attendees: false,
isReadOnly: false,
state: '',
//
complete_at: data.complete_at,
start_at: data.start_at,
@ -209,17 +208,18 @@ export default {
}
if (data.complete_at) {
task.color = "#c3c2c2"
task.bgColor = "#f3f3f3"
task.backgroundColor = "#f3f3f3"
task.borderColor = "#e3e3e3"
} else if (data.overdue) {
task.title = `[${this.$L('超期')}] ${task.title}`
task.color = "#f56c6c"
task.bgColor = data.color || "#fef0f0"
task.backgroundColor = data.color || "#fef0f0"
task.priority+= `<span class="overdue">${this.$L('超期未完成')}</span>`;
}
if (!task.borderColor) {
task.borderColor = task.bgColor;
task.borderColor = task.backgroundColor;
}
task.state = task.priority
return task;
});
}
@ -318,6 +318,11 @@ export default {
},
onBeforeClickSchedule(event) {
// calendar.updateEvent(event.id, event.calendarId, change);
console.log(2222);
this.$store.dispatch("openTask", event.event)
return;
console.log(event)
const {type, schedule} = event;
let data = this.cacheTasks.find(({id}) => id === schedule.id);
if (!data) {
@ -358,11 +363,13 @@ export default {
},
onBeforeUpdateSchedule(res) {
const {changes, schedule} = res;
const changes = res.changes
const schedule = res.event
let data = this.cacheTasks.find(({id}) => id === schedule.id);
if (!data) {
return;
}
console.log(schedule)
if (changes.start || changes.end) {
const cal = this.$refs.cal.getInstance();
cal.updateSchedule(schedule.id, schedule.calendarId, changes);

View File

@ -2,7 +2,11 @@
<div ref="tuiCalendar" class="calendar-wrapper"></div>
</template>
<script>
import Calendar from 'tui-calendar-hi';
// import 'tui-date-picker/dist/tui-date-picker.css';
// import 'tui-time-picker/dist/tui-time-picker.css';
import '@toast-ui/calendar/dist/toastui-calendar.css';
import Calendar from '@toast-ui/calendar';
// import Calendar from 'tui-calendar-hi';
export default {
name: 'Calendar',
@ -151,28 +155,44 @@ export default {
}
},
mounted() {
console.log(this.view)
console.log(this.calendars)
let dayNames = [
this.$L('{日}'),
this.$L('{一}'),
this.$L('{二}'),
this.$L('{三}'),
this.$L('{四}'),
this.$L('{五}'),
this.$L('{六}')
]
this.calendarInstance = new Calendar(this.$refs.tuiCalendar, {
defaultView: this.view,
calendars: [],
// taskView: this.taskView,
// scheduleView: this.scheduleView,
// theme: this.theme,
// template: this.template,
// week: this.week,
// month: this.month,
// calendars: this.calendars,
// useCreationPopup: this.useCreationPopup,
// useDetailPopup: this.useDetailPopup,
// timezones: this.timezones,
// disableDblClick: this.disableDblClick,
// disableClick: this.disableClick,
// isReadOnly: this.isReadOnly,
// usageStatistics: this.usageStatistics
week: {
taskView: this.taskView,
dayNames: dayNames,
},
month: {
dayNames: dayNames,
},
scheduleView: this.scheduleView,
theme: this.theme,
template: this.template,
calendars: this.calendars,
useCreationPopup: this.useCreationPopup,
useDetailPopup: this.useDetailPopup,
timezone: this.timezones,
disableDblClick: this.disableDblClick,
disableClick: this.disableClick,
usageStatistics: this.usageStatistics,
// isReadOnly: true,
});
// this.addEventListeners();
// this.reflectSchedules();
// this.calendarInstance.on('beforeUpdateEvent', ( event ) => {
// console.log(event); // EventObject
// });
this.calendarInstance.on('beforeDeleteEvent', ( event ) => {
console.log(event); // EventObject
});
this.addEventListeners();
this.reflectSchedules();
},
beforeDestroy() {
this.calendarInstance.off();
@ -186,7 +206,7 @@ export default {
},
reflectSchedules() {
if (this.schedules.length > 0) {
this.invoke('createSchedules', this.schedules);
this.calendarInstance.createEvents(this.schedules)
}
},
getRootElement() {
@ -198,15 +218,6 @@ export default {
resetRender() {
this.calendarInstance.clear();
this.reflectSchedules();
},
invoke(methodName, ...args) {
let result;
if (this.calendarInstance[methodName]) {
result = this.calendarInstance[methodName](...args);
}
return result;
}
}
};

View File

@ -52,8 +52,7 @@
</div>
<!-- -->
<div class="calendar-tui">
<div style="height: 250px;">
<Calendar
<Calendar style="height: 100%;"
ref="cal"
:view="calendarView"
:theme="calendarTheme"
@ -67,15 +66,10 @@
disable-click/>
</div>
</div>
</div>
</Scrollbar>
</div>
</template>
<script>
import 'tui-date-picker/dist/tui-date-picker.css';
import 'tui-time-picker/dist/tui-time-picker.css';
import 'tui-calendar-hi/dist/tui-calendar-hi.css'
import {mapState, mapGetters} from "vuex";
import Calendar from "./Calendar";
import {Store} from "le5le-store";
@ -164,7 +158,7 @@ export default {
start: $A.Date(data.start_at).toISOString(),
end: $A.Date(data.end_at).toISOString(),
color: "#515a6e",
bgColor: data.color || '#E3EAFD',
backgroundColor: data.color || '#E3EAFD',
borderColor: data.p_color,
priority: '',
preventClick: true,
@ -194,16 +188,16 @@ export default {
}
if (data.complete_at) {
task.color = "#c3c2c2"
task.bgColor = "#f3f3f3"
task.backgroundColor = "#f3f3f3"
task.borderColor = "#e3e3e3"
} else if (data.overdue) {
task.title = `[${this.$L('超期')}] ${task.title}`
task.color = "#f56c6c"
task.bgColor = data.color || "#fef0f0"
task.backgroundColor = data.color || "#fef0f0"
task.priority+= `<span class="overdue">${this.$L('超期未完成')}</span>`;
}
if (!task.borderColor) {
task.borderColor = task.bgColor;
task.borderColor = task.backgroundColor;
}
return task;
});

View File

@ -63,76 +63,77 @@
background-color: #ffffff;
z-index: 1;
}
.tui-full-calendar-popup {
.toastui-calendar-popup {
box-shadow: none;
.tui-full-calendar-section-header {
.tui-full-calendar-ic-checkbox-checked {
.toastui-calendar-section-header {
.toastui-calendar-ic-checkbox-checked {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAhFBMVEUAAACLz3CLz3CLz3CKzm6Gy2+Lz3CLz3CL0HCLz3CLz3CLz3CLz3CMz3GLz3CKz3CLz3CL0HCJ0G+KznCN0HCL0HCLz3CKz3CLz3CLz3CLz3CMz3CLz3CLz3GL0XCL0HCN0XKLz3CLz3CMz3CLz3CM0HCM0G+FzHCLz3CKz3CMz3CLz3Bod5CFAAAAK3RSTlMA18RAOQ3s8+Pc0rmyq3tpiUwTgBnovyDMjmNSRjUvJQX5yKB0WisKppuUFLaY7gAAAotJREFUeNrtm+FymkAUhc8KqIAgSkyUtkmsmqa97/9+HWeSudpCd8qZ7E0m+73A9/1gxmXx4IK0nbipvDFTN2lT9JDVToLh6gx/sHQSFLfEFZUEp8IFczFgrv5CTChe/TsxYvfy/IkZy7M/c2KGywDUYkgNIBdDciARUxI0YkqDiZgygRNTHKZiyhRiTAyIATEgBsSAGBADYsAnCJgdmtIywKUAOrsA94QzJyKA95/pbALcPV7piADGryzDB+Rnv3IkAhi/UhMBjF9pQwbk3/A3JRXA+7GjAng/DqEC5v3+dMYE8P6nQsIEzFOPnw7g/QpC+R8K4QJ4f5iAzaA/TMAm6fdvZQgY+wW2fn9A0a66Bee/2xLH8kp/Rr1MB/3jAxaP0ALCPzagzPBCM9r/XcYH3K4BLfD4vw75xwdMbqB4CmaD/vEB2ztc0RD+MQHFg+c85fffDPv9AbPUd6Lz+ydCBDyjh1//6WcCGngK1L8a8lMBJTwFfj8XIC16+SnX7Af9bIDUngLSrwFEwaD/VogA5YheDj7/Wv1MgL9g/8XjpwNk+c8Cyq8BYwqePX46QOkGCmi/BowrqFi/Bvg4wYv6y7e4Kz4Rfj5AnzY/WSlcwHAB5+cD9ivKzwfIbEX4qQA99RB+NkDfO4b5sRAigHjzpP0C6u6D9wuo2z/eL+DvXx8Zv4C4gVd/qABxCeFnApQT5+cDpOP8fICcLv2VxbfjlQZUNh+vU/XbBIj6jQLm9wDWlZgFyOaYHJ3Ix/gDQwyIATEgBsSAGODBfuBgPvEwH7m0YkqLVExJYfsQuPcwdjOf+5kPHoFKjKio0e3Hn90WUCyGt7v3Nf0GsjqXYOR1hh6SJsz8v0mg/AZRXmaRKXtJBwAAAABJRU5ErkJggg==);
}
}
.tui-full-calendar-popup-container {
.toastui-calendar-popup-container {
border: 0;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
border-radius: 6px;
}
.tui-full-calendar-arrow-top .tui-full-calendar-popup-arrow-border {
.toastui-calendar-arrow-top .toastui-calendar-popup-arrow-border {
top: -8px;
border-bottom-color: rgba(217, 217, 217, .5);
}
}
.tui-full-calendar-dropdown-menu {
.toastui-calendar-dropdown-menu {
border-color: #e8e8e8;
width: calc(100% - 14px);
}
.tui-full-calendar-popup-creation {
.tui-full-calendar-icon {
&.tui-full-calendar-ic-title,
&.tui-full-calendar-calendar-dot {
.toastui-calendar-popup-creation {
.toastui-calendar-icon {
&.toastui-calendar-ic-title,
&.toastui-calendar-calendar-dot {
display: none;
}
&.tui-full-calendar-ic-date {
&.toastui-calendar-ic-date {
background-image: url("data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5NjcwNjA3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE2Mzg4IiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk2MCAxMjhIODMzYzAtNTMtNDMtOTYtOTYtOTZoLTE2Yy01MyAwLTk2IDQzLTk2IDk2SDQwMGMwLTI2LjUtMTAuNy01MC41LTI4LjEtNjcuOUMzNTQuNSA0Mi43IDMzMC41IDMyIDMwNCAzMmgtMTZjLTUzIDAtOTYgNDMtOTYgOTZINjRjLTM1LjMgMC02NCAyOC42LTY0IDY0djczNmMwIDM1LjMgMjguNyA2NCA2NCA2NGg4OTZjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMTkyYzAtMzUuNC0yOC43LTY0LTY0LTY0eiBtLTI3MSA4YzAtMjIuMSAxNy45LTQwIDQwLTQwczQwIDE3LjkgNDAgNDB2ODBjMCAyMi4xLTE3LjkgNDAtNDAgNDAtMTEgMC0yMS00LjUtMjguMy0xMS43QzY5My41IDIzNyA2ODkgMjI3IDY4OSAyMTZ2LTgweiBtLTQzMyAwYzAtMjIuMSAxNy45LTQwIDQwLTQwczQwIDE3LjkgNDAgNDB2ODBjMCAyMi4xLTE3LjkgNDAtNDAgNDAtMTEgMC0yMS00LjUtMjguMy0xMS43QzI2MC41IDIzNyAyNTYgMjI3IDI1NiAyMTZ2LTgweiBtNzA0IDc2MGMwIDE3LjctMTQuMyAzMi0zMiAzMkg5NmMtMTcuNyAwLTMyLTE0LjMtMzItMzJWNDQ4aDg5NnY0NDh6IiBwLWlkPSIxNjM4OSIgZmlsbD0iIzUxNTE1MSI+PC9wYXRoPjwvc3ZnPg==");
background-size: contain;
}
}
.tui-full-calendar-content {
.toastui-calendar-content {
padding-left: 0;
}
.tui-full-calendar-popup-section {
.toastui-calendar-popup-section {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
.tui-full-calendar-popup-section-item {
.toastui-calendar-popup-section-item {
height: 36px;
line-height: 34px;
border-color: #e8e8e8;
border-radius: 4px;
}
.tui-full-calendar-popup-section-item input {
.toastui-calendar-popup-section-item input {
height: 34px;
}
}
.tui-full-calendar-section-title {
.toastui-calendar-section-title {
width: 100%;
input {
width: 100%;
}
}
.tui-full-calendar-section-start-date,
.tui-full-calendar-section-end-date {
.toastui-calendar-section-start-date,
.toastui-calendar-section-end-date {
width: 210px;
.tui-full-calendar-content {
.toastui-calendar-content {
padding-left: 8px;
}
}
.tui-full-calendar-popup-location,
.tui-full-calendar-section-private,
.tui-full-calendar-section-allday,
.tui-full-calendar-section-state {
.toastui-calendar-popup-location,
.toastui-calendar-section-private,
.toastui-calendar-section-allday,
.toastui-calendar-section-state {
display: none;
}
}
.tui-full-calendar-popup-task {
.toastui-calendar-popup-container {
word-break: break-all;
.priority {
color: #ffffff;
padding: 2px 4px;
@ -147,41 +148,49 @@
border-radius: 4px;
margin-right: 6px;
}
.tui-full-calendar-calendar-dot,
.tui-full-calendar-ic-priority {
.toastui-calendar-calendar-dot,
.toastui-calendar-ic-priority {
opacity: 0;
}
.tui-full-calendar-ic-edit {
.toastui-calendar-ic-edit {
top: -2px;
background-image: url("data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5MzY4MTg5IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjExMTkiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNODMzLjQyODU3MTY4IDYySDE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xMzguMTc2IDAgMCAxIDYzNy40NCAyNTZIMzgyLjU5MmExMzcuOTIgMTM3LjkyIDAgMCAxIDEyNy4wNC0xMjcuNDg4ek03NjggODMyYTk3Ljk4NCA5Ny45ODQgMCAwIDEtNjYuODggNjRIMzE4Ljg0OGE5My41NjggOTMuNTY4IDAgMCAxLTY0LTY0VjMyMEg3Njh2NTEyeiBtLTM4NS40MDgtNjRWNTEyYzAtMTguNDk2IDAuOTYtNjAuOTkyIDM2LjczNi02MC45OTIgMjcuMzI4IDAgMjYuNDk2IDQzLjAwOCAyNi45NDQgNjAuOTkydjI1NmMwIDE4LjQ5Ni02LjQgMjAuMDMyLTI0Ljk2IDIwLjAzMnMtMzguNzItMS41MzYtMzguNzItMjAuMDMyeiBtMTkxLjE2OCAwVjUxMmE2NCA2NCAwIDAgMSAyMy44MDgtNjAuOTkyYzQyLjQzMiAwIDM5LjM2IDQzLjAwOCAzOS44NzIgNjAuOTkydjI1NmMwIDE4LjQ5Ni0xOS41ODQgMjAuMDMyLTM3Ljk1MiAyMC4wMzJzLTI1Ljc5Mi0xLjUzNi0yNS43OTItMjAuMDMyeiIgcC1pZD0iNzkzIiBmaWxsPSIjNTE1MTUxIj48L3BhdGg+PC9zdmc+");
}
.tui-full-calendar-popup-detail-item-separate {
.toastui-calendar-popup-detail-item-separate {
padding-left: 22px;
}
.toastui-calendar-ic-state-b{
display: none;
}
.tui-datepicker {
}
.toastui-datepicker {
border-color: #e8e8e8;
.tui-calendar {
.toastui-calendar {
th,
td {
height: 32px;
}
.tui-calendar-prev-month.tui-calendar-date,
.tui-calendar-next-month.tui-calendar-date {
.toastui-calendar-prev-month.toastui-calendar-date,
.toastui-calendar-next-month.toastui-calendar-date {
visibility: visible;
}
}
.tui-datepicker-body .tui-timepicker,
.tui-datepicker-footer .tui-timepicker {
.toastui-datepicker-body .toastui-timepicker,
.toastui-datepicker-footer .toastui-timepicker {
padding: 16px 46px 16px 47px;
}
}
.tui-full-calendar-popup-detail-item {
word-break: break-all;
// 去除时间
.toastui-calendar-weekday-event{
.toastui-calendar-template-time{
strong{
display: none;
}
}
}
}
}
@ -215,17 +224,17 @@ body.window-portrait {
padding: 0 24px 5px;
user-select: none;
.calendar-wrapper {
.tui-full-calendar-popup {
.toastui-calendar-popup {
font-weight: normal;
}
.tui-full-calendar-section-button {
.toastui-calendar-section-button {
> button {
.tui-full-calendar-icon {
.toastui-calendar-icon {
width: 14px;
height: 14px;
background-size: 14px;
}
.tui-full-calendar-content {
.toastui-calendar-content {
font-size: 14px;
}
}
@ -237,7 +246,7 @@ body.window-portrait {
.page-calendar {
.calendar-box {
.calendar-wrapper {
.tui-full-calendar-popup-arrow {
.toastui-calendar-popup-arrow {
display: none;
}
}