@vtx/modals2 2.10.16 → 2.10.18
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/lib/vm-common-components/common/vm-modal/index.js +5 -2
- package/lib/vm-common-components/common/vm-modal/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-modal/style/index.css +10 -0
- package/lib/vm-common-components/common/vm-modal/style/index.less +7 -0
- package/lib/vm-common-components/components/vm-collect/api.js +35 -0
- package/lib/vm-common-components/components/vm-collect/api.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/index.js +28 -5
- package/lib/vm-common-components/components/vm-collect/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-water-wave/index.js +6 -6
- package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -1
- package/lib/vm-common-components/index.js +4 -1
- package/lib/vm-common-components/index.js.map +1 -1
- package/lib/vtx-base-modal-hz/index.js +4 -2
- package/lib/vtx-base-modal-hz/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/api.js +90 -0
- package/lib/vtx-hz-facility-modal/api.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/{OverviewInfo → OverViewInfo}/index.js +1 -3
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +141 -153
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.css +6 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +6 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.css +5 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +3 -0
- package/lib/vtx-hz-facility-modal/index.js +12 -9
- package/lib/vtx-hz-facility-modal/index.js.map +1 -1
- package/package.json +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +0 -343
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +0 -44
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +0 -39
- package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["facilityTypeObj","VtxHzFaciityModal","props","visible","onCancel","theme","title","facilityType","publicUrlJCSS","publicUrlJCYJ","
|
|
1
|
+
{"version":3,"file":"index.js","names":["facilityTypeObj","VtxHzFaciityModal","props","id","visible","onCancel","theme","title","facilityType","publicUrlJCSS","publicUrlJCYJ","otherProps","__rest","React","createElement","VtxHzBaseModal","Object","assign","extraHeader","Collect","type","list","label","key","content","OverViewInfo","facilitySubType","FacilityFile","MonitorData","VmAlarmInfo","isPtDevice","DetectedData","code"],"sources":["vtx-hz-facility-modal/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport React from 'react';\nimport VtxHzBaseModal from '../vtx-base-modal-hz';\nimport OverViewInfo from './components/OverViewInfo';\nimport VmAlarmInfo from '../vm-alarm-info';\nimport { DetectedData, MonitorData } from './components';\nimport FacilityFile from './components/FacilityFile';\nimport Collect from '@/vm-common-components/components/vm-collect';\nconst facilityTypeObj = {\n 'water_resource': 'WaterSource',\n 'sewage_plant': 'SewagePlant',\n 'water_supply_plant': 'WaterSupplyPlant',\n};\nconst VtxHzFaciityModal = (props) => {\n const { id, visible = false, onCancel, theme = 'dark', title = '设施名称', facilityType = 'water_resource', publicUrlJCSS = '/cloud/zhsw-jcss', publicUrlJCYJ = '/cloud/zhsw-jcyj' } = props, otherProps = __rest(props, [\"id\", \"visible\", \"onCancel\", \"theme\", \"title\", \"facilityType\", \"publicUrlJCSS\", \"publicUrlJCYJ\"]);\n return (React.createElement(VtxHzBaseModal, Object.assign({ title: title, visible: visible, onCancel: onCancel, theme: theme, extraHeader: React.createElement(Collect, { id: id, type: 'facility' }), list: [\n {\n label: '总览信息',\n key: 'ZLXX',\n content: (React.createElement(OverViewInfo, Object.assign({ facilitySubType: facilityType ? facilityTypeObj[facilityType] : 'WaterSource' }, props))),\n },\n {\n label: '设施档案',\n key: 'SSDA',\n content: (React.createElement(FacilityFile, Object.assign({ facilitySubType: facilityType ? facilityTypeObj[facilityType] : 'WaterSource' }, props))),\n },\n {\n label: '监测数据',\n key: 'JCSJ',\n content: React.createElement(MonitorData, Object.assign({ publicUrlJCSS: publicUrlJCSS }, props)),\n },\n {\n label: '报警信息',\n key: 'BJXX',\n content: (React.createElement(VmAlarmInfo, Object.assign({ isPtDevice: true, publicUrlJCYJ: publicUrlJCYJ, publicUrlJCSS: publicUrlJCSS }, props))),\n },\n {\n label: '视频信息',\n key: 'SPXX',\n content: React.createElement(\"div\", null, \"\\u89C6\\u9891\\u4FE1\\u606F\"),\n },\n {\n label: '检测数据',\n key: 'JCSJ1',\n content: React.createElement(DetectedData, Object.assign({}, props, { code: facilityType })),\n },\n ] }, otherProps)));\n};\nexport default VtxHzFaciityModal;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAmE;AACnE,IAAMA,eAAe,GAAG;EACpB,gBAAgB,EAAE,aAAa;EAC/B,cAAc,EAAE,aAAa;EAC7B,oBAAoB,EAAE;AAC1B,CAAC;AACD,IAAMC,iBAAiB,GAAG,SAApBA,iBAAiB,CAAIC,KAAK,EAAK;EACjC,IAAQC,EAAE,GAAyKD,KAAK,CAAhLC,EAAE;IAAA,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,CAACC,aAAa,CAACa,wBAAY,EAAEX,MAAM,CAACC,MAAM,CAAC;QAAES,eAAe,EAAElB,YAAY,GAAGR,eAAe,CAACQ,YAAY,CAAC,GAAG;MAAc,CAAC,EAAEN,KAAK,CAAC;IACvJ,CAAC,EACD;MACIoB,KAAK,EAAE,MAAM;MACbC,GAAG,EAAE,MAAM;MACXC,OAAO,eAAEX,iBAAK,CAACC,aAAa,CAACc,uBAAW,EAAEZ,MAAM,CAACC,MAAM,CAAC;QAAER,aAAa,EAAEA;MAAc,CAAC,EAAEP,KAAK,CAAC;IACpG,CAAC,EACD;MACIoB,KAAK,EAAE,MAAM;MACbC,GAAG,EAAE,MAAM;MACXC,OAAO,eAAGX,iBAAK,CAACC,aAAa,CAACe,uBAAW,EAAEb,MAAM,CAACC,MAAM,CAAC;QAAEa,UAAU,EAAE,IAAI;QAAEpB,aAAa,EAAEA,aAAa;QAAED,aAAa,EAAEA;MAAc,CAAC,EAAEP,KAAK,CAAC;IACrJ,CAAC,EACD;MACIoB,KAAK,EAAE,MAAM;MACbC,GAAG,EAAE,MAAM;MACXC,OAAO,eAAEX,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,0BAA0B;IACxE,CAAC,EACD;MACIQ,KAAK,EAAE,MAAM;MACbC,GAAG,EAAE,OAAO;MACZC,OAAO,eAAEX,iBAAK,CAACC,aAAa,CAACiB,wBAAY,EAAEf,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEf,KAAK,EAAE;QAAE8B,IAAI,EAAExB;MAAa,CAAC,CAAC;IAC/F,CAAC;EACH,CAAC,EAAEG,UAAU,CAAC,CAAC;AACzB,CAAC;AAAC,eACaV,iBAAiB;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = exports.YYGL = exports.YWGL = exports.BaseInfo = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _components = require("../../../vm-common-components/components");
|
|
9
|
-
var _vmWaterWave = require("../../../vm-common-components/components/vm-water-wave");
|
|
10
|
-
var _vmFilter = require("../../../vm-filter");
|
|
11
|
-
var _levelBg = _interopRequireDefault(require("../../../vm-common-components/assets/levelBg.png"));
|
|
12
|
-
var _timeBg = _interopRequireDefault(require("../../../vm-common-components/assets/timeBg.png"));
|
|
13
|
-
require("./style");
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
var BaseInfo = function BaseInfo() {
|
|
16
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_components.ImagesGroup, null), /*#__PURE__*/_react["default"].createElement(_components.Statistics, {
|
|
17
|
-
style: {
|
|
18
|
-
paddingLeft: '20px',
|
|
19
|
-
paddingTop: '8px'
|
|
20
|
-
},
|
|
21
|
-
type: '1',
|
|
22
|
-
gap: 8,
|
|
23
|
-
list: [{
|
|
24
|
-
label: '水源地名称',
|
|
25
|
-
value: '东圳水库',
|
|
26
|
-
unit: '',
|
|
27
|
-
color: '#009DFF'
|
|
28
|
-
}, {
|
|
29
|
-
label: '地址',
|
|
30
|
-
value: '小谷围岛南亭街道',
|
|
31
|
-
unit: '',
|
|
32
|
-
color: '#12F4DF'
|
|
33
|
-
}]
|
|
34
|
-
}));
|
|
35
|
-
};
|
|
36
|
-
exports.BaseInfo = BaseInfo;
|
|
37
|
-
var YWGL = function YWGL() {
|
|
38
|
-
var legendOption = {
|
|
39
|
-
top: 'center',
|
|
40
|
-
orient: 'vertical',
|
|
41
|
-
icon: 'circle',
|
|
42
|
-
itemWidth: 12,
|
|
43
|
-
itemGap: 13,
|
|
44
|
-
textStyle: {
|
|
45
|
-
fontSize: 14,
|
|
46
|
-
rich: {
|
|
47
|
-
name: {
|
|
48
|
-
color: '#fff'
|
|
49
|
-
// align: 'right'
|
|
50
|
-
// width: 60
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
percent: {
|
|
54
|
-
color: '#fff',
|
|
55
|
-
fontSize: 14
|
|
56
|
-
// align: 'right'
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
formatter: function formatter(name) {
|
|
62
|
-
var percent = 25;
|
|
63
|
-
return '{name| ' + name + '}\n{percent|' + percent + '%}';
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
var chartProps = {
|
|
67
|
-
height: 260,
|
|
68
|
-
width: 398,
|
|
69
|
-
legend: [Object.assign({
|
|
70
|
-
left: 0,
|
|
71
|
-
data: [{
|
|
72
|
-
name: '循环任务',
|
|
73
|
-
icon: 'rect'
|
|
74
|
-
}, {
|
|
75
|
-
name: '设备维修',
|
|
76
|
-
icon: 'circle'
|
|
77
|
-
}, {
|
|
78
|
-
name: '设备养护',
|
|
79
|
-
icon: 'circle'
|
|
80
|
-
}, {
|
|
81
|
-
name: '生产巡检',
|
|
82
|
-
icon: 'circle'
|
|
83
|
-
}],
|
|
84
|
-
align: 'right',
|
|
85
|
-
orient: 'vertical'
|
|
86
|
-
}, legendOption), Object.assign({
|
|
87
|
-
right: 0,
|
|
88
|
-
data: [{
|
|
89
|
-
name: '指派任务',
|
|
90
|
-
icon: 'rect'
|
|
91
|
-
}],
|
|
92
|
-
align: 'left',
|
|
93
|
-
orient: 'vertical'
|
|
94
|
-
}, legendOption)],
|
|
95
|
-
series: [{
|
|
96
|
-
name: '任务',
|
|
97
|
-
type: 'pie',
|
|
98
|
-
selectedMode: 'single',
|
|
99
|
-
radius: [0, '30%'],
|
|
100
|
-
label: {
|
|
101
|
-
normal: {
|
|
102
|
-
show: false
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
labelLine: {
|
|
106
|
-
normal: {
|
|
107
|
-
show: false
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
data: [{
|
|
111
|
-
value: 335,
|
|
112
|
-
name: '循环任务',
|
|
113
|
-
selected: true
|
|
114
|
-
}, {
|
|
115
|
-
value: 679,
|
|
116
|
-
name: '指派任务'
|
|
117
|
-
}]
|
|
118
|
-
}, {
|
|
119
|
-
name: '任务',
|
|
120
|
-
type: 'pie',
|
|
121
|
-
radius: ['40%', '55%'],
|
|
122
|
-
label: {
|
|
123
|
-
normal: {
|
|
124
|
-
show: false
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
labelLine: {
|
|
128
|
-
normal: {
|
|
129
|
-
show: false
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
data: [{
|
|
133
|
-
value: 335,
|
|
134
|
-
name: '设备维修'
|
|
135
|
-
}, {
|
|
136
|
-
value: 310,
|
|
137
|
-
name: '设备养护'
|
|
138
|
-
}, {
|
|
139
|
-
value: 234,
|
|
140
|
-
name: '生产巡检'
|
|
141
|
-
}]
|
|
142
|
-
}],
|
|
143
|
-
onEvents: {
|
|
144
|
-
click: function click(param) {
|
|
145
|
-
console.log(param);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
return /*#__PURE__*/_react["default"].createElement(_components.Chart, Object.assign({}, chartProps));
|
|
150
|
-
};
|
|
151
|
-
//运营概览
|
|
152
|
-
exports.YWGL = YWGL;
|
|
153
|
-
var YYGL = function YYGL() {
|
|
154
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
-
className: "baseInfo-yygl"
|
|
156
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
157
|
-
style: {
|
|
158
|
-
flex: 1
|
|
159
|
-
}
|
|
160
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.SubTitle, {
|
|
161
|
-
type: "2",
|
|
162
|
-
title: "\u6628\u65E5\u4F9B\u6C34\u91CF"
|
|
163
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
164
|
-
className: "baseInfo-yygl-content"
|
|
165
|
-
}, /*#__PURE__*/_react["default"].createElement(_vmWaterWave.SewageStastics, {
|
|
166
|
-
chartData: {
|
|
167
|
-
height: '100px',
|
|
168
|
-
width: '100px',
|
|
169
|
-
showNumber: true,
|
|
170
|
-
title: {
|
|
171
|
-
percent: 50.6,
|
|
172
|
-
unit: '吨',
|
|
173
|
-
percentStyle: {
|
|
174
|
-
color: '#30E96D',
|
|
175
|
-
fontSize: 16
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
color: ['#579EFF'],
|
|
179
|
-
text: '进水量',
|
|
180
|
-
seriesProps: {
|
|
181
|
-
amplitude: 3,
|
|
182
|
-
waveLength: 30
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
compareList: {
|
|
186
|
-
list: [{
|
|
187
|
-
label: '环比',
|
|
188
|
-
value: 0.76
|
|
189
|
-
}, {
|
|
190
|
-
label: '同比',
|
|
191
|
-
value: 0.76
|
|
192
|
-
}]
|
|
193
|
-
}
|
|
194
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
195
|
-
style: {
|
|
196
|
-
flex: 1.2
|
|
197
|
-
}
|
|
198
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.SubTitle, {
|
|
199
|
-
type: "2",
|
|
200
|
-
title: "\u6700\u8FD1\u6C34\u8D28\u68C0\u6D4B"
|
|
201
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
202
|
-
className: "baseInfo-yygl-content"
|
|
203
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.Statistics, {
|
|
204
|
-
type: '2',
|
|
205
|
-
img: _levelBg["default"],
|
|
206
|
-
imgStyle: {
|
|
207
|
-
width: '160px',
|
|
208
|
-
height: '80px'
|
|
209
|
-
},
|
|
210
|
-
list: [{
|
|
211
|
-
label: '当前水质',
|
|
212
|
-
value: 'Ⅰ级',
|
|
213
|
-
color: '#00FFEC'
|
|
214
|
-
}]
|
|
215
|
-
}), /*#__PURE__*/_react["default"].createElement(_components.Statistics, {
|
|
216
|
-
type: '3',
|
|
217
|
-
img: _timeBg["default"],
|
|
218
|
-
imgStyle: {
|
|
219
|
-
width: '129px',
|
|
220
|
-
height: '67px'
|
|
221
|
-
},
|
|
222
|
-
list: [{
|
|
223
|
-
label: '最近检测时间',
|
|
224
|
-
value: '2023-07-07 12:35:28',
|
|
225
|
-
color: '#00FFEC'
|
|
226
|
-
}]
|
|
227
|
-
}))));
|
|
228
|
-
};
|
|
229
|
-
exports.YYGL = YYGL;
|
|
230
|
-
var ExtraContent = function ExtraContent() {
|
|
231
|
-
var items = [{
|
|
232
|
-
type: 'radio',
|
|
233
|
-
label: '',
|
|
234
|
-
defaultValue: 1,
|
|
235
|
-
itemProps: {
|
|
236
|
-
options: [{
|
|
237
|
-
label: '日',
|
|
238
|
-
value: 1
|
|
239
|
-
}, {
|
|
240
|
-
label: '月',
|
|
241
|
-
value: 2
|
|
242
|
-
}, {
|
|
243
|
-
label: '年',
|
|
244
|
-
value: 3
|
|
245
|
-
}]
|
|
246
|
-
},
|
|
247
|
-
onChange: function onChange(e) {
|
|
248
|
-
console.log(e);
|
|
249
|
-
}
|
|
250
|
-
}];
|
|
251
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
252
|
-
className: "radio"
|
|
253
|
-
}, /*#__PURE__*/_react["default"].createElement(_vmFilter.VmFilterItem, {
|
|
254
|
-
items: items,
|
|
255
|
-
style: {
|
|
256
|
-
marginBottom: '0'
|
|
257
|
-
}
|
|
258
|
-
}));
|
|
259
|
-
};
|
|
260
|
-
//报警概括
|
|
261
|
-
var BJGK = function BJGK() {
|
|
262
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
263
|
-
className: "baseInfo-bjgk-all"
|
|
264
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.Statistics, {
|
|
265
|
-
type: '5',
|
|
266
|
-
list: [{
|
|
267
|
-
label: '报警总数',
|
|
268
|
-
value: '56',
|
|
269
|
-
unit: '个',
|
|
270
|
-
color: '#12F4DF'
|
|
271
|
-
}]
|
|
272
|
-
}), /*#__PURE__*/_react["default"].createElement(_components.Compare, {
|
|
273
|
-
style: {
|
|
274
|
-
display: 'flex',
|
|
275
|
-
width: '200px',
|
|
276
|
-
justifyContent: 'space-between'
|
|
277
|
-
},
|
|
278
|
-
list: [{
|
|
279
|
-
label: '环比',
|
|
280
|
-
value: -0.76
|
|
281
|
-
}, {
|
|
282
|
-
label: '同比',
|
|
283
|
-
value: 0.76
|
|
284
|
-
}]
|
|
285
|
-
})), /*#__PURE__*/_react["default"].createElement(_components.Chart, {
|
|
286
|
-
height: 350,
|
|
287
|
-
width: 618,
|
|
288
|
-
xAxis: ['2023-01', '2023-02', '2023-03', '2023-04'],
|
|
289
|
-
yAxis: ['吨', '米'],
|
|
290
|
-
series: [{
|
|
291
|
-
name: '监测数值报警',
|
|
292
|
-
type: 'bar',
|
|
293
|
-
data: [10, 20, 30, 40],
|
|
294
|
-
z: 9,
|
|
295
|
-
color: '#15b4e5',
|
|
296
|
-
"stack": "总量"
|
|
297
|
-
}, {
|
|
298
|
-
name: '设备离线报警',
|
|
299
|
-
type: 'bar',
|
|
300
|
-
data: [10, 20, 30, 40],
|
|
301
|
-
z: 9,
|
|
302
|
-
color: '#38EDCF',
|
|
303
|
-
"stack": "总量"
|
|
304
|
-
}, {
|
|
305
|
-
name: '设备故障报警',
|
|
306
|
-
type: 'bar',
|
|
307
|
-
data: [10, 20, 30, 40],
|
|
308
|
-
z: 9,
|
|
309
|
-
color: '#E76452',
|
|
310
|
-
"stack": "总量"
|
|
311
|
-
}, {
|
|
312
|
-
name: '总数环比',
|
|
313
|
-
type: 'line',
|
|
314
|
-
data: [10, 20, 20, 40],
|
|
315
|
-
color: '#F6BD16'
|
|
316
|
-
}, {
|
|
317
|
-
name: '总数同比',
|
|
318
|
-
type: 'line',
|
|
319
|
-
data: [10, 20, 30, 40],
|
|
320
|
-
color: '#00E7AE'
|
|
321
|
-
}]
|
|
322
|
-
}));
|
|
323
|
-
};
|
|
324
|
-
var _default = function _default() {
|
|
325
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
326
|
-
className: "overviewInfoHz"
|
|
327
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
328
|
-
className: "overviewInfoHzLeft"
|
|
329
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.Container, {
|
|
330
|
-
title: "\u57FA\u672C\u4FE1\u606F"
|
|
331
|
-
}, /*#__PURE__*/_react["default"].createElement(BaseInfo, null)), /*#__PURE__*/_react["default"].createElement(_components.Container, {
|
|
332
|
-
title: "\u8FD0\u7EF4\u6982\u89C8"
|
|
333
|
-
}, /*#__PURE__*/_react["default"].createElement(YWGL, null))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
334
|
-
className: "overviewInfoHzRight"
|
|
335
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.Container, {
|
|
336
|
-
title: "\u8FD0\u8425\u6982\u89C8"
|
|
337
|
-
}, /*#__PURE__*/_react["default"].createElement(YYGL, null)), /*#__PURE__*/_react["default"].createElement(_components.Container, {
|
|
338
|
-
title: "\u62A5\u8B66\u6982\u62EC",
|
|
339
|
-
extraContent: /*#__PURE__*/_react["default"].createElement(ExtraContent, null)
|
|
340
|
-
}, /*#__PURE__*/_react["default"].createElement(BJGK, null))));
|
|
341
|
-
};
|
|
342
|
-
exports["default"] = _default;
|
|
343
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["BaseInfo","React","createElement","Fragment","ImagesGroup","Statistics","style","paddingLeft","paddingTop","type","gap","list","label","value","unit","color","YWGL","legendOption","top","orient","icon","itemWidth","itemGap","textStyle","fontSize","rich","name","percent","formatter","chartProps","height","width","legend","Object","assign","left","data","align","right","series","selectedMode","radius","normal","show","labelLine","selected","onEvents","click","param","console","log","Chart","YYGL","className","flex","SubTitle","title","SewageStastics","chartData","showNumber","percentStyle","text","seriesProps","amplitude","waveLength","compareList","img","levelBg","imgStyle","timeBg","ExtraContent","items","defaultValue","itemProps","options","onChange","e","VmFilterItem","marginBottom","BJGK","Compare","display","justifyContent","xAxis","yAxis","z","Container","extraContent"],"sources":["vtx-hz-facility-modal/components/OverViewInfo4/index.js"],"sourcesContent":["import React from 'react';\nimport { Container, ImagesGroup, Statistics, Chart, SubTitle, Compare, } from '../../../vm-common-components/components';\nimport { SewageStastics } from '../../../vm-common-components/components/vm-water-wave';\nimport { VmFilterItem } from '../../../vm-filter';\nimport levelBg from '../../../vm-common-components/assets/levelBg.png';\nimport timeBg from '../../../vm-common-components/assets/timeBg.png';\nimport './style';\nexport const BaseInfo = () => {\n return (React.createElement(React.Fragment, null,\n React.createElement(ImagesGroup, null),\n React.createElement(Statistics, { style: { paddingLeft: '20px', paddingTop: '8px' }, type: '1', gap: 8, list: [\n {\n label: '水源地名称',\n value: '东圳水库',\n unit: '',\n color: '#009DFF',\n },\n {\n label: '地址',\n value: '小谷围岛南亭街道',\n unit: '',\n color: '#12F4DF',\n },\n ] })));\n};\nexport const YWGL = () => {\n let legendOption = {\n top: 'center',\n orient: 'vertical',\n icon: 'circle',\n itemWidth: 12,\n itemGap: 13,\n textStyle: {\n fontSize: 14,\n rich: {\n name: {\n color: '#fff',\n // align: 'right'\n // width: 60\n },\n percent: {\n color: '#fff',\n fontSize: 14,\n // align: 'right'\n },\n },\n },\n formatter: function (name) {\n let percent = 25;\n return '{name| ' + name + '}\\n{percent|' + percent + '%}';\n },\n };\n const chartProps = {\n height: 260,\n width: 398,\n legend: [\n Object.assign({ left: 0, data: [{\n name: '循环任务',\n icon: 'rect'\n }, {\n name: '设备维修',\n icon: 'circle'\n }, {\n name: '设备养护',\n icon: 'circle'\n }, {\n name: '生产巡检',\n icon: 'circle'\n }], align: 'right', orient: 'vertical' }, legendOption),\n Object.assign({ right: 0, data: [\n {\n name: '指派任务',\n icon: 'rect',\n },\n ], align: 'left', orient: 'vertical' }, legendOption),\n ],\n series: [\n {\n name: '任务',\n type: 'pie',\n selectedMode: 'single',\n radius: [0, '30%'],\n label: {\n normal: {\n show: false,\n },\n },\n labelLine: {\n normal: {\n show: false,\n },\n },\n data: [\n { value: 335, name: '循环任务', selected: true },\n { value: 679, name: '指派任务' },\n ],\n },\n {\n name: '任务',\n type: 'pie',\n radius: ['40%', '55%'],\n label: {\n normal: {\n show: false,\n },\n },\n labelLine: {\n normal: {\n show: false,\n },\n },\n data: [\n { value: 335, name: '设备维修' },\n { value: 310, name: '设备养护' },\n { value: 234, name: '生产巡检' },\n ],\n },\n ],\n onEvents: {\n click: (param) => {\n console.log(param);\n }\n }\n };\n return React.createElement(Chart, Object.assign({}, chartProps));\n};\n//运营概览\nexport const YYGL = () => {\n return (React.createElement(\"div\", { className: \"baseInfo-yygl\" },\n React.createElement(\"div\", { style: { flex: 1 } },\n React.createElement(SubTitle, { type: \"2\", title: \"\\u6628\\u65E5\\u4F9B\\u6C34\\u91CF\" }),\n React.createElement(\"div\", { className: \"baseInfo-yygl-content\" },\n React.createElement(SewageStastics, { chartData: {\n height: '100px',\n width: '100px',\n showNumber: true,\n title: {\n percent: 50.6,\n unit: '吨',\n percentStyle: { color: '#30E96D', fontSize: 16 },\n },\n color: ['#579EFF'],\n text: '进水量',\n seriesProps: {\n amplitude: 3,\n waveLength: 30,\n },\n }, compareList: {\n list: [\n { label: '环比', value: 0.76 },\n { label: '同比', value: 0.76 },\n ],\n } }))),\n React.createElement(\"div\", { style: { flex: 1.2 } },\n React.createElement(SubTitle, { type: \"2\", title: \"\\u6700\\u8FD1\\u6C34\\u8D28\\u68C0\\u6D4B\" }),\n React.createElement(\"div\", { className: \"baseInfo-yygl-content\" },\n React.createElement(Statistics, { type: '2', img: levelBg, imgStyle: {\n width: '160px',\n height: '80px',\n }, list: [{ label: '当前水质', value: 'Ⅰ级', color: '#00FFEC' }] }),\n React.createElement(Statistics, { type: '3', img: timeBg, imgStyle: {\n width: '129px',\n height: '67px',\n }, list: [\n {\n label: '最近检测时间',\n value: '2023-07-07 12:35:28',\n color: '#00FFEC',\n },\n ] })))));\n};\nconst ExtraContent = () => {\n const items = [\n {\n type: 'radio',\n label: '',\n defaultValue: 1,\n itemProps: {\n options: [\n { label: '日', value: 1 },\n { label: '月', value: 2 },\n { label: '年', value: 3 },\n ],\n },\n onChange: (e) => {\n console.log(e);\n },\n },\n ];\n return (React.createElement(\"div\", { className: \"radio\" },\n React.createElement(VmFilterItem, { items: items, style: { marginBottom: '0' } })));\n};\n//报警概括\nconst BJGK = () => {\n return (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"baseInfo-bjgk-all\" },\n React.createElement(Statistics, { type: '5', list: [\n {\n label: '报警总数',\n value: '56',\n unit: '个',\n color: '#12F4DF',\n },\n ] }),\n React.createElement(Compare, { style: { display: 'flex', width: '200px', justifyContent: 'space-between' }, list: [\n { label: '环比', value: -0.76 },\n { label: '同比', value: 0.76 },\n ] })),\n React.createElement(Chart, { height: 350, width: 618, xAxis: ['2023-01', '2023-02', '2023-03', '2023-04'], yAxis: ['吨', '米'], series: [\n {\n name: '监测数值报警',\n type: 'bar',\n data: [10, 20, 30, 40],\n z: 9,\n color: '#15b4e5',\n \"stack\": \"总量\",\n },\n {\n name: '设备离线报警',\n type: 'bar',\n data: [10, 20, 30, 40],\n z: 9,\n color: '#38EDCF',\n \"stack\": \"总量\",\n },\n {\n name: '设备故障报警',\n type: 'bar',\n data: [10, 20, 30, 40],\n z: 9,\n color: '#E76452',\n \"stack\": \"总量\",\n },\n {\n name: '总数环比',\n type: 'line',\n data: [10, 20, 20, 40],\n color: '#F6BD16',\n },\n {\n name: '总数同比',\n type: 'line',\n data: [10, 20, 30, 40],\n color: '#00E7AE',\n },\n ] })));\n};\nexport default () => {\n return (React.createElement(\"div\", { className: \"overviewInfoHz\" },\n React.createElement(\"div\", { className: \"overviewInfoHzLeft\" },\n React.createElement(Container, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" },\n React.createElement(BaseInfo, null)),\n React.createElement(Container, { title: \"\\u8FD0\\u7EF4\\u6982\\u89C8\" },\n React.createElement(YWGL, null))),\n React.createElement(\"div\", { className: \"overviewInfoHzRight\" },\n React.createElement(Container, { title: \"\\u8FD0\\u8425\\u6982\\u89C8\" },\n React.createElement(YYGL, null)),\n React.createElement(Container, { title: \"\\u62A5\\u8B66\\u6982\\u62EC\", extraContent: React.createElement(ExtraContent, null) },\n React.createElement(BJGK, null)))));\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AACV,IAAMA,QAAQ,GAAG,SAAXA,QAAQ,GAAS;EAC1B,oBAAQC,iBAAK,CAACC,aAAa,CAACD,iBAAK,CAACE,QAAQ,EAAE,IAAI,eAC5CF,iBAAK,CAACC,aAAa,CAACE,uBAAW,EAAE,IAAI,CAAC,eACtCH,iBAAK,CAACC,aAAa,CAACG,sBAAU,EAAE;IAAEC,KAAK,EAAE;MAAEC,WAAW,EAAE,MAAM;MAAEC,UAAU,EAAE;IAAM,CAAC;IAAEC,IAAI,EAAE,GAAG;IAAEC,GAAG,EAAE,CAAC;IAAEC,IAAI,EAAE,CACtG;MACIC,KAAK,EAAE,OAAO;MACdC,KAAK,EAAE,MAAM;MACbC,IAAI,EAAE,EAAE;MACRC,KAAK,EAAE;IACX,CAAC,EACD;MACIH,KAAK,EAAE,IAAI;MACXC,KAAK,EAAE,UAAU;MACjBC,IAAI,EAAE,EAAE;MACRC,KAAK,EAAE;IACX,CAAC;EACH,CAAC,CAAC,CAAC;AACjB,CAAC;AAAC;AACK,IAAMC,IAAI,GAAG,SAAPA,IAAI,GAAS;EACtB,IAAIC,YAAY,GAAG;IACfC,GAAG,EAAE,QAAQ;IACbC,MAAM,EAAE,UAAU;IAClBC,IAAI,EAAE,QAAQ;IACdC,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE,EAAE;IACXC,SAAS,EAAE;MACPC,QAAQ,EAAE,EAAE;MACZC,IAAI,EAAE;QACFC,IAAI,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AAI,EAAE,IAAI,CAAC,CAAC,CAAC,eACzCf,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEmD,SAAS,EAAE;EAAsB,CAAC,eAC3DpD,iBAAK,CAACC,aAAa,CAACoF,qBAAS,EAAE;IAAE9B,KAAK,EAAE;EAA2B,CAAC,eAChEvD,iBAAK,CAACC,aAAa,CAACkD,IAAI,EAAE,IAAI,CAAC,CAAC,eACpCnD,iBAAK,CAACC,aAAa,CAACoF,qBAAS,EAAE;IAAE9B,KAAK,EAAE,0BAA0B;IAAE+B,YAAY,eAAEtF,iBAAK,CAACC,aAAa,CAACoE,YAAY,EAAE,IAAI;EAAE,CAAC,eACvHrE,iBAAK,CAACC,aAAa,CAAC6E,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAClD,CAAC;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[],"sources":["vtx-hz-facility-modal/components/OverViewInfo4/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
.overviewInfoHz {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: 2fr 3fr;
|
|
4
|
-
grid-template-rows: 1fr;
|
|
5
|
-
gap: 10px;
|
|
6
|
-
height: 100%;
|
|
7
|
-
}
|
|
8
|
-
.overviewInfoHz .overviewInfoHzLeft {
|
|
9
|
-
display: grid;
|
|
10
|
-
grid-template-columns: 1fr;
|
|
11
|
-
grid-template-rows: 1fr 1fr;
|
|
12
|
-
gap: 10px;
|
|
13
|
-
}
|
|
14
|
-
.overviewInfoHz .overviewInfoHzRight {
|
|
15
|
-
display: grid;
|
|
16
|
-
grid-template-columns: 1fr;
|
|
17
|
-
grid-template-rows: 1fr 2fr;
|
|
18
|
-
gap: 10px;
|
|
19
|
-
}
|
|
20
|
-
.overviewInfoHz .baseInfo-yygl {
|
|
21
|
-
display: -webkit-box;
|
|
22
|
-
display: -ms-flexbox;
|
|
23
|
-
display: flex;
|
|
24
|
-
-webkit-box-pack: justify;
|
|
25
|
-
-ms-flex-pack: justify;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
}
|
|
28
|
-
.overviewInfoHz .baseInfo-yygl-content {
|
|
29
|
-
margin-top: 30px;
|
|
30
|
-
display: -webkit-box;
|
|
31
|
-
display: -ms-flexbox;
|
|
32
|
-
display: flex;
|
|
33
|
-
-ms-flex-pack: distribute;
|
|
34
|
-
justify-content: space-around;
|
|
35
|
-
height: 100px;
|
|
36
|
-
-webkit-box-align: center;
|
|
37
|
-
-ms-flex-align: center;
|
|
38
|
-
align-items: center;
|
|
39
|
-
}
|
|
40
|
-
.overviewInfoHz .baseInfo-bjgk-all {
|
|
41
|
-
display: -webkit-box;
|
|
42
|
-
display: -ms-flexbox;
|
|
43
|
-
display: flex;
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vtx-hz-facility-modal/components/OverViewInfo4/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.overviewInfoHz{
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: 2fr 3fr;
|
|
4
|
-
grid-template-rows: 1fr;
|
|
5
|
-
gap: 10px;
|
|
6
|
-
height: 100%;
|
|
7
|
-
.overviewInfoHzLeft{
|
|
8
|
-
display: grid;
|
|
9
|
-
grid-template-columns: 1fr;
|
|
10
|
-
grid-template-rows: 1fr 1fr;
|
|
11
|
-
gap: 10px;
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
.overviewInfoHzRight{
|
|
15
|
-
display: grid;
|
|
16
|
-
grid-template-columns: 1fr;
|
|
17
|
-
grid-template-rows: 1fr 2fr;
|
|
18
|
-
gap: 10px;
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
.baseInfo-yygl{
|
|
22
|
-
display: flex;
|
|
23
|
-
justify-content: space-between;
|
|
24
|
-
}
|
|
25
|
-
.baseInfo-yygl-content{
|
|
26
|
-
margin-top: 30px;
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: space-around;
|
|
29
|
-
height: 100px;
|
|
30
|
-
align-items: center;
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
.baseInfo-bjgk-all{
|
|
34
|
-
display: flex;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["props","type","Components","OverViewInfo1","OverViewInfo2","OverViewInfo3","OverViewInfo4","Component","React","createElement","Object","assign"],"sources":["vtx-hz-facility-modal/components/OverviewInfo/index.js"],"sourcesContent":["import React from 'react';\nimport OverViewInfo1 from '../OverViewInfo1'; //设施水源地\nimport OverViewInfo2 from '../OverViewInfo2'; //设备物联\nimport OverViewInfo3 from '../OverViewInfo3'; //非物联\nimport OverViewInfo4 from '../OverViewInfo4'; //水厂\nexport default (props) => {\n const { type } = props;\n const Components = {\n '1': OverViewInfo1,\n '2': OverViewInfo2,\n '3': OverViewInfo3,\n '4': OverViewInfo4,\n };\n const Component = Components[type];\n return React.createElement(Component, Object.assign({}, props));\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AAA6C;AAHC;AACA;AACA;AACA;AAAA,eAC/B,kBAACA,KAAK,EAAK;EACtB,IAAQC,IAAI,GAAKD,KAAK,CAAdC,IAAI;EACZ,IAAMC,UAAU,GAAG;IACf,GAAG,EAAEC,wBAAa;IAClB,GAAG,EAAEC,yBAAa;IAClB,GAAG,EAAEC,yBAAa;IAClB,GAAG,EAAEC;EACT,CAAC;EACD,IAAMC,SAAS,GAAGL,UAAU,CAACD,IAAI,CAAC;EAClC,oBAAOO,iBAAK,CAACC,aAAa,CAACF,SAAS,EAAEG,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEX,KAAK,CAAC,CAAC;AACnE,CAAC;AAAA"}
|