@vtx/modals2 5.0.12 → 5.0.14

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 (144) hide show
  1. package/lib/_components/vm-card-statistics/index.less +27 -27
  2. package/lib/_components/vm-extra-tab/index.js +8 -0
  3. package/lib/_components/vm-extra-tab/style/index.less +1 -0
  4. package/lib/_components/vm-factor-list/index.less +11 -11
  5. package/lib/_components/vm-table/index.js +4 -4
  6. package/lib/_util/http.js +6 -0
  7. package/lib/index.js +2 -1
  8. package/lib/vtx-base-modal/Header/index.less +98 -98
  9. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  10. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  11. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  12. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  13. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  14. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +5 -5
  15. package/lib/vtx-cp-modal/components/SyInfo/index.js +3 -0
  16. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  17. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  18. package/lib/vtx-restaurant-modal/config.js +52 -52
  19. package/lib/vtx-road-modal/components/BaseInfo/index.less +34 -31
  20. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  21. package/lib/vtx-wr-modal/components/Base/Ptss.js +0 -6
  22. package/lib/vtx-wr-modal/components/Base/Sjjg.js +2 -5
  23. package/lib/vtx-wr-modal/components/Base/index.less +5 -10
  24. package/lib/vtx-wr-modal/components/Build/index.js +3 -2
  25. package/lib/vtx-wr-modal/components/Score/index.js +4 -4
  26. package/lib/vtx-wr-modal/index.js +15 -2
  27. package/lib/vtx-zf-modal/components/Base/index.js +244 -0
  28. package/lib/vtx-zf-modal/components/Base/index.less +105 -0
  29. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.d.ts +109 -0
  30. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js +5 -0
  31. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js.map +1 -0
  32. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/af.js +33 -0
  33. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ar.js +222 -0
  34. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ast.js +109 -0
  35. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/az.js +221 -0
  36. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bg.js +222 -0
  37. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bn.js +222 -0
  38. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bs.js +80 -0
  39. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ca.js +222 -0
  40. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/cs.js +222 -0
  41. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/da.js +222 -0
  42. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de-ch.js +220 -0
  43. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de.js +222 -0
  44. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/el.js +222 -0
  45. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-au.js +222 -0
  46. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-gb.js +215 -0
  47. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en.js +92 -0
  48. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eo.js +120 -0
  49. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es-co.js +36 -0
  50. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es.js +222 -0
  51. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/et.js +222 -0
  52. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eu.js +121 -0
  53. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fa.js +222 -0
  54. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fi.js +222 -0
  55. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fr.js +222 -0
  56. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gl.js +222 -0
  57. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gu.js +22 -0
  58. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/he.js +222 -0
  59. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hi.js +222 -0
  60. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hr.js +222 -0
  61. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hu.js +222 -0
  62. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/id.js +222 -0
  63. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/it.js +222 -0
  64. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ja.js +222 -0
  65. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/jv.js +106 -0
  66. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kk.js +13 -0
  67. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/km.js +127 -0
  68. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kn.js +121 -0
  69. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ko.js +222 -0
  70. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ku.js +219 -0
  71. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lt.js +222 -0
  72. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lv.js +222 -0
  73. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ms.js +222 -0
  74. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nb.js +199 -0
  75. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ne.js +215 -0
  76. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nl.js +222 -0
  77. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/no.js +222 -0
  78. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/oc.js +21 -0
  79. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pl.js +222 -0
  80. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt-br.js +222 -0
  81. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt.js +222 -0
  82. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ro.js +222 -0
  83. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ru.js +222 -0
  84. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/si.js +76 -0
  85. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sk.js +222 -0
  86. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sl.js +78 -0
  87. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sq.js +208 -0
  88. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr-latn.js +222 -0
  89. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr.js +222 -0
  90. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sv.js +222 -0
  91. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/th.js +222 -0
  92. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tk.js +220 -0
  93. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tr.js +222 -0
  94. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tt.js +170 -0
  95. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ug.js +205 -0
  96. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uk.js +222 -0
  97. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ur.js +222 -0
  98. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uz.js +220 -0
  99. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/vi.js +222 -0
  100. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh-cn.js +222 -0
  101. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh.js +222 -0
  102. package/lib/vtx-zf-modal/components/CkEditorCustom/context/Event.js +42 -0
  103. package/lib/vtx-zf-modal/components/CkEditorCustom/context/context.js +98 -0
  104. package/lib/vtx-zf-modal/components/CkEditorCustom/context/index.js +3 -0
  105. package/lib/vtx-zf-modal/components/CkEditorCustom/context/useContextComponent.js +16 -0
  106. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +294 -0
  107. package/lib/vtx-zf-modal/components/CkEditorCustom/index.less +133 -0
  108. package/lib/vtx-zf-modal/components/CkEditorCustom/utils/util.js +67 -0
  109. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +216 -0
  110. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +77 -0
  111. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/OpenPanelCommand.js +31 -0
  112. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +146 -0
  113. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +92 -0
  114. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +341 -0
  115. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.less +1 -0
  116. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +94 -0
  117. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +334 -0
  118. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +330 -0
  119. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.less +36 -0
  120. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +93 -0
  121. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +335 -0
  122. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +335 -0
  123. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.less +35 -0
  124. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +94 -0
  125. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +338 -0
  126. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.less +1 -0
  127. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/style.less +92 -0
  128. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +94 -0
  129. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +328 -0
  130. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.less +1 -0
  131. package/lib/vtx-zf-modal/components/Document/index.js +84 -0
  132. package/lib/vtx-zf-modal/components/Document/index.less +47 -0
  133. package/lib/vtx-zf-modal/components/File/index.js +192 -0
  134. package/lib/vtx-zf-modal/components/File/index.less +43 -0
  135. package/lib/vtx-zf-modal/components/Process/index.js +196 -0
  136. package/lib/vtx-zf-modal/components/Process/index.less +107 -0
  137. package/lib/vtx-zf-modal/components/Record/index.js +108 -0
  138. package/lib/vtx-zf-modal/components/Record/index.less +34 -0
  139. package/lib/vtx-zf-modal/components/Right/index.js +45 -0
  140. package/lib/vtx-zf-modal/components/index.js +6 -0
  141. package/lib/vtx-zf-modal/index.js +125 -0
  142. package/lib/vtx-zf-modal/style/index.js +7 -0
  143. package/lib/vtx-zf-modal/style/index.less +1 -0
  144. package/package.json +2 -1
@@ -1,16 +1,16 @@
1
- .vtx-restaurant-rule_item {
2
- border-radius: 8px 8px 8px 8px;
3
- border: 1px solid var(--gray-line-color);
4
- padding: 16px 16px 8px;
5
- margin-top: 12px;
6
- position: relative;
7
- .vtx-restaurant-border {
8
- width: 100%;
9
- position: absolute;
10
- left: 0;
11
- top: -2px;
12
- height: 44px;
13
- border-radius: 8px 8px 0px 0px;
14
- border-top: 2px solid var(--blue-color);
15
- }
16
- }
1
+ .vtx-restaurant-rule_item {
2
+ border-radius: 8px 8px 8px 8px;
3
+ border: 1px solid var(--gray-line-color);
4
+ padding: 16px 16px 8px;
5
+ margin-top: 12px;
6
+ position: relative;
7
+ .vtx-restaurant-border {
8
+ width: 100%;
9
+ position: absolute;
10
+ left: 0;
11
+ top: -2px;
12
+ height: 44px;
13
+ border-radius: 8px 8px 0px 0px;
14
+ border-top: 2px solid var(--blue-color);
15
+ }
16
+ }
@@ -60,108 +60,108 @@ export var QD_DETAIL_FIELDS = [{
60
60
  label: '二维码'
61
61
  }];
62
62
  export var RestaurantConfigureEnum = {
63
- /**
64
- * 编号
63
+ /**
64
+ * 编号
65
65
  */
66
66
  CODE: 'code',
67
- /**
68
- * 产生单位名称
67
+ /**
68
+ * 产生单位名称
69
69
  */
70
70
  NAME: 'name',
71
- /**
72
- * 店铺名称
71
+ /**
72
+ * 店铺名称
73
73
  */
74
74
  SHORT_NAME: 'shortName',
75
- /**
76
- * 行政区划名称
75
+ /**
76
+ * 行政区划名称
77
77
  */
78
78
  DIVISION_NAME: 'divisionId',
79
- /**
80
- * 联系人
79
+ /**
80
+ * 联系人
81
81
  */
82
82
  CONTACT_PERSON: 'contactPerson',
83
- /**
84
- * 联系方式
83
+ /**
84
+ * 联系方式
85
85
  */
86
86
  CONTACT_PHONE: 'contactPhone',
87
- /**
88
- * 身份证号
87
+ /**
88
+ * 身份证号
89
89
  */
90
90
  CARD_ID: 'cardId',
91
- /**
92
- * 商户地址
91
+ /**
92
+ * 商户地址
93
93
  */
94
94
  ADDRESS: 'address',
95
- /**
96
- * 经纬度
95
+ /**
96
+ * 经纬度
97
97
  */
98
98
  LOCATION: 'location',
99
- /**
100
- * 产生单位状态
99
+ /**
100
+ * 产生单位状态
101
101
  */
102
102
  SIGNED_STATUS: 'signedStatus',
103
- /**
104
- * 签约状态
103
+ /**
104
+ * 签约状态
105
105
  */
106
106
  IS_SIGN: 'isSign',
107
- /**
108
- * 收集类型
107
+ /**
108
+ * 收集类型
109
109
  */
110
110
  COLLECT_STATUS: 'collectStatus',
111
- /**
112
- * 收集点
111
+ /**
112
+ * 收集点
113
113
  */
114
114
  SY_POINT_NAME: 'syPointId',
115
- /**
116
- * 商户类型名称
115
+ /**
116
+ * 商户类型名称
117
117
  */
118
118
  CLASSES_NAME: 'classesId',
119
- /**
120
- * 规模名称
119
+ /**
120
+ * 规模名称
121
121
  */
122
122
  SCALE_NAME: 'scaleId',
123
- /**
124
- * 垃圾桶个数
123
+ /**
124
+ * 垃圾桶个数
125
125
  */
126
126
  TRASH_CAN_NUM: 'trashCanNum',
127
- /**
128
- * 统一社会信用代码
127
+ /**
128
+ * 统一社会信用代码
129
129
  */
130
130
  CREDIT_CODE: 'creditCode',
131
- /**
132
- * 行业名称
131
+ /**
132
+ * 行业名称
133
133
  */
134
134
  INDUSTRY_NAME: 'industryId',
135
- /**
136
- * 经营范围
135
+ /**
136
+ * 经营范围
137
137
  */
138
138
  BUSINESS_SCOPE: 'businessScope',
139
- /**
140
- * 注册资金
139
+ /**
140
+ * 注册资金
141
141
  */
142
142
  REGISTER_MONEY: 'registerMoney',
143
- /**
144
- * 企业成立时间
143
+ /**
144
+ * 企业成立时间
145
145
  */
146
146
  ESTABLISHED_TIME: 'establishedTime',
147
- /**
148
- * 建议收集时间
147
+ /**
148
+ * 建议收集时间
149
149
  */
150
150
  SUGGEST_COLLECT_TIME: 'suggestCollectTime',
151
- /**
152
- * 营业时间段
151
+ /**
152
+ * 营业时间段
153
153
  */
154
154
  BUSINESS_TIME: 'businessTime',
155
- /**
156
- * 垃圾桶摆放位置图片
155
+ /**
156
+ * 垃圾桶摆放位置图片
157
157
  */
158
158
  TRASH_BIN_LOCATION_PHOTO: 'trashBinLocationPhoto',
159
- /**
160
- * 商户图片
159
+ /**
160
+ * 商户图片
161
161
  */
162
162
  PHOTO_IDS: 'photoIds',
163
- /**
164
- * 证件图片
163
+ /**
164
+ * 证件图片
165
165
  */
166
166
  PAPER_FILE_IDS: 'paperFileIds'
167
167
  };
@@ -1,13 +1,13 @@
1
- @import "../../../style";
1
+ @import '../../../style/index';
2
2
 
3
3
  .vtx-road-rule-wrap {
4
4
  --bg-color: rgba(236, 240, 245, 0.52);
5
- --time-color: #5E6169;
5
+ --time-color: #5e6169;
6
6
  --blue-bg-color: rgba(22, 119, 255, 0.15);
7
7
  --green-bg-color: rgba(15, 185, 100, 0.15);
8
8
  &.vtx-road-rule-wrap-dark {
9
- --bg-color: rgba(11, 88, 142, 0.30);
10
- --time-color: #6BA6DE;
9
+ --bg-color: rgba(11, 88, 142, 0.3);
10
+ --time-color: #6ba6de;
11
11
  --blue-bg-color: rgba(0, 183, 255, 0.1);
12
12
  --green-bg-color: rgba(28, 239, 134, 0.15);
13
13
  }
@@ -29,37 +29,38 @@
29
29
  color: var(--time-color);
30
30
  font-size: 12px;
31
31
  }
32
- &-number, &-unit {
32
+ &-number,
33
+ &-unit {
33
34
  font-size: 20px;
34
35
  font-weight: bold;
35
36
  &.blue {
36
37
  color: var(--blue-color);
37
38
  &.dark {
38
- .white_blue()
39
+ .white_blue();
39
40
  }
40
41
  }
41
42
  &.green {
42
43
  color: var(--green-color);
43
44
  &.dark {
44
- .white_green()
45
+ .white_green();
45
46
  }
46
47
  }
47
48
  &.purple {
48
- color: #B894F9;
49
+ color: #b894f9;
49
50
  &.dark {
50
- .white_purple()
51
+ .white_purple();
51
52
  }
52
53
  }
53
54
  &.orange {
54
- color: #FF8746;
55
+ color: #ff8746;
55
56
  &.dark {
56
- .white_green()
57
+ .white_green();
57
58
  }
58
59
  }
59
60
  &.yellow {
60
- color: #FFAA00;
61
+ color: #ffaa00;
61
62
  &.dark {
62
- .white_yellow()
63
+ .white_yellow();
63
64
  }
64
65
  }
65
66
  }
@@ -86,20 +87,19 @@
86
87
  background: var(--green-bg-color);
87
88
  }
88
89
  &.purple {
89
- color: #B894F9;
90
- border-color: #B894F9;
90
+ color: #b894f9;
91
+ border-color: #b894f9;
91
92
  background: rgba(184, 148, 249, 0.15);
92
93
  }
93
94
  &.orange {
94
- background: rgba(255, 135, 70, 0.10);
95
- border-color: #FF8746;
96
- color: #FF8746;
97
-
95
+ background: rgba(255, 135, 70, 0.1);
96
+ border-color: #ff8746;
97
+ color: #ff8746;
98
98
  }
99
99
  &.yellow {
100
100
  background: rgba(255, 170, 0, 0.1);
101
- border-color: #FFAA00;
102
- color: #FFAA00;
101
+ border-color: #ffaa00;
102
+ color: #ffaa00;
103
103
  }
104
104
  }
105
105
  }
@@ -125,12 +125,13 @@
125
125
  .left-info-label {
126
126
  color: var(--vm-calendar-cell-font-color);
127
127
  }
128
- .left-info-value,.left-info-unit {
128
+ .left-info-value,
129
+ .left-info-unit {
129
130
  font-weight: bold;
130
131
  color: var(--vm-calendar-cell-font-color);
131
132
  font-size: 18px !important;
132
133
  &.dark {
133
- .white_blue()
134
+ .white_blue();
134
135
  }
135
136
  }
136
137
  .left-info-unit {
@@ -139,9 +140,10 @@
139
140
  }
140
141
  &:last-child {
141
142
  margin-bottom: 0;
142
- .left-info-value,.left-info-unit {
143
+ .left-info-value,
144
+ .left-info-unit {
143
145
  &.dark {
144
- .white_cyan()
146
+ .white_cyan();
145
147
  }
146
148
  }
147
149
  }
@@ -178,30 +180,31 @@
178
180
  color: var(--vm-calendar-cell-font-color);
179
181
  font-size: 14px;
180
182
  font-weight: 600;
181
- .work-rate-value, .work-rate-unit {
183
+ .work-rate-value,
184
+ .work-rate-unit {
182
185
  &.blue {
183
186
  &.dark {
184
- .white_blue()
187
+ .white_blue();
185
188
  }
186
189
  }
187
190
  &.green {
188
191
  &.dark {
189
- .white_green()
192
+ .white_green();
190
193
  }
191
194
  }
192
195
  &.purple {
193
196
  &.dark {
194
- .white_purple()
197
+ .white_purple();
195
198
  }
196
199
  }
197
200
  &.orange {
198
201
  &.dark {
199
- .white_green()
202
+ .white_green();
200
203
  }
201
204
  }
202
205
  &.yellow {
203
206
  &.dark {
204
- .white_yellow()
207
+ .white_yellow();
205
208
  }
206
209
  }
207
210
  }
@@ -1,32 +1,32 @@
1
- .road-statistic-summary-main-rate {
2
- --bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
3
- &-dark {
4
- --bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
5
- }
6
- width: 100%;
7
- height: 130px;
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-around;
11
- padding: 0 24px;
12
- background: var(--bg-color);
13
- border-radius: 8px;
14
- &--block {
15
- width: 8px;
16
- height: 8px;
17
- border-radius: 50%;
18
- }
19
- &--label {
20
- display: flex;
21
- gap: 4px;
22
- align-items: center;
23
- font-size: 16px;
24
- color: var(--img-text-color);
25
- }
26
- &--value {
27
- margin-left: 12px;
28
- font-weight: bold;
29
- font-size: 24px;
30
- color: #1F1F1F;
31
- }
32
- }
1
+ .road-statistic-summary-main-rate {
2
+ --bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
3
+ &-dark {
4
+ --bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
5
+ }
6
+ width: 100%;
7
+ height: 130px;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-around;
11
+ padding: 0 24px;
12
+ background: var(--bg-color);
13
+ border-radius: 8px;
14
+ &--block {
15
+ width: 8px;
16
+ height: 8px;
17
+ border-radius: 50%;
18
+ }
19
+ &--label {
20
+ display: flex;
21
+ gap: 4px;
22
+ align-items: center;
23
+ font-size: 16px;
24
+ color: var(--img-text-color);
25
+ }
26
+ &--value {
27
+ margin-left: 12px;
28
+ font-weight: bold;
29
+ font-size: 24px;
30
+ color: #1F1F1F;
31
+ }
32
+ }
@@ -191,12 +191,6 @@ export default (function (props) {
191
191
  })]
192
192
  }), showKeys.includes('womanAccessibilityNums') && /*#__PURE__*/_jsxs("div", {
193
193
  children: [/*#__PURE__*/_jsx("span", {
194
- style: {
195
- color: '#1CE548',
196
- fontSize: '24px'
197
- },
198
- children: "1"
199
- }), /*#__PURE__*/_jsx("span", {
200
194
  style: {
201
195
  fontSize: '24px'
202
196
  },
@@ -154,14 +154,11 @@ export default (function (props) {
154
154
  }), "\xA0", (_each$unit = each.unit) !== null && _each$unit !== void 0 ? _each$unit : '--']
155
155
  }), /*#__PURE__*/_jsxs("div", {
156
156
  className: "each-factor-value",
157
+ title: each.factorName || each.name,
157
158
  children: [/*#__PURE__*/_jsx("img", {
158
159
  src: require("./assets/".concat(theme, "/").concat(getImg(each.factorCode), ".png")),
159
160
  alt: "rll"
160
- }), /*#__PURE__*/_jsx("div", {
161
- className: "each-factor-text",
162
- title: each.factorName || each.name,
163
- children: each.factorName || each.name
164
- })]
161
+ }), each.factorName || each.name]
165
162
  })]
166
163
  }, each.factorName);
167
164
  })
@@ -314,22 +314,17 @@
314
314
  font-weight: bold;
315
315
  }
316
316
  .each-factor-value {
317
- flex: 1;
318
- display: flex;
319
- align-items: center;
317
+ width: 120px;
318
+ text-align: center;
319
+ overflow: hidden;
320
+ text-overflow: ellipsis;
321
+ white-space: nowrap;
320
322
  img {
321
323
  width: 16px;
322
324
  height: 16px;
323
325
  vertical-align: middle;
324
326
  margin-right: 4px;
325
327
  }
326
- .each-factor-text {
327
- width: 100px;
328
- text-overflow: ellipsis;
329
- overflow: hidden;
330
- white-space: nowrap;
331
- padding-left: 2px;
332
- }
333
328
  }
334
329
  }
335
330
  }
@@ -9,6 +9,7 @@ import { getVtxToken, request } from '@vtx/utils';
9
9
  import { Button, Space, Tooltip } from 'antd';
10
10
  import Base64 from 'base-64';
11
11
  import { useEffect, useState } from 'react';
12
+ import { VmEmpty } from "../../../_components";
12
13
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
14
  var preview = function preview() {
14
15
  var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
@@ -114,7 +115,7 @@ export default (function (props) {
114
115
  children: "\u5EFA\u8BBE\u4FE1\u606F"
115
116
  }), /*#__PURE__*/_jsx("div", {
116
117
  className: "wr-build-inner",
117
- children: list.map(function (item) {
118
+ children: list.length ? list.map(function (item) {
118
119
  return /*#__PURE__*/_jsxs("div", {
119
120
  className: "wr-build-panel",
120
121
  children: [/*#__PURE__*/_jsxs("div", {
@@ -163,7 +164,7 @@ export default (function (props) {
163
164
  }), getFileComponents(item.fileJson)]
164
165
  })]
165
166
  }, item.id);
166
- })
167
+ }) : /*#__PURE__*/_jsx(VmEmpty, {})
167
168
  })]
168
169
  });
169
170
  });
@@ -15,7 +15,7 @@ import { useSetState } from 'ahooks';
15
15
  import dayjs from 'dayjs';
16
16
  import { useEffect } from 'react';
17
17
  import { TagCloud } from 'react-tagcloud';
18
- import { VmTable } from "../../../_components";
18
+ import { VmEmpty, VmTable } from "../../../_components";
19
19
  import { VMRangePicker } from "../../../_components/vm-filter";
20
20
 
21
21
  //公厕详情
@@ -38,7 +38,7 @@ export default (function (props) {
38
38
  theme = props.theme;
39
39
  var _useSetState = useSetState({
40
40
  detail: {
41
- evaluateLabelCountList: [{}]
41
+ evaluateLabelCountList: []
42
42
  },
43
43
  startDate: '',
44
44
  endDate: '',
@@ -164,14 +164,14 @@ export default (function (props) {
164
164
  })
165
165
  }), /*#__PURE__*/_jsx("div", {
166
166
  className: "score-text",
167
- children: !!data.length && /*#__PURE__*/_jsx(TagCloud, {
167
+ children: !!data.length ? /*#__PURE__*/_jsx(TagCloud, {
168
168
  tags: data,
169
169
  minSize: 25,
170
170
  maxSize: 50,
171
171
  colorOptions: {
172
172
  colors: ['red', 'orange', 'yellow', 'green', 'blue', 'purple']
173
173
  }
174
- })
174
+ }) : /*#__PURE__*/_jsx(VmEmpty, {})
175
175
  })]
176
176
  })]
177
177
  }), /*#__PURE__*/_jsxs("div", {
@@ -12,6 +12,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { request } from '@vtx/utils';
14
14
  import { useEffect, useState } from 'react';
15
+ import VmCustom from "../_components/vm-custom";
15
16
  import VtxBaseModal from "../vtx-base-modal";
16
17
  import { Appraise, Base, Build, File, Score } from "./components";
17
18
  import "./style";
@@ -54,10 +55,10 @@ export default (function (props) {
54
55
  setConfig((res.data.popupConfigJson || []).filter(function (item) {
55
56
  return item.display;
56
57
  }).map(function (item) {
57
- return {
58
+ return _objectSpread(_objectSpread({}, item), {}, {
58
59
  key: item.code,
59
60
  title: item.name
60
- };
61
+ });
61
62
  }));
62
63
  }
63
64
  });
@@ -72,6 +73,18 @@ export default (function (props) {
72
73
  });
73
74
  }, [id]);
74
75
  var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, 'wr-base', /*#__PURE__*/_jsx(Base, _objectSpread({}, props))), 'wr-appraise', /*#__PURE__*/_jsx(Appraise, _objectSpread({}, props))), 'wr-score', /*#__PURE__*/_jsx(Score, _objectSpread({}, props))), 'wr-build', /*#__PURE__*/_jsx(Build, _objectSpread({}, props))), 'wr-file', /*#__PURE__*/_jsx(File, _objectSpread({}, props)));
76
+
77
+ // 自定义页签可配置多个,
78
+ if (config !== null && config !== void 0 && config.length) {
79
+ config.forEach(function (ele) {
80
+ if (ele.url) {
81
+ contentList[ele.key] = /*#__PURE__*/_jsx(VmCustom, {
82
+ id: id,
83
+ url: ele === null || ele === void 0 ? void 0 : ele.url
84
+ });
85
+ }
86
+ });
87
+ }
75
88
  return /*#__PURE__*/_jsx(_Fragment, {
76
89
  children: visible && /*#__PURE__*/_jsx(VtxBaseModal, {
77
90
  type: "wr",