@vtx/modals2 5.0.14 → 5.0.17
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-card-statistics/index.less +27 -27
- package/lib/_components/vm-extra-tab/style/index.less +1 -1
- package/lib/_components/vm-factor/index.js +1 -1
- package/lib/_components/vm-factor-list/index.js +4 -1
- package/lib/_components/vm-factor-list/index.less +11 -11
- package/lib/_components/vm-filter/style/index.less +4 -3
- package/lib/_components/vm-pie-charts/index.js +3 -0
- package/lib/_components/vm-table/index.js +4 -4
- package/lib/_components/vm-wrapper/style/index.less +1 -1
- package/lib/_util/iconSvgHtml.js +653 -224
- package/lib/index.js +4 -1
- package/lib/style/index.less +1 -6
- package/lib/vtx-base-modal/Header/index.less +98 -98
- package/lib/vtx-base-modal/Tabs/index.js +31 -4
- package/lib/vtx-base-modal/Tabs/index.less +54 -31
- package/lib/vtx-base-modal/index.js +2 -2
- package/lib/vtx-base-modal/style/index.less +3 -1
- package/lib/vtx-car-modal/components/Info/index.js +3 -0
- package/lib/vtx-car-modal/components/Info/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +16 -7
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +21 -10
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +16 -7
- package/lib/vtx-car-modal/index.js +29 -29
- package/lib/vtx-cc-cp-modal/index.js +6 -6
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
- package/lib/vtx-cc-unit-modal/index.js +6 -6
- package/lib/vtx-cp-modal/index.js +10 -14
- package/lib/vtx-default-modal/components/BaseInfo/index.less +1 -0
- package/lib/vtx-default-modal/index.js +3 -3
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
- package/lib/vtx-device-modal/index.js +5 -5
- package/lib/vtx-df-modal/index.js +5 -6
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Base/index.js +20 -0
- package/lib/vtx-jzlj-gcxm-modal/components/index.js +2 -0
- package/lib/vtx-jzlj-gcxm-modal/index.js +77 -0
- package/lib/vtx-jzlj-gcxm-modal/style/index.js +1 -0
- package/lib/vtx-jzlj-gcxm-modal/style/index.less +1 -0
- package/lib/vtx-qyry-modal/api.js +2 -0
- package/lib/vtx-qyry-modal/index.js +5 -9
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
- package/lib/vtx-restaurant-modal/config.js +52 -52
- package/lib/vtx-restaurant-modal/index.js +6 -6
- package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
- package/lib/vtx-road-modal/index.js +3 -3
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.less +6 -0
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/index.js +2 -2
- package/lib/vtx-staff-modal/index.js +5 -9
- package/lib/vtx-tfd-modal/index.js +2 -2
- package/lib/vtx-wr-modal/components/Base/Ptss.js +71 -31
- package/lib/vtx-wr-modal/components/Base/assets/alert.png +0 -0
- package/lib/vtx-wr-modal/components/Base/index.js +15 -3
- package/lib/vtx-wr-modal/components/Base/index.less +14 -1
- package/lib/vtx-wr-modal/index.js +3 -1
- package/lib/vtx-zf-modal/components/Record/index.js +10 -2
- package/lib/vtx-zf-modal/index.js +1 -17
- package/lib/vtx-zzz-modal/style/index.js +1 -0
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -22,12 +22,12 @@ import { BasicService } from "./api";
|
|
|
22
22
|
import { Alarm, Basic, Calendar, Collection, DetailInfo, SignAndContract } from "./components";
|
|
23
23
|
import "./style";
|
|
24
24
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
|
-
var TABS_BASE = '
|
|
26
|
-
var TABS_DETAIL = '
|
|
27
|
-
var TABS_CALENDAR = '
|
|
28
|
-
var TABS_SIGN = '
|
|
29
|
-
var TABS_ALARM = '
|
|
30
|
-
var TABS_COLLECTION = '
|
|
25
|
+
var TABS_BASE = 'base';
|
|
26
|
+
var TABS_DETAIL = 'detail';
|
|
27
|
+
var TABS_CALENDAR = 'calendar';
|
|
28
|
+
var TABS_SIGN = 'sign';
|
|
29
|
+
var TABS_ALARM = 'alarm';
|
|
30
|
+
var TABS_COLLECTION = 'collection';
|
|
31
31
|
export var RestaurantContext = /*#__PURE__*/createContext({
|
|
32
32
|
prefix: '',
|
|
33
33
|
id: '',
|
|
@@ -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
|
+
}
|
|
@@ -18,9 +18,9 @@ import { BaseService } from "./api";
|
|
|
18
18
|
import { BaseInfo, Calendar, Statistical } from "./components";
|
|
19
19
|
import "./style/index";
|
|
20
20
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
var TABS_BASE = '
|
|
22
|
-
var TABS_STATIC = '
|
|
23
|
-
var TABS_CALENDAR = '
|
|
21
|
+
var TABS_BASE = 'base';
|
|
22
|
+
var TABS_STATIC = 'statistical';
|
|
23
|
+
var TABS_CALENDAR = 'calendar';
|
|
24
24
|
var VtxRoadModal = function VtxRoadModal(props) {
|
|
25
25
|
var id = props.id,
|
|
26
26
|
title = props.title,
|
|
@@ -11,9 +11,9 @@ import { AlarmRecord, BaseInfo, Tfd, ThrowCalendar, ThrowRecord } from "./compon
|
|
|
11
11
|
import "./style";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
var TABS_BASE = 'base';
|
|
14
|
-
var TABS_CALENDAR = '
|
|
14
|
+
var TABS_CALENDAR = 'calendar';
|
|
15
15
|
var TABS_THROW = 'throw';
|
|
16
|
-
var TABS_ALARM = '
|
|
16
|
+
var TABS_ALARM = 'alarm';
|
|
17
17
|
var TABS_TFD = 'tfd';
|
|
18
18
|
var tabs = [{
|
|
19
19
|
key: TABS_BASE,
|
|
@@ -10,21 +10,17 @@ import { BaseService } from "./api";
|
|
|
10
10
|
import { AlarmInfo, Attendance, BaseInfo, Calendar, Equipment } from "./components";
|
|
11
11
|
import "./style";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
var TABS_BASE = '
|
|
14
|
-
var TABS_CALENDAR = '
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var TABS_EUQIPMENT = 'staff-equipment';
|
|
13
|
+
var TABS_BASE = 'base';
|
|
14
|
+
var TABS_CALENDAR = 'calendar';
|
|
15
|
+
var TABS_ALARM = 'alarm';
|
|
16
|
+
var TABS_ATTENDANCE = 'attendance';
|
|
17
|
+
var TABS_EUQIPMENT = 'equipment';
|
|
19
18
|
var tabs = [{
|
|
20
19
|
key: TABS_BASE,
|
|
21
20
|
title: '总览信息'
|
|
22
21
|
}, {
|
|
23
22
|
key: TABS_CALENDAR,
|
|
24
23
|
title: '作业日历'
|
|
25
|
-
}, {
|
|
26
|
-
key: TABS_DETAIL,
|
|
27
|
-
title: '详细信息'
|
|
28
24
|
}, {
|
|
29
25
|
key: TABS_ALARM,
|
|
30
26
|
title: '报警信息'
|
|
@@ -12,9 +12,9 @@ import { BaseInfo } from "./components";
|
|
|
12
12
|
import "./style";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
var TABS_BASE = 'base';
|
|
15
|
-
var TABS_CALENDAR = '
|
|
15
|
+
var TABS_CALENDAR = 'calendar';
|
|
16
16
|
var TABS_THROW = 'throw';
|
|
17
|
-
var TABS_ALARM = '
|
|
17
|
+
var TABS_ALARM = 'alarm';
|
|
18
18
|
var tabs = [{
|
|
19
19
|
key: TABS_BASE,
|
|
20
20
|
title: '总览信息'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
export default (function (props) {
|
|
3
|
-
var _gcDetail$pitTotalMal, _gcDetail$urinalNums, _gcDetail$squatNumMal, _gcDetail$seatNumMale, _gcDetail$manAccessib, _gcDetail$pitTotalFem, _gcDetail$squatNumFem, _gcDetail$seatNumFema, _gcDetail$womanAccess;
|
|
3
|
+
var _gcDetail$pitInuseMal, _gcDetail$pitTotalMal, _gcDetail$urinalNums, _gcDetail$squatNumMal, _gcDetail$seatNumMale, _gcDetail$manAccessib, _gcDetail$pitInuseFem, _gcDetail$pitTotalFem, _gcDetail$squatNumFem, _gcDetail$seatNumFema, _gcDetail$womanAccess;
|
|
4
4
|
var theme = props.theme,
|
|
5
5
|
gcDetail = props.gcDetail,
|
|
6
6
|
fields = props.fields;
|
|
@@ -56,24 +56,44 @@ export default (function (props) {
|
|
|
56
56
|
}), /*#__PURE__*/_jsx("div", {
|
|
57
57
|
children: "\u7537\u5395"
|
|
58
58
|
})]
|
|
59
|
-
}),
|
|
59
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
60
60
|
className: "wr-total-num",
|
|
61
|
-
children: [/*#__PURE__*/_jsxs(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
61
|
+
children: [gcDetail.hasDevice && /*#__PURE__*/_jsxs(_Fragment, {
|
|
62
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
63
|
+
style: {
|
|
64
|
+
display: 'flex',
|
|
65
|
+
alignItems: 'center'
|
|
66
|
+
},
|
|
67
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
68
|
+
className: "num-tip-blue"
|
|
69
|
+
}), "\u5360\u7528"]
|
|
70
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
71
|
+
className: "wr-num-total",
|
|
72
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
73
|
+
style: {
|
|
74
|
+
fontSize: '24px'
|
|
75
|
+
},
|
|
76
|
+
children: (_gcDetail$pitInuseMal = gcDetail.pitInuseMale) !== null && _gcDetail$pitInuseMal !== void 0 ? _gcDetail$pitInuseMal : '--'
|
|
77
|
+
})
|
|
78
|
+
})]
|
|
79
|
+
}), showKeys.includes('manPitNum') && /*#__PURE__*/_jsxs(_Fragment, {
|
|
80
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
72
81
|
style: {
|
|
73
|
-
|
|
82
|
+
display: 'flex',
|
|
83
|
+
alignItems: 'center'
|
|
74
84
|
},
|
|
75
|
-
children: (
|
|
76
|
-
|
|
85
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
86
|
+
className: "num-tip-blue"
|
|
87
|
+
}), "\u5751\u4F4D\u603B\u6570"]
|
|
88
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
89
|
+
className: "wr-num-total",
|
|
90
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
91
|
+
style: {
|
|
92
|
+
fontSize: '24px'
|
|
93
|
+
},
|
|
94
|
+
children: (_gcDetail$pitTotalMal = gcDetail.pitTotalMale) !== null && _gcDetail$pitTotalMal !== void 0 ? _gcDetail$pitTotalMal : '--'
|
|
95
|
+
})
|
|
96
|
+
})]
|
|
77
97
|
})]
|
|
78
98
|
})]
|
|
79
99
|
}), /*#__PURE__*/_jsxs("div", {
|
|
@@ -143,24 +163,44 @@ export default (function (props) {
|
|
|
143
163
|
}), /*#__PURE__*/_jsx("div", {
|
|
144
164
|
children: "\u5973\u5395"
|
|
145
165
|
})]
|
|
146
|
-
}),
|
|
166
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
147
167
|
className: "wr-total-num",
|
|
148
|
-
children: [/*#__PURE__*/_jsxs(
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
168
|
+
children: [gcDetail.hasDevice && /*#__PURE__*/_jsxs(_Fragment, {
|
|
169
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
170
|
+
style: {
|
|
171
|
+
display: 'flex',
|
|
172
|
+
alignItems: 'center'
|
|
173
|
+
},
|
|
174
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
175
|
+
className: "num-tip-red"
|
|
176
|
+
}), "\u5360\u7528"]
|
|
177
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
178
|
+
className: "wr-num-total",
|
|
179
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
180
|
+
style: {
|
|
181
|
+
fontSize: '24px'
|
|
182
|
+
},
|
|
183
|
+
children: (_gcDetail$pitInuseFem = gcDetail.pitInuseFemale) !== null && _gcDetail$pitInuseFem !== void 0 ? _gcDetail$pitInuseFem : '--'
|
|
184
|
+
})
|
|
185
|
+
})]
|
|
186
|
+
}), showKeys.includes('womanPitNum') && /*#__PURE__*/_jsxs(_Fragment, {
|
|
187
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
159
188
|
style: {
|
|
160
|
-
|
|
189
|
+
display: 'flex',
|
|
190
|
+
alignItems: 'center'
|
|
161
191
|
},
|
|
162
|
-
children: (
|
|
163
|
-
|
|
192
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
193
|
+
className: "num-tip-red"
|
|
194
|
+
}), "\u5751\u4F4D\u603B\u6570"]
|
|
195
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
196
|
+
className: "wr-num-total",
|
|
197
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
198
|
+
style: {
|
|
199
|
+
fontSize: '24px'
|
|
200
|
+
},
|
|
201
|
+
children: (_gcDetail$pitTotalFem = gcDetail.pitTotalFemale) !== null && _gcDetail$pitTotalFem !== void 0 ? _gcDetail$pitTotalFem : '--'
|
|
202
|
+
})
|
|
203
|
+
})]
|
|
164
204
|
})]
|
|
165
205
|
})]
|
|
166
206
|
}), /*#__PURE__*/_jsxs("div", {
|
|
Binary file
|
|
@@ -12,7 +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 { useSetState } from 'ahooks';
|
|
15
|
-
import { Tabs } from 'antd';
|
|
15
|
+
import { Alert, Tabs } from 'antd';
|
|
16
16
|
import dayjs from 'dayjs';
|
|
17
17
|
import { useEffect, useState } from 'react';
|
|
18
18
|
import { VmLineCharts, VmTable } from "../../../_components";
|
|
@@ -53,7 +53,8 @@ var getAlarmList = function getAlarmList(params) {
|
|
|
53
53
|
export default (function (props) {
|
|
54
54
|
var _monitorTypeList$filt;
|
|
55
55
|
var theme = props.theme,
|
|
56
|
-
id = props.id
|
|
56
|
+
id = props.id,
|
|
57
|
+
detail = props.detail;
|
|
57
58
|
var _useState = useState({}),
|
|
58
59
|
_useState2 = _slicedToArray(_useState, 2),
|
|
59
60
|
gcDetail = _useState2[0],
|
|
@@ -303,7 +304,18 @@ export default (function (props) {
|
|
|
303
304
|
}, [date, activeKey]);
|
|
304
305
|
return /*#__PURE__*/_jsxs("div", {
|
|
305
306
|
className: "wr-base-content",
|
|
306
|
-
children: [/*#__PURE__*/
|
|
307
|
+
children: [detail.fallDownAlarm && /*#__PURE__*/_jsx("div", {
|
|
308
|
+
className: "wr-base-alart",
|
|
309
|
+
children: /*#__PURE__*/_jsx(Alert, {
|
|
310
|
+
message: /*#__PURE__*/_jsxs("div", {
|
|
311
|
+
children: [/*#__PURE__*/_jsx("img", {
|
|
312
|
+
src: require("./assets/alert.png")
|
|
313
|
+
}), "\u2002 ", detail.fallDownAlarm]
|
|
314
|
+
}),
|
|
315
|
+
type: "warning",
|
|
316
|
+
closable: true
|
|
317
|
+
})
|
|
318
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
307
319
|
className: "wr-base-left",
|
|
308
320
|
children: [/*#__PURE__*/_jsx("div", {
|
|
309
321
|
className: "wr-base-title",
|
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
height: 100%;
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: space-between;
|
|
6
|
+
position: relative;
|
|
7
|
+
.wr-base-alart {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 50px;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
.ant-alert-message {
|
|
16
|
+
color: #ffa100;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
6
19
|
.wr-base-title {
|
|
7
20
|
padding: 12px 16px;
|
|
8
21
|
font-size: 16px;
|
|
@@ -214,7 +227,7 @@
|
|
|
214
227
|
}
|
|
215
228
|
.wr-total-num {
|
|
216
229
|
display: flex;
|
|
217
|
-
gap:
|
|
230
|
+
gap: 8px;
|
|
218
231
|
align-items: center;
|
|
219
232
|
.num-tip-blue {
|
|
220
233
|
display: flex;
|
|
@@ -72,7 +72,9 @@ export default (function (props) {
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
}, [id]);
|
|
75
|
-
var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, '
|
|
75
|
+
var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, 'base', /*#__PURE__*/_jsx(Base, _objectSpread(_objectSpread({}, props), {}, {
|
|
76
|
+
detail: detail
|
|
77
|
+
}))), 'appraise', /*#__PURE__*/_jsx(Appraise, _objectSpread({}, props))), 'score', /*#__PURE__*/_jsx(Score, _objectSpread({}, props))), 'build', /*#__PURE__*/_jsx(Build, _objectSpread({}, props))), 'file', /*#__PURE__*/_jsx(File, _objectSpread({}, props)));
|
|
76
78
|
|
|
77
79
|
// 自定义页签可配置多个,
|
|
78
80
|
if (config !== null && config !== void 0 && config.length) {
|
|
@@ -67,13 +67,21 @@ export default (function (props) {
|
|
|
67
67
|
dataIndex: 'fromContent',
|
|
68
68
|
key: 'fromContent',
|
|
69
69
|
width: 110,
|
|
70
|
-
ellipsis: true
|
|
70
|
+
ellipsis: true,
|
|
71
|
+
render: function render(text) {
|
|
72
|
+
var value = (text || '').replaceAll(' ', '');
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
71
75
|
}, {
|
|
72
76
|
title: '修改后的值',
|
|
73
77
|
dataIndex: 'toContent',
|
|
74
78
|
key: 'toContent',
|
|
75
79
|
width: 110,
|
|
76
|
-
ellipsis: true
|
|
80
|
+
ellipsis: true,
|
|
81
|
+
render: function render(text) {
|
|
82
|
+
var value = (text || '').replaceAll(' ', '');
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
77
85
|
}, {
|
|
78
86
|
title: '修改人',
|
|
79
87
|
dataIndex: 'changeStaffName',
|
|
@@ -40,27 +40,11 @@ export default (function (props) {
|
|
|
40
40
|
_useState2 = _slicedToArray(_useState, 2),
|
|
41
41
|
detail = _useState2[0],
|
|
42
42
|
setDetail = _useState2[1];
|
|
43
|
-
var _useState3 = useState([
|
|
44
|
-
title: '基本信息',
|
|
45
|
-
key: 'zf-base'
|
|
46
|
-
}, {
|
|
47
|
-
title: '流程信息',
|
|
48
|
-
key: 'zf-process'
|
|
49
|
-
}, {
|
|
50
|
-
title: '附件信息',
|
|
51
|
-
key: 'zf-file'
|
|
52
|
-
}, {
|
|
53
|
-
title: '文书',
|
|
54
|
-
key: 'zf-document'
|
|
55
|
-
}, {
|
|
56
|
-
title: '修改记录',
|
|
57
|
-
key: 'zf-record'
|
|
58
|
-
}]),
|
|
43
|
+
var _useState3 = useState([]),
|
|
59
44
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
60
45
|
config = _useState4[0],
|
|
61
46
|
setConfig = _useState4[1];
|
|
62
47
|
useEffect(function () {
|
|
63
|
-
return;
|
|
64
48
|
getByCode({
|
|
65
49
|
code: 'zhzf'
|
|
66
50
|
}).then(function (res) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../vtx-df-modal/style/";
|