@zgfe/modules-dm 1.0.57-zhongyuan.3 → 1.0.57-zhongyuan.6
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/es/modules/clearRule/css/index.less +270 -270
- package/es/modules/clearRule/importMetaDialog/styles/index.less +91 -91
- package/es/modules/formulateRule/addFormulate.d.ts +1 -1
- package/es/modules/formulateRule/addFormulate.js +1 -1
- package/es/modules/formulateRule/addRule.d.ts +1 -1
- package/es/modules/formulateRule/addRule.js +1 -1
- package/es/modules/formulateRule/index.d.ts +1 -1
- package/es/modules/formulateRule/index.js +1 -1
- package/package.json +64 -64
|
@@ -1,270 +1,270 @@
|
|
|
1
|
-
.clearRule {
|
|
2
|
-
height: 100%;
|
|
3
|
-
padding: 24px;
|
|
4
|
-
background: #fff;
|
|
5
|
-
border-radius: 8px;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
&-searchTop {
|
|
8
|
-
display: grid;
|
|
9
|
-
grid-template-columns: 320px 1fr;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-items: self-end;
|
|
12
|
-
margin-bottom: 20px;
|
|
13
|
-
}
|
|
14
|
-
&-modal {
|
|
15
|
-
.ant-modal-body {
|
|
16
|
-
height: 350px;
|
|
17
|
-
}
|
|
18
|
-
.ant-picker-dropdown {
|
|
19
|
-
top: 133px !important;
|
|
20
|
-
left: 13px !important;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
&-content {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
}
|
|
28
|
-
&-importModal {
|
|
29
|
-
&-content {
|
|
30
|
-
}
|
|
31
|
-
&-tip {
|
|
32
|
-
margin: 0px 0px 10px;
|
|
33
|
-
padding: 5px 0px 5px 15px;
|
|
34
|
-
background-color: #e7f3fe;
|
|
35
|
-
border: 1px solid #b8e4ff;
|
|
36
|
-
border-radius: 4px;
|
|
37
|
-
.icon {
|
|
38
|
-
margin: 0px 10px;
|
|
39
|
-
color: #165dff;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
&-list {
|
|
43
|
-
height: 160px;
|
|
44
|
-
padding: 10px;
|
|
45
|
-
overflow-y: scroll;
|
|
46
|
-
border: 1px solid #e5e5e5;
|
|
47
|
-
border-radius: 4px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
&-openRuleModal {
|
|
51
|
-
&-list {
|
|
52
|
-
height: 160px;
|
|
53
|
-
padding: 10px;
|
|
54
|
-
overflow-y: scroll;
|
|
55
|
-
border: 1px solid #e5e5e5;
|
|
56
|
-
border-radius: 4px;
|
|
57
|
-
}
|
|
58
|
-
&-closeTip {
|
|
59
|
-
margin: 10px 0px;
|
|
60
|
-
color: red;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
.openRuleModal-icon {
|
|
65
|
-
margin: 0px 10px 0px 0px;
|
|
66
|
-
color: #faad14;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.addRuleForm {
|
|
70
|
-
.selectVent {
|
|
71
|
-
display: grid;
|
|
72
|
-
grid-gap: 20px;
|
|
73
|
-
grid-template-columns: 1fr 1fr;
|
|
74
|
-
align-items: center;
|
|
75
|
-
width: 100%;
|
|
76
|
-
margin: 20px 0px;
|
|
77
|
-
}
|
|
78
|
-
.ant-checkbox-wrapper {
|
|
79
|
-
position: relative;
|
|
80
|
-
margin-right: 8px;
|
|
81
|
-
padding: 4px 15px;
|
|
82
|
-
color: #333;
|
|
83
|
-
vertical-align: middle;
|
|
84
|
-
background-color: #efefef;
|
|
85
|
-
border: 1px solid #e5e5e5;
|
|
86
|
-
border-radius: 4px;
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
transition: all 0.2s ease;
|
|
89
|
-
&::after {
|
|
90
|
-
position: absolute;
|
|
91
|
-
bottom: -1px;
|
|
92
|
-
left: 6px;
|
|
93
|
-
z-index: 10;
|
|
94
|
-
width: 17px;
|
|
95
|
-
font-size: 23px;
|
|
96
|
-
content: '+';
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
.ant-checkbox-wrapper-checked {
|
|
100
|
-
position: relative;
|
|
101
|
-
color: #165dff;
|
|
102
|
-
background-color: transparent;
|
|
103
|
-
border: 1px solid #165dff;
|
|
104
|
-
&::after {
|
|
105
|
-
position: absolute;
|
|
106
|
-
bottom: -1px;
|
|
107
|
-
left: 6px;
|
|
108
|
-
z-index: 10;
|
|
109
|
-
width: 17px;
|
|
110
|
-
font-size: 23px;
|
|
111
|
-
content: '+';
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
.ant-checkbox-wrapper::after {
|
|
115
|
-
display: inline;
|
|
116
|
-
}
|
|
117
|
-
.ant-checkbox,
|
|
118
|
-
.ant-checkbox-inner {
|
|
119
|
-
display: none;
|
|
120
|
-
}
|
|
121
|
-
.drawerCloseIcon {
|
|
122
|
-
float: right;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
}
|
|
125
|
-
.ant-drawer-close {
|
|
126
|
-
display: none;
|
|
127
|
-
}
|
|
128
|
-
.ant-drawer-footer {
|
|
129
|
-
display: flex;
|
|
130
|
-
justify-content: end;
|
|
131
|
-
}
|
|
132
|
-
.attrValue {
|
|
133
|
-
&-list {
|
|
134
|
-
display: grid;
|
|
135
|
-
grid-gap: 20px;
|
|
136
|
-
grid-template-columns: 80px 1fr;
|
|
137
|
-
align-items: center;
|
|
138
|
-
justify-content: space-between;
|
|
139
|
-
margin: 20px 0px;
|
|
140
|
-
}
|
|
141
|
-
position: relative;
|
|
142
|
-
padding-left: 30px;
|
|
143
|
-
&-styleLine {
|
|
144
|
-
position: absolute;
|
|
145
|
-
top: 50%;
|
|
146
|
-
left: -1px;
|
|
147
|
-
z-index: 10;
|
|
148
|
-
width: 20px;
|
|
149
|
-
color: white;
|
|
150
|
-
text-align: center;
|
|
151
|
-
background: #165dff;
|
|
152
|
-
border-radius: 4px 4px 0px 0px;
|
|
153
|
-
transform: translate(0, -50%);
|
|
154
|
-
}
|
|
155
|
-
&::after {
|
|
156
|
-
position: absolute;
|
|
157
|
-
top: 0;
|
|
158
|
-
left: 8px;
|
|
159
|
-
z-index: 1;
|
|
160
|
-
width: 1px;
|
|
161
|
-
height: 100%;
|
|
162
|
-
background: #e8efff;
|
|
163
|
-
content: '';
|
|
164
|
-
}
|
|
165
|
-
.attrValue-list-right {
|
|
166
|
-
display: grid;
|
|
167
|
-
grid-gap: 20px;
|
|
168
|
-
grid-template-columns: 3px 80px 10px 80px 3px;
|
|
169
|
-
align-items: center;
|
|
170
|
-
justify-content: start;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
.columnsActionClass {
|
|
175
|
-
cursor: pointer;
|
|
176
|
-
}
|
|
177
|
-
.formulateDetail {
|
|
178
|
-
&-title {
|
|
179
|
-
display: flex;
|
|
180
|
-
align-items: center;
|
|
181
|
-
justify-content: space-between;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
.addRule-formulate-tip {
|
|
185
|
-
margin: 10px 0px 0px;
|
|
186
|
-
color: red;
|
|
187
|
-
}
|
|
188
|
-
.formulateDetailClass {
|
|
189
|
-
margin: 10px 0px 0px;
|
|
190
|
-
border: 1px solid #ecedf0;
|
|
191
|
-
border-radius: 5px;
|
|
192
|
-
&-time {
|
|
193
|
-
color: #5f6085;
|
|
194
|
-
}
|
|
195
|
-
&-title {
|
|
196
|
-
display: grid;
|
|
197
|
-
grid-gap: 16px;
|
|
198
|
-
grid-template-columns: 200px 1fr;
|
|
199
|
-
align-items: center;
|
|
200
|
-
justify-content: space-between;
|
|
201
|
-
background-color: #f2f3f4;
|
|
202
|
-
border-bottom: 1px solid #ecedf0;
|
|
203
|
-
&-left {
|
|
204
|
-
padding: 10px 0px 10px 10px;
|
|
205
|
-
border-right: 1px solid #ecedf0;
|
|
206
|
-
}
|
|
207
|
-
&-right {
|
|
208
|
-
display: flex;
|
|
209
|
-
align-items: center;
|
|
210
|
-
justify-content: space-between;
|
|
211
|
-
padding: 10px 10px 10px 10px;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
&-content {
|
|
215
|
-
display: grid;
|
|
216
|
-
grid-gap: 16px;
|
|
217
|
-
grid-template-columns: 200px 1fr;
|
|
218
|
-
align-items: flex-start;
|
|
219
|
-
justify-content: space-between;
|
|
220
|
-
height: 300px;
|
|
221
|
-
&-left {
|
|
222
|
-
height: 100%;
|
|
223
|
-
overflow: auto;
|
|
224
|
-
border-right: 1px solid #ecedf0;
|
|
225
|
-
&-tip {
|
|
226
|
-
margin: 0px 5px 0px 0px;
|
|
227
|
-
color: red;
|
|
228
|
-
}
|
|
229
|
-
&-item {
|
|
230
|
-
padding: 10px;
|
|
231
|
-
cursor: pointer;
|
|
232
|
-
}
|
|
233
|
-
&-itemContent {
|
|
234
|
-
margin: 0px 0px 0px 5px;
|
|
235
|
-
padding: 5px;
|
|
236
|
-
border: 1px solid #5f6085;
|
|
237
|
-
border-radius: 4px;
|
|
238
|
-
}
|
|
239
|
-
.active {
|
|
240
|
-
position: relative;
|
|
241
|
-
background-color: #e8efff;
|
|
242
|
-
&::after {
|
|
243
|
-
position: absolute;
|
|
244
|
-
top: 0;
|
|
245
|
-
left: 0;
|
|
246
|
-
width: 2px;
|
|
247
|
-
height: 100%;
|
|
248
|
-
background-color: #6b8ffd;
|
|
249
|
-
content: '';
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
.activeTime {
|
|
253
|
-
color: #2467fc;
|
|
254
|
-
.formulateDetailClass-content-left-tip {
|
|
255
|
-
color: #2467fc;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
&-right {
|
|
260
|
-
display: flex;
|
|
261
|
-
align-items: center;
|
|
262
|
-
justify-content: space-between;
|
|
263
|
-
margin: 15px;
|
|
264
|
-
line-height: 2;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
.addRule-errorTip {
|
|
269
|
-
color: red;
|
|
270
|
-
}
|
|
1
|
+
.clearRule {
|
|
2
|
+
height: 100%;
|
|
3
|
+
padding: 24px;
|
|
4
|
+
background: #fff;
|
|
5
|
+
border-radius: 8px;
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
&-searchTop {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: 320px 1fr;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-items: self-end;
|
|
12
|
+
margin-bottom: 20px;
|
|
13
|
+
}
|
|
14
|
+
&-modal {
|
|
15
|
+
.ant-modal-body {
|
|
16
|
+
height: 350px;
|
|
17
|
+
}
|
|
18
|
+
.ant-picker-dropdown {
|
|
19
|
+
top: 133px !important;
|
|
20
|
+
left: 13px !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&-content {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
}
|
|
28
|
+
&-importModal {
|
|
29
|
+
&-content {
|
|
30
|
+
}
|
|
31
|
+
&-tip {
|
|
32
|
+
margin: 0px 0px 10px;
|
|
33
|
+
padding: 5px 0px 5px 15px;
|
|
34
|
+
background-color: #e7f3fe;
|
|
35
|
+
border: 1px solid #b8e4ff;
|
|
36
|
+
border-radius: 4px;
|
|
37
|
+
.icon {
|
|
38
|
+
margin: 0px 10px;
|
|
39
|
+
color: #165dff;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
&-list {
|
|
43
|
+
height: 160px;
|
|
44
|
+
padding: 10px;
|
|
45
|
+
overflow-y: scroll;
|
|
46
|
+
border: 1px solid #e5e5e5;
|
|
47
|
+
border-radius: 4px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
&-openRuleModal {
|
|
51
|
+
&-list {
|
|
52
|
+
height: 160px;
|
|
53
|
+
padding: 10px;
|
|
54
|
+
overflow-y: scroll;
|
|
55
|
+
border: 1px solid #e5e5e5;
|
|
56
|
+
border-radius: 4px;
|
|
57
|
+
}
|
|
58
|
+
&-closeTip {
|
|
59
|
+
margin: 10px 0px;
|
|
60
|
+
color: red;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
.openRuleModal-icon {
|
|
65
|
+
margin: 0px 10px 0px 0px;
|
|
66
|
+
color: #faad14;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.addRuleForm {
|
|
70
|
+
.selectVent {
|
|
71
|
+
display: grid;
|
|
72
|
+
grid-gap: 20px;
|
|
73
|
+
grid-template-columns: 1fr 1fr;
|
|
74
|
+
align-items: center;
|
|
75
|
+
width: 100%;
|
|
76
|
+
margin: 20px 0px;
|
|
77
|
+
}
|
|
78
|
+
.ant-checkbox-wrapper {
|
|
79
|
+
position: relative;
|
|
80
|
+
margin-right: 8px;
|
|
81
|
+
padding: 4px 15px;
|
|
82
|
+
color: #333;
|
|
83
|
+
vertical-align: middle;
|
|
84
|
+
background-color: #efefef;
|
|
85
|
+
border: 1px solid #e5e5e5;
|
|
86
|
+
border-radius: 4px;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
transition: all 0.2s ease;
|
|
89
|
+
&::after {
|
|
90
|
+
position: absolute;
|
|
91
|
+
bottom: -1px;
|
|
92
|
+
left: 6px;
|
|
93
|
+
z-index: 10;
|
|
94
|
+
width: 17px;
|
|
95
|
+
font-size: 23px;
|
|
96
|
+
content: '+';
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.ant-checkbox-wrapper-checked {
|
|
100
|
+
position: relative;
|
|
101
|
+
color: #165dff;
|
|
102
|
+
background-color: transparent;
|
|
103
|
+
border: 1px solid #165dff;
|
|
104
|
+
&::after {
|
|
105
|
+
position: absolute;
|
|
106
|
+
bottom: -1px;
|
|
107
|
+
left: 6px;
|
|
108
|
+
z-index: 10;
|
|
109
|
+
width: 17px;
|
|
110
|
+
font-size: 23px;
|
|
111
|
+
content: '+';
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
.ant-checkbox-wrapper::after {
|
|
115
|
+
display: inline;
|
|
116
|
+
}
|
|
117
|
+
.ant-checkbox,
|
|
118
|
+
.ant-checkbox-inner {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
.drawerCloseIcon {
|
|
122
|
+
float: right;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
}
|
|
125
|
+
.ant-drawer-close {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
.ant-drawer-footer {
|
|
129
|
+
display: flex;
|
|
130
|
+
justify-content: end;
|
|
131
|
+
}
|
|
132
|
+
.attrValue {
|
|
133
|
+
&-list {
|
|
134
|
+
display: grid;
|
|
135
|
+
grid-gap: 20px;
|
|
136
|
+
grid-template-columns: 80px 1fr;
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: space-between;
|
|
139
|
+
margin: 20px 0px;
|
|
140
|
+
}
|
|
141
|
+
position: relative;
|
|
142
|
+
padding-left: 30px;
|
|
143
|
+
&-styleLine {
|
|
144
|
+
position: absolute;
|
|
145
|
+
top: 50%;
|
|
146
|
+
left: -1px;
|
|
147
|
+
z-index: 10;
|
|
148
|
+
width: 20px;
|
|
149
|
+
color: white;
|
|
150
|
+
text-align: center;
|
|
151
|
+
background: #165dff;
|
|
152
|
+
border-radius: 4px 4px 0px 0px;
|
|
153
|
+
transform: translate(0, -50%);
|
|
154
|
+
}
|
|
155
|
+
&::after {
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: 0;
|
|
158
|
+
left: 8px;
|
|
159
|
+
z-index: 1;
|
|
160
|
+
width: 1px;
|
|
161
|
+
height: 100%;
|
|
162
|
+
background: #e8efff;
|
|
163
|
+
content: '';
|
|
164
|
+
}
|
|
165
|
+
.attrValue-list-right {
|
|
166
|
+
display: grid;
|
|
167
|
+
grid-gap: 20px;
|
|
168
|
+
grid-template-columns: 3px 80px 10px 80px 3px;
|
|
169
|
+
align-items: center;
|
|
170
|
+
justify-content: start;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
.columnsActionClass {
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
}
|
|
177
|
+
.formulateDetail {
|
|
178
|
+
&-title {
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: space-between;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
.addRule-formulate-tip {
|
|
185
|
+
margin: 10px 0px 0px;
|
|
186
|
+
color: red;
|
|
187
|
+
}
|
|
188
|
+
.formulateDetailClass {
|
|
189
|
+
margin: 10px 0px 0px;
|
|
190
|
+
border: 1px solid #ecedf0;
|
|
191
|
+
border-radius: 5px;
|
|
192
|
+
&-time {
|
|
193
|
+
color: #5f6085;
|
|
194
|
+
}
|
|
195
|
+
&-title {
|
|
196
|
+
display: grid;
|
|
197
|
+
grid-gap: 16px;
|
|
198
|
+
grid-template-columns: 200px 1fr;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: space-between;
|
|
201
|
+
background-color: #f2f3f4;
|
|
202
|
+
border-bottom: 1px solid #ecedf0;
|
|
203
|
+
&-left {
|
|
204
|
+
padding: 10px 0px 10px 10px;
|
|
205
|
+
border-right: 1px solid #ecedf0;
|
|
206
|
+
}
|
|
207
|
+
&-right {
|
|
208
|
+
display: flex;
|
|
209
|
+
align-items: center;
|
|
210
|
+
justify-content: space-between;
|
|
211
|
+
padding: 10px 10px 10px 10px;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
&-content {
|
|
215
|
+
display: grid;
|
|
216
|
+
grid-gap: 16px;
|
|
217
|
+
grid-template-columns: 200px 1fr;
|
|
218
|
+
align-items: flex-start;
|
|
219
|
+
justify-content: space-between;
|
|
220
|
+
height: 300px;
|
|
221
|
+
&-left {
|
|
222
|
+
height: 100%;
|
|
223
|
+
overflow: auto;
|
|
224
|
+
border-right: 1px solid #ecedf0;
|
|
225
|
+
&-tip {
|
|
226
|
+
margin: 0px 5px 0px 0px;
|
|
227
|
+
color: red;
|
|
228
|
+
}
|
|
229
|
+
&-item {
|
|
230
|
+
padding: 10px;
|
|
231
|
+
cursor: pointer;
|
|
232
|
+
}
|
|
233
|
+
&-itemContent {
|
|
234
|
+
margin: 0px 0px 0px 5px;
|
|
235
|
+
padding: 5px;
|
|
236
|
+
border: 1px solid #5f6085;
|
|
237
|
+
border-radius: 4px;
|
|
238
|
+
}
|
|
239
|
+
.active {
|
|
240
|
+
position: relative;
|
|
241
|
+
background-color: #e8efff;
|
|
242
|
+
&::after {
|
|
243
|
+
position: absolute;
|
|
244
|
+
top: 0;
|
|
245
|
+
left: 0;
|
|
246
|
+
width: 2px;
|
|
247
|
+
height: 100%;
|
|
248
|
+
background-color: #6b8ffd;
|
|
249
|
+
content: '';
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
.activeTime {
|
|
253
|
+
color: #2467fc;
|
|
254
|
+
.formulateDetailClass-content-left-tip {
|
|
255
|
+
color: #2467fc;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
&-right {
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
justify-content: space-between;
|
|
263
|
+
margin: 15px;
|
|
264
|
+
line-height: 2;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.addRule-errorTip {
|
|
269
|
+
color: red;
|
|
270
|
+
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.import-meta-modal {
|
|
4
|
-
&-icon-file {
|
|
5
|
-
color: @primary-color;
|
|
6
|
-
font-size: 48px !important;
|
|
7
|
-
}
|
|
8
|
-
&-icon-export {
|
|
9
|
-
margin-right: @margin-xss;
|
|
10
|
-
}
|
|
11
|
-
&-export-btn {
|
|
12
|
-
display: block;
|
|
13
|
-
width: fit-content;
|
|
14
|
-
// margin-top: @margin-md;
|
|
15
|
-
}
|
|
16
|
-
.ant-upload.ant-upload-drag {
|
|
17
|
-
background: #fafafb;
|
|
18
|
-
/* io/中性/N2-置灰信息 */
|
|
19
|
-
border: 1px dashed #ccd0d4;
|
|
20
|
-
}
|
|
21
|
-
.ant-upload.ant-upload-drag .ant-upload {
|
|
22
|
-
padding: 40px 0;
|
|
23
|
-
}
|
|
24
|
-
&-export-container {
|
|
25
|
-
border-radius: 4px;
|
|
26
|
-
&-h1 {
|
|
27
|
-
margin-top: -8px;
|
|
28
|
-
margin-bottom: 4px;
|
|
29
|
-
}
|
|
30
|
-
&-h2 {
|
|
31
|
-
color: @text-color-secondary;
|
|
32
|
-
font-size: 12px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-show-container {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: space-between;
|
|
40
|
-
padding: 24px;
|
|
41
|
-
background: #fafafb;
|
|
42
|
-
/* io/中性/N1-按钮边框 线色 */
|
|
43
|
-
border: 1px solid #e6e7ea;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
&-content {
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
&-icon {
|
|
49
|
-
margin-right: 12px;
|
|
50
|
-
color: @primary-color;
|
|
51
|
-
font-size: 40px !important;
|
|
52
|
-
}
|
|
53
|
-
&-file {
|
|
54
|
-
&-title {
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
}
|
|
57
|
-
&-size {
|
|
58
|
-
color: @text-color-secondary;
|
|
59
|
-
font-size: 12px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-spin {
|
|
66
|
-
background: #fafafb;
|
|
67
|
-
border: 1px solid #e6e7ea;
|
|
68
|
-
border-radius: 4px;
|
|
69
|
-
&-icon.anticon {
|
|
70
|
-
color: @primary-color;
|
|
71
|
-
font-size: 24px;
|
|
72
|
-
}
|
|
73
|
-
.ant-spin-text {
|
|
74
|
-
margin-top: @margin-xs;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&-upload-txt {
|
|
79
|
-
font-size: 16px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.ant-modal-body {
|
|
83
|
-
padding-top: 8px !important;
|
|
84
|
-
}
|
|
85
|
-
&-footer {
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
align-items: center;
|
|
89
|
-
justify-content: space-between;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.import-meta-modal {
|
|
4
|
+
&-icon-file {
|
|
5
|
+
color: @primary-color;
|
|
6
|
+
font-size: 48px !important;
|
|
7
|
+
}
|
|
8
|
+
&-icon-export {
|
|
9
|
+
margin-right: @margin-xss;
|
|
10
|
+
}
|
|
11
|
+
&-export-btn {
|
|
12
|
+
display: block;
|
|
13
|
+
width: fit-content;
|
|
14
|
+
// margin-top: @margin-md;
|
|
15
|
+
}
|
|
16
|
+
.ant-upload.ant-upload-drag {
|
|
17
|
+
background: #fafafb;
|
|
18
|
+
/* io/中性/N2-置灰信息 */
|
|
19
|
+
border: 1px dashed #ccd0d4;
|
|
20
|
+
}
|
|
21
|
+
.ant-upload.ant-upload-drag .ant-upload {
|
|
22
|
+
padding: 40px 0;
|
|
23
|
+
}
|
|
24
|
+
&-export-container {
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
&-h1 {
|
|
27
|
+
margin-top: -8px;
|
|
28
|
+
margin-bottom: 4px;
|
|
29
|
+
}
|
|
30
|
+
&-h2 {
|
|
31
|
+
color: @text-color-secondary;
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-show-container {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
padding: 24px;
|
|
41
|
+
background: #fafafb;
|
|
42
|
+
/* io/中性/N1-按钮边框 线色 */
|
|
43
|
+
border: 1px solid #e6e7ea;
|
|
44
|
+
border-radius: 4px;
|
|
45
|
+
&-content {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
&-icon {
|
|
49
|
+
margin-right: 12px;
|
|
50
|
+
color: @primary-color;
|
|
51
|
+
font-size: 40px !important;
|
|
52
|
+
}
|
|
53
|
+
&-file {
|
|
54
|
+
&-title {
|
|
55
|
+
font-size: 16px;
|
|
56
|
+
}
|
|
57
|
+
&-size {
|
|
58
|
+
color: @text-color-secondary;
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-spin {
|
|
66
|
+
background: #fafafb;
|
|
67
|
+
border: 1px solid #e6e7ea;
|
|
68
|
+
border-radius: 4px;
|
|
69
|
+
&-icon.anticon {
|
|
70
|
+
color: @primary-color;
|
|
71
|
+
font-size: 24px;
|
|
72
|
+
}
|
|
73
|
+
.ant-spin-text {
|
|
74
|
+
margin-top: @margin-xs;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-upload-txt {
|
|
79
|
+
font-size: 16px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ant-modal-body {
|
|
83
|
+
padding-top: 8px !important;
|
|
84
|
+
}
|
|
85
|
+
&-footer {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: space-between;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -12,7 +12,7 @@ import { Drawer, Input, Button, Space, Form, Table, Select, message } from 'antd
|
|
|
12
12
|
import { CloseOutlined, PlusOutlined } from '@ant-design/icons';
|
|
13
13
|
import React, { useState, useEffect, useContext } from 'react';
|
|
14
14
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
15
|
-
import '../
|
|
15
|
+
import '../clearRule/css/index.less';
|
|
16
16
|
import AddRule from './addRule';
|
|
17
17
|
import request from '../../utils/ajax';
|
|
18
18
|
import apis from '../../constants/api';
|
|
@@ -17,7 +17,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
17
17
|
import { Drawer, Input, Button, Space, Form, Table, Select } from 'antd';
|
|
18
18
|
import { CloseOutlined, PlusOutlined } from '@ant-design/icons';
|
|
19
19
|
import React, { useEffect, useState } from 'react';
|
|
20
|
-
import '../
|
|
20
|
+
import '../clearRule/css/index.less';
|
|
21
21
|
import { typeArr, dateArr, tianchongArr, shuzhiArr } from './data';
|
|
22
22
|
var AddRule = function AddRule(_ref) {
|
|
23
23
|
var addruleShow = _ref.addruleShow,
|
|
@@ -18,7 +18,7 @@ import UseModal from '../CutsModal';
|
|
|
18
18
|
import AddFormulate from './addFormulate';
|
|
19
19
|
import request from '../../utils/ajax';
|
|
20
20
|
import apis from '../../constants/api';
|
|
21
|
-
import '../
|
|
21
|
+
import '../clearRule/css/index.less';
|
|
22
22
|
import moment from 'moment';
|
|
23
23
|
var Text = Typography.Text;
|
|
24
24
|
var RangePicker = DatePicker.RangePicker;
|
package/package.json
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan.
|
|
4
|
-
"license": "ISC",
|
|
5
|
-
"module": "es/index.js",
|
|
6
|
-
"typings": "es/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"es"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "father-build",
|
|
12
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
-
"docs:build": "dumi build",
|
|
14
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
-
"prepublishOnly": "npm run build",
|
|
16
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
-
"pub": "lerna publish",
|
|
18
|
-
"start": "dumi dev",
|
|
19
|
-
"test": "umi-test",
|
|
20
|
-
"test:coverage": "umi-test --coverage"
|
|
21
|
-
},
|
|
22
|
-
"lint-staged": {
|
|
23
|
-
"*.{js,jsx,less,md,json}": [
|
|
24
|
-
"prettier --write"
|
|
25
|
-
],
|
|
26
|
-
"*.ts?(x)": [
|
|
27
|
-
"prettier --parser=typescript --write"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@types/lodash-es": "^4.17.12",
|
|
32
|
-
"@visactor/react-vtable": "^1.12.0",
|
|
33
|
-
"@visactor/vtable": "^1.12.0",
|
|
34
|
-
"array-move": "^4.0.0",
|
|
35
|
-
"echarts": "^5.6.0",
|
|
36
|
-
"echarts-for-react": "^3.0.2",
|
|
37
|
-
"lodash-es": "^4.17.21",
|
|
38
|
-
"moment": "^2.30.1",
|
|
39
|
-
"react": "^16.12.0 || ^17.0.0",
|
|
40
|
-
"react-sortable-hoc": "^2.0.0"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@testing-library/jest-dom": "^5.15.1",
|
|
44
|
-
"@testing-library/react": "^12.1.2",
|
|
45
|
-
"@types/jest": "^27.0.3",
|
|
46
|
-
"@types/lodash": "^4.14.182",
|
|
47
|
-
"@umijs/fabric": "^2.8.1",
|
|
48
|
-
"@umijs/test": "^3.0.5",
|
|
49
|
-
"@zgfe/business-lib": "1.2.70-hxd.1",
|
|
50
|
-
"antd": "4.24.10",
|
|
51
|
-
"dumi": "^1.1.0",
|
|
52
|
-
"father-build": "^1.17.2",
|
|
53
|
-
"gh-pages": "^3.0.0",
|
|
54
|
-
"lerna": "^4.0.0",
|
|
55
|
-
"lint-staged": "^10.0.7",
|
|
56
|
-
"prettier": "^2.2.1",
|
|
57
|
-
"umi-request": "^1.4.0",
|
|
58
|
-
"yorkie": "^2.0.0"
|
|
59
|
-
},
|
|
60
|
-
"gitHead": "
|
|
61
|
-
"gitHooks": {
|
|
62
|
-
"pre-commit": "lint-staged"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zgfe/modules-dm",
|
|
3
|
+
"version": "1.0.57-zhongyuan.6",
|
|
4
|
+
"license": "ISC",
|
|
5
|
+
"module": "es/index.js",
|
|
6
|
+
"typings": "es/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"es"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "father-build",
|
|
12
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
+
"docs:build": "dumi build",
|
|
14
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
+
"prepublishOnly": "npm run build",
|
|
16
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
+
"pub": "lerna publish",
|
|
18
|
+
"start": "dumi dev",
|
|
19
|
+
"test": "umi-test",
|
|
20
|
+
"test:coverage": "umi-test --coverage"
|
|
21
|
+
},
|
|
22
|
+
"lint-staged": {
|
|
23
|
+
"*.{js,jsx,less,md,json}": [
|
|
24
|
+
"prettier --write"
|
|
25
|
+
],
|
|
26
|
+
"*.ts?(x)": [
|
|
27
|
+
"prettier --parser=typescript --write"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@types/lodash-es": "^4.17.12",
|
|
32
|
+
"@visactor/react-vtable": "^1.12.0",
|
|
33
|
+
"@visactor/vtable": "^1.12.0",
|
|
34
|
+
"array-move": "^4.0.0",
|
|
35
|
+
"echarts": "^5.6.0",
|
|
36
|
+
"echarts-for-react": "^3.0.2",
|
|
37
|
+
"lodash-es": "^4.17.21",
|
|
38
|
+
"moment": "^2.30.1",
|
|
39
|
+
"react": "^16.12.0 || ^17.0.0",
|
|
40
|
+
"react-sortable-hoc": "^2.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@testing-library/jest-dom": "^5.15.1",
|
|
44
|
+
"@testing-library/react": "^12.1.2",
|
|
45
|
+
"@types/jest": "^27.0.3",
|
|
46
|
+
"@types/lodash": "^4.14.182",
|
|
47
|
+
"@umijs/fabric": "^2.8.1",
|
|
48
|
+
"@umijs/test": "^3.0.5",
|
|
49
|
+
"@zgfe/business-lib": "1.2.70-hxd.1",
|
|
50
|
+
"antd": "4.24.10",
|
|
51
|
+
"dumi": "^1.1.0",
|
|
52
|
+
"father-build": "^1.17.2",
|
|
53
|
+
"gh-pages": "^3.0.0",
|
|
54
|
+
"lerna": "^4.0.0",
|
|
55
|
+
"lint-staged": "^10.0.7",
|
|
56
|
+
"prettier": "^2.2.1",
|
|
57
|
+
"umi-request": "^1.4.0",
|
|
58
|
+
"yorkie": "^2.0.0"
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "4cd164cffdc1b9cf867e4dba929d3d8433bd16c2",
|
|
61
|
+
"gitHooks": {
|
|
62
|
+
"pre-commit": "lint-staged"
|
|
63
|
+
}
|
|
64
|
+
}
|