cloud-web-corejs 1.1.0-dev.45 → 1.1.0-dev.48

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.
Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/src/app-bootstrap.js +6 -5
  3. package/src/components/Qrcode/fileParse.vue +11 -0
  4. package/src/components/VabUpload/index.js +11 -4
  5. package/src/components/VabUpload/mixins/fileLibraryDialog.js +2 -0
  6. package/src/components/VabUpload/mixins.js +72 -40
  7. package/src/components/VabUpload/partUploadConfig.js +95 -0
  8. package/src/components/VabUpload/privateProfileDialogMixins.js +2 -0
  9. package/src/components/baseInputExport/mixins.js +1 -0
  10. package/src/components/fileLibrary/mixins/indexMixins.js +2 -0
  11. package/src/components/jdPrint/mixins.js +2 -0
  12. package/src/components/obsUpload/index.js +4 -1
  13. package/src/components/obsUpload/mixins.js +45 -15
  14. package/src/components/onlineTalk/mixins.js +11 -0
  15. package/src/components/table/index.js +74 -78
  16. package/src/components/xform/docs/2026-09 /346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206P0/344/273/243/347/240/201/350/257/204/345/256/241.md" +255 -0
  17. package/src/components/xform/docs/2026-09 /346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206P0/346/265/213/350/257/225/351/252/214/350/257/201/345/256/236/346/226/275/346/226/207/346/241/243.md" +595 -0
  18. package/src/components/xform/docs//346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206/344/270/216/344/277/256/345/244/215/350/220/275/345/234/260/346/226/271/346/241/210.md +324 -0
  19. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +1 -1
  20. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -0
  21. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +2 -2
  22. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +24 -0
  23. package/src/components/xform/form-render/container-item/data-table-mixin.js +420 -47
  24. package/src/components/xform/form-render/container-item/list-h5-item.vue +109 -38
  25. package/src/components/xform/styles/h5-designer.scss +13 -13
  26. package/src/components/xform/styles/h5-runtime.scss +520 -0
  27. package/src/components/xform/styles/h5.scss +5 -2
  28. package/src/components/xform/utils/util.js +9 -0
  29. package/src/layout/components/TagsView/index.vue +11 -10
  30. package/src/layout/components/TagsView/style.scss +92 -0
  31. package/src/styles/btn.scss +214 -3
  32. package/src/styles/dialog.scss +1710 -0
  33. package/src/styles/element-ui.scss +957 -36
  34. package/src/styles/index.scss +45 -0
  35. package/src/styles/layout-skins.scss +840 -0
  36. package/src/styles/mixin.scss +8 -0
  37. package/src/styles/page-shell.scss +622 -0
  38. package/src/styles/sidebar.scss +15 -0
  39. package/src/styles/utilities.scss +234 -118
  40. package/src/styles/variables.scss +28 -0
  41. package/src/views/user/home/wjl/content.vue +5 -0
  42. package/src/views/user/intf_permission/edit.vue +230 -0
  43. package/src/views/user/intf_permission/list.vue +196 -0
@@ -33,6 +33,14 @@
33
33
  white-space: nowrap;
34
34
  }
35
35
 
36
+ @mixin clamp($lines: 2) {
37
+ display: -webkit-box;
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ -webkit-line-clamp: $lines;
41
+ -webkit-box-orient: vertical;
42
+ }
43
+
36
44
  @mixin pct($pct) {
37
45
  width: #{$pct};
38
46
  position: relative;
@@ -0,0 +1,622 @@
1
+ // Core 列表/详情页白底壳。仅由 styles/index.scss 引入一次。
2
+ // 从历史 style.scss 迁入:body 内覆盖保留 body 前缀,顶层 #containt 保持原选择器。
3
+ @import "./variables.scss";
4
+ @import "./mixin.scss";
5
+
6
+ body {
7
+ .grid-height {
8
+ //height: calc(100vh - 50.5px);
9
+ > div {
10
+ height: inherit;
11
+ }
12
+ .el-drawer__wrapper {
13
+ position: absolute;
14
+ .el-drawer__body {
15
+ padding: 0;
16
+ border-top: solid 1px $bg-color-disabled;
17
+ #containt {
18
+ margin: 0;
19
+ // .el-tab-pane{
20
+ // .grid-height{height:calc(100vh - 224px)}
21
+ // .detail-wrap .d-cont{height: calc(100vh - 256px);}
22
+ // }
23
+ }
24
+ .vxe-grid {
25
+ .vxe-grid--pager-wrapper {
26
+ min-height: 0;
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ #app {
33
+ #containt.designer-view {
34
+ background: none;
35
+ box-shadow: none;
36
+ }
37
+ }
38
+ #containt.list-drag {
39
+ overflow: hidden;
40
+ .tree-box {
41
+ white-space: nowrap;
42
+ width: 28%;
43
+ min-width: 28%;
44
+ .grid-height {
45
+ .vxe-grid .screen-box {
46
+ white-space: initial;
47
+ }
48
+ }
49
+ }
50
+ .main-right {
51
+ width: 72%;
52
+ margin-left: -9px;
53
+ padding-left: 9px;
54
+ height: 100%;
55
+ }
56
+ }
57
+ .dialog-style.list-dialog.full-height.home .el-dialog__body #containt {
58
+ padding: 10px 10px 0;
59
+ .detail-wrap .d-cont {
60
+ height: calc(100vh - 105px);
61
+ }
62
+ }
63
+ }
64
+
65
+ .app-main #containt {
66
+ margin: 0 10px;
67
+ position: relative;
68
+ z-index: 9;
69
+ border-radius: 0 0 2px 2px;
70
+ height: 100%;
71
+ .detail-wrap {
72
+ .d-header {
73
+ margin: -8px -12px 0;
74
+ }
75
+ .d-cont {
76
+ margin: 0 -12px;
77
+ width: calc(100% + 24px);
78
+ }
79
+ }
80
+ }
81
+ /* 外链页面(#/outLinkView、#/form_outLinkView 等)不走 layout,没有 .app-main 撑高度,
82
+ #containt 只能被内容撑开,列表/详情会塌陷显示不全,这里补上与 .app-main 一致的高度 */
83
+ #app > #containt {
84
+ height: 100vh;
85
+ > #containt {
86
+ height: 100%;
87
+ }
88
+ }
89
+ #containt {
90
+ background-color: #fff;
91
+ border-radius: $control-radius;
92
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); /*margin:10px;*/
93
+ overflow-x: hidden;
94
+ > .el-form {
95
+ padding: 8px 10px 0;
96
+ .title b {
97
+ margin-left: 0;
98
+ }
99
+ }
100
+ .h5-wrap {
101
+ .fix-bottom-btns .btn {
102
+ padding: 10px;
103
+ }
104
+ }
105
+ .detail-wrap {
106
+ position: relative;
107
+ overflow: inherit;
108
+ height: 100%;
109
+ display: flex;
110
+ flex-direction: column;
111
+ > .el-form {
112
+ display: flex;
113
+ flex-direction: column;
114
+ height: 100%;
115
+ .el-form + div {
116
+ flex: 1;
117
+ overflow-y: auto;
118
+ overflow-x: hidden;
119
+ min-height: 0;
120
+ }
121
+ }
122
+ .d-header {
123
+ border-bottom: solid 1px $borderColor;
124
+ height: 40px;
125
+ line-height: 40px;
126
+ padding: 0 24px 0 14px;
127
+ font-size: 13px;
128
+ + div {
129
+ flex: 1;
130
+ overflow-y: auto;
131
+ overflow-x: hidden;
132
+ }
133
+ .fl {
134
+ .button-sty {
135
+ margin-left: 20px;
136
+ position: relative;
137
+ i {
138
+ color: #fff;
139
+ &.icon-add {
140
+ position: absolute;
141
+ left: -1px;
142
+ top: 3px;
143
+ background-color: #fff;
144
+ width: 8px;
145
+ height: 8px;
146
+ }
147
+ }
148
+ }
149
+ > i {
150
+ color: $baseColor;
151
+ display: inline-block;
152
+ vertical-align: middle;
153
+ margin-right: 6px;
154
+ margin-bottom: 1px;
155
+ font-size: 14px;
156
+ font-size: 14px;
157
+ }
158
+ .el-tag {
159
+ margin-left: 12px;
160
+ }
161
+ }
162
+ .fr {
163
+ .button-sty {
164
+ display: inline-block;
165
+ vertical-align: middle;
166
+ margin-bottom: 2px;
167
+ }
168
+ .groupbutton {
169
+ margin-bottom: 3px;
170
+ }
171
+ .el-form + .el-button,
172
+ .field-wrapper + .field-wrapper {
173
+ margin-left: 10px;
174
+ }
175
+ .field-wrapper {
176
+ display: inline-block !important;
177
+ }
178
+ }
179
+ }
180
+ .d-cont {
181
+ overflow: auto;
182
+ padding-top: 14px;
183
+ padding: 10px 12px 0;
184
+ //height: inherit; 这样设置表单做的详情页会有问题
185
+ height:auto;
186
+ .d-item {
187
+ border: solid 1px $borderColor;
188
+ padding: 0 112px 14px 12px;
189
+ &:last-child {
190
+ margin-bottom: 10px;
191
+ }
192
+ .btn-close-open {
193
+ font-weight: 400;
194
+ font-size: $fontSizeBase;
195
+ margin: 5px 41px 0 -76px;
196
+ cursor: pointer;
197
+ }
198
+ .title {
199
+ .stat-txt {
200
+ float: right;
201
+ line-height: 28px;
202
+ span {
203
+ display: inline-block;
204
+ color: $red;
205
+ background-color: transparentize($red, 0.9);
206
+ border-radius: 8px;
207
+ line-height: 26px;
208
+ padding: 0 6px;
209
+ }
210
+ }
211
+ }
212
+ .title-form {
213
+ margin-top: 8px;
214
+ margin-left: 4px;
215
+ > span {
216
+ width: 230px;
217
+ display: inline-block;
218
+ }
219
+ }
220
+ .button-sty,
221
+ .el-input {
222
+ vertical-align: middle;
223
+ line-height: 26px;
224
+ }
225
+ &.product-info {
226
+ padding-right: 0;
227
+ margin-bottom: 0;
228
+ padding-bottom: 0;
229
+ .pi-item {
230
+ border-top: solid 1px $border-color-lighter;
231
+ padding: 7px 12px;
232
+ margin: 0 0 0 -12px;
233
+ padding-bottom: 3px;
234
+ // .tree-box{height: calc(100vh - 230px);}
235
+ // #labBtn{height: calc(100vh - 220px);}
236
+ .main-right {
237
+ padding: 0;
238
+ width: 86%;
239
+ .grid-height {
240
+ // height: calc(100vh - 230px);
241
+ // .vxe-grid-block{height: calc(100vh - 342px);}
242
+ .screen-btns .el-radio {
243
+ line-height: 28px;
244
+ height: $control-height;
245
+ }
246
+ }
247
+ }
248
+ .pro-annex .pa-cont {
249
+ border: none;
250
+ margin-top: 0;
251
+ .nav {
252
+ width: 100%;
253
+ border-right: none;
254
+ }
255
+ }
256
+ }
257
+ }
258
+ .style1 {
259
+ .d-item {
260
+ padding-right: 12px;
261
+ margin: 4px 0 12px;
262
+ }
263
+ > .d-item:last-child {
264
+ margin-bottom: 0;
265
+ }
266
+ .m-2 {
267
+ margin: 0 -4px;
268
+ }
269
+ }
270
+ .m-2 {
271
+ display: flex;
272
+ .d-item {
273
+ flex: 1;
274
+ margin: 6px 8px;
275
+ .grid-h {
276
+ margin-top: 5px;
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ &[visible-key="showBillEdit"] .d-cont {
283
+ height: 73vh;
284
+ }
285
+ .slide-nav {
286
+ top: 120px;
287
+ right: 28px;
288
+ }
289
+ //.tabCard-sty1 > .el-tabs__content .d-cont{height: calc(100vh - 154px) }
290
+ // &.style{
291
+ // .d-header{height:auto;
292
+ // .product-detail_xx{height:10vh}
293
+ // }
294
+ // }
295
+
296
+ .postscript-box {
297
+ padding-left: 26px;
298
+ > .item {
299
+ border-bottom: solid 1px $border-color-lighter;
300
+ overflow: hidden;
301
+ padding: 6px 0 18px;
302
+ font-size: $fontSizeBase;
303
+ .name {
304
+ float: left;
305
+ font-size: 13px;
306
+ color: $text-color-darker;
307
+ line-height: 21px;
308
+ }
309
+ .time {
310
+ color: #225076;
311
+ display: inline-block;
312
+ background: #22507614;
313
+ padding: 2px 6px;
314
+ border-radius: $control-radius;
315
+ }
316
+ .txt {
317
+ padding: 8px 0 12px;
318
+ color: $text-color-dark;
319
+ }
320
+ .attach-box {
321
+ overflow: hidden;
322
+ }
323
+ }
324
+ }
325
+ }
326
+
327
+ .detail-box {
328
+ border: solid 1px $border-color-lighter;
329
+ min-height: 268px;
330
+ margin: 16px 6px 0;
331
+ .t {
332
+ padding: 0 12px;
333
+ height: 25px;
334
+ line-height: 32px;
335
+ display: inline-block;
336
+ background: #fff;
337
+ margin-left: 7px;
338
+ float: left;
339
+ margin-top: -16px;
340
+ font-size: 14px;
341
+ position: relative;
342
+ color: $baseColor;
343
+ &:before {
344
+ content: "";
345
+ position: absolute;
346
+ left: 0;
347
+ top: 13px;
348
+ width: 5px;
349
+ height: 5px;
350
+ border-radius: 1px;
351
+ background-color: #cdcdcd;
352
+ }
353
+ &:after {
354
+ content: "";
355
+ position: absolute;
356
+ right: 0;
357
+ top: 13px;
358
+ width: 5px;
359
+ height: 5px;
360
+ border-radius: 1px;
361
+ background-color: #cdcdcd;
362
+ }
363
+ }
364
+ .grid-height {
365
+ padding: 12px 10px;
366
+ height: 100%;
367
+ }
368
+ }
369
+
370
+ .main-right {
371
+ width: 86%;
372
+ .breadcrumb-sty {
373
+ height: $control-height;
374
+ line-height: 27px;
375
+ margin-left: 24px;
376
+ vertical-align: middle;
377
+ .el-icon-map-location {
378
+ font-size: 15px;
379
+ vertical-align: middle;
380
+ margin-right: 4px;
381
+ color: $baseColor;
382
+ margin-top: 7px;
383
+ float: left;
384
+ }
385
+ > span {
386
+ vertical-align: middle;
387
+ }
388
+ }
389
+ }
390
+ .review-right .rq-editItem .upload-img {
391
+ margin-bottom: 0 !important;
392
+ }
393
+ .upload-img {
394
+ margin-bottom: 10px !important;
395
+ .upload-list {
396
+ margin-right: 10px;
397
+ width: 103px;
398
+ display: inline-block;
399
+ float: left;
400
+ position: relative;
401
+ margin-bottom: 9px;
402
+ a {
403
+ font-size: 0;
404
+ display: block;
405
+ }
406
+ a[target="view_window"] {
407
+ border: dashed 1px #c0ccda;
408
+ background-color: #fbfdff;
409
+ border-radius: $control-radius;
410
+ height: 103px;
411
+ width: 103px;
412
+ display: table-cell;
413
+ vertical-align: middle;
414
+ text-align: center;
415
+ line-height: 0;
416
+ .img {
417
+ max-width: 100%;
418
+ max-height: 100%;
419
+ }
420
+ }
421
+ .tit {
422
+ @include clamp(2);
423
+ width: 100%;
424
+ text-align: left;
425
+ height: 27px;
426
+ line-height: 14px;
427
+ word-break: break-all;
428
+ }
429
+ .del {
430
+ position: absolute;
431
+ color: $red;
432
+ right: -6px;
433
+ top: -6px;
434
+ font-size: 21px;
435
+ background: #fff;
436
+ border-radius: 50%;
437
+ line-height: 21px;
438
+ }
439
+ }
440
+ .el-upload {
441
+ .avatar-uploader {
442
+ float: left;
443
+ cursor: pointer;
444
+ }
445
+ }
446
+ }
447
+ .vxe-grid {
448
+ #uploadImage.upload-img {
449
+ margin-bottom: 0 !important;
450
+ min-height: inherit;
451
+ .upload-list {
452
+ width: 28px !important;
453
+ height: $control-height !important;
454
+ margin: 2px 8px 2px 0; //width为36的时候普通列表高度有问题
455
+ a {
456
+ line-height: 1;
457
+ }
458
+ .del {
459
+ right: -4px;
460
+ top: -2px;
461
+ font-size: 14px;
462
+ }
463
+ }
464
+ .avatar-uploader {
465
+ width: 29px !important;
466
+ height: 29px !important;
467
+ line-height: 28px !important;
468
+ font-size: 18px;
469
+ margin: 2px 0;
470
+ .avatar-uploader-icon {
471
+ font-size: inherit !important;
472
+ }
473
+ }
474
+ }
475
+ .upload-img1 {
476
+ #uploadImage {
477
+ white-space: nowrap;
478
+ > div {
479
+ float: none !important;
480
+ }
481
+ }
482
+ .avatar-uploader {
483
+ width: 66px;
484
+ height: 66px;
485
+ line-height: 66px;
486
+ margin-bottom: 0;
487
+ }
488
+ .el-upload-list .el-upload-list__item {
489
+ width: 180px;
490
+ height: 66px;
491
+ padding-left: 68px;
492
+ margin-bottom: 0;
493
+ margin-right: 6px;
494
+ .el-upload-list__item-name p:first-child {
495
+ margin-top: 2px;
496
+ white-space: nowrap;
497
+ }
498
+ .el-upload-list__item-thumbnail {
499
+ width: 60px;
500
+ height: 60px;
501
+ padding: 2px 4px;
502
+ margin-left: -60px;
503
+ p {
504
+ width: 58px;
505
+ height: 58px;
506
+ }
507
+ }
508
+ }
509
+ }
510
+ }
511
+
512
+ &.resize-ing {
513
+ cursor: e-resize !important;
514
+ -moz-user-select: none;
515
+ -webkit-user-select: none;
516
+ -ms-user-select: none;
517
+ -khtml-user-select: none;
518
+ user-select: none;
519
+ .drag-item {
520
+ -webkit-transition: all 0s ease;
521
+ -o-transition: all 0s ease;
522
+ transition: all 0s ease;
523
+ }
524
+ &.transverse {
525
+ cursor: n-resize !important;
526
+ }
527
+ }
528
+
529
+ // .el-tab-pane .el-tab-pane{
530
+ // .detail-wrap .d-cont{height: calc(100vh - 149px);}
531
+ // .grid-height{height: calc(100vh - 117px);}
532
+ // }
533
+ //.el-tab-pane .el-tab-pane .el-tab-pane .grid-height{height: calc(100vh - 151px);}
534
+ .mce-container,
535
+ .mce-container *,
536
+ .mce-widget,
537
+ .mce-widget *,
538
+ .mce-reset {
539
+ font-size: $fontSizeBase;
540
+ }
541
+ .mce-panel {
542
+ border-color: $border-color-soft;
543
+ box-shadow: none;
544
+ width: calc(100% - 1px) !important;
545
+ .mce-btn button {
546
+ font-size: $fontSizeBase;
547
+ }
548
+ .mce-branding {
549
+ display: none;
550
+ }
551
+ .mce-top-part::before {
552
+ display: none;
553
+ }
554
+ }
555
+ }
556
+
557
+ .app-main #containt.detail-outBox {
558
+ height: calc(100vh - 42px);
559
+ .d-header {
560
+ margin: 0;
561
+ }
562
+ .d-cont {
563
+ margin: 0;
564
+ width: 100%;
565
+ }
566
+ }
567
+
568
+ .slide-nav {
569
+ position: fixed;
570
+ top: 68px;
571
+ right: 23px;
572
+ background: #fff;
573
+ color: $baseColor;
574
+ border-radius: 10px 0 0 10px;
575
+ border: solid 1px $baseColor;
576
+ border-right: none;
577
+ line-height: 30px;
578
+ padding: 0 14px;
579
+ z-index: 99;
580
+ font-size: $fontSizeBase;
581
+ &:before {
582
+ content: "";
583
+ font-family: element-icons !important;
584
+ font-size: 14px;
585
+ vertical-align: bottom;
586
+ margin-right: 2px;
587
+ vertical-align: middle;
588
+ }
589
+ &:hover {
590
+ background-color: transparentize($baseColor, 0.83);
591
+ border-right: none;
592
+ color: $baseColor;
593
+ p {
594
+ width: auto;
595
+ }
596
+ }
597
+ p {
598
+ display: inline-block;
599
+ white-space: nowrap;
600
+ width: 48px;
601
+ min-width: 48px;
602
+ vertical-align: middle;
603
+ margin: 0;
604
+ overflow: hidden;
605
+ }
606
+ }
607
+ .slide-wrap {
608
+ position: absolute;
609
+ margin-top: 10px;
610
+ right: -6px;
611
+ text-align: right;
612
+ z-index: 999;
613
+ overflow: auto;
614
+ max-height: calc(100vh - 163px);
615
+ .slide-nav {
616
+ position: static;
617
+ top: inherit;
618
+ right: inherit;
619
+ margin-bottom: 4px;
620
+ display: inline-block;
621
+ }
622
+ }
@@ -279,3 +279,18 @@
279
279
  &:before{margin-right:8px;}
280
280
  }
281
281
  }
282
+
283
+ body.hideMenu {
284
+ .sidebar-container {
285
+ z-index: 1001 !important;
286
+ }
287
+ }
288
+
289
+ body {
290
+ .search-btn.el-input {
291
+ width: calc(100% + 16px) !important;
292
+ padding: 2px 16px 10px;
293
+ border-bottom: solid 2px $bg-color-page;
294
+ margin: 0 -8px;
295
+ }
296
+ }