@opendesign-plus-test/components 0.0.1-rc.25 → 0.0.1-rc.27
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 +262 -194
- package/dist/components/OCookieNotice.vue.d.ts +3 -2
- package/dist/components/OFooter.vue.d.ts +22 -1
- package/dist/components/OHeaderUser.vue.d.ts +0 -2
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +6 -6
- package/dist/components/activity/index.d.ts +3 -3
- package/dist/components/activity/types.d.ts +0 -1
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
- package/dist/components/{OHeader.vue.d.ts → header/OHeader.vue.d.ts} +2 -1
- package/dist/components/{OHeaderMoblie.vue.d.ts → header/OHeaderMoblie.vue.d.ts} +2 -2
- package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
- package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
- package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
- package/dist/components/header/index.d.ts +22 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +3 -15
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +6 -6
- package/dist/components/meeting/types.d.ts +11 -4
- package/dist/components.cjs.js +47 -47
- package/dist/components.css +1 -1
- package/dist/components.es.js +17529 -17361
- package/dist/index.d.ts +2 -3
- package/package.json +1 -1
- package/src/assets/svg-icons/icon-chevron-down.svg +1 -1
- package/src/components/OCookieNotice.vue +270 -118
- package/src/components/OFooter.vue +11 -1
- package/src/components/OHeaderUser.vue +14 -81
- package/src/components/OSourceCode.vue +1 -1
- package/src/components/activity/OActivityApproval.vue +205 -213
- package/src/components/activity/OActivityForm.vue +2 -2
- package/src/components/activity/OMyActivityCalendar.vue +206 -97
- package/src/components/activity/types.ts +0 -1
- package/src/components/common/MoreText.vue +3 -2
- package/src/components/element-plus/OElCookieNotice.vue +306 -115
- package/src/components/events/OEventsApply.vue +16 -0
- package/src/components/events/OEventsList.vue +3 -0
- package/src/components/header/OHeader.vue +175 -0
- package/src/components/{OHeaderMoblie.vue → header/OHeaderMoblie.vue} +6 -3
- package/src/components/{common/HeaderEulerNav.vue → header/components/HeaderContent.vue} +375 -551
- package/src/components/header/components/HeaderNav.vue +280 -0
- package/src/components/{common → header/components}/HeaderNavMoblie.vue +20 -18
- package/src/components/{common → header/components}/HeaderUbmcNav.vue +6 -63
- package/src/components/header/index.ts +16 -0
- package/src/components/meeting/OMeetingCalendar.vue +16 -2
- package/src/components/meeting/OMeetingForm.vue +22 -25
- package/src/components/meeting/OMeetingPlayback.vue +1 -1
- package/src/components/meeting/OMyMeetingCalendar.vue +12 -14
- package/src/components/meeting/components/OMeetingCalendarList.vue +1 -1
- package/src/components/meeting/components/OMeetingDetail.vue +15 -2
- package/src/components/meeting/types.ts +11 -5
- package/src/index.ts +2 -5
- package/dist/components/activity/data.d.ts +0 -51
- package/src/components/OHeader.vue +0 -97
- package/src/components/activity/data.ts +0 -365
- package/src/components/meeting/components/OMyCalendarWrapper.vue +0 -160
|
@@ -288,8 +288,9 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
288
288
|
id: 'confirm',
|
|
289
289
|
loading: loading.value,
|
|
290
290
|
color: 'primary',
|
|
291
|
-
variant: lePadV.value ? 'text' : '
|
|
291
|
+
variant: lePadV.value ? 'text' : 'solid',
|
|
292
292
|
round: 'pill',
|
|
293
|
+
size: 'large',
|
|
293
294
|
label: '确定',
|
|
294
295
|
onClick: () => {
|
|
295
296
|
confirmCancel();
|
|
@@ -297,8 +298,9 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
297
298
|
}, {
|
|
298
299
|
id: 'cancel',
|
|
299
300
|
color: 'primary',
|
|
300
|
-
variant: lePadV.value ? 'text' : '
|
|
301
|
+
variant: lePadV.value ? 'text' : 'outline',
|
|
301
302
|
round: 'pill',
|
|
303
|
+
size: 'large',
|
|
302
304
|
label: '取消',
|
|
303
305
|
onClick: () => {
|
|
304
306
|
cancel();
|
|
@@ -312,6 +314,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
312
314
|
color: 'primary',
|
|
313
315
|
variant: lePadV.value ? 'text' : 'solid',
|
|
314
316
|
round: 'pill',
|
|
317
|
+
size: 'large',
|
|
315
318
|
label: '确定',
|
|
316
319
|
onClick: () => {
|
|
317
320
|
confirm();
|
|
@@ -321,6 +324,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
321
324
|
color: 'primary',
|
|
322
325
|
variant: lePadV.value ? 'text' : 'outline',
|
|
323
326
|
round: 'pill',
|
|
327
|
+
size: 'large',
|
|
324
328
|
label: '取消',
|
|
325
329
|
onClick: () => {
|
|
326
330
|
cancel();
|
|
@@ -524,7 +528,6 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
524
528
|
<OTextarea
|
|
525
529
|
size="large"
|
|
526
530
|
placeholder="请输入审核的备注信息"
|
|
527
|
-
style="width: 100%"
|
|
528
531
|
:rows="4"
|
|
529
532
|
resize="none"
|
|
530
533
|
:max-length="1000"
|
|
@@ -539,7 +542,7 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
539
542
|
<ODialog
|
|
540
543
|
v-model:visible="cancelVisible"
|
|
541
544
|
:phone-half-full="lePadV"
|
|
542
|
-
main-class="handle-dialog-approval"
|
|
545
|
+
main-class="handle-dialog-approval cancel-dialog"
|
|
543
546
|
:actions="cancelActions"
|
|
544
547
|
>
|
|
545
548
|
<template #header>{{ cancelTitle }}</template>
|
|
@@ -550,284 +553,273 @@ const reviewActions = computed<DialogActionT[]>(() => {
|
|
|
550
553
|
</div>
|
|
551
554
|
</template>
|
|
552
555
|
|
|
553
|
-
<style lang="scss"
|
|
554
|
-
.
|
|
555
|
-
height: 100%;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.title {
|
|
559
|
-
color: var(--o-color-info1);
|
|
560
|
-
font-weight: 500;
|
|
561
|
-
@include h2;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.desc {
|
|
565
|
-
color: var(--o-color-info2);
|
|
566
|
-
margin-top: 12px;
|
|
567
|
-
@include tip1;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.o-divider {
|
|
571
|
-
--o-divider-gap: 24px;
|
|
572
|
-
}
|
|
556
|
+
<style lang="scss">
|
|
557
|
+
.o-activity-table {
|
|
573
558
|
|
|
574
|
-
.expand-detail {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}
|
|
559
|
+
.expand-detail {
|
|
560
|
+
padding: 16px 60px;
|
|
561
|
+
background-color: rgba(243, 246, 250, 1);
|
|
562
|
+
}
|
|
578
563
|
|
|
579
|
-
.
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
margin-bottom: var(--o-gap-2);
|
|
564
|
+
.activity-btn {
|
|
565
|
+
.o-btn + .o-btn {
|
|
566
|
+
margin-left: 24px;
|
|
583
567
|
}
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
568
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
569
|
+
@include respond-to('<=pad_v') {
|
|
570
|
+
.o-btn + .o-btn {
|
|
571
|
+
margin-left: 16px;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
@include respond-to('phone') {
|
|
575
|
+
margin-top: 8px;
|
|
576
|
+
.o-btn + .o-btn {
|
|
577
|
+
margin-left: 12px;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
590
580
|
}
|
|
591
581
|
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
582
|
+
.o-btn-text {
|
|
583
|
+
@include hover {
|
|
584
|
+
background-color: transparent;
|
|
585
|
+
color: var(--o-color-primary1);
|
|
595
586
|
}
|
|
596
587
|
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
588
|
+
|
|
589
|
+
.o-btn.o-btn-text {
|
|
590
|
+
padding-left: 0 !important;
|
|
591
|
+
padding-right: 0 !important;
|
|
592
|
+
min-width: auto;
|
|
602
593
|
}
|
|
603
|
-
}
|
|
604
594
|
|
|
605
|
-
.o-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
color:
|
|
595
|
+
.o-tag {
|
|
596
|
+
--tag-radius: 100px;
|
|
597
|
+
--tag-bg-color: rgba(0, 113, 243, 0.1);
|
|
598
|
+
--tag-bd-color: transparent;
|
|
609
599
|
}
|
|
610
|
-
}
|
|
611
600
|
|
|
612
|
-
.
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}
|
|
601
|
+
.tag-draft,
|
|
602
|
+
.tag-cancel {
|
|
603
|
+
--tag-color: var(--o-color-info3);
|
|
604
|
+
--tag-bg-color: rgba(222, 222, 227, 1);
|
|
605
|
+
}
|
|
617
606
|
|
|
618
|
-
.
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
607
|
+
.tag-registration,
|
|
608
|
+
.tag-in-progress,
|
|
609
|
+
.tag-ended {
|
|
610
|
+
--tag-color: rgba(36, 171, 54, 1);
|
|
611
|
+
--tag-bg-color: rgba(36, 171, 54, 0.1);
|
|
612
|
+
}
|
|
623
613
|
|
|
624
|
-
.tag-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
}
|
|
614
|
+
.tag-reject {
|
|
615
|
+
--tag-color: rgba(294, 118, 17, 1);
|
|
616
|
+
--tag-bg-color: rgba(294, 118, 17, 0.1);
|
|
617
|
+
}
|
|
629
618
|
|
|
630
|
-
.
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
}
|
|
619
|
+
.sort-time {
|
|
620
|
+
display: flex;
|
|
621
|
+
align-items: center;
|
|
622
|
+
cursor: pointer;
|
|
623
|
+
}
|
|
636
624
|
|
|
637
|
-
.
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
}
|
|
625
|
+
.sort-btn {
|
|
626
|
+
margin-left: 4px;
|
|
627
|
+
}
|
|
641
628
|
|
|
642
|
-
.sort-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
629
|
+
.sort-item {
|
|
630
|
+
width: 0;
|
|
631
|
+
height: 0;
|
|
632
|
+
border: 5px solid transparent;
|
|
633
|
+
}
|
|
647
634
|
|
|
648
|
-
.sort-
|
|
649
|
-
|
|
650
|
-
|
|
635
|
+
.sort-asc {
|
|
636
|
+
border-bottom-color: var(--o-color-info2);
|
|
637
|
+
margin-bottom: 2px;
|
|
651
638
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
}
|
|
639
|
+
&.active {
|
|
640
|
+
border-bottom-color: var(--o-color-primary1);
|
|
641
|
+
}
|
|
642
|
+
}
|
|
657
643
|
|
|
658
|
-
.sort-
|
|
659
|
-
|
|
660
|
-
|
|
644
|
+
.sort-desc {
|
|
645
|
+
border-top-color: var(--o-color-info2);
|
|
646
|
+
margin-top: 2px;
|
|
661
647
|
|
|
662
|
-
|
|
663
|
-
|
|
648
|
+
&.active {
|
|
649
|
+
border-top-color: var(--o-color-primary1);
|
|
650
|
+
}
|
|
664
651
|
}
|
|
665
|
-
}
|
|
666
652
|
|
|
667
|
-
.
|
|
668
|
-
|
|
669
|
-
|
|
653
|
+
.el-table {
|
|
654
|
+
--el-table-header-bg-color: rgba(235, 241, 250, 1);
|
|
655
|
+
color: var(--o-color-info1);
|
|
656
|
+
@include text1;
|
|
670
657
|
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
}
|
|
674
|
-
}
|
|
658
|
+
.el-table__header-wrapper {
|
|
659
|
+
border-radius: 12px 12px 0 0;
|
|
675
660
|
|
|
676
|
-
.el-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
@include text1;
|
|
661
|
+
.el-table__cell {
|
|
662
|
+
padding: 12px 0 11px;
|
|
663
|
+
}
|
|
680
664
|
|
|
681
|
-
|
|
682
|
-
|
|
665
|
+
.cell {
|
|
666
|
+
color: var(--o-color-info2);
|
|
667
|
+
font-weight: 600;
|
|
668
|
+
@include text1;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
683
671
|
|
|
684
|
-
.el-
|
|
685
|
-
padding:
|
|
672
|
+
.el-table__expanded-cell {
|
|
673
|
+
padding: 0;
|
|
686
674
|
}
|
|
687
675
|
|
|
688
676
|
.cell {
|
|
689
|
-
|
|
690
|
-
font-weight: 600;
|
|
691
|
-
@include text1;
|
|
677
|
+
white-space: nowrap;
|
|
692
678
|
}
|
|
693
679
|
}
|
|
694
680
|
|
|
695
|
-
.
|
|
696
|
-
|
|
681
|
+
.pagination {
|
|
682
|
+
margin-top: 32px;
|
|
683
|
+
display: flex;
|
|
684
|
+
align-items: center;
|
|
685
|
+
justify-content: flex-end;
|
|
697
686
|
}
|
|
698
687
|
|
|
699
|
-
.
|
|
700
|
-
|
|
688
|
+
.o-textarea {
|
|
689
|
+
--_box-radius: 16px;
|
|
701
690
|
}
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
.pagination {
|
|
705
|
-
margin-top: 32px;
|
|
706
|
-
display: flex;
|
|
707
|
-
align-items: center;
|
|
708
|
-
justify-content: flex-end;
|
|
709
|
-
}
|
|
710
691
|
|
|
711
|
-
.
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
.o-textarea {
|
|
718
|
-
--_box-radius: 16px;
|
|
719
|
-
}
|
|
692
|
+
.dialog-footer {
|
|
693
|
+
display: flex;
|
|
694
|
+
justify-content: center;
|
|
695
|
+
align-items: center;
|
|
720
696
|
|
|
721
|
-
.
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
align-items: center;
|
|
697
|
+
.o-btn + .o-btn {
|
|
698
|
+
margin-left: 16px;
|
|
699
|
+
}
|
|
725
700
|
|
|
726
|
-
|
|
727
|
-
|
|
701
|
+
@include respond-to('<=pad_v') {
|
|
702
|
+
.o-btn {
|
|
703
|
+
width: 140px;
|
|
704
|
+
color: var(--o-color-info1);
|
|
705
|
+
padding: 6px 24px !important;
|
|
706
|
+
}
|
|
707
|
+
.o-btn + .o-btn {
|
|
708
|
+
margin-left: 0;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
728
711
|
}
|
|
729
712
|
|
|
730
|
-
|
|
731
|
-
.o-
|
|
732
|
-
|
|
733
|
-
color: var(--o-color-info1);
|
|
734
|
-
padding: 6px 24px !important;
|
|
735
|
-
}
|
|
736
|
-
.o-btn + .o-btn {
|
|
737
|
-
margin-left: 0;
|
|
713
|
+
.collapse-wrapper {
|
|
714
|
+
.o-tag {
|
|
715
|
+
height: 24px;
|
|
738
716
|
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
717
|
|
|
742
|
-
.collapse
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}
|
|
718
|
+
.o-collapse {
|
|
719
|
+
padding: 0;
|
|
720
|
+
border-radius: 12px;
|
|
746
721
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
border-radius: 12px;
|
|
722
|
+
.o-collapse-item {
|
|
723
|
+
--collapse-item-header-padding: 8px 0 12px;
|
|
750
724
|
|
|
751
|
-
|
|
752
|
-
|
|
725
|
+
&:last-child {
|
|
726
|
+
padding-bottom: 16px;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
753
729
|
|
|
754
|
-
|
|
755
|
-
|
|
730
|
+
.act-sponsor {
|
|
731
|
+
display: flex;
|
|
732
|
+
align-items: center;
|
|
733
|
+
color: var(--o-color-info3);
|
|
734
|
+
margin-right: 16px;
|
|
735
|
+
@include text1;
|
|
756
736
|
}
|
|
757
|
-
}
|
|
758
737
|
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
margin-right: 16px;
|
|
764
|
-
@include text1;
|
|
765
|
-
}
|
|
738
|
+
.sponsor {
|
|
739
|
+
margin-right: 12px;
|
|
740
|
+
@include text-truncate(1);
|
|
741
|
+
}
|
|
766
742
|
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
743
|
+
.o-collapse-item-icon {
|
|
744
|
+
transform: rotate(0deg);
|
|
745
|
+
width: 24px;
|
|
746
|
+
height: 24px;
|
|
747
|
+
}
|
|
771
748
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
749
|
+
.o-collapse-item-expanded .o-collapse-item-icon {
|
|
750
|
+
transform: rotate(90deg);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.o-collapse-item-header {
|
|
754
|
+
border-bottom: 1px solid var(--o-color-control4);
|
|
755
|
+
margin: 0 16px;
|
|
756
|
+
}
|
|
776
757
|
}
|
|
777
758
|
|
|
778
|
-
.
|
|
779
|
-
|
|
759
|
+
.activity-detail {
|
|
760
|
+
padding: 12px 16px;
|
|
761
|
+
background-color: rgba(243, 246, 250, 1);
|
|
780
762
|
}
|
|
781
763
|
|
|
782
|
-
.
|
|
783
|
-
|
|
784
|
-
margin:
|
|
764
|
+
.pagination {
|
|
765
|
+
justify-content: center;
|
|
766
|
+
margin-top: 24px;
|
|
785
767
|
}
|
|
786
768
|
}
|
|
787
769
|
|
|
788
|
-
.
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
770
|
+
.title-top {
|
|
771
|
+
display: flex;
|
|
772
|
+
align-items: center;
|
|
773
|
+
justify-content: space-between;
|
|
774
|
+
padding: 12px 16px 0;
|
|
792
775
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
776
|
+
.act-title {
|
|
777
|
+
color: var(--o-color-info1);
|
|
778
|
+
margin-right: 12px;
|
|
779
|
+
font-weight: 600;
|
|
780
|
+
@include text1;
|
|
781
|
+
@include text-truncate(1);
|
|
782
|
+
}
|
|
796
783
|
}
|
|
797
784
|
}
|
|
798
785
|
|
|
799
|
-
.title-top {
|
|
800
|
-
display: flex;
|
|
801
|
-
align-items: center;
|
|
802
|
-
justify-content: space-between;
|
|
803
|
-
padding: 12px 16px 0;
|
|
804
|
-
|
|
805
|
-
.act-title {
|
|
806
|
-
color: var(--o-color-info1);
|
|
807
|
-
margin-right: 12px;
|
|
808
|
-
font-weight: 600;
|
|
809
|
-
@include text1;
|
|
810
|
-
@include text-truncate(1);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
786
|
</style>
|
|
814
787
|
|
|
815
788
|
<style lang="scss">
|
|
816
|
-
.
|
|
817
|
-
width:
|
|
818
|
-
--dlg-radius:
|
|
789
|
+
.handle-dialog-approval {
|
|
790
|
+
--dlg-width: 450px;
|
|
791
|
+
--dlg-radius: var(--o-radius-xs);
|
|
819
792
|
@include respond-to('<=pad_v') {
|
|
820
793
|
width: 100%;
|
|
821
|
-
--dlg-radius:
|
|
794
|
+
--dlg-radius: var(--o-radius-xs) var(--o-radius-xs) 0 0;
|
|
822
795
|
}
|
|
823
796
|
}
|
|
824
797
|
|
|
825
|
-
.
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
798
|
+
.cancel-dialog {
|
|
799
|
+
.o-dlg-footer {
|
|
800
|
+
margin-top: var(--o-gap-5);
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
.review-dialog {
|
|
804
|
+
--dlg-width: 690px;
|
|
805
|
+
|
|
806
|
+
.o-form {
|
|
807
|
+
width: 450px;
|
|
808
|
+
margin: 0 auto;
|
|
809
|
+
|
|
810
|
+
.o-form-item-label {
|
|
811
|
+
margin-bottom: var(--o-gap-2);
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.o-textarea {
|
|
815
|
+
width: 100%;
|
|
816
|
+
--_box-radius: var(--o-radius-xs);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.o-dlg-footer {
|
|
821
|
+
margin-top: var(--o-gap-6);
|
|
831
822
|
}
|
|
832
823
|
}
|
|
824
|
+
|
|
833
825
|
</style>
|
|
@@ -298,11 +298,11 @@ const confirm = async (val: boolean) => {
|
|
|
298
298
|
}
|
|
299
299
|
loading.value = true;
|
|
300
300
|
form.value.is_publish = `${ val }`;
|
|
301
|
-
if (isEdit.value && props.status === 3) {
|
|
301
|
+
if (isEdit.value && props.data?.status === 3) {
|
|
302
302
|
form.value.update_activity_id = props.data?.id;
|
|
303
303
|
await props.creatActivity?.(form.value);
|
|
304
304
|
} else if (isEdit.value) {
|
|
305
|
-
await props.editActivity?.(props.data
|
|
305
|
+
await props.editActivity?.(props.data?.id, form.value);
|
|
306
306
|
} else {
|
|
307
307
|
await props.creatActivity?.(form.value);
|
|
308
308
|
}
|