kmkf-work-order-service-component 0.1.6 → 0.1.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/dist/esm/WorkOrder/index.js +33 -33
- package/dist/esm/WorkOrder/index.less +7 -11
- package/package.json +1 -1
@@ -28,7 +28,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
28
28
|
* @Author: wangzhenggui jianjia.wzg@raycloud.com
|
29
29
|
* @Date: 2022-09-16 11:19:43
|
30
30
|
* @LastEditors: wangzhenggui jianjia.wzg@raycloud.com
|
31
|
-
* @LastEditTime: 2022-10-25
|
31
|
+
* @LastEditTime: 2022-10-25 15:27:24
|
32
32
|
* @FilePath: /kmkf-work-order-service-component/src/WorkOrder/index.tsx
|
33
33
|
* @Description:
|
34
34
|
*
|
@@ -458,9 +458,9 @@ var OrderList = function OrderList(_ref) {
|
|
458
458
|
alt: ""
|
459
459
|
})
|
460
460
|
})]
|
461
|
-
}), /*#__PURE__*/
|
461
|
+
}), /*#__PURE__*/_jsx("main", {
|
462
462
|
className: "custom_box_main ".concat(platform === PlatForm.FXG ? 'custom_box_main_feige' : 'custom_box_main_other'),
|
463
|
-
children:
|
463
|
+
children: orderList.length ? orderList.map(function (item) {
|
464
464
|
return /*#__PURE__*/_jsx(ListOrderItem, {
|
465
465
|
item: item,
|
466
466
|
onEdit: onEdit,
|
@@ -479,20 +479,20 @@ var OrderList = function OrderList(_ref) {
|
|
479
479
|
children: "\u6682\u65E0\u6570\u636E"
|
480
480
|
})]
|
481
481
|
})
|
482
|
-
})
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
})
|
482
|
+
})
|
483
|
+
}), total > 0 && /*#__PURE__*/_jsx("div", {
|
484
|
+
className: "custom_box_page",
|
485
|
+
children: /*#__PURE__*/_jsx(Pagination, {
|
486
|
+
showSizeChanger: false,
|
487
|
+
showQuickJumper: true,
|
488
|
+
showTotal: function showTotal(total) {
|
489
|
+
return "\u5171".concat(total, "\u6761");
|
490
|
+
},
|
491
|
+
current: customSearch.pageNo,
|
492
|
+
pageSize: customSearch.pageSize,
|
493
|
+
total: total,
|
494
|
+
onChange: onChangePage
|
495
|
+
})
|
496
496
|
}), /*#__PURE__*/_jsx(RecordLog, {
|
497
497
|
ref: recordLogRef
|
498
498
|
}), /*#__PURE__*/_jsx(TransferOrderModal, {
|
@@ -715,9 +715,9 @@ var PayOrderList = function PayOrderList(_ref5) {
|
|
715
715
|
alt: ""
|
716
716
|
})
|
717
717
|
})]
|
718
|
-
}), /*#__PURE__*/
|
718
|
+
}), /*#__PURE__*/_jsx("div", {
|
719
719
|
className: "payment_box_main ".concat(platform === PlatForm.FXG ? 'payment_box_main_feige' : 'payment_box_main_other'),
|
720
|
-
children:
|
720
|
+
children: payOrderList.length ? payOrderList.map(function (item) {
|
721
721
|
return /*#__PURE__*/_jsx(PayListOrderItem, {
|
722
722
|
record: item,
|
723
723
|
onRefresh: onSearch,
|
@@ -738,20 +738,20 @@ var PayOrderList = function PayOrderList(_ref5) {
|
|
738
738
|
children: "\u6682\u65E0\u6570\u636E"
|
739
739
|
})]
|
740
740
|
})
|
741
|
-
})
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
})
|
741
|
+
})
|
742
|
+
}), /*#__PURE__*/_jsx("div", {
|
743
|
+
className: "custom_box_page",
|
744
|
+
children: /*#__PURE__*/_jsx(Pagination, {
|
745
|
+
showQuickJumper: true,
|
746
|
+
showSizeChanger: false,
|
747
|
+
showTotal: function showTotal(total) {
|
748
|
+
return "\u5171".concat(total, "\u6761");
|
749
|
+
},
|
750
|
+
current: paySearch.pageNo,
|
751
|
+
pageSize: paySearch.pageSize,
|
752
|
+
total: total,
|
753
|
+
onChange: onChangePage
|
754
|
+
})
|
755
755
|
}), /*#__PURE__*/_jsx(RecordModal, {
|
756
756
|
ref: logRef
|
757
757
|
}), /*#__PURE__*/_jsx(PayOrderModal, {
|
@@ -1,6 +1,3 @@
|
|
1
|
-
.order_container_padding_bottom {
|
2
|
-
padding-bottom: 40px;
|
3
|
-
}
|
4
1
|
.order_header {
|
5
2
|
padding: 16px 16px 0 16px;
|
6
3
|
|
@@ -34,7 +31,7 @@
|
|
34
31
|
}
|
35
32
|
|
36
33
|
.custom_box {
|
37
|
-
height: calc(100% - 58px);
|
34
|
+
// height: calc(100% - 58px);
|
38
35
|
|
39
36
|
.custom_box_header {
|
40
37
|
padding: 0 16px 16px 16px;
|
@@ -144,11 +141,13 @@
|
|
144
141
|
overflow: auto;
|
145
142
|
background-color: #fafafa;
|
146
143
|
}
|
144
|
+
|
147
145
|
.custom_box_main_other {
|
148
146
|
height: calc(100vh - 338px);
|
149
147
|
}
|
148
|
+
|
150
149
|
.custom_box_main_feige {
|
151
|
-
height: calc(100vh -
|
150
|
+
height: calc(100vh - 446px);
|
152
151
|
}
|
153
152
|
|
154
153
|
.custom_box_main_empty {
|
@@ -165,9 +164,11 @@
|
|
165
164
|
overflow: auto;
|
166
165
|
background-color: #fafafa;
|
167
166
|
}
|
167
|
+
|
168
168
|
.payment_box_main_feige {
|
169
|
-
height: calc(100vh -
|
169
|
+
height: calc(100vh - 340px);
|
170
170
|
}
|
171
|
+
|
171
172
|
.payment_box_main_other {
|
172
173
|
height: calc(100vh - 236px);
|
173
174
|
}
|
@@ -180,11 +181,6 @@
|
|
180
181
|
padding: 0 16px;
|
181
182
|
background-color: #fff;
|
182
183
|
}
|
183
|
-
.custom_box_page_layout {
|
184
|
-
position: fixed;
|
185
|
-
right: 0px;
|
186
|
-
bottom: 0px;
|
187
|
-
}
|
188
184
|
}
|
189
185
|
|
190
186
|
.footer {
|