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.
@@ -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 14:58:08
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__*/_jsxs("main", {
461
+ }), /*#__PURE__*/_jsx("main", {
462
462
  className: "custom_box_main ".concat(platform === PlatForm.FXG ? 'custom_box_main_feige' : 'custom_box_main_other'),
463
- children: [orderList.length ? orderList.map(function (item) {
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
- }), total > 0 && /*#__PURE__*/_jsx("div", {
483
- className: "custom_box_page ".concat(platform === PlatForm.FXG ? '' : 'custom_box_page_layout'),
484
- children: /*#__PURE__*/_jsx(Pagination, {
485
- showSizeChanger: false,
486
- showQuickJumper: true,
487
- showTotal: function showTotal(total) {
488
- return "\u5171".concat(total, "\u6761");
489
- },
490
- current: customSearch.pageNo,
491
- pageSize: customSearch.pageSize,
492
- total: total,
493
- onChange: onChangePage
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__*/_jsxs("div", {
718
+ }), /*#__PURE__*/_jsx("div", {
719
719
  className: "payment_box_main ".concat(platform === PlatForm.FXG ? 'payment_box_main_feige' : 'payment_box_main_other'),
720
- children: [payOrderList.length ? payOrderList.map(function (item) {
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
- }), /*#__PURE__*/_jsx("div", {
742
- className: "custom_box_page ".concat(platform === PlatForm.FXG ? '' : 'custom_box_page_layout'),
743
- children: /*#__PURE__*/_jsx(Pagination, {
744
- showQuickJumper: true,
745
- showSizeChanger: false,
746
- showTotal: function showTotal(total) {
747
- return "\u5171".concat(total, "\u6761");
748
- },
749
- current: paySearch.pageNo,
750
- pageSize: paySearch.pageSize,
751
- total: total,
752
- onChange: onChangePage
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 - 298px);
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 - 196px);
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",