@opendesign-plus-test/components 0.0.1-rc.21 → 0.0.1-rc.23
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +428 -137
- package/dist/components/OBanner.vue.d.ts +10 -1
- package/dist/components/OFooter.vue.d.ts +1 -1
- package/dist/components/OHeaderSearch.vue.d.ts +4 -4
- package/dist/components/activity/OActivityApproval.vue.d.ts +277 -0
- package/dist/components/activity/OActivityForm.vue.d.ts +140 -0
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +578 -0
- package/dist/components/activity/config.d.ts +15 -0
- package/dist/components/activity/data.d.ts +51 -0
- package/dist/components/activity/index.d.ts +623 -0
- package/dist/components/activity/types.d.ts +76 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +309 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +156 -0
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +582 -0
- package/dist/components/meeting/OSigMeetingCalendar.vue.d.ts +24 -0
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +27 -0
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/components/meeting/components/OMeetingDetail.vue.d.ts +12 -0
- package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +5 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
- package/dist/components/meeting/components/OSigMeetingAside.vue.d.ts +16 -0
- package/dist/components/meeting/config.d.ts +27 -0
- package/dist/components/meeting/types.d.ts +140 -0
- package/dist/components/meeting/utils.d.ts +21 -0
- package/dist/components.cjs.js +224 -3
- package/dist/components.css +1 -1
- package/dist/components.es.js +43544 -2307
- package/dist/index.d.ts +2 -0
- package/package.json +6 -3
- package/scripts/generate-components-index.js +4 -0
- package/src/assets/meeting/svg-icons/icon-all.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-backward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-calendar.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-cancel.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-captions.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-close-captions.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-close-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-copy.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-create.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-delete.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-empty.svg +31 -0
- package/src/assets/meeting/svg-icons/icon-empty_dark.svg +49 -0
- package/src/assets/meeting/svg-icons/icon-event.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-export.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-forward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-help.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-important.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-info.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meet.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meeting-message.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-meeting.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-play.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-playing-tip.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-playing.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-question.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-sound.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-speaker.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-summit.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-telligent.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-tip.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-todo.svg +4 -0
- package/src/assets/meeting/transparent.png +0 -0
- package/src/assets/svg-icons/icon-chevron-up.svg +3 -0
- package/src/assets/svg-icons/icon-filter.svg +3 -0
- package/src/assets/svg-icons/icon-loading.svg +4 -0
- package/src/assets/svg-icons/icon-search.svg +3 -0
- package/src/assets/svg-icons/icon-tips.svg +3 -0
- package/src/components/OBanner.vue +11 -3
- package/src/components/OFooter.vue +1 -1
- package/src/components/activity/OActivityApproval.vue +775 -0
- package/src/components/activity/OActivityForm.vue +465 -0
- package/src/components/activity/OMyActivityCalendar.vue +1342 -0
- package/src/components/activity/config.ts +130 -0
- package/src/components/activity/data.ts +365 -0
- package/src/components/activity/index.ts +24 -0
- package/src/components/activity/types.ts +83 -0
- package/src/components/common/MoreText.vue +119 -0
- package/src/components/common/ThFilter.vue +326 -0
- package/src/components/events/OEventsApply.vue +2 -86
- package/src/components/events/OEventsCalendar.vue +0 -25
- package/src/components/events/OEventsList.vue +0 -51
- package/src/components/events/index.ts +1 -0
- package/src/components/meeting/OMeetingCalendar.vue +865 -0
- package/src/components/meeting/OMeetingForm.vue +1035 -0
- package/src/components/meeting/OMeetingPlayback.vue +439 -0
- package/src/components/meeting/OMyMeetingCalendar.vue +1501 -0
- package/src/components/meeting/OSigMeetingCalendar.vue +411 -0
- package/src/components/meeting/components/OMeetingCalendarList.vue +462 -0
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +206 -0
- package/src/components/meeting/components/OMeetingDetail.vue +189 -0
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +611 -0
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +741 -0
- package/src/components/meeting/components/OMyCalendarWrapper.vue +160 -0
- package/src/components/meeting/components/OSigMeetingAside.vue +197 -0
- package/src/components/meeting/config.ts +110 -0
- package/src/components/meeting/index.ts +45 -0
- package/src/components/meeting/types.ts +167 -0
- package/src/components/meeting/utils.ts +106 -0
- package/src/draft/Footer.vue +4 -4
- package/src/env.d.ts +15 -0
- package/src/i18n/en.ts +140 -0
- package/src/i18n/index.ts +18 -4
- package/src/i18n/zh.ts +140 -0
- package/src/index.ts +2 -0
- package/tsconfig.json +6 -2
- package/vite.config.ts +25 -9
- package/npmcachae/_cacache/content-v2/sha512/05/f7/dd881de8b21208ea65cfce17c65f29964c3897505819f81151b9798a3a6ab1a1114324192354ead15cd2c8d93f76cc9929af168066ec9cc7878d0fd87578 +0 -1
- package/npmcachae/_cacache/content-v2/sha512/08/b7/879230f8c2f3765920a6fd6113f4687141f1f645f96af7d95a0dee9113d1095d000fb78a5dd55c1860bbfb9b698ef6281b3874b03b2384222f61fe055fc4 +0 -1
- package/npmcachae/_cacache/content-v2/sha512/10/a0/a6626613c03ee052925a762e8675878efdf83dac64fafea43beb2a875f7d7c3907bb0ee30761253cd16021fd58911449594e1d3358675cbb7c48e62f220a +0 -1
- package/npmcachae/_cacache/content-v2/sha512/2e/a6/7cbcf55a98bbe2ca881d10e982ebf59211a0ec051eaf46eb1914df66cc35ae502ed6888850e51d8f45cd92695bac16961a642bc41508f8d5160a9ab617ab +0 -1
- package/npmcachae/_cacache/content-v2/sha512/92/8d/e5259c5d5cc2a625247f3c4d809192ca9482467e23683d74924a11e91a7997ad890b3d26adaf34df66d5329cc7a5fbde6713110cad05107a0b504e4fd4e8 +0 -1
- package/npmcachae/_cacache/content-v2/sha512/e9/45/9597d870127c35681155cec5fe52fde4e1aa0f778b996ee371e856aca850ee4c13aba74b0c3d3a89ff0ea4c9e1d33e64e53c31dc9cede0b31012695ee659 +0 -1
- package/npmcachae/_cacache/index-v5/16/4a/7195fcc6857299c4ab7e26014a8ae6e3c396507a2c8db3da1b74b005d574 +0 -3
- package/npmcachae/_cacache/index-v5/58/f0/4fe556f104b09be642895a82afa463fe560d9a0dc8f507efeef825a6905e +0 -3
- package/npmcachae/_cacache/index-v5/67/7d/0b50dc4c09555fc922ccf43c46994f1a0a5ff47dc0a5d5cf41437ac2d3e6 +0 -3
- package/npmcachae/_cacache/index-v5/8f/28/353f8839e030ab11aab3e7d9f1b8c053403e9f593cf6d4aa6ec8fdd7610d +0 -3
- package/npmcachae/_cacache/index-v5/97/10/0fcf20eb29d0726bd820822f6729718464b591b0e6901217c956740e943c +0 -3
- package/npmcachae/_cacache/index-v5/db/89/a0a4f35f593105624ab39339962d9e9b5cc65ed0c346b0732fb8dd73721d +0 -3
- package/npmcachae/_logs/2026-03-26T14_10_35_885Z-debug-0.log +0 -171
- package/npmcachae/_logs/2026-03-26T14_10_38_617Z-debug-0.log +0 -4227
- package/npmcachae/_logs/2026-03-26T14_10_45_316Z-debug-0.log +0 -4228
- package/npmcachae/_logs/2026-03-26T14_10_48_169Z-debug-0.log +0 -4228
- package/npmcachae/_logs/2026-03-26T14_10_51_306Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_10_53_911Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_10_56_398Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_10_58_861Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_11_01_337Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_11_03_851Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_11_08_024Z-debug-0.log +0 -464
- package/npmcachae/_update-notifier-last-checked +0 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/3e/17/1865217b9acb9f4921c53a09b5c76587cd2ab748beb2699ff6cfb1341d73b1aa56ed91ffc5ab2c9c9b3fbe626103b35d9a79ff29ff6b8cbb8d89755fe1a2 +0 -1
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/a6/15/47bb7552ec9248079e839a5feecc1742d4de19524fdf041cf581701cf4760a5025106036145e279ba193b07c8fa5b07ae3d75f1b6032f0cb2219115b6167 +0 -1
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/d1/4c/133b32e09c97101a27a07cc4432f94e470cff02d120d21babcea77c3f5cd436793516dc1a8e282ee1a568f923c148b1a48f4a43233462a530d35e8b41c67 +0 -1
- package/src/components/meeting/npmcachae/_cacache/index-v5/54/0d/a4909047714a0a7198bb9bd37020992464e47c79a791889919b84d90aab0 +0 -3
- package/src/components/meeting/npmcachae/_cacache/index-v5/8e/2b/21a79778e2ac08cf5663baf83cb35f951995a496007eb2e2f7fba54021a4 +0 -3
- package/src/components/meeting/npmcachae/_cacache/index-v5/eb/a0/b70c8132e5b57a0f1e129b8cc941796420a9c147c0baa680710083740898 +0 -2
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_54_955Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_57_842Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_00_016Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_02_191Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_04_425Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_06_642Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_08_826Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_36_140Z-debug-0.log +0 -433
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_39_573Z-debug-0.log +0 -433
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_42_134Z-debug-0.log +0 -212
- package/src/components/meeting/npmcachae/_update-notifier-last-checked +0 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export const acticityTypeMap = new Map([
|
|
2
|
+
[
|
|
3
|
+
1,
|
|
4
|
+
{
|
|
5
|
+
label: '线下',
|
|
6
|
+
value: 1,
|
|
7
|
+
},
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
2,
|
|
11
|
+
{
|
|
12
|
+
label: '线上',
|
|
13
|
+
value: 2,
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
3,
|
|
18
|
+
{
|
|
19
|
+
label: '线上与线下',
|
|
20
|
+
value: 3,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
]);
|
|
24
|
+
|
|
25
|
+
export const WEBSITE_REGEXP = /^http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w ./?%&=-]*)?$/;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export const statusMap = new Map([
|
|
29
|
+
[
|
|
30
|
+
1,
|
|
31
|
+
{
|
|
32
|
+
id: 'draft',
|
|
33
|
+
label: '草稿',
|
|
34
|
+
text: '草稿',
|
|
35
|
+
value: 1,
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
2,
|
|
40
|
+
{
|
|
41
|
+
id: 'under-review',
|
|
42
|
+
label: '审核中',
|
|
43
|
+
text: '未审核',
|
|
44
|
+
value: 2,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
3,
|
|
49
|
+
{
|
|
50
|
+
id: 'registration',
|
|
51
|
+
label: '报名中',
|
|
52
|
+
text: '审核通过',
|
|
53
|
+
value: 3,
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
4,
|
|
58
|
+
{
|
|
59
|
+
id: 'in-progress',
|
|
60
|
+
label: '进行中',
|
|
61
|
+
text: '审核通过',
|
|
62
|
+
value: 4,
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
5,
|
|
67
|
+
{
|
|
68
|
+
id: 'ended',
|
|
69
|
+
label: '已结束',
|
|
70
|
+
text: '已结束',
|
|
71
|
+
value: 5,
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
[
|
|
75
|
+
6,
|
|
76
|
+
{
|
|
77
|
+
id: 'modified',
|
|
78
|
+
label: '已修改',
|
|
79
|
+
text: '已修改',
|
|
80
|
+
value: 6,
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
7,
|
|
85
|
+
{
|
|
86
|
+
id: 'reject',
|
|
87
|
+
label: '审核驳回',
|
|
88
|
+
text: '审核驳回',
|
|
89
|
+
value: 7,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
]);
|
|
93
|
+
|
|
94
|
+
export const approvalStatusMap = new Map([
|
|
95
|
+
[
|
|
96
|
+
'all',
|
|
97
|
+
{
|
|
98
|
+
label: '全部',
|
|
99
|
+
value: 'all',
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
'rejected',
|
|
104
|
+
{
|
|
105
|
+
label: '审核驳回',
|
|
106
|
+
value: 'rejected',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
[
|
|
110
|
+
'approved',
|
|
111
|
+
{
|
|
112
|
+
label: '审核通过',
|
|
113
|
+
value: 'approved',
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
[
|
|
117
|
+
'publish',
|
|
118
|
+
{
|
|
119
|
+
label: '未审核',
|
|
120
|
+
value: 'publish',
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
'cancel',
|
|
125
|
+
{
|
|
126
|
+
label: '已取消',
|
|
127
|
+
value: 'cancel',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
]);
|
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
// 活动审批列表
|
|
2
|
+
export const approveListRes = {
|
|
3
|
+
'total': 9,
|
|
4
|
+
'page': '1',
|
|
5
|
+
'size': 10,
|
|
6
|
+
'data': [
|
|
7
|
+
{
|
|
8
|
+
'id': 84,
|
|
9
|
+
'title': 'TEST',
|
|
10
|
+
'start_date': '2025-12-17',
|
|
11
|
+
'end_date': '2025-12-19',
|
|
12
|
+
'activity_type': 2,
|
|
13
|
+
'synopsis': '',
|
|
14
|
+
'activity_mode': 1,
|
|
15
|
+
'status': 2,
|
|
16
|
+
'create_time': '2025-12-17T10:38:45.555722',
|
|
17
|
+
'is_delete': 0,
|
|
18
|
+
'address': '',
|
|
19
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
20
|
+
'start': '10:42',
|
|
21
|
+
'end': '13:00',
|
|
22
|
+
'register_url': 'https://ascend.test.osinfra.cn/',
|
|
23
|
+
'content_url': 'https://ascend.test.osinfra.cn/',
|
|
24
|
+
'update_activity_id': null,
|
|
25
|
+
'register_end_date': '2025-12-17 00:00',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
'id': 83,
|
|
29
|
+
'title': '广州活动1',
|
|
30
|
+
'start_date': '2025-12-18',
|
|
31
|
+
'end_date': '2025-12-18',
|
|
32
|
+
'activity_type': 1,
|
|
33
|
+
'synopsis': '',
|
|
34
|
+
'activity_mode': 1,
|
|
35
|
+
'status': 2,
|
|
36
|
+
'create_time': '2025-12-17T09:46:46.285323',
|
|
37
|
+
'is_delete': 0,
|
|
38
|
+
'address': '广州',
|
|
39
|
+
'sponsor': 'hid_yjn7z1w59d8rln9',
|
|
40
|
+
'start': '09:00',
|
|
41
|
+
'end': '21:00',
|
|
42
|
+
'register_url': 'https://www.openeuler.org/zh/compatibility/',
|
|
43
|
+
'content_url': 'https://www.openeuler.org/zh/compatibility/',
|
|
44
|
+
'update_activity_id': null,
|
|
45
|
+
'register_end_date': '2025-12-18 00:00',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
'id': 69,
|
|
49
|
+
'title': '活动名称实验',
|
|
50
|
+
'start_date': '2025-12-19',
|
|
51
|
+
'end_date': '2025-12-21',
|
|
52
|
+
'activity_type': 2,
|
|
53
|
+
'synopsis': '',
|
|
54
|
+
'activity_mode': 1,
|
|
55
|
+
'status': 2,
|
|
56
|
+
'create_time': '2025-12-16T15:33:26.344198',
|
|
57
|
+
'is_delete': 0,
|
|
58
|
+
'address': '',
|
|
59
|
+
'sponsor': 'hid_yjn7z1w59d8rln9',
|
|
60
|
+
'start': '09:00',
|
|
61
|
+
'end': '21:00',
|
|
62
|
+
'register_url': 'https://www.openeuler.org/zh/projects/',
|
|
63
|
+
'content_url': 'https://www.openeuler.org/zh/projects/',
|
|
64
|
+
'update_activity_id': null,
|
|
65
|
+
'register_end_date': '2025-12-17 00:00',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
'id': 51,
|
|
69
|
+
'title': '123',
|
|
70
|
+
'start_date': '2025-12-19',
|
|
71
|
+
'end_date': '2025-12-20',
|
|
72
|
+
'activity_type': 1,
|
|
73
|
+
'synopsis': '',
|
|
74
|
+
'activity_mode': 1,
|
|
75
|
+
'status': 2,
|
|
76
|
+
'create_time': '2025-12-15T19:20:17.205518',
|
|
77
|
+
'is_delete': 0,
|
|
78
|
+
'address': 'test',
|
|
79
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
80
|
+
'start': '08:00',
|
|
81
|
+
'end': '18:00',
|
|
82
|
+
'register_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/approval',
|
|
83
|
+
'content_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/approval',
|
|
84
|
+
'update_activity_id': null,
|
|
85
|
+
'register_end_date': '2025-12-16 00:00',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
'id': 50,
|
|
89
|
+
'title': '123',
|
|
90
|
+
'start_date': '2025-12-20',
|
|
91
|
+
'end_date': '2025-12-20',
|
|
92
|
+
'activity_type': 2,
|
|
93
|
+
'synopsis': '',
|
|
94
|
+
'activity_mode': 1,
|
|
95
|
+
'status': 2,
|
|
96
|
+
'create_time': '2025-12-15T19:10:39.170137',
|
|
97
|
+
'is_delete': 0,
|
|
98
|
+
'address': '',
|
|
99
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
100
|
+
'start': '08:00',
|
|
101
|
+
'end': '18:00',
|
|
102
|
+
'register_url': 'https://element-plus.org/zh-CN/component/datetime-picker',
|
|
103
|
+
'content_url': 'https://element-plus.org/zh-CN/component/datetime-picker',
|
|
104
|
+
'update_activity_id': null,
|
|
105
|
+
'register_end_date': '2025-12-18 00:00',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
'id': 32,
|
|
109
|
+
'title': 'test2',
|
|
110
|
+
'start_date': '2025-12-12',
|
|
111
|
+
'end_date': '2025-12-16',
|
|
112
|
+
'activity_type': 2,
|
|
113
|
+
'synopsis': 'test2',
|
|
114
|
+
'activity_mode': 1,
|
|
115
|
+
'status': 2,
|
|
116
|
+
'create_time': '2025-12-12T17:31:24.304618',
|
|
117
|
+
'is_delete': 0,
|
|
118
|
+
'address': '',
|
|
119
|
+
'sponsor': 'hid_u18tcgmw-eue4fq',
|
|
120
|
+
'start': '18:30',
|
|
121
|
+
'end': '17:30',
|
|
122
|
+
'register_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/create-activity',
|
|
123
|
+
'content_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/create-activity',
|
|
124
|
+
'update_activity_id': null,
|
|
125
|
+
'register_end_date': '2025-12-13 00:00',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
'id': 31,
|
|
129
|
+
'title': 'test',
|
|
130
|
+
'start_date': '2025-12-13',
|
|
131
|
+
'end_date': '2025-12-16',
|
|
132
|
+
'activity_type': 2,
|
|
133
|
+
'synopsis': 'test',
|
|
134
|
+
'activity_mode': 1,
|
|
135
|
+
'status': 2,
|
|
136
|
+
'create_time': '2025-12-12T17:24:28.092587',
|
|
137
|
+
'is_delete': 0,
|
|
138
|
+
'address': '',
|
|
139
|
+
'sponsor': 'hid_u18tcgmw-eue4fq',
|
|
140
|
+
'start': '12:00',
|
|
141
|
+
'end': '08:00',
|
|
142
|
+
'register_url': 'https://huawei.com',
|
|
143
|
+
'content_url': 'https://baidu.com',
|
|
144
|
+
'update_activity_id': null,
|
|
145
|
+
'register_end_date': '2025-12-12 00:00',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
'id': 24,
|
|
149
|
+
'title': '1234',
|
|
150
|
+
'start_date': '2025-12-23',
|
|
151
|
+
'end_date': '2025-12-24',
|
|
152
|
+
'activity_type': 1,
|
|
153
|
+
'synopsis': '1234',
|
|
154
|
+
'activity_mode': 1,
|
|
155
|
+
'status': 2,
|
|
156
|
+
'create_time': '2025-12-12T15:02:37.358253',
|
|
157
|
+
'is_delete': 0,
|
|
158
|
+
'address': 'shanghai',
|
|
159
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
160
|
+
'start': '15:00',
|
|
161
|
+
'end': '15:00',
|
|
162
|
+
'register_url': 'https://www.openeuler.org/zh/',
|
|
163
|
+
'content_url': 'https://www.openeuler.org/zh/',
|
|
164
|
+
'update_activity_id': null,
|
|
165
|
+
'register_end_date': '2025-12-20 00:00',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
'id': 23,
|
|
169
|
+
'title': 'asdf',
|
|
170
|
+
'start_date': '2025-12-26',
|
|
171
|
+
'end_date': '2025-12-27',
|
|
172
|
+
'activity_type': 2,
|
|
173
|
+
'synopsis': 'asdf',
|
|
174
|
+
'activity_mode': 1,
|
|
175
|
+
'status': 2,
|
|
176
|
+
'create_time': '2025-12-12T15:01:44.181040',
|
|
177
|
+
'is_delete': 0,
|
|
178
|
+
'address': '',
|
|
179
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
180
|
+
'start': '15:00',
|
|
181
|
+
'end': '15:00',
|
|
182
|
+
'register_url': 'https://www.openeuler.org/zh/',
|
|
183
|
+
'content_url': 'https://www.openeuler.org/zh/',
|
|
184
|
+
'update_activity_id': null,
|
|
185
|
+
'register_end_date': '2025-12-21 00:00',
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
// 我的活动列表
|
|
191
|
+
export const listRes = {
|
|
192
|
+
'total': 8,
|
|
193
|
+
'page': '1',
|
|
194
|
+
'size': 50,
|
|
195
|
+
'data': [
|
|
196
|
+
{
|
|
197
|
+
'id': 35,
|
|
198
|
+
'title': 'test1231awd',
|
|
199
|
+
'start_date': '2025-12-19',
|
|
200
|
+
'end_date': '2025-12-20',
|
|
201
|
+
'activity_type': 1,
|
|
202
|
+
'synopsis': '',
|
|
203
|
+
'activity_mode': 1,
|
|
204
|
+
'create_time': '2025-12-12T19:30:59.578293',
|
|
205
|
+
'address': 'asdasd',
|
|
206
|
+
'status': 1,
|
|
207
|
+
'sponsor': 'jiasensen',
|
|
208
|
+
'is_delete': 0,
|
|
209
|
+
'start': '10:00',
|
|
210
|
+
'end': '09:00',
|
|
211
|
+
'register_url': 'https://wqeqw.com',
|
|
212
|
+
'content_url': 'https://wqeqw.com',
|
|
213
|
+
'register_end_date': '2025-12-19 00:00',
|
|
214
|
+
'update_activity_id': null,
|
|
215
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
'id': 20,
|
|
219
|
+
'title': 'test1122',
|
|
220
|
+
'start_date': '2025-12-20',
|
|
221
|
+
'end_date': '2025-12-20',
|
|
222
|
+
'activity_type': 3,
|
|
223
|
+
'synopsis': 'test112活动简介',
|
|
224
|
+
'activity_mode': 1,
|
|
225
|
+
'create_time': '2025-12-12T11:43:55.343739',
|
|
226
|
+
'address': 'test112活动地址',
|
|
227
|
+
'status': 2,
|
|
228
|
+
'sponsor': 'jiasensen',
|
|
229
|
+
'is_delete': 0,
|
|
230
|
+
'start': '09:00',
|
|
231
|
+
'end': '10:00',
|
|
232
|
+
'register_url': 'https://aaa.com/',
|
|
233
|
+
'content_url': 'https://aaa111.com/',
|
|
234
|
+
'register_end_date': '2025-12-20 00:00',
|
|
235
|
+
'update_activity_id': null,
|
|
236
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
'id': 26,
|
|
240
|
+
'title': 'test_sensen11',
|
|
241
|
+
'start_date': '2025-12-20',
|
|
242
|
+
'end_date': '2025-12-20',
|
|
243
|
+
'activity_type': 3,
|
|
244
|
+
'synopsis': 'asdas',
|
|
245
|
+
'activity_mode': 1,
|
|
246
|
+
'create_time': '2025-12-12T15:29:33.031145',
|
|
247
|
+
'address': 'asdqwe',
|
|
248
|
+
'status': 3,
|
|
249
|
+
'sponsor': 'jiasensen',
|
|
250
|
+
'is_delete': 0,
|
|
251
|
+
'start': '09:00',
|
|
252
|
+
'end': '12:00',
|
|
253
|
+
'register_url': 'https://aaa.com/',
|
|
254
|
+
'content_url': 'https://aaa111.com/',
|
|
255
|
+
'register_end_date': '2025-12-20 00:00',
|
|
256
|
+
'update_activity_id': null,
|
|
257
|
+
'approver': 'hid_2o--qyykhbvm5as',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
'id': 86,
|
|
261
|
+
'title': 'test1219',
|
|
262
|
+
'start_date': '2025-12-20',
|
|
263
|
+
'end_date': '2025-12-20',
|
|
264
|
+
'activity_type': 1,
|
|
265
|
+
'synopsis': '',
|
|
266
|
+
'activity_mode': 1,
|
|
267
|
+
'create_time': '2025-12-19T13:56:41.860211',
|
|
268
|
+
'address': 'asdasd',
|
|
269
|
+
'status': 1,
|
|
270
|
+
'sponsor': 'jiasensen',
|
|
271
|
+
'is_delete': 0,
|
|
272
|
+
'start': '08:00',
|
|
273
|
+
'end': '12:00',
|
|
274
|
+
'register_url': 'https://asda.com/',
|
|
275
|
+
'content_url': 'https://asda12312.com/',
|
|
276
|
+
'register_end_date': '2025-12-20 00:00',
|
|
277
|
+
'update_activity_id': null,
|
|
278
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
'id': 27,
|
|
282
|
+
'title': 'test_sensen22',
|
|
283
|
+
'start_date': '2025-12-21',
|
|
284
|
+
'end_date': '2025-12-21',
|
|
285
|
+
'activity_type': 1,
|
|
286
|
+
'synopsis': 'asdfasqwe',
|
|
287
|
+
'activity_mode': 1,
|
|
288
|
+
'create_time': '2025-12-12T15:31:26.182283',
|
|
289
|
+
'address': 'adsasd',
|
|
290
|
+
'status': 3,
|
|
291
|
+
'sponsor': 'jiasensen',
|
|
292
|
+
'is_delete': 1,
|
|
293
|
+
'start': '09:00',
|
|
294
|
+
'end': '12:00',
|
|
295
|
+
'register_url': 'https://qqq.com/',
|
|
296
|
+
'content_url': 'https://qqq111.com/',
|
|
297
|
+
'register_end_date': '2025-12-21 00:00',
|
|
298
|
+
'update_activity_id': null,
|
|
299
|
+
'approver': 'hid_2o--qyykhbvm5as',
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
'id': 33,
|
|
303
|
+
'title': 'test_sensen123',
|
|
304
|
+
'start_date': '2025-12-26',
|
|
305
|
+
'end_date': '2025-12-26',
|
|
306
|
+
'activity_type': 3,
|
|
307
|
+
'synopsis': 'asdas',
|
|
308
|
+
'activity_mode': 1,
|
|
309
|
+
'create_time': '2025-12-12T18:21:25.369919',
|
|
310
|
+
'address': 'test地址',
|
|
311
|
+
'status': 3,
|
|
312
|
+
'sponsor': 'jiasensen',
|
|
313
|
+
'is_delete': 0,
|
|
314
|
+
'start': '08:00',
|
|
315
|
+
'end': '14:00',
|
|
316
|
+
'register_url': 'https://aaa.com/',
|
|
317
|
+
'content_url': 'https://aaa111.com/',
|
|
318
|
+
'register_end_date': '2025-12-26 00:00',
|
|
319
|
+
'update_activity_id': null,
|
|
320
|
+
'approver': 'hid_u18tcgmw-eue4fq',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
'id': 45,
|
|
324
|
+
'title': 'test_ss1215',
|
|
325
|
+
'start_date': '2025-12-27',
|
|
326
|
+
'end_date': '2025-12-27',
|
|
327
|
+
'activity_type': 3,
|
|
328
|
+
'synopsis': '',
|
|
329
|
+
'activity_mode': 1,
|
|
330
|
+
'create_time': '2025-12-15T11:35:14.992243',
|
|
331
|
+
'address': 'asdas',
|
|
332
|
+
'status': 3,
|
|
333
|
+
'sponsor': 'jiasensen',
|
|
334
|
+
'is_delete': 1,
|
|
335
|
+
'start': '08:00',
|
|
336
|
+
'end': '10:00',
|
|
337
|
+
'register_url': 'https://aaa.com',
|
|
338
|
+
'content_url': 'https://aaa123.com',
|
|
339
|
+
'register_end_date': '2025-12-27 00:00',
|
|
340
|
+
'update_activity_id': null,
|
|
341
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
'id': 88,
|
|
345
|
+
'title': 'test',
|
|
346
|
+
'start_date': '2026-04-18',
|
|
347
|
+
'end_date': '2026-04-18',
|
|
348
|
+
'activity_type': 3,
|
|
349
|
+
'synopsis': '',
|
|
350
|
+
'activity_mode': 1,
|
|
351
|
+
'create_time': '2026-04-16T17:28:29.775759',
|
|
352
|
+
'address': '深圳',
|
|
353
|
+
'status': 2,
|
|
354
|
+
'sponsor': 'jiasensen',
|
|
355
|
+
'is_delete': 0,
|
|
356
|
+
'start': '09:00',
|
|
357
|
+
'end': '18:00',
|
|
358
|
+
'register_url': 'https://www.123.com',
|
|
359
|
+
'content_url': 'https://www.123.com',
|
|
360
|
+
'register_end_date': '2026-04-18 00:00',
|
|
361
|
+
'update_activity_id': null,
|
|
362
|
+
'approver': 'hid_yjn7z1w59d8rln9',
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import _OActivityForm from './OActivityForm.vue';
|
|
2
|
+
import _OActivityApproval from './OActivityApproval.vue';
|
|
3
|
+
import _OMyActivityCalendar from './OMyActivityCalendar.vue';
|
|
4
|
+
import type { App } from 'vue';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
const OActivityForm = Object.assign(_OActivityForm, {
|
|
8
|
+
install(app: App) {
|
|
9
|
+
app.component('OActivityForm', _OActivityForm);
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
const OActivityApproval = Object.assign(_OActivityApproval, {
|
|
13
|
+
install(app: App) {
|
|
14
|
+
app.component('OActivityApproval', _OActivityApproval);
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
const OMyActivityCalendar = Object.assign(_OMyActivityCalendar, {
|
|
18
|
+
install(app: App) {
|
|
19
|
+
app.component('OMyActivityCalendar', _OMyActivityCalendar);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export { OActivityForm, OActivityApproval, OMyActivityCalendar };
|
|
24
|
+
export * from './types';
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// 活动新增、修改
|
|
2
|
+
export interface ParamsItemT {
|
|
3
|
+
id?: number; // 活动id
|
|
4
|
+
title: string; // 活动名称
|
|
5
|
+
start_date: string; // 活动起始日期
|
|
6
|
+
end_date: string; // 活动结束日期
|
|
7
|
+
register_end_date: string; // 报名截止时间
|
|
8
|
+
activity_type: string | number; // 活动类型
|
|
9
|
+
synopsis: string; // 活动简介
|
|
10
|
+
register_url: string; // 报名网址
|
|
11
|
+
content_url: string; // 活动详情网址
|
|
12
|
+
address: string; // 活动地址
|
|
13
|
+
start: string; // 活动开始时间
|
|
14
|
+
end: string; // 活动结束时间
|
|
15
|
+
schedules?: string;
|
|
16
|
+
is_publish: string; // 是否发布 true-发布审核 false-发布为草稿
|
|
17
|
+
update_activity_id?: string;
|
|
18
|
+
approver: string; // 审批人
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface ActivityFormPropsT {
|
|
22
|
+
data?: ParamsItemT;
|
|
23
|
+
creatActivity: any;
|
|
24
|
+
editActivity: any;
|
|
25
|
+
admins: string[];
|
|
26
|
+
status?: string | null;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface TypeOptionT {
|
|
30
|
+
label: string;
|
|
31
|
+
value: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface ActivityItemT {
|
|
35
|
+
activity_mode: number;
|
|
36
|
+
activity_type: number;
|
|
37
|
+
address: string;
|
|
38
|
+
approver: string;
|
|
39
|
+
approve_record: object;
|
|
40
|
+
start_date: string;
|
|
41
|
+
end: string;
|
|
42
|
+
end_date: string;
|
|
43
|
+
id: number;
|
|
44
|
+
is_delete: number; // 1-已取消 0-正常
|
|
45
|
+
live_address: string;
|
|
46
|
+
register_end_date: string;
|
|
47
|
+
register_url: string;
|
|
48
|
+
start: string;
|
|
49
|
+
status: number; // 1-草稿 2-审核中 3-报名中 4-进行中 5-已结束 6-已修改 7-驳回
|
|
50
|
+
synopsis: string;
|
|
51
|
+
title: string;
|
|
52
|
+
update_activity_id: number;
|
|
53
|
+
user: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface ReviewParamsT {
|
|
57
|
+
page: number;
|
|
58
|
+
size: number;
|
|
59
|
+
status: string;
|
|
60
|
+
activity_mode?: string;
|
|
61
|
+
is_delete?: number;
|
|
62
|
+
search: string;
|
|
63
|
+
sponsor: string;
|
|
64
|
+
order_by: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface ActivityTablePropsT {
|
|
68
|
+
getTableDataRequest: any;
|
|
69
|
+
applicantList: string[];
|
|
70
|
+
cancelActivityRequest: any;
|
|
71
|
+
deleteActivityRequest: any;
|
|
72
|
+
approveActivityRequest: any;
|
|
73
|
+
rejectActivityRequest: any;
|
|
74
|
+
getActivityDetailRequest: any;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface MyActivityCalendarPropsT {
|
|
78
|
+
getListRequest: any;
|
|
79
|
+
revokeActivityRequest: any;
|
|
80
|
+
deleteActivityRequest: any;
|
|
81
|
+
editActivityRequest: any;
|
|
82
|
+
getActivityDetailRequest: any;
|
|
83
|
+
}
|