@opendesign-plus-test/components 0.0.1-rc.31 → 0.0.1-rc.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components.cjs.js +29 -29
- package/dist/components.css +1 -1
- package/dist/components.es.js +2749 -2736
- package/package.json +1 -1
- package/src/components/activity/OActivityApproval.vue +6 -5
- package/src/components/activity/OMyActivityCalendar.vue +12 -0
- package/src/components/meeting/OMeetingForm.vue +1 -1
- package/src/components/meeting/OMyMeetingCalendar.vue +0 -1
- package/src/components/meeting/components/OMeetingCalendarList.vue +4 -0
- package/src/components/meeting/components/OMeetingDetail.vue +1 -1
- package/src/components/meeting/config.ts +14 -3
- package/src/components/meeting/types.ts +1 -0
package/package.json
CHANGED
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
import { ElTable, ElTableColumn, dayjs } from 'element-plus';
|
|
3
3
|
import {
|
|
4
4
|
DialogActionT,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
OCollapse,
|
|
6
|
+
OCollapseItem,
|
|
7
7
|
ODialog,
|
|
8
|
-
ODivider,
|
|
9
8
|
OForm,
|
|
10
9
|
OFormItem, OLink,
|
|
11
10
|
OPagination,
|
|
@@ -76,8 +75,10 @@ const COUNT_PER_PAGE = [10, 20, 30, 40];
|
|
|
76
75
|
const getData = async () => {
|
|
77
76
|
const { page, size, status, sponsor, order_by, search, is_delete } = params;
|
|
78
77
|
let paramsData = { page, size, sponsor, order_by, search } as ReviewParamsT;
|
|
79
|
-
if (status
|
|
78
|
+
if (status !== 'all') {
|
|
80
79
|
paramsData.is_delete = is_delete;
|
|
80
|
+
}
|
|
81
|
+
if (status === 'cancel') {
|
|
81
82
|
paramsData.status = '';
|
|
82
83
|
} else {
|
|
83
84
|
paramsData.status = status;
|
|
@@ -557,7 +558,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
557
558
|
>
|
|
558
559
|
<template #header>{{ cancelTitle }}</template>
|
|
559
560
|
<div class="dialog-content">
|
|
560
|
-
是否确认{{ cancelText }}“{{ currentRow?.title }}”活动?{{ cancelText }}
|
|
561
|
+
是否确认{{ cancelText }}“{{ currentRow?.title }}”活动?{{ cancelText }}后将不在会议首页呈现。
|
|
561
562
|
</div>
|
|
562
563
|
</ODialog>
|
|
563
564
|
</div>
|
|
@@ -20,6 +20,7 @@ import { ElCalendar } from 'element-plus';
|
|
|
20
20
|
import dayjs from 'dayjs';
|
|
21
21
|
import { useDebounceFn } from '@vueuse/core';
|
|
22
22
|
|
|
23
|
+
import IconCopy from '~icons/meeting/icon-copy.svg';
|
|
23
24
|
import IconEvent from '~icons/meeting/icon-event.svg';
|
|
24
25
|
|
|
25
26
|
import type { ActivityItemT, MyActivityCalendarPropsT, ParamsItemT } from './types';
|
|
@@ -647,6 +648,9 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
647
648
|
</template>
|
|
648
649
|
</OLink>
|
|
649
650
|
</div>
|
|
651
|
+
<OIcon @click.stop="() => copyInfo(rowIdx)" class="copy-icon">
|
|
652
|
+
<IconCopy />
|
|
653
|
+
</OIcon>
|
|
650
654
|
</template>
|
|
651
655
|
<div class="activity-detail">
|
|
652
656
|
<OMeetingDetail
|
|
@@ -1169,6 +1173,13 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1169
1173
|
display: flex;
|
|
1170
1174
|
flex-direction: column;
|
|
1171
1175
|
|
|
1176
|
+
.o-collapse-item {
|
|
1177
|
+
&.last-item {
|
|
1178
|
+
.o-collapse-item-header {
|
|
1179
|
+
border-bottom: none;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1172
1183
|
.o-collapse-item-expanded + .o-collapse-item-expanded {
|
|
1173
1184
|
margin-top: var(--o-gap-4);
|
|
1174
1185
|
}
|
|
@@ -1322,6 +1333,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1322
1333
|
}
|
|
1323
1334
|
|
|
1324
1335
|
&.tag-draft,
|
|
1336
|
+
&.tag-delete,
|
|
1325
1337
|
&.tag-cancel {
|
|
1326
1338
|
--tag-color: var(--o-color-info3);
|
|
1327
1339
|
--tag-bg-color: var(--o-color-control1-light);
|
|
@@ -683,7 +683,7 @@ defineExpose({
|
|
|
683
683
|
</OForm>
|
|
684
684
|
<div class="form-btns" v-if="showBtns">
|
|
685
685
|
<OButton color="primary" variant="solid" size="large" @click="confirm" :loading="loading">
|
|
686
|
-
{{ isEdit ? t('common.save') : t('meeting.book') }}
|
|
686
|
+
{{ isEdit ? t('common.save') : (bookText || t('meeting.book')) }}
|
|
687
687
|
</OButton>
|
|
688
688
|
<OButton color="primary" variant="outline" size="large" @click="cancel">{{ t('common.cancel') }}</OButton>
|
|
689
689
|
</div>
|
|
@@ -7,11 +7,22 @@ import { CalendarDataType, meetingTabT } from './types.ts';
|
|
|
7
7
|
|
|
8
8
|
const { t } = useI18n();
|
|
9
9
|
|
|
10
|
+
const getMeetingColor = () => {
|
|
11
|
+
if (typeof document !== 'undefined') {
|
|
12
|
+
const deepBlue = getComputedStyle(document.documentElement)
|
|
13
|
+
.getPropertyValue('--o-deep-blue-6')?.trim();
|
|
14
|
+
if (deepBlue) {
|
|
15
|
+
return 'rgba(var(--o-deep-blue-6))';
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return 'var(--o-color-primary1)';
|
|
19
|
+
};
|
|
20
|
+
|
|
10
21
|
export const TYPE_COLOR_MAP = {
|
|
11
|
-
summit: 'var(--o-
|
|
22
|
+
summit: 'rgba(var(--o-orange-6))',
|
|
12
23
|
events: 'rgba(var(--o-cyan-6))',
|
|
13
|
-
meeting:
|
|
14
|
-
};
|
|
24
|
+
meeting: getMeetingColor(),
|
|
25
|
+
};
|
|
15
26
|
export const MEETING_TABS: meetingTabT[] = [
|
|
16
27
|
{
|
|
17
28
|
label: t('meeting.meetingTypeAll'),
|