@vtx/modals2 2.15.47 → 2.15.49

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 (76) hide show
  1. package/lib/style/index.css +3 -0
  2. package/lib/style/themes/dark.css +3 -0
  3. package/lib/style/themes/dark.less +2 -0
  4. package/lib/style/themes/default.css +1 -0
  5. package/lib/style/themes/default.less +1 -0
  6. package/lib/style/themes/index.css +3 -0
  7. package/lib/vm-sub-title/style/index.css +1 -0
  8. package/lib/vm-sub-title/style/index.less +1 -0
  9. package/lib/vm-video/index.css +3 -0
  10. package/lib/vtx-base-modal/style/index.css +20 -0
  11. package/lib/vtx-base-modal/style/index.less +22 -0
  12. package/lib/vtx-car-modal/style/index.css +3 -0
  13. package/lib/vtx-cc-cp-modal/style/index.css +3 -0
  14. package/lib/vtx-cc-unit-modal/style/index.css +3 -0
  15. package/lib/vtx-cp-modal/style/index.css +3 -0
  16. package/lib/vtx-default-modal/style/index.css +3 -0
  17. package/lib/vtx-df-modal/style/index.css +3 -0
  18. package/lib/vtx-facility-modal/config.js +31 -1
  19. package/lib/vtx-facility-modal/config.js.map +1 -1
  20. package/lib/vtx-kh-modal/style/index.css +3 -0
  21. package/lib/vtx-road-modal/style/index.css +3 -0
  22. package/lib/vtx-staff-modal/api.js +128 -36
  23. package/lib/vtx-staff-modal/api.js.map +1 -1
  24. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +4 -3
  25. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  26. package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -4
  27. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  28. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +4 -3
  29. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  30. package/lib/vtx-staff-modal/components/Attendance/index.css +30 -3
  31. package/lib/vtx-staff-modal/components/Attendance/index.js +38 -7
  32. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  33. package/lib/vtx-staff-modal/components/Attendance/index.less +24 -4
  34. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +119 -0
  35. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js.map +1 -0
  36. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +30 -22
  37. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  38. package/lib/vtx-staff-modal/components/BaseInfo/WorkStaticDay.js +145 -0
  39. package/lib/vtx-staff-modal/components/BaseInfo/WorkStaticDay.js.map +1 -0
  40. package/lib/vtx-staff-modal/components/BaseInfo/index.css +144 -52
  41. package/lib/vtx-staff-modal/components/BaseInfo/index.js +90 -106
  42. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  43. package/lib/vtx-staff-modal/components/BaseInfo/index.less +112 -52
  44. package/lib/vtx-staff-modal/components/Equipment/index.css +29 -2
  45. package/lib/vtx-staff-modal/components/Equipment/index.js +27 -2
  46. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  47. package/lib/vtx-staff-modal/components/Equipment/index.less +27 -2
  48. package/lib/vtx-staff-modal/components/StaticInfo/Charts.js +161 -0
  49. package/lib/vtx-staff-modal/components/StaticInfo/Charts.js.map +1 -0
  50. package/lib/vtx-staff-modal/components/StaticInfo/index.css +348 -0
  51. package/lib/vtx-staff-modal/components/StaticInfo/index.js +131 -0
  52. package/lib/vtx-staff-modal/components/StaticInfo/index.js.map +1 -0
  53. package/lib/vtx-staff-modal/components/StaticInfo/index.less +284 -0
  54. package/lib/vtx-staff-modal/imgs/caution.png +0 -0
  55. package/lib/vtx-staff-modal/imgs/help.png +0 -0
  56. package/lib/vtx-staff-modal/imgs/rjzx.png +0 -0
  57. package/lib/vtx-staff-modal/imgs/rjzx_light.png +0 -0
  58. package/lib/vtx-staff-modal/imgs/time.png +0 -0
  59. package/lib/vtx-staff-modal/imgs/todayOnline.png +0 -0
  60. package/lib/vtx-staff-modal/imgs/todayOnline_light.png +0 -0
  61. package/lib/vtx-staff-modal/imgs/todayWork.png +0 -0
  62. package/lib/vtx-staff-modal/imgs/todayWork_light.png +0 -0
  63. package/lib/vtx-staff-modal/imgs/zzx.png +0 -0
  64. package/lib/vtx-staff-modal/imgs/zzx_light.png +0 -0
  65. package/lib/vtx-staff-modal/index.js +16 -3
  66. package/lib/vtx-staff-modal/index.js.map +1 -1
  67. package/lib/vtx-staff-modal/style/index.css +3 -0
  68. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +8 -3
  69. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
  70. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +2 -1
  71. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
  72. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +2 -2
  73. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
  74. package/lib/vtx-wr-modal/style/index.css +3 -0
  75. package/lib/vtx-zg-modal/style/index.css +3 -0
  76. package/package.json +2 -2
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -56,6 +56,7 @@
56
56
  --arrow-icon-color: #355e5f;
57
57
  --block-bg-color: rgba(255, 255, 255, 0.1);
58
58
  --block-bg-color2: rgba(48, 118, 114, 0.2);
59
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
59
60
  --info-active: #40ffd3;
60
61
  --info-active2: #52c41a;
61
62
  --info-active3: #40ffd3;
@@ -87,6 +88,7 @@
87
88
  --sub-title-color: rgba(100, 188, 255, 1);
88
89
  --label-color: #fff;
89
90
  --info-color: rgba(116, 187, 244, 1);
91
+ --calendar-content-sigle-bg: #1464a62e;
90
92
  --border-color: #1464a6;
91
93
  --scroll-bar-bg: #39cbc3aa;
92
94
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 1);
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -4,6 +4,7 @@
4
4
  line-height: 20px;
5
5
  margin-bottom: 16px;
6
6
  position: relative;
7
+ width: 100%;
7
8
  }
8
9
  .sub-title.dark {
9
10
  font-family: PingFangSC-Semibold, PingFang SC;
@@ -4,6 +4,7 @@
4
4
  line-height: 20px;
5
5
  margin-bottom: 16px;
6
6
  position: relative;
7
+ width: 100%;
7
8
  &.dark {
8
9
  font-family: PingFangSC-Semibold, PingFang SC;
9
10
  font-weight: 600;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -451,6 +451,19 @@ p {
451
451
  .vtx-business-modal.blue .ant-empty-description {
452
452
  color: var(--info-color);
453
453
  }
454
+ .vtx-business-modal.blue .ant-radio-button-wrapper {
455
+ border: 1px solid rgba(204, 204, 204, 0.3);
456
+ background-color: transparent;
457
+ color: #fff;
458
+ }
459
+ .vtx-business-modal.blue .ant-radio-button-wrapper::before {
460
+ background: none;
461
+ }
462
+ .vtx-business-modal.blue .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
463
+ .vtx-business-modal.blue .pump-alarm-card {
464
+ background-color: rgba(0, 139, 237, 0.1);
465
+ border: 1px solid #1464a6;
466
+ }
454
467
  .vtx-business-modal--head {
455
468
  background: var(--head-bg);
456
469
  height: 60px;
@@ -1219,6 +1232,13 @@ p {
1219
1232
  .dark .ztree li a {
1220
1233
  color: #a9d5d3 !important;
1221
1234
  }
1235
+ .blue .ant-popover-inner {
1236
+ background: #1464a6 !important;
1237
+ border-radius: 8px;
1238
+ }
1239
+ .blue .ant-popover-arrow {
1240
+ display: none;
1241
+ }
1222
1242
  @media screen and (max-width: 1440px) and (max-height: 900px) {
1223
1243
  .vtx-business-modal {
1224
1244
  height: 100%;
@@ -518,6 +518,19 @@ p {
518
518
  .ant-empty-description {
519
519
  color: var(--info-color);
520
520
  }
521
+ .ant-radio-button-wrapper {
522
+ border: 1px solid rgba(204, 204, 204, 0.3);
523
+ background-color: transparent;
524
+ color: #fff;
525
+ &::before {
526
+ background: none;
527
+ }
528
+ }
529
+ .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
530
+ .pump-alarm-card {
531
+ background-color: rgba(0, 139, 237, 0.1);
532
+ border: 1px solid #1464a6;
533
+ }
521
534
  }
522
535
  &--head {
523
536
  background: var(--head-bg);
@@ -1026,6 +1039,15 @@ p {
1026
1039
  color: #a9d5d3 !important;
1027
1040
  }
1028
1041
  }
1042
+ .blue {
1043
+ .ant-popover-inner {
1044
+ background: #1464a6 !important;
1045
+ border-radius: 8px;
1046
+ }
1047
+ .ant-popover-arrow {
1048
+ display: none;
1049
+ }
1050
+ }
1029
1051
 
1030
1052
  @media screen and(max-width: 1440px) and (max-height: 900px) {
1031
1053
  .vtx-business-modal {
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getColor = exports.OverViewTRFields = exports.OverViewLHDorHDFields = void 0;
6
+ exports.getSpanColorByRate = exports.getColorByRate = exports.getColor = exports.OverViewTRFields = exports.OverViewLHDorHDFields = void 0;
7
7
  var OverViewLHDorHDFields = exports.OverViewLHDorHDFields = [
8
8
  // 绿化或河道的基本信息
9
9
  {
@@ -62,4 +62,34 @@ var getColor = exports.getColor = function getColor(bh) {
62
62
  if (bh.search('hp') !== -1) return colors[6];
63
63
  if (bh.search('lh') !== -1) return colors[7];
64
64
  };
65
+ var getColorByRate = exports.getColorByRate = function getColorByRate(bh) {
66
+ var color = '';
67
+ if (!bh) {
68
+ color = 'rgba(228, 228, 228, 1)';
69
+ } else if (bh > 0 && bh <= 50) {
70
+ color = 'rgba(251, 109, 90, 1)';
71
+ } else if (bh > 50 && bh <= 80) {
72
+ color = 'rgba(255, 204, 0, 1)';
73
+ } else if (bh > 80 && bh < 100) {
74
+ color = 'rgba(91, 143, 249, 1)';
75
+ } else if (bh >= 100) {
76
+ color = 'rgba(90, 216, 166, 1)';
77
+ }
78
+ return color;
79
+ };
80
+ var getSpanColorByRate = exports.getSpanColorByRate = function getSpanColorByRate(bh) {
81
+ var color = '';
82
+ if (!bh) {
83
+ color = 'rgba(228, 228, 228, 1)';
84
+ } else if (bh > 0 && bh <= 50) {
85
+ color = 'rgba(251, 109, 90, 1)';
86
+ } else if (bh > 50 && bh <= 80) {
87
+ color = 'rgba(255, 204, 0, 1)';
88
+ } else if (bh > 80 && bh < 100) {
89
+ color = 'rgba(91, 143, 249, 1)';
90
+ } else if (bh >= 100) {
91
+ color = 'rgba(90, 216, 166, 1)';
92
+ }
93
+ return color;
94
+ };
65
95
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","names":["OverViewLHDorHDFields","exports","key","label","OverViewTRFields","getColor","bh","colors","search"],"sources":["vtx-facility-modal/config.js"],"sourcesContent":["export const OverViewLHDorHDFields = [\n // 绿化或河道的基本信息\n {\n key: 'tenderName',\n label: '所属标段',\n },\n {\n key: 'manageUnitName',\n label: '作业单位',\n },\n {\n key: 'typeName',\n label: '作业类型',\n },\n {\n key: 'facilityLength',\n label: '长度(m)',\n },\n {\n key: 'facilityWidth',\n label: '宽度(m)',\n },\n {\n key: 'facilityArea',\n label: '面积(㎡)',\n },\n];\nexport const OverViewTRFields = [\n // 主要干道\n {\n key: 'facilityClassName',\n label: '道路等级',\n },\n {\n key: 'typeName',\n label: '作业类型',\n },\n {\n key: 'tenderName',\n label: '所属标段',\n },\n {\n key: 'manageUnitName',\n label: '作业单位',\n },\n {\n key: 'facilityLength',\n label: '长度(m)',\n },\n {\n key: 'facilityWidth',\n label: '宽度(m)',\n },\n {\n key: 'facilityArea',\n label: '面积(㎡)',\n },\n];\nexport const getColor = (bh) => {\n if (!bh)\n return;\n // 不同设施类型颜色区分\n const colors = [\n '#FFDCB8',\n '#E95439',\n '#FFF700',\n '#3D27F6',\n '#1CD64E',\n '#00CBFF',\n '#BE9860',\n 'green',\n ];\n if (bh.search('tr') !== -1)\n return colors[0];\n if (bh.search('rxd') !== -1)\n return colors[1];\n if (bh.search('jdcd') !== -1)\n return colors[2];\n if (bh.search('fjdcd') !== -1)\n return colors[3];\n if (bh.search('glss') !== -1)\n return colors[4];\n if (bh.search('hd') !== -1)\n return colors[5];\n if (bh.search('hp') !== -1)\n return colors[6];\n if (bh.search('lh') !== -1)\n return colors[7];\n};\n"],"mappings":";;;;;;AAAO,IAAMA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG;AACjC;AACA;EACIE,GAAG,EAAE,YAAY;EACjBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,UAAU;EACfC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,eAAe;EACpBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,cAAc;EACnBC,KAAK,EAAE;AACX,CAAC,CACJ;AACM,IAAMC,gBAAgB,GAAAH,OAAA,CAAAG,gBAAA,GAAG;AAC5B;AACA;EACIF,GAAG,EAAE,mBAAmB;EACxBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,UAAU;EACfC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,YAAY;EACjBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;E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ewLHDorHDFields","exports","key","label","OverViewTRFields","getColor","bh","colors","search","getColorByRate","color","getSpanColorByRate"],"sources":["vtx-facility-modal/config.js"],"sourcesContent":["export const OverViewLHDorHDFields = [\n // 绿化或河道的基本信息\n {\n key: 'tenderName',\n label: '所属标段',\n },\n {\n key: 'manageUnitName',\n label: '作业单位',\n },\n {\n key: 'typeName',\n label: '作业类型',\n },\n {\n key: 'facilityLength',\n label: '长度(m)',\n },\n {\n key: 'facilityWidth',\n label: '宽度(m)',\n },\n {\n key: 'facilityArea',\n label: '面积(㎡)',\n },\n];\nexport const OverViewTRFields = [\n // 主要干道\n {\n key: 'facilityClassName',\n label: '道路等级',\n },\n {\n key: 'typeName',\n label: '作业类型',\n },\n {\n key: 'tenderName',\n label: '所属标段',\n },\n {\n key: 'manageUnitName',\n label: '作业单位',\n },\n {\n key: 'facilityLength',\n label: '长度(m)',\n },\n {\n key: 'facilityWidth',\n label: '宽度(m)',\n },\n {\n key: 'facilityArea',\n label: '面积(㎡)',\n },\n];\nexport const getColor = (bh) => {\n if (!bh)\n return;\n // 不同设施类型颜色区分\n const colors = [\n '#FFDCB8',\n '#E95439',\n '#FFF700',\n '#3D27F6',\n '#1CD64E',\n '#00CBFF',\n '#BE9860',\n 'green',\n ];\n if (bh.search('tr') !== -1)\n return colors[0];\n if (bh.search('rxd') !== -1)\n return colors[1];\n if (bh.search('jdcd') !== -1)\n return colors[2];\n if (bh.search('fjdcd') !== -1)\n return colors[3];\n if (bh.search('glss') !== -1)\n return colors[4];\n if (bh.search('hd') !== -1)\n return colors[5];\n if (bh.search('hp') !== -1)\n return colors[6];\n if (bh.search('lh') !== -1)\n return colors[7];\n};\nexport const getColorByRate = (bh) => {\n let color = '';\n if (!bh) {\n color = 'rgba(228, 228, 228, 1)';\n }\n else if (bh > 0 && bh <= 50) {\n color = 'rgba(251, 109, 90, 1)';\n }\n else if (bh > 50 && bh <= 80) {\n color = 'rgba(255, 204, 0, 1)';\n }\n else if (bh > 80 && bh < 100) {\n color = 'rgba(91, 143, 249, 1)';\n }\n else if (bh >= 100) {\n color = 'rgba(90, 216, 166, 1)';\n }\n return color;\n};\nexport const getSpanColorByRate = (bh) => {\n let color = '';\n if (!bh) {\n color = 'rgba(228, 228, 228, 1)';\n }\n else if (bh > 0 && bh <= 50) {\n color = 'rgba(251, 109, 90, 1)';\n }\n else if (bh > 50 && bh <= 80) {\n color = 'rgba(255, 204, 0, 1)';\n }\n else if (bh > 80 && bh < 100) {\n color = 'rgba(91, 143, 249, 1)';\n }\n else if (bh >= 100) {\n color = 'rgba(90, 216, 166, 1)';\n }\n return color;\n};\n"],"mappings":";;;;;;AAAO,IAAMA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG;AACjC;AACA;EACIE,GAAG,EAAE,YAAY;EACjBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,UAAU;EACfC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,eAAe;EACpBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,cAAc;EACnBC,KAAK,EAAE;AACX,CAAC,CACJ;AACM,IAAMC,gBAAgB,GAAAH,OAAA,CAAAG,gBAAA,GAAG;AAC5B;AACA;EACIF,GAAG,EAAE,mBAAmB;EACxBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,UAAU;EACfC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,YAAY;EACjBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,gBAAgB;EACrBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,eAAe;EACpBC,KAAK,EAAE;AACX,CAAC,EAC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
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;