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 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-apply
18
+ VUE_APP_SYSTEM_NAME=af-revenue
19
19
  VUE_APP_LOGIN_VERSION=V4
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.15.72",
3
+ "version": "1.15.74",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -8,7 +8,7 @@
8
8
  @action="action"
9
9
  @selectRow="selectRow"
10
10
  @columnClick="columnClick"
11
- serviceName="af-system"
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: 'ceshiCRUD',
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
- :id="id"
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
- v-if="!showModal"
22
+ class="normal-bill"
22
23
  style="justify-content: center;"
23
- :id="id"
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
- #normal-bill >>> td {
226
+ .normal-bill >>> td {
223
227
  padding: 0.5px;
224
228
  border: 2px solid #000000;
225
229
  }
226
230
 
227
- #normal-bill >>> table {
231
+ .normal-bill >>> table {
228
232
  border-collapse: collapse;
229
233
  border: solid;
230
234
  }
231
235
 
232
- #normal-bill >>> .noborder {
236
+ .normal-bill >>> .noborder {
233
237
  border: 1px dashed #ccc;
234
238
  }
235
239
 
236
- #normal-bill >>> .tdleft {
240
+ .normal-bill >>> .tdleft {
237
241
  text-align: left;
238
242
  }
239
243
 
240
- #normal-bill >>> .tdright {
244
+ .normal-bill >>> .tdright {
241
245
  text-align: right;
242
246
  }
243
247
 
244
- #normal-bill >>> .tdcenter {
248
+ .normal-bill >>> .tdcenter {
245
249
  text-align: center;
246
250
  }
247
251
 
248
- #normal-bill >>> .fs10 {
252
+ .normal-bill >>> .fs10 {
249
253
  font-size: 0.4em;
250
254
  }
251
255
 
252
- #normal-bill >>> .fs11 {
256
+ .normal-bill >>> .fs11 {
253
257
  font-size: 0.5em;
254
258
  }
255
259
 
256
- #normal-bill >>> .fs12 {
260
+ .normal-bill >>> .fs12 {
257
261
  font-size: 0.6em;
258
262
  }
259
263
 
260
- #normal-bill >>> .fs13 {
264
+ .normal-bill >>> .fs13 {
261
265
  font-size: 0.7em;
262
266
  }
263
267
 
264
- #normal-bill >>> .fs15 {
268
+ .normal-bill >>> .fs15 {
265
269
  font-size: 0.9em;
266
270
  }
267
271
 
268
- #normal-bill >>> .fs17 {
272
+ .normal-bill >>> .fs17 {
269
273
  font-size: 1.1em;
270
274
  }
271
275
 
272
- #normal-bill >>> .fs19 {
276
+ .normal-bill >>> .fs19 {
273
277
  font-size: 1.2em;
274
278
  }
275
279
 
276
- #normal-bill >>> .fs24 {
280
+ .normal-bill >>> .fs24 {
277
281
  font-size: 1.5em;
278
282
  }
279
283
 
280
- #normal-bill >>> .fs26 {
284
+ .normal-bill >>> .fs26 {
281
285
  font-size: 1.6em;
282
286
  }
283
287
 
284
- #normal-bill >>> .b {
288
+ .normal-bill >>> .b {
285
289
  font-weight: bold;
286
290
  }
287
291
 
288
- #normal-bill >>> .td-border-right {
292
+ .normal-bill >>> .td-border-right {
289
293
  border-right: #000000 1px solid;
290
294
  }
291
295
 
292
- #normal-bill >>> .td-border-top {
296
+ .normal-bill >>> .td-border-top {
293
297
  border-top: #000000 1px solid;
294
298
  }
295
299
 
296
- #normal-bill >>> .td-border-left {
300
+ .normal-bill >>> .td-border-left {
297
301
  border-left: #000000 1px solid;
298
302
  }
299
303
 
300
- #normal-bill >>> .td-border-bottom {
304
+ .normal-bill >>> .td-border-bottom {
301
305
  border-bottom: #000000 1px solid;
302
306
  }
303
307
 
@@ -6,7 +6,7 @@ export default {
6
6
  components: { WorkflowDetail },
7
7
  mounted () {
8
8
  this.$refs.workFlow.init({
9
- workflowId: '376'
9
+ workflowId: '1801'
10
10
  })
11
11
  },
12
12
  methods: {
@@ -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
- .parallel-section {
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: 0px;
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: 0;
603
- width: 6rem;
604
- height: 2.5px;
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.5rem;
617
- top: 0;
618
- width: 6rem;
619
- height: 2.5px;
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: 16px;
629
- padding: 16px 20px;
630
- background: #fafafa;
631
- border: 1px solid #e0e0e0;
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
- min-width: 400px;
634
- width: fit-content;
635
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
636
-
637
- .branch-row {
638
- .branch-timeline {
639
- padding: 12px 16px;
640
- background: #fff;
641
- border-radius: 6px;
642
- border-left: 4px solid #d9d9d9;
643
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
644
-
645
- .branch-steps {
646
- /deep/ .ant-steps-dot {
647
- margin-bottom: 6px;
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
- // &:nth-child(1) {
731
- // border-left-color: #52c41a;
732
- // }
652
+ .branch-row {
653
+ display: flex;
654
+ flex-direction: column;
655
+ align-items: center;
656
+ position: relative;
657
+ gap: 16px;
733
658
 
734
- // &:nth-child(2) {
735
- // border-left-color: #1890ff;
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
- // &:nth-child(3) {
739
- // border-left-color: #722ed1;
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
- &:hover {
743
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
744
- transform: translateY(-2px);
745
- transition: all 0.3s ease;
746
- }
672
+ .branch-step-title {
673
+ font-size: 14px;
674
+ font-weight: 500;
675
+ color: #262626;
676
+ cursor: pointer;
677
+ }
747
678
 
748
- /deep/ .ant-steps-icon {
749
- color: #f0f0f0;
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
- /deep/ .branch-step-gray .ant-steps-item-icon {
754
- background-color: #d9d9d9 !important;
755
- border-color: #d9d9d9 !important;
756
- }
688
+ /deep/ .ant-steps-icon {
689
+ color: #fefefe;
690
+ }
757
691
 
758
- /deep/ .branch-step-blue .ant-steps-item-icon {
759
- background-color: #1890ff !important;
760
- border-color: #1890ff !important;
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
- /deep/ .branch-step-green .ant-steps-item-icon {
764
- background-color: #52c41a !important;
765
- border-color: #52c41a !important;
766
- }
700
+ /deep/ .ant-steps-item-title {
701
+ line-height: 20px;
702
+ }
767
703
 
768
- /deep/ .branch-step-red .ant-steps-item-icon {
769
- background-color: #ff4d4f !important;
770
- border-color: #ff4d4f !important;
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
- /deep/ .branch-step-yellow .ant-steps-item-icon {
774
- background-color: #faad14 !important;
775
- border-color: #faad14 !important;
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
- &.branch-timeline-gray {
780
- border-left-color: #d9d9d9;
781
- }
715
+ /deep/ .branch-step-green .ant-steps-item-icon {
716
+ background-color: #52c41a !important;
717
+ border-color: #52c41a !important;
718
+ }
782
719
 
783
- &.branch-timeline-green {
784
- border-left-color: #52c41a;
785
- }
720
+ /deep/ .branch-step-red .ant-steps-item-icon {
721
+ background-color: #ff4d4f !important;
722
+ border-color: #ff4d4f !important;
723
+ }
786
724
 
787
- &.branch-timeline-blue {
788
- border-left-color: #1890ff;
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
- const props = defineProps({
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
- // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
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
- // const revenue = 'http://aote-office.8866.org:31567'
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 铜川