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.
@@ -4,8 +4,11 @@
4
4
  max-height: 78px;
5
5
  margin-bottom: 4px;
6
6
  overflow-y: auto;
7
+ background-color: #fff;
7
8
  &:hover {
8
- max-height: 130px;
9
+ position: absolute;
10
+ z-index: 1;
11
+ max-height: 160px;
9
12
  }
10
13
  .template-button {
11
14
  margin-right: 8px;
@@ -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(true),
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(TemplateList, {
387
- templateList: allTempLateList,
388
- handleCreateWorkOrder: handleCreateWorkOrder
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
- // height: calc(100vh - 58px);
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
- overflow: auto;
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: "custom_box_page",
296
+ className: "payment_box_page",
297
297
  children: /*#__PURE__*/_jsx(Pagination, {
298
298
  size: "small",
299
299
  showQuickJumper: true,
@@ -141,7 +141,7 @@
141
141
  height: calc(100vh - 436px);
142
142
  }
143
143
 
144
- .custom_box_page {
144
+ .payment_box_page {
145
145
  display: flex;
146
146
  justify-content: flex-end;
147
147
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.5.0-alpha.2",
3
+ "version": "0.5.0-alpha.4",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",