@vtx/modals2 5.0.5 → 5.0.7
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/_components/vm-filter/style/index.less +4 -2
- package/lib/_components/vm-map/index.js +1 -1
- package/lib/_components/vm-pie-charts/index.js +8 -4
- package/lib/index.js +1 -0
- package/lib/vtx-car-modal/index.js +4 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +3 -1
- package/lib/vtx-default-modal/index.js +9 -5
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +61 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +7 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +44 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +104 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +13 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +4 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +162 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX.js +43 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +183 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +97 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +65 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +103 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +13 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +62 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +12 -0
- package/lib/vtx-housing-estate-modal/imgs/BOTTLE.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/CAN.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/KRAFT_PAPER_BOX.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/NAPKIN.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/NAPKIN_light.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/PLASTIC_BAG.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/garbage_default.png +0 -0
- package/lib/vtx-staff-modal/index.js +4 -1
- package/lib/vtx-wr-modal/components/Appraise/assets/blue/bgR.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/blue/bgY.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/blue/pjcs.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/blue/pjfs.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/light/bgR.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/light/bgY.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/light/pjcs.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/assets/light/pjfs.png +0 -0
- package/lib/vtx-wr-modal/components/Appraise/index.js +153 -0
- package/lib/vtx-wr-modal/components/Appraise/index.less +74 -0
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +243 -0
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +86 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/aq.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/cq.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/dw.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/female.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/hasNursery.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/hasNurseryN.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/hasSign.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/hasSignN.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/hasThird.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/hasThirdN.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/lhq.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/male.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/rll.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/sd.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/ty.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/wd.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/wza.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/xbd.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/ydl.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/ysl.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/blue/zw.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/aq.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/cq.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/dw.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/female.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/hasNursery.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/hasNurseryN.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/hasSign.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/hasSignN.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/hasThird.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/hasThirdN.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/lhq.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/male.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/rll.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/sd.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/ty.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/wd.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/wza.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/xbd.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/ydl.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/ysl.png +0 -0
- package/lib/vtx-wr-modal/components/Base/assets/light/zw.png +0 -0
- package/lib/vtx-wr-modal/components/Base/index.js +125 -0
- package/lib/vtx-wr-modal/components/Base/index.less +327 -0
- package/lib/vtx-wr-modal/components/Score/assets/blue/df.png +0 -0
- package/lib/vtx-wr-modal/components/Score/assets/blue/rs.png +0 -0
- package/lib/vtx-wr-modal/components/Score/assets/light/df.png +0 -0
- package/lib/vtx-wr-modal/components/Score/assets/light/rs.png +0 -0
- package/lib/vtx-wr-modal/components/Score/index.js +111 -0
- package/lib/vtx-wr-modal/components/Score/index.less +68 -0
- package/lib/vtx-wr-modal/components/index.js +4 -0
- package/lib/vtx-wr-modal/index.js +40 -0
- package/lib/vtx-wr-modal/style/index.js +4 -0
- package/lib/vtx-wr-modal/style/index.less +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import { VmLineCharts, VmTable } from '@/_components';
|
|
8
|
+
import { VMDatePicker, VMSelect } from '@/_components/vm-filter';
|
|
9
|
+
import { Tabs } from 'antd';
|
|
10
|
+
import Jbxx from "./Jbxx";
|
|
11
|
+
import Sjjg from "./Sjjg";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
export default (function (props) {
|
|
14
|
+
var columns = [{
|
|
15
|
+
title: '监测指标',
|
|
16
|
+
dataIndex: 'shiftDate',
|
|
17
|
+
key: 'shiftDate',
|
|
18
|
+
width: 100
|
|
19
|
+
}, {
|
|
20
|
+
title: '报警等级',
|
|
21
|
+
dataIndex: 'shiftDate',
|
|
22
|
+
key: 'shiftDate',
|
|
23
|
+
width: 100
|
|
24
|
+
}, {
|
|
25
|
+
title: '监测开始时间',
|
|
26
|
+
dataIndex: 'shiftDate',
|
|
27
|
+
key: 'shiftDate',
|
|
28
|
+
width: 100
|
|
29
|
+
}, {
|
|
30
|
+
title: '监测结束时间',
|
|
31
|
+
dataIndex: 'shiftDate',
|
|
32
|
+
key: 'shiftDate',
|
|
33
|
+
width: 100
|
|
34
|
+
}];
|
|
35
|
+
var tableProps = {
|
|
36
|
+
columns: columns,
|
|
37
|
+
height: 240,
|
|
38
|
+
isIndex: false,
|
|
39
|
+
pagination: false
|
|
40
|
+
};
|
|
41
|
+
var items = [{
|
|
42
|
+
label: '监测数据',
|
|
43
|
+
key: 'data',
|
|
44
|
+
children: /*#__PURE__*/_jsx(VmLineCharts, {
|
|
45
|
+
height: 240,
|
|
46
|
+
xAxis: ['2025-11-20', '2025-11-21', '2025-11-22', '2025-11-23', '2025-11-24'],
|
|
47
|
+
dataList: [{
|
|
48
|
+
data: [10, 20, 30, 40, 50]
|
|
49
|
+
}],
|
|
50
|
+
unit: "\u6B21"
|
|
51
|
+
})
|
|
52
|
+
},
|
|
53
|
+
// 务必填写 key
|
|
54
|
+
{
|
|
55
|
+
label: '报警列表',
|
|
56
|
+
key: 'list',
|
|
57
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
58
|
+
style: {
|
|
59
|
+
width: '700px',
|
|
60
|
+
margin: '0 auto'
|
|
61
|
+
},
|
|
62
|
+
children: /*#__PURE__*/_jsx(VmTable, _objectSpread({}, tableProps))
|
|
63
|
+
})
|
|
64
|
+
}];
|
|
65
|
+
var frequencyListA = [{
|
|
66
|
+
name: '日',
|
|
67
|
+
value: 'hour'
|
|
68
|
+
}, {
|
|
69
|
+
name: '月',
|
|
70
|
+
value: 'month'
|
|
71
|
+
}];
|
|
72
|
+
var frequencyListB = [{
|
|
73
|
+
name: '日',
|
|
74
|
+
value: 'day'
|
|
75
|
+
}, {
|
|
76
|
+
name: '昨日',
|
|
77
|
+
value: 'yesterday'
|
|
78
|
+
}, {
|
|
79
|
+
name: '前日',
|
|
80
|
+
value: 'yesterdayB'
|
|
81
|
+
}];
|
|
82
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
83
|
+
className: "wr-base-content",
|
|
84
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
85
|
+
className: "wr-base-left",
|
|
86
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
87
|
+
className: "wr-base-title",
|
|
88
|
+
children: "\u57FA\u672C\u4FE1\u606F"
|
|
89
|
+
}), /*#__PURE__*/_jsx(Jbxx, _objectSpread({}, props))]
|
|
90
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
91
|
+
className: "wr-base-right",
|
|
92
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
93
|
+
className: "wr-base-sjjg",
|
|
94
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
95
|
+
className: "wr-base-title",
|
|
96
|
+
children: "\u6570\u636E\u76D1\u7BA1"
|
|
97
|
+
}), /*#__PURE__*/_jsx(Sjjg, _objectSpread({}, props))]
|
|
98
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
99
|
+
className: "wr-base-jcbj",
|
|
100
|
+
children: [/*#__PURE__*/_jsx(Tabs, {
|
|
101
|
+
items: items
|
|
102
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
103
|
+
className: "wr-jcbj-search",
|
|
104
|
+
children: [frequencyListB.map(function (item) {
|
|
105
|
+
return /*#__PURE__*/_jsx("div", {
|
|
106
|
+
children: item.name
|
|
107
|
+
}, item.key);
|
|
108
|
+
}), /*#__PURE__*/_jsx(VMDatePicker, {
|
|
109
|
+
style: {
|
|
110
|
+
width: 140
|
|
111
|
+
}
|
|
112
|
+
}), /*#__PURE__*/_jsx(VMSelect, {
|
|
113
|
+
style: {
|
|
114
|
+
width: 140
|
|
115
|
+
},
|
|
116
|
+
options: [{
|
|
117
|
+
label: '日',
|
|
118
|
+
value: 'day'
|
|
119
|
+
}]
|
|
120
|
+
})]
|
|
121
|
+
})]
|
|
122
|
+
})]
|
|
123
|
+
})]
|
|
124
|
+
});
|
|
125
|
+
});
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
.vm-modal-dark,
|
|
2
|
+
.vm-modal-light {
|
|
3
|
+
.wr-base-content {
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
gap: 16px;
|
|
8
|
+
.wr-base-title {
|
|
9
|
+
padding: 12px 16px;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
.wr-base-left {
|
|
14
|
+
width: 400px;
|
|
15
|
+
height: 100%;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
overflow-y: auto;
|
|
18
|
+
border-radius: 8px;
|
|
19
|
+
.wr-base-inner {
|
|
20
|
+
padding: 16px;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
.wr-base-img {
|
|
23
|
+
width: 368px;
|
|
24
|
+
height: 207px;
|
|
25
|
+
border-radius: 8px;
|
|
26
|
+
margin-bottom: 8px;
|
|
27
|
+
}
|
|
28
|
+
.wr-base-info {
|
|
29
|
+
line-height: 28px;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
}
|
|
34
|
+
.divider {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 1px;
|
|
37
|
+
margin-top: 4px;
|
|
38
|
+
}
|
|
39
|
+
.wr-base-subTitle {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: 12px;
|
|
42
|
+
align-items: center;
|
|
43
|
+
margin: 12px 0;
|
|
44
|
+
.wr-base-subTip {
|
|
45
|
+
width: 3px;
|
|
46
|
+
height: 14px;
|
|
47
|
+
border-radius: 6px;
|
|
48
|
+
}
|
|
49
|
+
.wr-base-subText {
|
|
50
|
+
font-size: 16px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.wr-base-ptss {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-wrap: nowrap;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
align-items: center;
|
|
58
|
+
.wr-ptss-item {
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 12px;
|
|
61
|
+
align-items: center;
|
|
62
|
+
img {
|
|
63
|
+
width: 44px;
|
|
64
|
+
height: 44px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.wr-base-kws {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 134px;
|
|
71
|
+
border-radius: 8px;
|
|
72
|
+
margin: 12px 0;
|
|
73
|
+
padding: 14px;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
.wr-kws-total {
|
|
76
|
+
display: flex;
|
|
77
|
+
justify-content: space-between;
|
|
78
|
+
align-items: center;
|
|
79
|
+
.wr-kws-tip {
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: 10px;
|
|
82
|
+
align-items: center;
|
|
83
|
+
img {
|
|
84
|
+
width: 44px;
|
|
85
|
+
height: 44px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.wr-total-num {
|
|
89
|
+
display: flex;
|
|
90
|
+
gap: 30px;
|
|
91
|
+
align-items: center;
|
|
92
|
+
.num-tip-blue {
|
|
93
|
+
display: flex;
|
|
94
|
+
width: 6px;
|
|
95
|
+
height: 6px;
|
|
96
|
+
border-radius: 3px;
|
|
97
|
+
background: #009dff;
|
|
98
|
+
box-shadow: 0 0 5px rgba(0, 157, 255, 0.8);
|
|
99
|
+
margin-right: 10px;
|
|
100
|
+
}
|
|
101
|
+
.num-tip-red {
|
|
102
|
+
display: flex;
|
|
103
|
+
width: 6px;
|
|
104
|
+
height: 6px;
|
|
105
|
+
border-radius: 3px;
|
|
106
|
+
background: #ff5861;
|
|
107
|
+
box-shadow: 0 0 5px rgba(255, 88, 97, 0.8);
|
|
108
|
+
margin-right: 10px;
|
|
109
|
+
}
|
|
110
|
+
.wr-num-total {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: baseline;
|
|
113
|
+
letter-spacing: 4px;
|
|
114
|
+
margin-top: -6px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.wr-kws-each {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-wrap: nowrap;
|
|
121
|
+
justify-content: space-between;
|
|
122
|
+
align-items: center;
|
|
123
|
+
text-align: center;
|
|
124
|
+
span {
|
|
125
|
+
letter-spacing: 4px;
|
|
126
|
+
}
|
|
127
|
+
img {
|
|
128
|
+
width: 16px;
|
|
129
|
+
height: 16px;
|
|
130
|
+
vertical-align: middle;
|
|
131
|
+
margin-right: 6px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
.wr-base-right {
|
|
138
|
+
flex: 1;
|
|
139
|
+
.wr-base-sjjg {
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: 300px;
|
|
142
|
+
padding-bottom: 16px;
|
|
143
|
+
border-radius: 8px;
|
|
144
|
+
.wr-sjjg-total {
|
|
145
|
+
width: 100%;
|
|
146
|
+
padding: 6px 180px;
|
|
147
|
+
box-sizing: border-box;
|
|
148
|
+
display: flex;
|
|
149
|
+
justify-content: space-between;
|
|
150
|
+
.sjjg-total-each {
|
|
151
|
+
display: flex;
|
|
152
|
+
gap: 16px;
|
|
153
|
+
img {
|
|
154
|
+
width: 44px;
|
|
155
|
+
height: 44px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
.wr-sjjg-each {
|
|
160
|
+
display: flex;
|
|
161
|
+
gap: 12px;
|
|
162
|
+
padding: 0 16px;
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
.sjjg-each-item {
|
|
165
|
+
flex: 1;
|
|
166
|
+
height: 182px;
|
|
167
|
+
border-radius: 8px;
|
|
168
|
+
padding: 14px;
|
|
169
|
+
box-sizing: border-box;
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
overflow-y: auto;
|
|
172
|
+
.each-item-title {
|
|
173
|
+
display: flex;
|
|
174
|
+
gap: 10px;
|
|
175
|
+
align-items: center;
|
|
176
|
+
img {
|
|
177
|
+
width: 44px;
|
|
178
|
+
height: 44px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
.each-item-value {
|
|
182
|
+
display: flex;
|
|
183
|
+
gap: 6px;
|
|
184
|
+
flex-wrap: wrap;
|
|
185
|
+
margin: 6px 0;
|
|
186
|
+
.each-value {
|
|
187
|
+
width: 76px;
|
|
188
|
+
display: flex;
|
|
189
|
+
flex-direction: column;
|
|
190
|
+
align-items: center;
|
|
191
|
+
.each-value-num {
|
|
192
|
+
font-weight: bold;
|
|
193
|
+
}
|
|
194
|
+
.each-factor-value {
|
|
195
|
+
flex: 1;
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
img {
|
|
199
|
+
width: 16px;
|
|
200
|
+
height: 16px;
|
|
201
|
+
vertical-align: middle;
|
|
202
|
+
margin-right: 4px;
|
|
203
|
+
}
|
|
204
|
+
.each-factor-text {
|
|
205
|
+
width: 60px;
|
|
206
|
+
text-overflow: ellipsis;
|
|
207
|
+
overflow: hidden;
|
|
208
|
+
white-space: nowrap;
|
|
209
|
+
padding-left: 2px;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
.wr-base-jcbj {
|
|
218
|
+
width: 100%;
|
|
219
|
+
height: 300px;
|
|
220
|
+
padding-bottom: 16px;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
overflow-y: auto;
|
|
223
|
+
border-radius: 8px;
|
|
224
|
+
margin-top: 15px;
|
|
225
|
+
position: relative;
|
|
226
|
+
.ant-tabs-nav {
|
|
227
|
+
margin-bottom: 0;
|
|
228
|
+
padding-left: 16px;
|
|
229
|
+
}
|
|
230
|
+
.wr-jcbj-search {
|
|
231
|
+
position: absolute;
|
|
232
|
+
top: 0;
|
|
233
|
+
right: 0;
|
|
234
|
+
width: 500px;
|
|
235
|
+
height: 46px;
|
|
236
|
+
display: flex;
|
|
237
|
+
gap: 16px;
|
|
238
|
+
align-items: center;
|
|
239
|
+
justify-content: end;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.vm-modal-dark {
|
|
247
|
+
.wr-base-content {
|
|
248
|
+
color: #fff;
|
|
249
|
+
.wr-base-title {
|
|
250
|
+
border-bottom: 1px solid rgba(12, 154, 255, 0.15);
|
|
251
|
+
}
|
|
252
|
+
.wr-base-left {
|
|
253
|
+
border: 1px solid #1064a7;
|
|
254
|
+
background: rgba(0, 155, 233, 0.1);
|
|
255
|
+
.wr-base-img {
|
|
256
|
+
border: 1px solid rgba(0, 155, 233, 0.1);
|
|
257
|
+
}
|
|
258
|
+
.divider {
|
|
259
|
+
background-color: rgba(47, 172, 255, 0.2);
|
|
260
|
+
}
|
|
261
|
+
.wr-base-subTip {
|
|
262
|
+
background: linear-gradient(180deg, #ffffff 0%, #009dff 100%);
|
|
263
|
+
}
|
|
264
|
+
.wr-base-subText {
|
|
265
|
+
background-image: -webkit-linear-gradient(bottom, #009dff, #ffffff);
|
|
266
|
+
-webkit-background-clip: text;
|
|
267
|
+
-webkit-text-fill-color: transparent;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
.wr-base-right {
|
|
271
|
+
.wr-base-sjjg {
|
|
272
|
+
border: 1px solid #1064a7;
|
|
273
|
+
background: rgba(0, 155, 233, 0.1);
|
|
274
|
+
}
|
|
275
|
+
.each-value-num {
|
|
276
|
+
background-image: -webkit-linear-gradient(bottom, #009dff, #ffffff);
|
|
277
|
+
-webkit-background-clip: text;
|
|
278
|
+
-webkit-text-fill-color: transparent;
|
|
279
|
+
}
|
|
280
|
+
.wr-base-jcbj {
|
|
281
|
+
border: 1px solid #1064a7;
|
|
282
|
+
background: rgba(0, 155, 233, 0.1);
|
|
283
|
+
.ant-tabs-nav {
|
|
284
|
+
.ant-tabs-tab,
|
|
285
|
+
.ant-tabs-tab-active,
|
|
286
|
+
.ant-tabs-tab-btn {
|
|
287
|
+
color: #fff;
|
|
288
|
+
}
|
|
289
|
+
.ant-tabs-ink-bar {
|
|
290
|
+
background: #fff;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.vm-modal-light {
|
|
299
|
+
.wr-base-content {
|
|
300
|
+
.wr-base-title {
|
|
301
|
+
border-bottom: 1px solid #f1f0f0;
|
|
302
|
+
}
|
|
303
|
+
.wr-base-left {
|
|
304
|
+
background: #fff;
|
|
305
|
+
.wr-base-img {
|
|
306
|
+
border: 1px solid #f1f0f0;
|
|
307
|
+
}
|
|
308
|
+
.divider {
|
|
309
|
+
background-color: #f1f0f0;
|
|
310
|
+
}
|
|
311
|
+
.wr-base-subTip {
|
|
312
|
+
background: #1677ff;
|
|
313
|
+
}
|
|
314
|
+
.wr-base-subText {
|
|
315
|
+
color: #1677ff;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
.wr-base-right {
|
|
319
|
+
.wr-base-sjjg {
|
|
320
|
+
background: #fff;
|
|
321
|
+
}
|
|
322
|
+
.wr-base-jcbj {
|
|
323
|
+
background: #fff;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import { VmTable } from '@/_components';
|
|
8
|
+
import { VMRangePicker } from '@/_components/vm-filter';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
export default (function (props) {
|
|
11
|
+
var theme = props.theme;
|
|
12
|
+
var columns = [{
|
|
13
|
+
title: '监测指标',
|
|
14
|
+
dataIndex: 'shiftDate',
|
|
15
|
+
key: 'shiftDate',
|
|
16
|
+
width: 100
|
|
17
|
+
}, {
|
|
18
|
+
title: '报警等级',
|
|
19
|
+
dataIndex: 'shiftDate',
|
|
20
|
+
key: 'shiftDate',
|
|
21
|
+
width: 100
|
|
22
|
+
}, {
|
|
23
|
+
title: '监测开始时间',
|
|
24
|
+
dataIndex: 'shiftDate',
|
|
25
|
+
key: 'shiftDate',
|
|
26
|
+
width: 100
|
|
27
|
+
}, {
|
|
28
|
+
title: '监测结束时间',
|
|
29
|
+
dataIndex: 'shiftDate',
|
|
30
|
+
key: 'shiftDate',
|
|
31
|
+
width: 100
|
|
32
|
+
}];
|
|
33
|
+
var tableProps = {
|
|
34
|
+
columns: columns,
|
|
35
|
+
height: 240,
|
|
36
|
+
isIndex: false,
|
|
37
|
+
pagination: false
|
|
38
|
+
};
|
|
39
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
40
|
+
className: "wr-score-content",
|
|
41
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
42
|
+
className: "wr-score-panel",
|
|
43
|
+
style: {
|
|
44
|
+
height: '290px'
|
|
45
|
+
},
|
|
46
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
47
|
+
className: "wr-score-title",
|
|
48
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
49
|
+
children: "\u5F97\u5206\u60C5\u51B5"
|
|
50
|
+
}), /*#__PURE__*/_jsx(VMRangePicker, {})]
|
|
51
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
52
|
+
className: "wr-score-content",
|
|
53
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
54
|
+
className: "score-chart",
|
|
55
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
56
|
+
className: "score-summary",
|
|
57
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
58
|
+
className: "score-summary-item",
|
|
59
|
+
children: [/*#__PURE__*/_jsx("img", {
|
|
60
|
+
src: require("./assets/".concat(theme, "/df.png")),
|
|
61
|
+
alt: "df"
|
|
62
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
63
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
64
|
+
children: "\u5E73\u5747\u5F97\u5206"
|
|
65
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
66
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
67
|
+
style: {
|
|
68
|
+
fontSize: '20px'
|
|
69
|
+
},
|
|
70
|
+
children: "200"
|
|
71
|
+
}), "\xA0\u6B21"]
|
|
72
|
+
})]
|
|
73
|
+
})]
|
|
74
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
75
|
+
className: "score-summary-item",
|
|
76
|
+
children: [/*#__PURE__*/_jsx("img", {
|
|
77
|
+
src: require("./assets/".concat(theme, "/rs.png")),
|
|
78
|
+
alt: "rs"
|
|
79
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
80
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
81
|
+
children: "\u8BC4\u4EF7\u4EBA\u6570"
|
|
82
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
83
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
84
|
+
style: {
|
|
85
|
+
fontSize: '20px'
|
|
86
|
+
},
|
|
87
|
+
children: "200"
|
|
88
|
+
}), "\xA0\u5206"]
|
|
89
|
+
})]
|
|
90
|
+
})]
|
|
91
|
+
})]
|
|
92
|
+
})
|
|
93
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
94
|
+
className: "score-text"
|
|
95
|
+
})]
|
|
96
|
+
})]
|
|
97
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
98
|
+
className: "wr-score-panel",
|
|
99
|
+
style: {
|
|
100
|
+
height: '310px',
|
|
101
|
+
marginTop: '10px'
|
|
102
|
+
},
|
|
103
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
104
|
+
className: "wr-score-title",
|
|
105
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
106
|
+
children: "\u8BC4\u4EF7\u8BB0\u5F55"
|
|
107
|
+
})
|
|
108
|
+
}), /*#__PURE__*/_jsx(VmTable, _objectSpread({}, tableProps))]
|
|
109
|
+
})]
|
|
110
|
+
});
|
|
111
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.vm-modal-dark,
|
|
2
|
+
.vm-modal-light {
|
|
3
|
+
.wr-score-content {
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: calc(100% - 60px);
|
|
6
|
+
.wr-score-title {
|
|
7
|
+
padding: 12px 16px;
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
.wr-score-panel {
|
|
15
|
+
width: 100%;
|
|
16
|
+
border-radius: 8px;
|
|
17
|
+
.wr-score-content {
|
|
18
|
+
display: flex;
|
|
19
|
+
gap: 60px;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
.score-chart {
|
|
22
|
+
width: 580px;
|
|
23
|
+
height: 100%;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
.score-summary {
|
|
26
|
+
height: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
gap: 80px;
|
|
30
|
+
align-items: center;
|
|
31
|
+
.score-summary-item {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
img {
|
|
35
|
+
width: 44px;
|
|
36
|
+
height: 44px;
|
|
37
|
+
margin-right: 16px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.score-text {
|
|
43
|
+
width: 380px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.vm-modal-dark {
|
|
51
|
+
.wr-score-title {
|
|
52
|
+
border-bottom: 1px solid rgba(12, 154, 255, 0.15);
|
|
53
|
+
}
|
|
54
|
+
.wr-score-panel {
|
|
55
|
+
color: #fff;
|
|
56
|
+
border: 1px solid #1064a7;
|
|
57
|
+
background: rgba(0, 155, 233, 0.1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.vm-modal-light {
|
|
62
|
+
.wr-score-title {
|
|
63
|
+
border-bottom: 1px solid #f1f0f0;
|
|
64
|
+
}
|
|
65
|
+
.wr-score-panel {
|
|
66
|
+
background: #fff;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import VtxBaseModal from "../vtx-base-modal";
|
|
8
|
+
import { Appraise, Base, Score } from "./components";
|
|
9
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
|
+
export default (function (props) {
|
|
11
|
+
var visible = props.visible,
|
|
12
|
+
theme = props.theme,
|
|
13
|
+
title = props.title,
|
|
14
|
+
id = props.id,
|
|
15
|
+
onCancel = props.onCancel;
|
|
16
|
+
var tabList = [{
|
|
17
|
+
key: 'wr-base',
|
|
18
|
+
title: '总览信息'
|
|
19
|
+
}, {
|
|
20
|
+
key: 'wr-appraise',
|
|
21
|
+
title: '评价分析'
|
|
22
|
+
}, {
|
|
23
|
+
key: 'wr-score',
|
|
24
|
+
title: '公厕得分'
|
|
25
|
+
}];
|
|
26
|
+
var contentList = _defineProperty(_defineProperty(_defineProperty({}, 'wr-base', /*#__PURE__*/_jsx(Base, _objectSpread({}, props))), 'wr-appraise', /*#__PURE__*/_jsx(Appraise, _objectSpread({}, props))), 'wr-score', /*#__PURE__*/_jsx(Score, _objectSpread({}, props)));
|
|
27
|
+
return /*#__PURE__*/_jsx(_Fragment, {
|
|
28
|
+
children: visible && /*#__PURE__*/_jsx(VtxBaseModal, {
|
|
29
|
+
type: "wr",
|
|
30
|
+
visible: visible,
|
|
31
|
+
theme: theme,
|
|
32
|
+
title: title,
|
|
33
|
+
id: id,
|
|
34
|
+
onCancel: onCancel,
|
|
35
|
+
tabs: tabList,
|
|
36
|
+
contents: contentList,
|
|
37
|
+
tabChose: "wr-score"
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|