eoss-ui 0.5.83 → 0.5.85
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/CHANGELOG.md +929 -0
- package/lib/button-group.js +146 -66
- package/lib/button.js +118 -69
- package/lib/checkbox-group.js +64 -46
- package/lib/config/api.js +5 -1
- package/lib/data-table-form.js +64 -46
- package/lib/data-table.js +468 -295
- package/lib/date-picker.js +64 -46
- package/lib/dialog.js +71 -48
- package/lib/eoss-ui.common.js +9188 -15746
- package/lib/flow-group.js +64 -46
- package/lib/flow-list.js +65 -47
- package/lib/flow.js +113 -77
- package/lib/form.js +5708 -13486
- package/lib/handle-user.js +65 -47
- package/lib/handler.js +70 -48
- package/lib/icon.js +64 -46
- package/lib/index.js +1 -1
- package/lib/input-number.js +64 -46
- package/lib/input.js +64 -46
- package/lib/login.js +86 -57
- package/lib/main.js +1435 -483
- package/lib/nav.js +64 -46
- package/lib/notify.js +51 -46
- package/lib/page.js +64 -46
- package/lib/pagination.js +64 -46
- package/lib/player.js +64 -46
- package/lib/qr-code.js +64 -46
- package/lib/radio-group.js +64 -46
- package/lib/retrial-auth.js +64 -46
- package/lib/select-ganged.js +64 -46
- package/lib/select.js +65 -47
- package/lib/selector-panel.js +64 -46
- package/lib/selector.js +64 -46
- package/lib/sizer.js +64 -46
- package/lib/steps.js +64 -46
- package/lib/switch.js +64 -46
- package/lib/table-form.js +64 -46
- package/lib/tabs.js +64 -46
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/dialog.css +1 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/tips.js +64 -46
- package/lib/tree-group.js +64 -46
- package/lib/tree.js +64 -46
- package/lib/upload.js +78 -60
- package/lib/utils/util.js +18 -5
- package/lib/wujie.js +64 -46
- package/lib/wxlogin.js +64 -46
- package/package.json +2 -2
- package/packages/button/src/main.vue +88 -55
- package/packages/button-group/src/main.vue +56 -13
- package/packages/data-table/src/children.vue +3 -2
- package/packages/data-table/src/column.vue +6 -4
- package/packages/data-table/src/main.vue +150 -69
- package/packages/data-table/src/sizer.vue +51 -22
- package/packages/dialog/src/main.vue +5 -1
- package/packages/flow/src/main.vue +26 -17
- package/packages/form/src/main.vue +129 -2103
- package/packages/handler/src/main.vue +5 -0
- package/packages/login/src/main.vue +12 -1
- package/packages/login/src/resetPassword.vue +4 -2
- package/packages/main/src/default/index.vue +35 -54
- package/packages/main/src/default/userinfo.vue +2 -1
- package/packages/main/src/public/search.vue +444 -0
- package/packages/main/src/simplicity/apps.vue +20 -2
- package/packages/main/src/simplicity/handler.vue +0 -2
- package/packages/main/src/simplicity/index.vue +97 -32
- package/packages/main/src/simplicity/userinfo.vue +1 -0
- package/packages/select/src/main.vue +1 -1
- package/packages/theme-chalk/lib/calendar.css +1 -1
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/dialog.css +1 -1
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/src/calendar.scss +3 -3
- package/packages/theme-chalk/src/data-table.scss +12 -0
- package/packages/theme-chalk/src/dialog.scss +15 -0
- package/packages/theme-chalk/src/form.scss +6 -0
- package/packages/theme-chalk/src/main.scss +2 -1
- package/packages/theme-chalk/src/simplicity.scss +172 -4
- package/packages/upload/src/main.vue +16 -12
- package/src/config/api.js +5 -1
- package/src/index.js +157 -157
- package/src/utils/util.js +18 -5
|
@@ -562,19 +562,20 @@
|
|
|
562
562
|
</div>
|
|
563
563
|
<!-- 弹窗内容 -->
|
|
564
564
|
<es-dialog
|
|
565
|
+
v-if="handleVisible"
|
|
565
566
|
append-to-body
|
|
567
|
+
height="auto"
|
|
568
|
+
ref="handleVisible"
|
|
566
569
|
:title="title"
|
|
567
570
|
:close-on-click-modal="false"
|
|
568
571
|
:visible.sync="handleVisible"
|
|
569
|
-
v-if="handleVisible"
|
|
570
572
|
:closeParent="closeParent"
|
|
571
|
-
height="auto"
|
|
572
573
|
>
|
|
573
574
|
<ProcessForm
|
|
574
575
|
:id="businessIds"
|
|
575
576
|
:process-definition-id="nodeInfo.nextNode"
|
|
576
577
|
:opinion="value"
|
|
577
|
-
@cancel="closeProcess($event, 'handleVisible')"
|
|
578
|
+
@cancel="closeProcess($event, 'handleVisible', closeParent)"
|
|
578
579
|
/>
|
|
579
580
|
</es-dialog>
|
|
580
581
|
<es-dialog
|
|
@@ -592,11 +593,12 @@
|
|
|
592
593
|
/>
|
|
593
594
|
</es-dialog>
|
|
594
595
|
<es-dialog
|
|
595
|
-
append-to-body
|
|
596
|
-
:close-on-click-modal="false"
|
|
597
|
-
title="驳回"
|
|
598
596
|
v-if="showReject"
|
|
597
|
+
append-to-body
|
|
599
598
|
height="auto"
|
|
599
|
+
title="驳回"
|
|
600
|
+
ref="showReject"
|
|
601
|
+
:close-on-click-modal="false"
|
|
600
602
|
:visible.sync="showReject"
|
|
601
603
|
>
|
|
602
604
|
<ProcessReject
|
|
@@ -608,12 +610,13 @@
|
|
|
608
610
|
/>
|
|
609
611
|
</es-dialog>
|
|
610
612
|
<es-dialog
|
|
613
|
+
v-if="showTaskRead"
|
|
611
614
|
append-to-body
|
|
615
|
+
height="auto"
|
|
616
|
+
ref="showTaskRead"
|
|
612
617
|
:close-on-click-modal="false"
|
|
613
618
|
:title="taskReadType === 'transfer' ? '转办' : '分阅'"
|
|
614
619
|
:visible.sync="showTaskRead"
|
|
615
|
-
height="auto"
|
|
616
|
-
v-if="showTaskRead"
|
|
617
620
|
>
|
|
618
621
|
<StartTaskRead
|
|
619
622
|
:pending-id="pendingId"
|
|
@@ -625,11 +628,11 @@
|
|
|
625
628
|
/>
|
|
626
629
|
</es-dialog>
|
|
627
630
|
<es-dialog
|
|
631
|
+
v-if="showFileList"
|
|
628
632
|
append-to-body
|
|
629
|
-
:close-on-click-modal="false"
|
|
630
633
|
title="意见附件"
|
|
634
|
+
:close-on-click-modal="false"
|
|
631
635
|
:visible.sync="showFileList"
|
|
632
|
-
v-if="showFileList"
|
|
633
636
|
>
|
|
634
637
|
<FileList
|
|
635
638
|
:ownId="pendingId"
|
|
@@ -638,12 +641,13 @@
|
|
|
638
641
|
/>
|
|
639
642
|
</es-dialog>
|
|
640
643
|
<es-dialog
|
|
644
|
+
v-if="showSendMsg"
|
|
641
645
|
append-to-body
|
|
642
|
-
|
|
646
|
+
height="auto"
|
|
643
647
|
title="发送消息"
|
|
648
|
+
ref="showSendMsg"
|
|
649
|
+
:close-on-click-modal="false"
|
|
644
650
|
:visible.sync="showSendMsg"
|
|
645
|
-
height="auto"
|
|
646
|
-
v-if="showSendMsg"
|
|
647
651
|
>
|
|
648
652
|
<SendMsg
|
|
649
653
|
@cancel="closeProcess($event, 'showSendMsg')"
|
|
@@ -652,12 +656,13 @@
|
|
|
652
656
|
/>
|
|
653
657
|
</es-dialog>
|
|
654
658
|
<es-dialog
|
|
659
|
+
v-if="showTaskUnionExamine"
|
|
655
660
|
append-to-body
|
|
661
|
+
height="auto"
|
|
662
|
+
ref="showTaskUnionExamine"
|
|
656
663
|
:close-on-click-modal="false"
|
|
657
664
|
:title="flowTitle"
|
|
658
665
|
:visible.sync="showTaskUnionExamine"
|
|
659
|
-
height="auto"
|
|
660
|
-
v-if="showTaskUnionExamine"
|
|
661
666
|
>
|
|
662
667
|
<TaskUnionExamine
|
|
663
668
|
@cancel="closeProcess($event, 'showTaskUnionExamine')"
|
|
@@ -2272,8 +2277,12 @@ export default {
|
|
|
2272
2277
|
* @param {String} type 当前点击的弹窗类型
|
|
2273
2278
|
* @date 2022年5月25日
|
|
2274
2279
|
**/
|
|
2275
|
-
closeProcess(val, type) {
|
|
2276
|
-
|
|
2280
|
+
closeProcess(val, type, closeParent) {
|
|
2281
|
+
if (closeParent) {
|
|
2282
|
+
this.$refs[type].handleClosed();
|
|
2283
|
+
} else {
|
|
2284
|
+
this[type] = false;
|
|
2285
|
+
}
|
|
2277
2286
|
if (
|
|
2278
2287
|
val == 'taskReadAndEnd' ||
|
|
2279
2288
|
(val == true && type != 'taskRead') ||
|