kmkf-work-order-service-component 0.5.0-alpha.3 → 0.5.0-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -374,7 +374,8 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
374
374
|
children: /*#__PURE__*/_jsxs("div", {
|
375
375
|
className: "custom_box",
|
376
376
|
style: {
|
377
|
-
display: tabActive === 'custom' ? '
|
377
|
+
display: tabActive === 'custom' ? 'flex' : 'none',
|
378
|
+
flexDirection: 'column'
|
378
379
|
},
|
379
380
|
children: [/*#__PURE__*/_jsxs("div", {
|
380
381
|
className: "custom-top",
|
@@ -383,9 +384,12 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
383
384
|
children: /*#__PURE__*/_jsx("span", {
|
384
385
|
children: "\u9ED8\u8BA4\u8FD130\u5929\u7684\u5168\u90E8\u5DE5\u5355"
|
385
386
|
})
|
386
|
-
}), /*#__PURE__*/_jsx(
|
387
|
-
|
388
|
-
|
387
|
+
}), /*#__PURE__*/_jsx("div", {
|
388
|
+
className: "template-list-flex-height",
|
389
|
+
children: /*#__PURE__*/_jsx(TemplateList, {
|
390
|
+
templateList: allTempLateList,
|
391
|
+
handleCreateWorkOrder: handleCreateWorkOrder
|
392
|
+
})
|
389
393
|
})]
|
390
394
|
}), searchForm, /*#__PURE__*/_jsxs("div", {
|
391
395
|
className: "custom_box_main_layout",
|
@@ -18,6 +18,9 @@
|
|
18
18
|
justify-content: space-between;
|
19
19
|
margin-bottom: 4px;
|
20
20
|
}
|
21
|
+
.template-list-flex-height {
|
22
|
+
height: 78px;
|
23
|
+
}
|
21
24
|
.custom_box_header {
|
22
25
|
padding: 0 16px 16px 16px;
|
23
26
|
border-bottom: 1px solid #f2f2f2;
|
@@ -124,28 +127,16 @@
|
|
124
127
|
|
125
128
|
.custom_box_main_layout {
|
126
129
|
display: flex;
|
130
|
+
flex: auto 1 1;
|
127
131
|
flex-direction: column;
|
128
132
|
justify-content: space-between;
|
129
133
|
}
|
130
134
|
|
131
135
|
.custom_box_main {
|
132
|
-
height: calc(100vh - 338px);
|
133
136
|
margin-top: 8px;
|
134
|
-
overflow: auto;
|
135
137
|
background-color: #fafafa;
|
136
138
|
}
|
137
139
|
|
138
|
-
.custom_box_main_fxg {
|
139
|
-
height: calc(100vh - 412px);
|
140
|
-
}
|
141
|
-
.custom_box_main_xiaozhi {
|
142
|
-
height: calc(100vh - 228px);
|
143
|
-
}
|
144
|
-
|
145
|
-
.custom_box_main_ks {
|
146
|
-
height: calc(100vh - 538px); // TODO: ks顶部多144px
|
147
|
-
}
|
148
|
-
|
149
140
|
.custom_box_main_empty {
|
150
141
|
display: flex;
|
151
142
|
align-items: center;
|