@opendesign-plus-test/components 0.0.1-rc.27 → 0.0.1-rc.28
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 +7 -3
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +1 -6
- package/dist/components/meeting/types.d.ts +3 -1
- package/dist/components/meeting/utils.d.ts +1 -0
- package/dist/components.cjs.js +39 -39
- package/dist/components.css +1 -1
- package/dist/components.es.js +7781 -7780
- package/package.json +1 -1
- package/src/components/activity/OActivityApproval.vue +60 -26
- package/src/components/activity/OActivityForm.vue +2 -5
- package/src/components/activity/OMyActivityCalendar.vue +66 -60
- package/src/components/common/ThFilter.vue +7 -3
- package/src/components/meeting/OMeetingCalendar.vue +3 -10
- package/src/components/meeting/OMeetingForm.vue +3 -3
- package/src/components/meeting/OMyMeetingCalendar.vue +33 -32
- package/src/components/meeting/components/OMeetingCalendarList.vue +11 -8
- package/src/components/meeting/components/OMeetingDetail.vue +38 -17
- package/src/components/meeting/types.ts +2 -0
- package/src/components/meeting/utils.ts +18 -1
- package/src/i18n/en.ts +3 -1
- package/src/i18n/zh.ts +4 -2
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ const params = reactive<ReviewParamsT>({
|
|
|
36
36
|
|
|
37
37
|
// -------------------- 申请人 --------------------
|
|
38
38
|
const applicantValue = ref('');
|
|
39
|
-
const
|
|
39
|
+
const applicantOptions = computed(() => props.applicantList.map(v => ({ value: v, label: v })));
|
|
40
40
|
|
|
41
41
|
const filterApplicantList = () => {
|
|
42
42
|
params.sponsor = applicantValue.value.join(',');
|
|
@@ -51,9 +51,13 @@ const sortTime = () => {
|
|
|
51
51
|
|
|
52
52
|
// -------------------- 状态 --------------------
|
|
53
53
|
const statusValue = ref();
|
|
54
|
-
const statusOptions =
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
const statusOptions = computed<TypeOptionT[]>(() => {
|
|
55
|
+
let list: TypeOptionT[] | { label: string; value: string; }[] = [];
|
|
56
|
+
approvalStatusMap.forEach((item) => {
|
|
57
|
+
list.push(item);
|
|
58
|
+
});
|
|
59
|
+
return list.slice(1);
|
|
60
|
+
|
|
57
61
|
});
|
|
58
62
|
const filterStatusList = () => {
|
|
59
63
|
params.status = statusValue.value;
|
|
@@ -164,7 +168,7 @@ const cancel = () => {
|
|
|
164
168
|
};
|
|
165
169
|
|
|
166
170
|
const confirmCancel = async () => {
|
|
167
|
-
if (!props.deleteActivityRequest || !props.cancelActivityRequest)
|
|
171
|
+
if (!props.deleteActivityRequest || !props.cancelActivityRequest) {
|
|
168
172
|
try {
|
|
169
173
|
loading.value = true;
|
|
170
174
|
if (cancelStatus.value === 1) {
|
|
@@ -184,6 +188,7 @@ const confirmCancel = async () => {
|
|
|
184
188
|
content: `“${ currentRow.value?.title }”活动${ cancelText.value }失败`,
|
|
185
189
|
});
|
|
186
190
|
}
|
|
191
|
+
}
|
|
187
192
|
};
|
|
188
193
|
|
|
189
194
|
// -------------------- 审核操作 --------------------
|
|
@@ -350,7 +355,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
350
355
|
<ThFilter
|
|
351
356
|
v-model="applicantValue"
|
|
352
357
|
@confirm="filterApplicantList"
|
|
353
|
-
:list="
|
|
358
|
+
:list="applicantOptions"
|
|
354
359
|
:multiple="true"
|
|
355
360
|
>
|
|
356
361
|
|
|
@@ -389,8 +394,12 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
389
394
|
</ThFilter>
|
|
390
395
|
</template>
|
|
391
396
|
<template #default="scope">
|
|
392
|
-
<OTag
|
|
393
|
-
|
|
397
|
+
<OTag
|
|
398
|
+
v-if="scope.row.is_delete !== 1"
|
|
399
|
+
color="primary"
|
|
400
|
+
variant="outline"
|
|
401
|
+
:class="[`tag-${statusMap.get(scope.row.status)?.id}`]"
|
|
402
|
+
>
|
|
394
403
|
{{
|
|
395
404
|
statusMap.get(scope.row.status)?.text
|
|
396
405
|
}}
|
|
@@ -555,10 +564,19 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
555
564
|
|
|
556
565
|
<style lang="scss">
|
|
557
566
|
.o-activity-table {
|
|
567
|
+
.table-wrapper {
|
|
568
|
+
.el-table {
|
|
569
|
+
border-top: none;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.el-table__header {
|
|
573
|
+
margin-bottom: 0;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
558
576
|
|
|
559
577
|
.expand-detail {
|
|
560
578
|
padding: 16px 60px;
|
|
561
|
-
background-color:
|
|
579
|
+
background-color: var(--o-color-fill3);
|
|
562
580
|
}
|
|
563
581
|
|
|
564
582
|
.activity-btn {
|
|
@@ -594,28 +612,44 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
594
612
|
|
|
595
613
|
.o-tag {
|
|
596
614
|
--tag-radius: 100px;
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
615
|
+
font-weight: 500;
|
|
616
|
+
padding: 0 8px;
|
|
617
|
+
height: 24px;
|
|
618
|
+
line-height: 24px !important;
|
|
619
|
+
@include tip1;
|
|
620
|
+
|
|
621
|
+
.o-tag-label {
|
|
622
|
+
transform: none !important;
|
|
623
|
+
}
|
|
600
624
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
}
|
|
625
|
+
&.o-tag-outline {
|
|
626
|
+
--tag-bd-color: transparent;
|
|
627
|
+
--tag-color: #fff;
|
|
628
|
+
}
|
|
606
629
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
630
|
+
&.tag-under-review {
|
|
631
|
+
--tag-bg-color: rgb(var(--o-blue-6));
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
&.tag-draft,
|
|
635
|
+
&.tag-cancel {
|
|
636
|
+
--tag-color: var(--o-color-info3);
|
|
637
|
+
--tag-bg-color: var(--o-color-control1-light);
|
|
638
|
+
}
|
|
613
639
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
640
|
+
&.tag-registration,
|
|
641
|
+
&.tag-in-progress,
|
|
642
|
+
&.tag-ended {
|
|
643
|
+
--tag-bg-color: var(--o-color-success1);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
&.tag-reject {
|
|
647
|
+
--tag-bg-color: var(--o-color-warning1);
|
|
648
|
+
}
|
|
617
649
|
}
|
|
618
650
|
|
|
651
|
+
|
|
652
|
+
|
|
619
653
|
.sort-time {
|
|
620
654
|
display: flex;
|
|
621
655
|
align-items: center;
|
|
@@ -111,11 +111,10 @@ const rules = ref<Record<string, RulesT[]>>({
|
|
|
111
111
|
},
|
|
112
112
|
],
|
|
113
113
|
register_end_date: [
|
|
114
|
-
{ required: true, message: '请选择报名截止时间' },
|
|
115
114
|
{
|
|
116
115
|
validator: () => {
|
|
117
116
|
const { register_end_date, end_date, end } = form.value;
|
|
118
|
-
if (dayjs(`${ end_date } ${ end }`).valueOf() < dayjs(register_end_date).valueOf()) {
|
|
117
|
+
if (register_end_date && dayjs(`${ end_date } ${ end }`).valueOf() < dayjs(register_end_date).valueOf()) {
|
|
119
118
|
return {
|
|
120
119
|
type: 'danger',
|
|
121
120
|
message: '报名截止日期必须小于结束日期',
|
|
@@ -139,7 +138,6 @@ const rules = ref<Record<string, RulesT[]>>({
|
|
|
139
138
|
},
|
|
140
139
|
],
|
|
141
140
|
register_url: [
|
|
142
|
-
{ required: true, message: '请输入活动报名网址' },
|
|
143
141
|
{
|
|
144
142
|
validator: (value: string) => {
|
|
145
143
|
const str = value.replaceAll(' ', '') || '';
|
|
@@ -157,7 +155,6 @@ const rules = ref<Record<string, RulesT[]>>({
|
|
|
157
155
|
},
|
|
158
156
|
],
|
|
159
157
|
content_url: [
|
|
160
|
-
{ required: true, message: '请输入活动详情介绍网址' },
|
|
161
158
|
{
|
|
162
159
|
validator: (value: string) => {
|
|
163
160
|
const str = value.replaceAll(' ', '') || '';
|
|
@@ -503,7 +500,7 @@ defineExpose({
|
|
|
503
500
|
|
|
504
501
|
.time-config {
|
|
505
502
|
width: 100%;
|
|
506
|
-
background-color: var(--o-color-control2-light);
|
|
503
|
+
background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%);
|
|
507
504
|
padding: var(--o-gap-5);
|
|
508
505
|
padding-right: calc(var(--o-gap-4) + var(--o-gap-5));
|
|
509
506
|
border-radius: var(--o-radius-xs);
|
|
@@ -620,7 +620,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
620
620
|
</div>
|
|
621
621
|
</div>
|
|
622
622
|
</div>
|
|
623
|
-
<div class="item-header-right" v-if="!row.is_delete">
|
|
623
|
+
<div class="item-header-right" v-if="!row.is_delete && [3,4,5,6].includes(row.status)">
|
|
624
624
|
<OLink v-if="row.content_url" :href="row.content_url" target="_blank" rel="noopener noreferrer">
|
|
625
625
|
活动详情
|
|
626
626
|
<template #suffix>
|
|
@@ -808,7 +808,30 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
808
808
|
.left-calendar {
|
|
809
809
|
width: 336px;
|
|
810
810
|
flex-shrink: 0;
|
|
811
|
+
@include respond-to('pad_h') {
|
|
812
|
+
.el-calendar {
|
|
813
|
+
.el-calendar__body {
|
|
814
|
+
padding-left: 12px;
|
|
815
|
+
padding-right: 12px;
|
|
811
816
|
|
|
817
|
+
.el-calendar-table .date-cell {
|
|
818
|
+
height: 40px;
|
|
819
|
+
width: 28px;
|
|
820
|
+
|
|
821
|
+
.date-cell-text {
|
|
822
|
+
line-height: 24px;
|
|
823
|
+
@include tip2;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
@include respond-to('pad_v') {
|
|
830
|
+
width: 100%;
|
|
831
|
+
}
|
|
832
|
+
@include respond-to('phone') {
|
|
833
|
+
display: none;
|
|
834
|
+
}
|
|
812
835
|
.el-calendar {
|
|
813
836
|
min-height: 460px;
|
|
814
837
|
height: calc(100% - 54px);
|
|
@@ -842,6 +865,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
842
865
|
|
|
843
866
|
.el-calendar__body {
|
|
844
867
|
.el-calendar-table {
|
|
868
|
+
width: 100%;
|
|
845
869
|
tr {
|
|
846
870
|
background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%) !important;
|
|
847
871
|
}
|
|
@@ -886,7 +910,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
886
910
|
font-size: 14px;
|
|
887
911
|
line-height: 36px;
|
|
888
912
|
border-radius: var(--o-radius-xs);
|
|
889
|
-
background-color: var(--
|
|
913
|
+
background-color: var(--o-color-control2-light);
|
|
890
914
|
border: 1px solid transparent;
|
|
891
915
|
}
|
|
892
916
|
|
|
@@ -957,31 +981,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
957
981
|
}
|
|
958
982
|
}
|
|
959
983
|
|
|
960
|
-
@include respond-to('pad_h') {
|
|
961
|
-
width: 240px;
|
|
962
|
-
.el-calendar {
|
|
963
|
-
.el-calendar__body {
|
|
964
|
-
padding-left: 12px;
|
|
965
|
-
padding-right: 12px;
|
|
966
|
-
|
|
967
|
-
.el-calendar-table .date-cell {
|
|
968
|
-
height: 40px;
|
|
969
|
-
width: 28px;
|
|
970
984
|
|
|
971
|
-
.date-cell-text {
|
|
972
|
-
line-height: 24px;
|
|
973
|
-
@include tip2;
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
@include respond-to('pad_v') {
|
|
980
|
-
width: 100%;
|
|
981
|
-
}
|
|
982
|
-
@include respond-to('phone') {
|
|
983
|
-
display: none;
|
|
984
|
-
}
|
|
985
985
|
}
|
|
986
986
|
|
|
987
987
|
.right-meeting {
|
|
@@ -1006,7 +1006,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1006
1006
|
|
|
1007
1007
|
.scroller-container {
|
|
1008
1008
|
height: 100%;
|
|
1009
|
-
max-height: calc(var(--layout-left-height) - 4 * var(--o-gap-5) - var(--header-height) * 1px);
|
|
1009
|
+
max-height: calc(var(--layout-left-height, 900px) - 4 * var(--o-gap-5) - var(--header-height) * 1px);
|
|
1010
1010
|
@include respond-to('phone') {
|
|
1011
1011
|
max-height: fit-content;
|
|
1012
1012
|
}
|
|
@@ -1168,14 +1168,6 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1168
1168
|
display: flex;
|
|
1169
1169
|
flex-direction: column;
|
|
1170
1170
|
|
|
1171
|
-
.o-collapse-item {
|
|
1172
|
-
&.last-item {
|
|
1173
|
-
.o-collapse-item-header {
|
|
1174
|
-
border-bottom: none;
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
1171
|
.o-collapse-item-expanded + .o-collapse-item-expanded {
|
|
1180
1172
|
margin-top: var(--o-gap-4);
|
|
1181
1173
|
}
|
|
@@ -1307,32 +1299,43 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1307
1299
|
max-width: 100%;
|
|
1308
1300
|
@include text-truncate(1);
|
|
1309
1301
|
}
|
|
1310
|
-
|
|
1311
1302
|
.o-tag {
|
|
1312
1303
|
margin-left: 8px;
|
|
1313
|
-
--tag-radius:
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1304
|
+
--tag-radius: 4px;
|
|
1305
|
+
font-weight: 500;
|
|
1306
|
+
padding: 0 8px;
|
|
1307
|
+
height: 24px;
|
|
1308
|
+
line-height: 24px !important;
|
|
1309
|
+
@include tip1;
|
|
1310
|
+
|
|
1311
|
+
.o-tag-label {
|
|
1312
|
+
transform: none !important;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
&.o-tag-outline {
|
|
1316
|
+
--tag-bd-color: transparent;
|
|
1317
|
+
--tag-color: #fff;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
&.tag-under-review {
|
|
1321
|
+
--tag-bg-color: rgb(var(--o-blue-6));
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
&.tag-draft,
|
|
1325
|
+
&.tag-cancel {
|
|
1326
|
+
--tag-color: var(--o-color-info3);
|
|
1327
|
+
--tag-bg-color: var(--o-color-control1-light);
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
&.tag-registration,
|
|
1331
|
+
&.tag-in-progress,
|
|
1332
|
+
&.tag-ended {
|
|
1333
|
+
--tag-bg-color: var(--o-color-success1);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
&.tag-reject {
|
|
1337
|
+
--tag-bg-color: var(--o-color-warning1);
|
|
1338
|
+
}
|
|
1336
1339
|
}
|
|
1337
1340
|
}
|
|
1338
1341
|
|
|
@@ -1355,12 +1358,15 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1355
1358
|
display: flex;
|
|
1356
1359
|
align-items: center;
|
|
1357
1360
|
padding-left: calc(var(--o-gap-3) + var(--icon-size));
|
|
1358
|
-
gap: var(--o-gap-
|
|
1361
|
+
gap: var(--o-gap-4);
|
|
1359
1362
|
width: 100%;
|
|
1360
1363
|
|
|
1361
1364
|
.o-link {
|
|
1362
1365
|
font-size: 14px;
|
|
1363
1366
|
line-height: 21px;
|
|
1367
|
+
--link-color: var(--o-color-info2);
|
|
1368
|
+
--link-color-hover: var(--o-color-primary2);
|
|
1369
|
+
--link-color-active: var(--o-color-primary3);
|
|
1364
1370
|
}
|
|
1365
1371
|
|
|
1366
1372
|
.o-link + .o-link {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { useLocale } from '@opendesign-plus/composables';
|
|
3
2
|
import {
|
|
4
3
|
OCheckbox,
|
|
5
4
|
OCheckboxGroup,
|
|
@@ -13,10 +12,14 @@ import {
|
|
|
13
12
|
} from '@opensig/opendesign';
|
|
14
13
|
import { computed, h, nextTick, ref, watch } from 'vue';
|
|
15
14
|
import IconFilter from '~icons/components/icon-filter.svg';
|
|
16
|
-
import
|
|
15
|
+
import { useI18n } from '@/i18n';
|
|
16
|
+
import { buildVueDompurifyHTMLDirective } from 'vue-dompurify-html';
|
|
17
|
+
|
|
18
|
+
// 局部注册 v-dompurify-html 指令
|
|
19
|
+
const vDompurifyHtml = buildVueDompurifyHTMLDirective();
|
|
17
20
|
|
|
18
21
|
type TItem = { label: string; value: string | number; children?: TItem[] };
|
|
19
|
-
const { t } =
|
|
22
|
+
const { t } = useI18n();
|
|
20
23
|
const props = withDefaults(
|
|
21
24
|
defineProps<{
|
|
22
25
|
modelValue: string[] | number[] | string | number;
|
|
@@ -257,6 +260,7 @@ const renderLabel = ({ data }) => {
|
|
|
257
260
|
min-width: 80px;
|
|
258
261
|
max-width: calc(var(--table-width, 300) * 0.8px);
|
|
259
262
|
--dropdown-item-justify: flex-start;
|
|
263
|
+
--dropdown-item-padding: 7px 12px;
|
|
260
264
|
}
|
|
261
265
|
|
|
262
266
|
.o-dropdown-item.is-active {
|
|
@@ -31,7 +31,6 @@ const props = withDefaults(defineProps<{
|
|
|
31
31
|
getEventsListRequest: any;
|
|
32
32
|
hiddenEvents?: boolean;
|
|
33
33
|
hiddenSummit?: boolean;
|
|
34
|
-
createDesc?: string
|
|
35
34
|
}>(), {
|
|
36
35
|
getSummitListRequest: async () => [],
|
|
37
36
|
getEventsListRequest: async () => [],
|
|
@@ -264,17 +263,9 @@ const formatYearMonth = (date: string) => {
|
|
|
264
263
|
return date;
|
|
265
264
|
}
|
|
266
265
|
};
|
|
267
|
-
const emits = defineEmits(['create']);
|
|
268
|
-
const create = () => {
|
|
269
|
-
emits('create');
|
|
270
|
-
};
|
|
271
266
|
</script>
|
|
272
267
|
<template>
|
|
273
268
|
<div class="o-meeting-calendar">
|
|
274
|
-
<div class="calendar-header">
|
|
275
|
-
<span>{{ createDesc || '' }}</span>
|
|
276
|
-
<OButton color="primary" variant="solid" round="pill" @click="create">预定会议</OButton>
|
|
277
|
-
</div>
|
|
278
269
|
<div class="calendar-body">
|
|
279
270
|
<ElCalendar ref="calendar" class="calender">
|
|
280
271
|
<template #header="{ date }">
|
|
@@ -386,6 +377,7 @@ const create = () => {
|
|
|
386
377
|
.el-calendar-table {
|
|
387
378
|
margin-bottom: 0;
|
|
388
379
|
display: table;
|
|
380
|
+
width: 100%;
|
|
389
381
|
}
|
|
390
382
|
|
|
391
383
|
.calendar-header {
|
|
@@ -662,6 +654,7 @@ const create = () => {
|
|
|
662
654
|
|
|
663
655
|
.date-calender {
|
|
664
656
|
position: relative;
|
|
657
|
+
margin-bottom: 0;
|
|
665
658
|
|
|
666
659
|
&::after {
|
|
667
660
|
content: '';
|
|
@@ -778,7 +771,7 @@ const create = () => {
|
|
|
778
771
|
.title-list {
|
|
779
772
|
display: flex;
|
|
780
773
|
align-items: center;
|
|
781
|
-
justify-content:
|
|
774
|
+
justify-content: center;
|
|
782
775
|
padding: 14px 24px;
|
|
783
776
|
position: relative;
|
|
784
777
|
height: 60px;
|
|
@@ -21,7 +21,7 @@ import IconHelp from '~icons/meeting/icon-help.svg';
|
|
|
21
21
|
import IconTip from '~icons/meeting/icon-tip.svg';
|
|
22
22
|
import { MeetingFormPropsT, MeetingPostT, OptionItemT } from './types';
|
|
23
23
|
import dayjs from 'dayjs';
|
|
24
|
-
import { findLabelFromOptions, formatDateNumber, getDateNumber } from './utils';
|
|
24
|
+
import { findLabelFromOptions, formatDateNumber, getDateNumber, getPlatformLabel } from './utils';
|
|
25
25
|
import {
|
|
26
26
|
EMAIL_REGEX,
|
|
27
27
|
INTERVAL_DAY,
|
|
@@ -247,7 +247,7 @@ const getPlatformOptions = async () => {
|
|
|
247
247
|
return;
|
|
248
248
|
}
|
|
249
249
|
const res = await props.getPlatformsRequest();
|
|
250
|
-
typeOptions.value = res.map((v) => ({ label: v, value: v }));
|
|
250
|
+
typeOptions.value = res.map((v) => ({ label: getPlatformLabel(v), value: v }));
|
|
251
251
|
if (!props.data) {
|
|
252
252
|
form.value.platform = typeOptions.value[0].value;
|
|
253
253
|
}
|
|
@@ -474,7 +474,7 @@ defineExpose({
|
|
|
474
474
|
<OFormItem :rules="rules.etherpad" label="Etherpad" field="etherpad" v-if="form.group_name">
|
|
475
475
|
<template #label>
|
|
476
476
|
<div class="label-wrapper">
|
|
477
|
-
<span>
|
|
477
|
+
<span>{{ t('meeting.etherpad') }} </span>
|
|
478
478
|
<OPopover>
|
|
479
479
|
<div class="o-meeting-form-popover-content etherpad">{{ t('meeting.etherpadDesc') }}</div>
|
|
480
480
|
<template #target>
|
|
@@ -833,14 +833,39 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
833
833
|
}
|
|
834
834
|
|
|
835
835
|
.list-calendar {
|
|
836
|
-
width: 334px;
|
|
837
836
|
flex-shrink: 0;
|
|
837
|
+
width: 334px;
|
|
838
|
+
background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%);
|
|
839
|
+
|
|
840
|
+
@include respond-to('pad_h') {
|
|
841
|
+
.el-calendar {
|
|
842
|
+
.el-calendar__body {
|
|
843
|
+
padding-left: 12px;
|
|
844
|
+
padding-right: 12px;
|
|
838
845
|
|
|
846
|
+
.el-calendar-table .date-cell {
|
|
847
|
+
height: 40px;
|
|
848
|
+
width: 28px;
|
|
849
|
+
|
|
850
|
+
.date-cell-text {
|
|
851
|
+
line-height: 24px;
|
|
852
|
+
@include tip2;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
@include respond-to('pad_v') {
|
|
859
|
+
width: 100%;
|
|
860
|
+
}
|
|
861
|
+
@include respond-to('phone') {
|
|
862
|
+
display: none;
|
|
863
|
+
}
|
|
839
864
|
.el-calendar {
|
|
840
865
|
min-height: 460px;
|
|
841
866
|
height: calc(100% - 54px);
|
|
842
|
-
background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%);
|
|
843
867
|
border-radius: var(--o-radius-xs);
|
|
868
|
+
background-color: transparent;
|
|
844
869
|
|
|
845
870
|
.el-calendar__header {
|
|
846
871
|
border-bottom: 1px solid var(--o-color-control4);
|
|
@@ -869,9 +894,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
869
894
|
|
|
870
895
|
.el-calendar__body {
|
|
871
896
|
.el-calendar-table {
|
|
872
|
-
tr {
|
|
873
|
-
background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%) !important;
|
|
874
|
-
}
|
|
875
897
|
|
|
876
898
|
th {
|
|
877
899
|
text-align: center;
|
|
@@ -979,31 +1001,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
979
1001
|
}
|
|
980
1002
|
}
|
|
981
1003
|
|
|
982
|
-
@include respond-to('pad_h') {
|
|
983
|
-
width: 240px;
|
|
984
|
-
.el-calendar {
|
|
985
|
-
.el-calendar__body {
|
|
986
|
-
padding-left: 12px;
|
|
987
|
-
padding-right: 12px;
|
|
988
|
-
|
|
989
|
-
.el-calendar-table .date-cell {
|
|
990
|
-
height: 40px;
|
|
991
|
-
width: 28px;
|
|
992
|
-
|
|
993
|
-
.date-cell-text {
|
|
994
|
-
line-height: 24px;
|
|
995
|
-
@include tip2;
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
@include respond-to('pad_v') {
|
|
1002
|
-
width: 100%;
|
|
1003
|
-
}
|
|
1004
|
-
@include respond-to('phone') {
|
|
1005
|
-
display: none;
|
|
1006
|
-
}
|
|
1007
1004
|
}
|
|
1008
1005
|
|
|
1009
1006
|
.list-wrapper {
|
|
@@ -1024,11 +1021,15 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1024
1021
|
.o-scrollbar-rail {
|
|
1025
1022
|
right: -16px;
|
|
1026
1023
|
}
|
|
1024
|
+
|
|
1025
|
+
.o-scrollbar {
|
|
1026
|
+
height: 100%;
|
|
1027
|
+
}
|
|
1027
1028
|
}
|
|
1028
1029
|
|
|
1029
1030
|
.scroller-container {
|
|
1030
1031
|
height: 100%;
|
|
1031
|
-
max-height: calc(var(--layout-left-height) - 4 * var(--o-gap-5) - var(--header-height) * 1px);
|
|
1032
|
+
max-height: calc(var(--layout-left-height, 900px) - 4 * var(--o-gap-5) - var(--header-height) * 1px);
|
|
1032
1033
|
|
|
1033
1034
|
@include respond-to('phone') {
|
|
1034
1035
|
max-height: fit-content;
|
|
@@ -1357,7 +1358,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1357
1358
|
display: flex;
|
|
1358
1359
|
align-items: center;
|
|
1359
1360
|
padding-left: calc(var(--o-gap-3) + var(--icon-size));
|
|
1360
|
-
gap: var(--o-gap-
|
|
1361
|
+
gap: var(--o-gap-4);
|
|
1361
1362
|
width: 100%;
|
|
1362
1363
|
|
|
1363
1364
|
.o-link {
|
|
@@ -276,11 +276,8 @@ const computedList = computed(() => {
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
&.o-collapse-item-expanded {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
.copy-icon {
|
|
282
|
-
display: inline-flex;
|
|
283
|
-
}
|
|
279
|
+
.copy-icon {
|
|
280
|
+
display: inline-flex;
|
|
284
281
|
}
|
|
285
282
|
}
|
|
286
283
|
}
|
|
@@ -305,9 +302,9 @@ const computedList = computed(() => {
|
|
|
305
302
|
padding: 12px 16px;
|
|
306
303
|
}
|
|
307
304
|
|
|
308
|
-
|
|
309
305
|
.o-collapse-item-title {
|
|
310
306
|
flex-grow: 1;
|
|
307
|
+
margin-bottom: 0;
|
|
311
308
|
}
|
|
312
309
|
|
|
313
310
|
|
|
@@ -333,7 +330,12 @@ const computedList = computed(() => {
|
|
|
333
330
|
.jump-detail-link {
|
|
334
331
|
padding-left: calc(var(--icon-right) + var(--icon-size2));
|
|
335
332
|
margin-top: var(--o-gap-2);
|
|
336
|
-
|
|
333
|
+
color: var(--o-color-info2);
|
|
334
|
+
@include tip1;
|
|
335
|
+
|
|
336
|
+
&:hover {
|
|
337
|
+
color: var(--o-color-primary1);
|
|
338
|
+
}
|
|
337
339
|
|
|
338
340
|
.o-icon {
|
|
339
341
|
font-size: 16px;
|
|
@@ -362,7 +364,6 @@ const computedList = computed(() => {
|
|
|
362
364
|
|
|
363
365
|
.o-icon {
|
|
364
366
|
flex-shrink: 0;
|
|
365
|
-
padding: 2px;
|
|
366
367
|
border-radius: 50%;
|
|
367
368
|
overflow: hidden;
|
|
368
369
|
color: var(--o-color-white);
|
|
@@ -378,6 +379,7 @@ const computedList = computed(() => {
|
|
|
378
379
|
|
|
379
380
|
.text {
|
|
380
381
|
display: block;
|
|
382
|
+
font-weight: 600;
|
|
381
383
|
@include text-truncate(1);
|
|
382
384
|
}
|
|
383
385
|
}
|
|
@@ -390,6 +392,7 @@ const computedList = computed(() => {
|
|
|
390
392
|
align-items: center;
|
|
391
393
|
color: var(--o-color-info3);
|
|
392
394
|
text-decoration: none;
|
|
395
|
+
font-weight: 400;
|
|
393
396
|
@include tip1;
|
|
394
397
|
|
|
395
398
|
.o-divider {
|