@donglegeyu/company-ui 1.2.13 → 1.2.15
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/cjs/basic-components/CompanyForm/index.scss +6 -0
- package/dist/cjs/shared-components/FilterOptionsDrawer/index.js +2 -2
- package/dist/cjs/shared-components/SectionTitle/index.js +5 -5
- package/dist/cjs/shared-components/SectionTitle/index.scss +11 -13
- package/dist/cjs/template-components/FilterForm/index.js +5 -4
- package/dist/cjs/template-components/FilterForm/index.scss +4 -18
- package/dist/cjs/template-components/FormPageTemplate/index.scss +13 -11
- package/dist/cjs/template-components/IconSelect/index.js +1 -1
- package/dist/cjs/template-components/StatisticsListPage/index.js +2 -2
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/es/basic-components/CompanyForm/index.scss +6 -0
- package/dist/es/shared-components/FilterOptionsDrawer/index.js +2 -2
- package/dist/es/shared-components/SectionTitle/index.js +8 -8
- package/dist/es/shared-components/SectionTitle/index.scss +11 -13
- package/dist/es/template-components/FilterForm/index.js +5 -8
- package/dist/es/template-components/FilterForm/index.scss +4 -18
- package/dist/es/template-components/FormPageTemplate/index.scss +13 -11
- package/dist/es/template-components/IconSelect/index.js +1 -1
- package/dist/es/template-components/StatisticsListPage/index.js +2 -2
- package/dist/es/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -131,11 +131,11 @@ function FilterOptionsDrawer({
|
|
|
131
131
|
{
|
|
132
132
|
label: "视图名称",
|
|
133
133
|
name: "schemeName",
|
|
134
|
-
rules: [{ required: true, message: "
|
|
134
|
+
rules: [{ required: true, message: "请输入" }],
|
|
135
135
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
136
136
|
import_basic_components.CompanyInput,
|
|
137
137
|
{
|
|
138
|
-
placeholder: "
|
|
138
|
+
placeholder: "请输入",
|
|
139
139
|
maxLength: 8,
|
|
140
140
|
showCount: true
|
|
141
141
|
}
|
|
@@ -26,10 +26,10 @@ var import_index = require("./index.scss");
|
|
|
26
26
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
27
|
function SectionTitle({ title, description }) {
|
|
28
28
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: `section-title${description ? " section-title-with-desc" : ""}`, children: [
|
|
29
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
30
|
-
|
|
31
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "section-title-text", children: title })
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "section-title-head", children: [
|
|
30
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "section-title-bar" }),
|
|
31
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "section-title-text", children: title })
|
|
32
|
+
] }),
|
|
33
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "section-title-desc", children: description })
|
|
34
34
|
] });
|
|
35
35
|
}
|
|
@@ -2,41 +2,37 @@
|
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
|
-
gap: 10px;
|
|
6
5
|
height: 38px;
|
|
7
6
|
padding: 8px 0;
|
|
8
7
|
margin-bottom: 8px;
|
|
9
8
|
}
|
|
10
9
|
|
|
10
|
+
.section-title-head {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: 8px;
|
|
14
|
+
}
|
|
15
|
+
|
|
11
16
|
.section-title-bar {
|
|
12
17
|
width: 4px;
|
|
13
18
|
height: 16px;
|
|
14
19
|
border-radius: 12px;
|
|
15
20
|
background: #F95914;
|
|
21
|
+
flex-shrink: 0;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.section-title-text {
|
|
19
25
|
font-size: 14px;
|
|
20
26
|
font-weight: 600;
|
|
21
27
|
color: #1D2129;
|
|
28
|
+
line-height: 1.5;
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
.section-title-with-desc {
|
|
25
32
|
height: auto;
|
|
33
|
+
flex-direction: column;
|
|
26
34
|
align-items: flex-start;
|
|
27
35
|
padding: 12px 0;
|
|
28
|
-
|
|
29
|
-
.section-title-bar {
|
|
30
|
-
height: 100%;
|
|
31
|
-
min-height: 16px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.section-title-content {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
gap: 4px;
|
|
38
|
-
line-height: 1.5;
|
|
39
|
-
}
|
|
40
36
|
}
|
|
41
37
|
|
|
42
38
|
.section-title-desc {
|
|
@@ -44,4 +40,6 @@
|
|
|
44
40
|
font-weight: 400;
|
|
45
41
|
color: rgba(29, 33, 41, 0.55);
|
|
46
42
|
line-height: 1.5;
|
|
43
|
+
padding-left: 12px;
|
|
44
|
+
margin-top: 0px;
|
|
47
45
|
}
|
|
@@ -193,7 +193,7 @@ function FilterForm({
|
|
|
193
193
|
{
|
|
194
194
|
className: "btn-col",
|
|
195
195
|
style: { marginLeft: "auto" },
|
|
196
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_basic_components.CompanyForm.Item, { className: "filter-item", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
196
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_basic_components.CompanyForm.Item, { className: "filter-item", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "filter-actions", children: [
|
|
197
197
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_basic_components.CompanyButton, { type: "primary", onClick: handleSearch, children: "查询" }),
|
|
198
198
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_basic_components.CompanyButton, { onClick: handleReset, children: "重置" }),
|
|
199
199
|
needExpand && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
@@ -218,7 +218,7 @@ function FilterForm({
|
|
|
218
218
|
{
|
|
219
219
|
value: formModel[item.key] || "",
|
|
220
220
|
onChange: (e) => handleFieldChange(item.key, e.target.value),
|
|
221
|
-
placeholder: item.placeholder
|
|
221
|
+
placeholder: typeof item.placeholder === "string" ? item.placeholder : "请输入"
|
|
222
222
|
}
|
|
223
223
|
),
|
|
224
224
|
item.inputType === "select" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -226,7 +226,7 @@ function FilterForm({
|
|
|
226
226
|
{
|
|
227
227
|
value: formModel[item.key],
|
|
228
228
|
onChange: (val) => handleFieldChange(item.key, val),
|
|
229
|
-
placeholder: item.placeholder
|
|
229
|
+
placeholder: typeof item.placeholder === "string" ? item.placeholder : "请选择",
|
|
230
230
|
options: item.options,
|
|
231
231
|
allowClear: true
|
|
232
232
|
}
|
|
@@ -236,6 +236,7 @@ function FilterForm({
|
|
|
236
236
|
{
|
|
237
237
|
value: formModel[item.key] ? (0, import_dayjs.default)(formModel[item.key]) : void 0,
|
|
238
238
|
onChange: (_val, dateString) => handleFieldChange(item.key, dateString),
|
|
239
|
+
placeholder: typeof item.placeholder === "string" ? item.placeholder : "请选择",
|
|
239
240
|
style: { width: "100%" }
|
|
240
241
|
}
|
|
241
242
|
),
|
|
@@ -248,7 +249,7 @@ function FilterForm({
|
|
|
248
249
|
] : void 0,
|
|
249
250
|
onChange: (_val, dateStrings) => handleFieldChange(item.key, dateStrings),
|
|
250
251
|
style: { width: "100%" },
|
|
251
|
-
placeholder: ["
|
|
252
|
+
placeholder: Array.isArray(item.placeholder) ? item.placeholder : ["请选择", "请选择"],
|
|
252
253
|
presets
|
|
253
254
|
}
|
|
254
255
|
)
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
margin-bottom: 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.ant-
|
|
12
|
-
.ant-select,
|
|
13
|
-
.ant-picker {
|
|
11
|
+
.ant-form-item.filter-item {
|
|
14
12
|
margin: 6px 0;
|
|
15
13
|
}
|
|
16
14
|
|
|
@@ -42,22 +40,10 @@
|
|
|
42
40
|
display: flex;
|
|
43
41
|
justify-content: flex-end;
|
|
44
42
|
|
|
45
|
-
.
|
|
46
|
-
margin-bottom: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ant-space {
|
|
43
|
+
.filter-actions {
|
|
50
44
|
display: flex;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.ant-space-item {
|
|
55
|
-
margin: 6px 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ant-btn {
|
|
59
|
-
margin: 6px 0;
|
|
60
|
-
box-shadow: none;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: 12px;
|
|
61
47
|
}
|
|
62
48
|
}
|
|
63
49
|
|
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
.form-page-template {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
2
4
|
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
min-height: 0;
|
|
3
7
|
display: flex;
|
|
4
8
|
flex-direction: column;
|
|
5
|
-
padding:
|
|
6
|
-
flex-grow: 1;
|
|
7
|
-
align-self: stretch;
|
|
9
|
+
padding: 0 0.75rem;
|
|
8
10
|
z-index: 1;
|
|
9
11
|
overflow: hidden;
|
|
10
12
|
background: #f5f5f5;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.form-page-title {
|
|
14
|
-
|
|
15
|
-
top: 0;
|
|
16
|
-
z-index: 20;
|
|
16
|
+
flex-shrink: 0;
|
|
17
17
|
background: var(--ant-color-bg-container);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.form-page-container {
|
|
21
|
-
|
|
21
|
+
box-sizing: border-box;
|
|
22
22
|
flex: 1;
|
|
23
|
+
min-height: 0;
|
|
23
24
|
display: flex;
|
|
24
25
|
flex-direction: column;
|
|
25
|
-
flex-grow: 1;
|
|
26
|
-
align-self: stretch;
|
|
27
|
-
z-index: 3;
|
|
28
|
-
border-radius: 0.38rem 0.38rem 0rem 0rem;
|
|
29
26
|
background: #ffffff;
|
|
27
|
+
border-radius: 0.38rem 0.38rem 0 0;
|
|
30
28
|
overflow: hidden;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
.form-page-content {
|
|
34
32
|
flex: 1;
|
|
33
|
+
min-height: 0;
|
|
35
34
|
overflow-y: auto;
|
|
36
35
|
overflow-x: hidden;
|
|
37
36
|
scrollbar-width: thin;
|
|
@@ -70,10 +69,13 @@
|
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
.form-page-footer {
|
|
72
|
+
flex-shrink: 0;
|
|
73
|
+
|
|
73
74
|
&.fixed {
|
|
74
75
|
position: sticky;
|
|
75
76
|
bottom: 0;
|
|
76
77
|
z-index: 10;
|
|
78
|
+
background: #ffffff;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
&.static {
|
|
@@ -76,7 +76,7 @@ var StatisticsListPage = (props) => {
|
|
|
76
76
|
title = "统计列表",
|
|
77
77
|
titleSuffix,
|
|
78
78
|
statisticCards,
|
|
79
|
-
searchPlaceholder = "
|
|
79
|
+
searchPlaceholder = "请输入",
|
|
80
80
|
searchKey = "keyword",
|
|
81
81
|
filterFields = [],
|
|
82
82
|
columns,
|
|
@@ -411,7 +411,7 @@ var StatisticsListPage = (props) => {
|
|
|
411
411
|
const val = typeof dateString === "string" ? dateString : "";
|
|
412
412
|
setTempFilters((prev) => ({ ...prev, [field.key]: val }));
|
|
413
413
|
},
|
|
414
|
-
placeholder: field.placeholder || "
|
|
414
|
+
placeholder: field.placeholder || "请选择",
|
|
415
415
|
style: { width: "100%" }
|
|
416
416
|
}
|
|
417
417
|
)
|
|
@@ -180,10 +180,10 @@ export default function FilterOptionsDrawer(_ref) {
|
|
|
180
180
|
name: "schemeName",
|
|
181
181
|
rules: [{
|
|
182
182
|
required: true,
|
|
183
|
-
message: '
|
|
183
|
+
message: '请输入'
|
|
184
184
|
}],
|
|
185
185
|
children: /*#__PURE__*/_jsx(CompanyInput, {
|
|
186
|
-
placeholder: "\u8BF7\u8F93\u5165
|
|
186
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
187
187
|
maxLength: 8,
|
|
188
188
|
showCount: true
|
|
189
189
|
})
|
|
@@ -6,17 +6,17 @@ export default function SectionTitle(_ref) {
|
|
|
6
6
|
description = _ref.description;
|
|
7
7
|
return /*#__PURE__*/_jsxs("div", {
|
|
8
8
|
className: "section-title".concat(description ? ' section-title-with-desc' : ''),
|
|
9
|
-
children: [/*#__PURE__*/
|
|
10
|
-
className: "section-title-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
10
|
+
className: "section-title-head",
|
|
11
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
12
|
+
className: "section-title-bar"
|
|
13
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
14
14
|
className: "section-title-text",
|
|
15
15
|
children: title
|
|
16
|
-
}), description && /*#__PURE__*/_jsx("div", {
|
|
17
|
-
className: "section-title-desc",
|
|
18
|
-
children: description
|
|
19
16
|
})]
|
|
17
|
+
}), description && /*#__PURE__*/_jsx("div", {
|
|
18
|
+
className: "section-title-desc",
|
|
19
|
+
children: description
|
|
20
20
|
})]
|
|
21
21
|
});
|
|
22
22
|
}
|
|
@@ -2,41 +2,37 @@
|
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
|
-
gap: 10px;
|
|
6
5
|
height: 38px;
|
|
7
6
|
padding: 8px 0;
|
|
8
7
|
margin-bottom: 8px;
|
|
9
8
|
}
|
|
10
9
|
|
|
10
|
+
.section-title-head {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: 8px;
|
|
14
|
+
}
|
|
15
|
+
|
|
11
16
|
.section-title-bar {
|
|
12
17
|
width: 4px;
|
|
13
18
|
height: 16px;
|
|
14
19
|
border-radius: 12px;
|
|
15
20
|
background: #F95914;
|
|
21
|
+
flex-shrink: 0;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.section-title-text {
|
|
19
25
|
font-size: 14px;
|
|
20
26
|
font-weight: 600;
|
|
21
27
|
color: #1D2129;
|
|
28
|
+
line-height: 1.5;
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
.section-title-with-desc {
|
|
25
32
|
height: auto;
|
|
33
|
+
flex-direction: column;
|
|
26
34
|
align-items: flex-start;
|
|
27
35
|
padding: 12px 0;
|
|
28
|
-
|
|
29
|
-
.section-title-bar {
|
|
30
|
-
height: 100%;
|
|
31
|
-
min-height: 16px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.section-title-content {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
gap: 4px;
|
|
38
|
-
line-height: 1.5;
|
|
39
|
-
}
|
|
40
36
|
}
|
|
41
37
|
|
|
42
38
|
.section-title-desc {
|
|
@@ -44,4 +40,6 @@
|
|
|
44
40
|
font-weight: 400;
|
|
45
41
|
color: rgba(29, 33, 41, 0.55);
|
|
46
42
|
line-height: 1.5;
|
|
43
|
+
padding-left: 12px;
|
|
44
|
+
margin-top: 0px;
|
|
47
45
|
}
|
|
@@ -212,11 +212,7 @@ export default function FilterForm(_ref) {
|
|
|
212
212
|
children: /*#__PURE__*/_jsx(CompanyForm.Item, {
|
|
213
213
|
className: "filter-item",
|
|
214
214
|
children: /*#__PURE__*/_jsxs("div", {
|
|
215
|
-
|
|
216
|
-
display: 'flex',
|
|
217
|
-
alignItems: 'center',
|
|
218
|
-
gap: 12
|
|
219
|
-
},
|
|
215
|
+
className: "filter-actions",
|
|
220
216
|
children: [/*#__PURE__*/_jsx(CompanyButton, {
|
|
221
217
|
type: "primary",
|
|
222
218
|
onClick: handleSearch,
|
|
@@ -252,13 +248,13 @@ export default function FilterForm(_ref) {
|
|
|
252
248
|
onChange: function onChange(e) {
|
|
253
249
|
return handleFieldChange(item.key, e.target.value);
|
|
254
250
|
},
|
|
255
|
-
placeholder: item.placeholder
|
|
251
|
+
placeholder: typeof item.placeholder === 'string' ? item.placeholder : '请输入'
|
|
256
252
|
}), item.inputType === 'select' && /*#__PURE__*/_jsx(CompanySelect, {
|
|
257
253
|
value: formModel[item.key],
|
|
258
254
|
onChange: function onChange(val) {
|
|
259
255
|
return handleFieldChange(item.key, val);
|
|
260
256
|
},
|
|
261
|
-
placeholder: item.placeholder
|
|
257
|
+
placeholder: typeof item.placeholder === 'string' ? item.placeholder : '请选择',
|
|
262
258
|
options: item.options,
|
|
263
259
|
allowClear: true
|
|
264
260
|
}), item.inputType === 'date' && /*#__PURE__*/_jsx(CompanyDatePicker, {
|
|
@@ -266,6 +262,7 @@ export default function FilterForm(_ref) {
|
|
|
266
262
|
onChange: function onChange(_val, dateString) {
|
|
267
263
|
return handleFieldChange(item.key, dateString);
|
|
268
264
|
},
|
|
265
|
+
placeholder: typeof item.placeholder === 'string' ? item.placeholder : '请选择',
|
|
269
266
|
style: {
|
|
270
267
|
width: '100%'
|
|
271
268
|
}
|
|
@@ -277,7 +274,7 @@ export default function FilterForm(_ref) {
|
|
|
277
274
|
style: {
|
|
278
275
|
width: '100%'
|
|
279
276
|
},
|
|
280
|
-
placeholder: ['
|
|
277
|
+
placeholder: Array.isArray(item.placeholder) ? item.placeholder : ['请选择', '请选择'],
|
|
281
278
|
presets: presets
|
|
282
279
|
})]
|
|
283
280
|
})
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
margin-bottom: 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.ant-
|
|
12
|
-
.ant-select,
|
|
13
|
-
.ant-picker {
|
|
11
|
+
.ant-form-item.filter-item {
|
|
14
12
|
margin: 6px 0;
|
|
15
13
|
}
|
|
16
14
|
|
|
@@ -42,22 +40,10 @@
|
|
|
42
40
|
display: flex;
|
|
43
41
|
justify-content: flex-end;
|
|
44
42
|
|
|
45
|
-
.
|
|
46
|
-
margin-bottom: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ant-space {
|
|
43
|
+
.filter-actions {
|
|
50
44
|
display: flex;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.ant-space-item {
|
|
55
|
-
margin: 6px 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ant-btn {
|
|
59
|
-
margin: 6px 0;
|
|
60
|
-
box-shadow: none;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: 12px;
|
|
61
47
|
}
|
|
62
48
|
}
|
|
63
49
|
|
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
.form-page-template {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
2
4
|
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
min-height: 0;
|
|
3
7
|
display: flex;
|
|
4
8
|
flex-direction: column;
|
|
5
|
-
padding:
|
|
6
|
-
flex-grow: 1;
|
|
7
|
-
align-self: stretch;
|
|
9
|
+
padding: 0 0.75rem;
|
|
8
10
|
z-index: 1;
|
|
9
11
|
overflow: hidden;
|
|
10
12
|
background: #f5f5f5;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.form-page-title {
|
|
14
|
-
|
|
15
|
-
top: 0;
|
|
16
|
-
z-index: 20;
|
|
16
|
+
flex-shrink: 0;
|
|
17
17
|
background: var(--ant-color-bg-container);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.form-page-container {
|
|
21
|
-
|
|
21
|
+
box-sizing: border-box;
|
|
22
22
|
flex: 1;
|
|
23
|
+
min-height: 0;
|
|
23
24
|
display: flex;
|
|
24
25
|
flex-direction: column;
|
|
25
|
-
flex-grow: 1;
|
|
26
|
-
align-self: stretch;
|
|
27
|
-
z-index: 3;
|
|
28
|
-
border-radius: 0.38rem 0.38rem 0rem 0rem;
|
|
29
26
|
background: #ffffff;
|
|
27
|
+
border-radius: 0.38rem 0.38rem 0 0;
|
|
30
28
|
overflow: hidden;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
.form-page-content {
|
|
34
32
|
flex: 1;
|
|
33
|
+
min-height: 0;
|
|
35
34
|
overflow-y: auto;
|
|
36
35
|
overflow-x: hidden;
|
|
37
36
|
scrollbar-width: thin;
|
|
@@ -70,10 +69,13 @@
|
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
.form-page-footer {
|
|
72
|
+
flex-shrink: 0;
|
|
73
|
+
|
|
73
74
|
&.fixed {
|
|
74
75
|
position: sticky;
|
|
75
76
|
bottom: 0;
|
|
76
77
|
z-index: 10;
|
|
78
|
+
background: #ffffff;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
&.static {
|
|
@@ -76,7 +76,7 @@ export default function IconSelect(props) {
|
|
|
76
76
|
function IconSelectInner(_ref) {
|
|
77
77
|
var value = _ref.value,
|
|
78
78
|
_ref$placeholder = _ref.placeholder,
|
|
79
|
-
placeholder = _ref$placeholder === void 0 ? '
|
|
79
|
+
placeholder = _ref$placeholder === void 0 ? '请选择' : _ref$placeholder,
|
|
80
80
|
_ref$size = _ref.size,
|
|
81
81
|
size = _ref$size === void 0 ? 'middle' : _ref$size,
|
|
82
82
|
style = _ref.style,
|
|
@@ -103,7 +103,7 @@ export var StatisticsListPage = function StatisticsListPage(props) {
|
|
|
103
103
|
titleSuffix = props.titleSuffix,
|
|
104
104
|
statisticCards = props.statisticCards,
|
|
105
105
|
_props$searchPlacehol = props.searchPlaceholder,
|
|
106
|
-
searchPlaceholder = _props$searchPlacehol === void 0 ? '
|
|
106
|
+
searchPlaceholder = _props$searchPlacehol === void 0 ? '请输入' : _props$searchPlacehol,
|
|
107
107
|
_props$searchKey = props.searchKey,
|
|
108
108
|
searchKey = _props$searchKey === void 0 ? 'keyword' : _props$searchKey,
|
|
109
109
|
_props$filterFields = props.filterFields,
|
|
@@ -565,7 +565,7 @@ export var StatisticsListPage = function StatisticsListPage(props) {
|
|
|
565
565
|
return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, field.key, val));
|
|
566
566
|
});
|
|
567
567
|
},
|
|
568
|
-
placeholder: field.placeholder || '
|
|
568
|
+
placeholder: field.placeholder || '请选择',
|
|
569
569
|
style: {
|
|
570
570
|
width: '100%'
|
|
571
571
|
}
|
package/dist/es/types/index.d.ts
CHANGED