kmkf-work-order-service-component 0.5.0-alpha.2 → 0.5.0-alpha.4
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/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/TemplateList/index.less +4 -1
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/index.js +7 -4
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/index.less +8 -5
- package/dist/esm/WorkOrder/components/PaymentWorkOrderList/index.js +1 -1
- package/dist/esm/WorkOrder/components/PaymentWorkOrderList/index.less +1 -1
- package/package.json +1 -1
@@ -139,7 +139,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
139
139
|
var tabActive = _ref4.tabActive;
|
140
140
|
var dispatch = useAppDispatch();
|
141
141
|
|
142
|
-
var _useState = useState(
|
142
|
+
var _useState = useState(false),
|
143
143
|
_useState2 = _slicedToArray(_useState, 2),
|
144
144
|
open = _useState2[0],
|
145
145
|
setOpen = _useState2[1];
|
@@ -383,9 +383,12 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
383
383
|
children: /*#__PURE__*/_jsx("span", {
|
384
384
|
children: "\u9ED8\u8BA4\u8FD130\u5929\u7684\u5168\u90E8\u5DE5\u5355"
|
385
385
|
})
|
386
|
-
}), /*#__PURE__*/_jsx(
|
387
|
-
|
388
|
-
|
386
|
+
}), /*#__PURE__*/_jsx("div", {
|
387
|
+
className: "template-list-flex-height",
|
388
|
+
children: /*#__PURE__*/_jsx(TemplateList, {
|
389
|
+
templateList: allTempLateList,
|
390
|
+
handleCreateWorkOrder: handleCreateWorkOrder
|
391
|
+
})
|
389
392
|
})]
|
390
393
|
}), searchForm, /*#__PURE__*/_jsxs("div", {
|
391
394
|
className: "custom_box_main_layout",
|
@@ -1,6 +1,5 @@
|
|
1
1
|
.custom_box {
|
2
|
-
|
3
|
-
overflow-x: hidden;
|
2
|
+
overflow: hidden;
|
4
3
|
:global(.ant-row) {
|
5
4
|
margin: 0 !important;
|
6
5
|
}
|
@@ -19,6 +18,9 @@
|
|
19
18
|
justify-content: space-between;
|
20
19
|
margin-bottom: 4px;
|
21
20
|
}
|
21
|
+
.template-list-flex-height {
|
22
|
+
height: 78px;
|
23
|
+
}
|
22
24
|
.custom_box_header {
|
23
25
|
padding: 0 16px 16px 16px;
|
24
26
|
border-bottom: 1px solid #f2f2f2;
|
@@ -125,14 +127,16 @@
|
|
125
127
|
|
126
128
|
.custom_box_main_layout {
|
127
129
|
display: flex;
|
130
|
+
flex: auto 1 1;
|
128
131
|
flex-direction: column;
|
129
132
|
justify-content: space-between;
|
133
|
+
height: calc(100vh - 214px);
|
134
|
+
overflow: auto;
|
130
135
|
}
|
131
136
|
|
132
137
|
.custom_box_main {
|
133
|
-
height: calc(100vh - 338px);
|
134
138
|
margin-top: 8px;
|
135
|
-
|
139
|
+
padding-bottom: 40px;
|
136
140
|
background-color: #fafafa;
|
137
141
|
}
|
138
142
|
|
@@ -162,7 +166,6 @@
|
|
162
166
|
flex-basis: 40px;
|
163
167
|
justify-content: flex-end;
|
164
168
|
width: 100%;
|
165
|
-
padding: 0 16px;
|
166
169
|
background-color: #fff;
|
167
170
|
}
|
168
171
|
.bottom-actions {
|
@@ -293,7 +293,7 @@ var PaymentWorkOrderList = function PaymentWorkOrderList(_ref) {
|
|
293
293
|
})
|
294
294
|
})
|
295
295
|
}), /*#__PURE__*/_jsx("div", {
|
296
|
-
className: "
|
296
|
+
className: "payment_box_page",
|
297
297
|
children: /*#__PURE__*/_jsx(Pagination, {
|
298
298
|
size: "small",
|
299
299
|
showQuickJumper: true,
|