vue2-client 1.15.72 → 1.15.74
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/.env +1 -1
- package/package.json +1 -1
- package/src/base-client/components/common/XFormTable/demo.vue +2 -2
- package/src/base-client/components/common/XPrint/PrintBill.vue +27 -23
- package/src/pages/WorkflowDetail/WorkFlowDemo.vue +1 -1
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowTimeline.vue +98 -161
- package/src/pages/userInfoDetailManage/uploadFilesHistory/ImagePreview.vue +6 -3
- package/src/router/async/router.map.js +2 -2
- package/vue.config.js +2 -2
package/.env
CHANGED
@@ -15,6 +15,6 @@ VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
|
|
15
15
|
VUE_APP_WEB_CONFIG_KEY=admin.webconfig
|
16
16
|
VUE_APP_WEB_STYLES_KEY=admin.webstylesconfig
|
17
17
|
VUE_APP_API_BASE_URL=http://123.60.214.109:8405
|
18
|
-
VUE_APP_SYSTEM_NAME=af-
|
18
|
+
VUE_APP_SYSTEM_NAME=af-revenue
|
19
19
|
VUE_APP_LOGIN_VERSION=V4
|
20
20
|
|
package/package.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
@action="action"
|
9
9
|
@selectRow="selectRow"
|
10
10
|
@columnClick="columnClick"
|
11
|
-
serviceName="af-
|
11
|
+
serviceName="af-revenue"
|
12
12
|
ref="xFormTable">
|
13
13
|
</x-form-table>
|
14
14
|
</a-card>
|
@@ -26,7 +26,7 @@ export default {
|
|
26
26
|
data () {
|
27
27
|
return {
|
28
28
|
// 查询配置文件名
|
29
|
-
queryParamsName: '
|
29
|
+
queryParamsName: 'UserFilesListCRUD',
|
30
30
|
// 新增表单固定值
|
31
31
|
fixedAddForm: {},
|
32
32
|
// 是否显示详情抽屉
|
@@ -11,16 +11,17 @@
|
|
11
11
|
>
|
12
12
|
<a-skeleton v-if="!loaded" active/>
|
13
13
|
<div
|
14
|
+
class="normal-bill"
|
14
15
|
style="display: flex;justify-content: center;"
|
15
|
-
|
16
|
+
id="normal-bill"
|
16
17
|
v-else
|
17
18
|
v-html="bill.data">
|
18
19
|
</div>
|
19
20
|
</a-modal>
|
20
21
|
<div
|
21
|
-
|
22
|
+
class="normal-bill"
|
22
23
|
style="justify-content: center;"
|
23
|
-
|
24
|
+
id="normal-bill-hide"
|
24
25
|
v-show="false"
|
25
26
|
v-html="bill.data">
|
26
27
|
</div>
|
@@ -118,6 +119,9 @@ export default {
|
|
118
119
|
async print (data) {
|
119
120
|
if (!this.autoPrint) {
|
120
121
|
this.showModal = true
|
122
|
+
this.id = 'normal-bill'
|
123
|
+
} else {
|
124
|
+
this.id = 'normal-bill-hide'
|
121
125
|
}
|
122
126
|
await this.getBillData(data).catch(
|
123
127
|
_err => {
|
@@ -219,85 +223,85 @@ export default {
|
|
219
223
|
</script>
|
220
224
|
<style scoped>
|
221
225
|
|
222
|
-
|
226
|
+
.normal-bill >>> td {
|
223
227
|
padding: 0.5px;
|
224
228
|
border: 2px solid #000000;
|
225
229
|
}
|
226
230
|
|
227
|
-
|
231
|
+
.normal-bill >>> table {
|
228
232
|
border-collapse: collapse;
|
229
233
|
border: solid;
|
230
234
|
}
|
231
235
|
|
232
|
-
|
236
|
+
.normal-bill >>> .noborder {
|
233
237
|
border: 1px dashed #ccc;
|
234
238
|
}
|
235
239
|
|
236
|
-
|
240
|
+
.normal-bill >>> .tdleft {
|
237
241
|
text-align: left;
|
238
242
|
}
|
239
243
|
|
240
|
-
|
244
|
+
.normal-bill >>> .tdright {
|
241
245
|
text-align: right;
|
242
246
|
}
|
243
247
|
|
244
|
-
|
248
|
+
.normal-bill >>> .tdcenter {
|
245
249
|
text-align: center;
|
246
250
|
}
|
247
251
|
|
248
|
-
|
252
|
+
.normal-bill >>> .fs10 {
|
249
253
|
font-size: 0.4em;
|
250
254
|
}
|
251
255
|
|
252
|
-
|
256
|
+
.normal-bill >>> .fs11 {
|
253
257
|
font-size: 0.5em;
|
254
258
|
}
|
255
259
|
|
256
|
-
|
260
|
+
.normal-bill >>> .fs12 {
|
257
261
|
font-size: 0.6em;
|
258
262
|
}
|
259
263
|
|
260
|
-
|
264
|
+
.normal-bill >>> .fs13 {
|
261
265
|
font-size: 0.7em;
|
262
266
|
}
|
263
267
|
|
264
|
-
|
268
|
+
.normal-bill >>> .fs15 {
|
265
269
|
font-size: 0.9em;
|
266
270
|
}
|
267
271
|
|
268
|
-
|
272
|
+
.normal-bill >>> .fs17 {
|
269
273
|
font-size: 1.1em;
|
270
274
|
}
|
271
275
|
|
272
|
-
|
276
|
+
.normal-bill >>> .fs19 {
|
273
277
|
font-size: 1.2em;
|
274
278
|
}
|
275
279
|
|
276
|
-
|
280
|
+
.normal-bill >>> .fs24 {
|
277
281
|
font-size: 1.5em;
|
278
282
|
}
|
279
283
|
|
280
|
-
|
284
|
+
.normal-bill >>> .fs26 {
|
281
285
|
font-size: 1.6em;
|
282
286
|
}
|
283
287
|
|
284
|
-
|
288
|
+
.normal-bill >>> .b {
|
285
289
|
font-weight: bold;
|
286
290
|
}
|
287
291
|
|
288
|
-
|
292
|
+
.normal-bill >>> .td-border-right {
|
289
293
|
border-right: #000000 1px solid;
|
290
294
|
}
|
291
295
|
|
292
|
-
|
296
|
+
.normal-bill >>> .td-border-top {
|
293
297
|
border-top: #000000 1px solid;
|
294
298
|
}
|
295
299
|
|
296
|
-
|
300
|
+
.normal-bill >>> .td-border-left {
|
297
301
|
border-left: #000000 1px solid;
|
298
302
|
}
|
299
303
|
|
300
|
-
|
304
|
+
.normal-bill >>> .td-border-bottom {
|
301
305
|
border-bottom: #000000 1px solid;
|
302
306
|
}
|
303
307
|
|
@@ -59,12 +59,15 @@
|
|
59
59
|
|
60
60
|
<!-- 并行分支容器 -->
|
61
61
|
<div class="parallel-branches-container">
|
62
|
+
<!-- 并行节点标题 -->
|
63
|
+
<a-tag color="cyan" size="small" class="parallel-node-title">
|
64
|
+
<a-icon type="apartment" /> 并行节点
|
65
|
+
</a-tag>
|
62
66
|
<!-- 动态渲染并行分支 -->
|
63
67
|
<div
|
64
68
|
v-for="(branch, branchIndex) in segment.branches"
|
65
69
|
:key="'segment-' + segmentIndex + '-branch-' + branchIndex"
|
66
70
|
class="branch-row">
|
67
|
-
|
68
71
|
<!-- 分支时间轴 -->
|
69
72
|
<div :class="['branch-timeline', getBranchTimelineClass(branch)]">
|
70
73
|
<a-steps size="small" class="branch-steps">
|
@@ -574,20 +577,20 @@ export default {
|
|
574
577
|
/deep/ .ant-steps-item-title {
|
575
578
|
font-size: 14px;
|
576
579
|
h3 {
|
580
|
+
font-size: 14px;
|
577
581
|
margin-bottom: 0;
|
578
582
|
}
|
579
583
|
}
|
580
584
|
}
|
581
585
|
|
582
|
-
|
586
|
+
.parallel-section {
|
583
587
|
display: flex;
|
584
588
|
align-items: flex-start;
|
585
589
|
position: relative;
|
586
590
|
|
587
591
|
.connection-line {
|
588
592
|
width: 2rem;
|
589
|
-
height:
|
590
|
-
// background: #f0f0f0;
|
593
|
+
height: 0;
|
591
594
|
flex-shrink: 0;
|
592
595
|
margin-top: 1rem;
|
593
596
|
|
@@ -599,9 +602,9 @@ export default {
|
|
599
602
|
content: '';
|
600
603
|
position: absolute;
|
601
604
|
left: -4.8rem;
|
602
|
-
top:
|
603
|
-
width:
|
604
|
-
height:
|
605
|
+
top: -1px;
|
606
|
+
width: 7rem;
|
607
|
+
height: 3px;
|
605
608
|
background: #f0f0f0;
|
606
609
|
}
|
607
610
|
}
|
@@ -613,10 +616,10 @@ export default {
|
|
613
616
|
&::before {
|
614
617
|
content: '';
|
615
618
|
position: absolute;
|
616
|
-
right: -4.
|
617
|
-
top:
|
618
|
-
width:
|
619
|
-
height:
|
619
|
+
right: -4.6rem;
|
620
|
+
top: -1px;
|
621
|
+
width: 6.8rem;
|
622
|
+
height: 3px;
|
620
623
|
background: #f0f0f0;
|
621
624
|
}
|
622
625
|
}
|
@@ -624,170 +627,104 @@ export default {
|
|
624
627
|
|
625
628
|
.parallel-branches-container {
|
626
629
|
display: flex;
|
627
|
-
flex-direction: column;
|
628
|
-
gap:
|
629
|
-
|
630
|
-
|
631
|
-
border:
|
630
|
+
flex-direction: column; /* 竖直排列分支节点 */
|
631
|
+
gap: 6px; /* 缩小间距 */
|
632
|
+
align-items: center;
|
633
|
+
position: relative;
|
634
|
+
border: 2px dotted #d9d9d9;
|
632
635
|
border-radius: 8px;
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
.ant-steps-item-tail {
|
650
|
-
top: 7px;
|
651
|
-
margin-left: 70px;
|
652
|
-
width: calc(100% - 16px);
|
653
|
-
}
|
654
|
-
|
655
|
-
.ant-steps-item-icon {
|
656
|
-
margin-left: 60px;
|
657
|
-
width: 8px;
|
658
|
-
height: 8px;
|
659
|
-
line-height: 8px;
|
660
|
-
}
|
661
|
-
|
662
|
-
.ant-steps-item-content {
|
663
|
-
min-width: 160px;
|
664
|
-
margin-top: 24px;
|
665
|
-
|
666
|
-
.ant-steps-item-description {
|
667
|
-
text-align: left;
|
668
|
-
background: #fff;
|
669
|
-
border-radius: 4px;
|
670
|
-
padding: 10px 12px;
|
671
|
-
position: relative;
|
672
|
-
border: 1px solid #f0f0f0;
|
673
|
-
|
674
|
-
p {
|
675
|
-
position: relative;
|
676
|
-
padding: 4px 0;
|
677
|
-
margin: 0;
|
678
|
-
font-size: 12px;
|
679
|
-
color: #666;
|
680
|
-
line-height: 1.4;
|
681
|
-
white-space: nowrap;
|
682
|
-
overflow: visible;
|
683
|
-
|
684
|
-
&:first-child {
|
685
|
-
border-top: 1px dotted #e8e8e8;
|
686
|
-
}
|
687
|
-
|
688
|
-
&:not(:last-child) {
|
689
|
-
border-bottom: 1px dashed #f0f0f0;
|
690
|
-
}
|
691
|
-
|
692
|
-
&:last-child {
|
693
|
-
padding-bottom: 0;
|
694
|
-
}
|
695
|
-
}
|
696
|
-
}
|
697
|
-
}
|
698
|
-
}
|
699
|
-
|
700
|
-
/deep/ .ant-steps-item-title {
|
701
|
-
font-size: 14px;
|
702
|
-
line-height: 22px;
|
703
|
-
margin-bottom: 6px;
|
704
|
-
font-weight: 500;
|
705
|
-
}
|
706
|
-
}
|
707
|
-
|
708
|
-
.branch-step-title {
|
709
|
-
font-size: 14px;
|
710
|
-
font-weight: 500;
|
711
|
-
color: #262626;
|
712
|
-
cursor: pointer;
|
713
|
-
|
714
|
-
&:hover {
|
715
|
-
color: #1890ff;
|
716
|
-
}
|
717
|
-
}
|
718
|
-
|
719
|
-
.branch-step-desc {
|
720
|
-
p {
|
721
|
-
margin: 0;
|
722
|
-
padding: 4px 0;
|
723
|
-
font-size: 12px;
|
724
|
-
color: #666;
|
725
|
-
border: none !important;
|
726
|
-
}
|
727
|
-
}
|
636
|
+
margin: 0 12px;
|
637
|
+
background: #fff;
|
638
|
+
padding-bottom: 14px;
|
639
|
+
|
640
|
+
/* 为并行节点容器添加小标题 */
|
641
|
+
.parallel-node-title {
|
642
|
+
position: absolute;
|
643
|
+
bottom: -10px; /* 调整标题的上下位置 */
|
644
|
+
left: 50%; /* 水平居中 */
|
645
|
+
transform: translateX(-50%); /* 精确水平居中 */
|
646
|
+
background: #fff; /* 背景色与容器一致 */
|
647
|
+
font-size: 12px; /* 标题的字体大小 */
|
648
|
+
border-radius: 4px;
|
649
|
+
}
|
650
|
+
}
|
728
651
|
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
652
|
+
.branch-row {
|
653
|
+
display: flex;
|
654
|
+
flex-direction: column;
|
655
|
+
align-items: center;
|
656
|
+
position: relative;
|
657
|
+
gap: 16px;
|
733
658
|
|
734
|
-
|
735
|
-
|
736
|
-
|
659
|
+
.branch-timeline {
|
660
|
+
padding: 12px 16px;
|
661
|
+
position: relative;
|
662
|
+
min-width: 80px;
|
663
|
+
text-align: center;
|
664
|
+
transition: all 0.3s ease; /* 平滑过渡 */
|
665
|
+
}
|
737
666
|
|
738
|
-
|
739
|
-
|
740
|
-
|
667
|
+
.branch-timeline:hover {
|
668
|
+
transform: scale(1.05); /* 鼠标悬停时放大 */
|
669
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
670
|
+
}
|
741
671
|
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
672
|
+
.branch-step-title {
|
673
|
+
font-size: 14px;
|
674
|
+
font-weight: 500;
|
675
|
+
color: #262626;
|
676
|
+
cursor: pointer;
|
677
|
+
}
|
747
678
|
|
748
|
-
|
749
|
-
|
750
|
-
|
679
|
+
.branch-step-desc {
|
680
|
+
p {
|
681
|
+
margin: 0;
|
682
|
+
padding: 4px 0;
|
683
|
+
font-size: 12px;
|
684
|
+
color: #666;
|
685
|
+
}
|
686
|
+
}
|
751
687
|
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
border-color: #d9d9d9 !important;
|
756
|
-
}
|
688
|
+
/deep/ .ant-steps-icon {
|
689
|
+
color: #fefefe;
|
690
|
+
}
|
757
691
|
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
692
|
+
// 分支步骤节点样式
|
693
|
+
/deep/ .ant-steps-item-icon {
|
694
|
+
width: 20px;
|
695
|
+
height: 20px;
|
696
|
+
line-height: 20px;
|
697
|
+
border-radius: 20px;
|
698
|
+
}
|
762
699
|
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
}
|
700
|
+
/deep/ .ant-steps-item-title {
|
701
|
+
line-height: 20px;
|
702
|
+
}
|
767
703
|
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
704
|
+
// 分支步骤状态颜色
|
705
|
+
/deep/ .branch-step-gray .ant-steps-item-icon {
|
706
|
+
background-color: #bfbfbf !important;
|
707
|
+
border-color: #bfbfbf !important;
|
708
|
+
}
|
772
709
|
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
710
|
+
/deep/ .branch-step-blue .ant-steps-item-icon {
|
711
|
+
background-color: #1890ff !important;
|
712
|
+
border-color: #1890ff !important;
|
713
|
+
}
|
777
714
|
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
715
|
+
/deep/ .branch-step-green .ant-steps-item-icon {
|
716
|
+
background-color: #52c41a !important;
|
717
|
+
border-color: #52c41a !important;
|
718
|
+
}
|
782
719
|
|
783
|
-
|
784
|
-
|
785
|
-
|
720
|
+
/deep/ .branch-step-red .ant-steps-item-icon {
|
721
|
+
background-color: #ff4d4f !important;
|
722
|
+
border-color: #ff4d4f !important;
|
723
|
+
}
|
786
724
|
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
}
|
725
|
+
/deep/ .branch-step-yellow .ant-steps-item-icon {
|
726
|
+
background-color: #faad14 !important;
|
727
|
+
border-color: #faad14 !important;
|
791
728
|
}
|
792
729
|
}
|
793
730
|
}
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<script setup>
|
23
23
|
import { ref, computed } from 'vue'
|
24
24
|
|
25
|
-
|
25
|
+
defineProps({
|
26
26
|
src: String,
|
27
27
|
visible: Boolean
|
28
28
|
})
|
@@ -38,10 +38,13 @@ const imgStyle = computed(() => ({
|
|
38
38
|
transform: `scale(${scale.value}) rotate(${rotate.value}deg) translate(${offset.value.x}px, ${offset.value.y}px)`,
|
39
39
|
cursor: dragging.value ? 'grabbing' : 'grab'
|
40
40
|
}))
|
41
|
-
|
41
|
+
// eslint-disable-next-line no-return-assign
|
42
42
|
const zoomIn = () => scale.value += 0.2
|
43
|
+
// eslint-disable-next-line no-return-assign
|
43
44
|
const zoomOut = () => scale.value = Math.max(0.2, scale.value - 0.2)
|
45
|
+
// eslint-disable-next-line no-return-assign
|
44
46
|
const rotateLeft = () => rotate.value -= 90
|
47
|
+
// eslint-disable-next-line no-return-assign
|
45
48
|
const rotateRight = () => rotate.value += 90
|
46
49
|
const close = () => emits('close')
|
47
50
|
|
@@ -95,4 +98,4 @@ const stopDrag = () => {
|
|
95
98
|
justify-content: center;
|
96
99
|
gap: 10px;
|
97
100
|
}
|
98
|
-
</style>
|
101
|
+
</style>
|
@@ -54,13 +54,13 @@ routerResource.example = {
|
|
54
54
|
path: 'example',
|
55
55
|
name: '示例主页面',
|
56
56
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2.vue'),
|
57
|
-
|
57
|
+
component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
58
58
|
// component: () => import('@vue2-client/pages/addressSelect/addressDemo.vue'),
|
59
59
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
60
60
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
61
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
62
62
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
63
|
-
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
63
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
64
64
|
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
65
65
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
66
66
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
package/vue.config.js
CHANGED
@@ -15,8 +15,8 @@ const v3Server = 'http://aote-office.8866.org:31567'
|
|
15
15
|
// const gateway = 'http://192.168.50.67:31467'
|
16
16
|
// const testUpload = 'http://123.60.214.109:8406'
|
17
17
|
const OSSServerDev = 'http://192.168.50.67:30351'
|
18
|
-
|
19
|
-
const revenue = 'http://127.0.0.1:31467'
|
18
|
+
const revenue = 'http://aote-office.8866.org:31567'
|
19
|
+
// const revenue = 'http://127.0.0.1:31467'
|
20
20
|
// const OSSServerProd = 'http://192.168.50.67:31351'
|
21
21
|
// const testUploadLocal = 'http://127.0.0.1:9001'
|
22
22
|
// v3 铜川
|