@bit-sun/business-component 4.2.0-alpha.1 → 4.2.0-alpha.10
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/.umirc.ts +9 -9
- package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
- package/dist/components/Business/BsLayouts/index.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -2
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
- package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
- package/dist/components/Business/CommonAlert/index.d.ts +1 -2
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
- package/dist/components/Business/DetailPageWrapper/index.d.ts +12 -12
- package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
- package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
- package/dist/components/Business/SearchSelect/index.d.ts +1 -1
- package/dist/components/Business/StateFlow/index.d.ts +1 -2
- package/dist/components/Business/SystemLog/index.d.ts +78 -0
- package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
- package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/utils.d.ts +1 -2
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
- package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
- package/dist/components/Common/Section/index.d.ts +1 -1
- package/dist/components/Functional/AddSelect/index.d.ts +1 -2
- package/dist/components/Functional/AuthButton/index.d.ts +1 -2
- package/dist/components/Functional/DataImport/index.d.ts +3 -3
- package/dist/components/Functional/DataValidation/index.d.ts +5 -5
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
- package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
- package/dist/components/Functional/SearchSelect/utils.d.ts +2 -3
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
- package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +1909 -1186
- package/dist/index.js +1908 -1181
- package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
- package/dist/utils/TableUtils.d.ts +18 -19
- package/dist/utils/utils.d.ts +41 -0
- package/docs/flow-control-readme.md +283 -0
- package/package.json +1 -1
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +0 -1
- package/src/components/Business/BsSulaQueryTable/index.md +57 -4
- package/src/components/Business/BsSulaQueryTable/index.tsx +164 -7
- package/src/components/Business/BsSulaQueryTable/setting.tsx +6 -0
- package/src/components/Business/DetailPageWrapper/index.tsx +81 -1
- package/src/components/Business/DetailPageWrapper/readme.md +89 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +363 -41
- package/src/components/Business/SystemLog/index.md +37 -0
- package/src/components/Business/SystemLog/index.tsx +87 -0
- package/src/components/Business/columnSettingTable/index.tsx +7 -6
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +23 -22
- package/src/components/Functional/AddSelect/index.tsx +92 -0
- package/src/components/Functional/DataValidation/index.tsx +22 -3
- package/src/components/Functional/QueryMutipleInput/index.tsx +1 -1
- package/src/components/Functional/SearchSelect/index.tsx +68 -10
- package/src/components/Functional/SearchSelect/utils.tsx +4 -1
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +9 -1
- package/src/components/Solution/RuleComponent/RenderCompItem_README.md +189 -0
- package/src/components/Solution/RuleComponent/index.js +1 -0
- package/src/components/Solution/RuleComponent/ruleFiled.js +25 -1
- package/src/index.ts +7 -0
- package/src/utils/utils.ts +41 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# RenderCompItem 组件说明文档
|
|
2
|
+
|
|
3
|
+
`RenderCompItem` 是一个通用的表单控件渲染组件,它根据传入的配置对象 (`ites`) 动态渲染不同类型的 Ant Design 表单组件或业务封装组件。
|
|
4
|
+
|
|
5
|
+
## 1. 组件引入
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import RenderCompItem from '@/components/Solution/RuleComponent/RenderCompItem';
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 2. Props 参数说明
|
|
12
|
+
|
|
13
|
+
| 参数名 | 类型 | 必填 | 说明 |
|
|
14
|
+
| --- | --- | --- | --- |
|
|
15
|
+
| `ites` | `object` | 是 | 核心配置对象,决定渲染什么组件(见下文详解) |
|
|
16
|
+
| `showValue` | `(code: string, type?: string) => any` | 是 | 获取组件当前值的回调函数 |
|
|
17
|
+
| `handleEdit` | `(code: string, value: any) => void` | 是 | 组件值发生变化时的回调函数 |
|
|
18
|
+
| `disabled` | `boolean` | 否 | 是否禁用组件 |
|
|
19
|
+
| `regularDataList` | `array` | 否 | 用于表达式 (`Formula`) 组件的数据源列表 |
|
|
20
|
+
| `others` | `object` | 否 | 扩展属性(目前主要用于 `CustomSelector` 的配置,**注意:源码中可能未正确解构此参数,使用自定义选择器时需检查**) |
|
|
21
|
+
|
|
22
|
+
## 3. `ites` 配置详解
|
|
23
|
+
|
|
24
|
+
`ites` 对象通过 `inputType`、`valueType` 和 `choiceType` 的组合来决定渲染的具体组件。
|
|
25
|
+
|
|
26
|
+
### 3.1 基础输入类 (`inputType: 10`)
|
|
27
|
+
|
|
28
|
+
当 `inputType` 为 `10` 时,根据 `valueType` 区分:
|
|
29
|
+
|
|
30
|
+
| valueType | 组件类型 | 说明 | 对应 Antd 组件 |
|
|
31
|
+
| --- | --- | --- | --- |
|
|
32
|
+
| `21` | 文本输入 | 默认字符串输入 | `Input` |
|
|
33
|
+
| `22` | 小数输入 | 保留2位小数 | `InputNumber` |
|
|
34
|
+
| `23` | 整数输入 | 整数,无小数 | `InputNumber` |
|
|
35
|
+
| `24` | 布尔开关 | Switch 开关 | `Switch` |
|
|
36
|
+
| `32` | 日期时间 | 选择日期和时间 | `DatePicker` (showTime) |
|
|
37
|
+
| `40` | 时间范围 | 选择时间范围 | `RangePicker` (showTime) |
|
|
38
|
+
| `41` | 日期 | 仅选择日期 | `DatePicker` |
|
|
39
|
+
|
|
40
|
+
### 3.2 选择类 (`inputType: 20 | 30`)
|
|
41
|
+
|
|
42
|
+
* `inputType: 20`: 单选
|
|
43
|
+
* `inputType: 30`: 多选
|
|
44
|
+
|
|
45
|
+
根据 `choiceType` 区分具体业务组件:
|
|
46
|
+
|
|
47
|
+
| choiceType | 组件类型 | 说明 | 数据源/依赖 |
|
|
48
|
+
| --- | --- | --- | --- |
|
|
49
|
+
| `10` | 枚举选择 | 静态选项 | 需提供 `ites.enumeration` 对象 (key-value) |
|
|
50
|
+
| `20` | 数据字典 | 字典选择 | 需提供 `ites.dictionaryCode` |
|
|
51
|
+
| `110` | 物理仓 | 业务选择器 | `BusinessSearchSelect` (physicalWarehouse) |
|
|
52
|
+
| `120` | 逻辑仓 | 业务选择器 | `BusinessSearchSelect` (realWarehouse) |
|
|
53
|
+
| `130` | 虚拟仓 | 业务选择器 | `BusinessSearchSelect` (virtualWarehouse) |
|
|
54
|
+
| `140` | 渠道仓 | 业务选择器 | `BusinessSearchSelect` (channelWarehouse) |
|
|
55
|
+
| `150` | SPU | 业务选择器 | `BusinessSearchSelect` (spuCommodity) |
|
|
56
|
+
| `160` | SKU | 业务选择器 | `BusinessSearchSelect` (skuCommodity) |
|
|
57
|
+
| `190` | 省市区 | 级联选择 | `BsCascader` |
|
|
58
|
+
| `210` | 行政组织 | 树形选择 | `BusinessTreeSearchSelect` (department) |
|
|
59
|
+
| `220` | 采购组织 | 树形选择 | `BusinessTreeSearchSelect` (purchase-organization) |
|
|
60
|
+
| `230` | 销售组织 | 树形选择 | `BusinessTreeSearchSelect` (sales-organization) |
|
|
61
|
+
| `240` | 供应商 | 业务选择器 | `BusinessSearchSelect` (supplier2) |
|
|
62
|
+
| `250` | 客户 | 业务选择器 | `BusinessSearchSelect` (customer2) |
|
|
63
|
+
| `260` | 店铺 | 业务选择器 | `BusinessSearchSelect` (shopFile2) |
|
|
64
|
+
| `270` | 员工 | 业务选择器 | `BusinessSearchSelect` (employee2) |
|
|
65
|
+
| `280` | 库存组织 | 树形选择 | `BusinessTreeSearchSelect` (stock-organization) |
|
|
66
|
+
| `290` | 结算组织 | 树形选择 | `BusinessTreeSearchSelect` (settle-organization) |
|
|
67
|
+
| `310` / `311`| 配送方式 | 业务选择器 | `BusinessSearchSelect` (deliveryMode) |
|
|
68
|
+
| `360` | 角色 | 业务选择器 | `BusinessSearchSelect` (role) |
|
|
69
|
+
| `410` | 品牌 | 业务选择器 | `BusinessSearchSelect` (brand) |
|
|
70
|
+
| `420` | 类目 | 树形选择 | `BusinessTreeSearchSelect` (background-category) |
|
|
71
|
+
| `40` | 自定义 | 自定义组件 | `CustomSelector` (依赖 `others.customSelectorConfig`) |
|
|
72
|
+
|
|
73
|
+
### 3.3 表达式 (`inputType: 40`)
|
|
74
|
+
|
|
75
|
+
渲染 `Formula` 组件,用于配置计算公式。依赖 `regularDataList` 作为变量源。
|
|
76
|
+
|
|
77
|
+
## 4. 使用示例
|
|
78
|
+
|
|
79
|
+
```tsx
|
|
80
|
+
import React, { useState } from 'react';
|
|
81
|
+
import RenderCompItem from './RenderCompItem';
|
|
82
|
+
|
|
83
|
+
const Demo = () => {
|
|
84
|
+
const [formData, setFormData] = useState<any>({});
|
|
85
|
+
|
|
86
|
+
// 模拟数据回显
|
|
87
|
+
const showValue = (code: string) => {
|
|
88
|
+
return formData[code];
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
// 模拟数据更新
|
|
92
|
+
const handleEdit = (code: string, value: any) => {
|
|
93
|
+
console.log('Update:', code, value);
|
|
94
|
+
setFormData((prev: any) => ({ ...prev, [code]: value }));
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
// 配置项示例:文本输入
|
|
98
|
+
const inputConfig = {
|
|
99
|
+
code: 'userName',
|
|
100
|
+
inputType: 10,
|
|
101
|
+
valueType: 21,
|
|
102
|
+
defaultValue: '张三'
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// 配置项示例:静态下拉选择
|
|
106
|
+
const selectConfig = {
|
|
107
|
+
code: 'status',
|
|
108
|
+
inputType: 20, // 单选
|
|
109
|
+
choiceType: 10, // 枚举
|
|
110
|
+
enumeration: {
|
|
111
|
+
'1': '启用',
|
|
112
|
+
'0': '禁用'
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
// 配置项示例:SKU 选择器 (多选)
|
|
117
|
+
const skuSelectConfig = {
|
|
118
|
+
code: 'skuCodes',
|
|
119
|
+
inputType: 30, // 多选
|
|
120
|
+
choiceType: 160, // SKU 选择器
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
// 配置项示例:数据字典选择 (单选)
|
|
124
|
+
const dictSelectConfig = {
|
|
125
|
+
code: 'warehouseType',
|
|
126
|
+
inputType: 20, // 单选
|
|
127
|
+
choiceType: 20, // 数据字典
|
|
128
|
+
dictionaryCode: 'SC0001' // 传入字典编码,组件会自动请求接口获取字典数据
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
return (
|
|
132
|
+
<div>
|
|
133
|
+
<div style={{ marginBottom: 20 }}>
|
|
134
|
+
<label>用户名:</label>
|
|
135
|
+
<RenderCompItem
|
|
136
|
+
ites={inputConfig}
|
|
137
|
+
showValue={showValue}
|
|
138
|
+
handleEdit={handleEdit}
|
|
139
|
+
regularDataList={[]}
|
|
140
|
+
/>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<div style={{ marginBottom: 20 }}>
|
|
144
|
+
<label>状态:</label>
|
|
145
|
+
<RenderCompItem
|
|
146
|
+
ites={selectConfig}
|
|
147
|
+
showValue={showValue}
|
|
148
|
+
handleEdit={handleEdit}
|
|
149
|
+
regularDataList={[]}
|
|
150
|
+
/>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<div style={{ marginBottom: 20 }}>
|
|
154
|
+
<label>商品SKU:</label>
|
|
155
|
+
<RenderCompItem
|
|
156
|
+
ites={skuSelectConfig}
|
|
157
|
+
showValue={showValue}
|
|
158
|
+
handleEdit={handleEdit}
|
|
159
|
+
regularDataList={[]}
|
|
160
|
+
/>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<div>
|
|
164
|
+
<label>仓库类型(数据字典):</label>
|
|
165
|
+
<RenderCompItem
|
|
166
|
+
ites={dictSelectConfig}
|
|
167
|
+
showValue={showValue}
|
|
168
|
+
handleEdit={handleEdit}
|
|
169
|
+
regularDataList={[]}
|
|
170
|
+
/>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
);
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export default Demo;
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## 5. 依赖说明
|
|
180
|
+
|
|
181
|
+
该组件依赖以下项目内部组件和库:
|
|
182
|
+
* `antd`
|
|
183
|
+
* `bssula` (request)
|
|
184
|
+
* `@/components/Functional/BsAntdSula` (BsCascader)
|
|
185
|
+
* `@/index` (BusinessSearchSelect, BusinessTreeSearchSelect)
|
|
186
|
+
* 内部组件: `./Formula`, `./InnerSelect`, `./CustomPlugin/CustomSelector`
|
|
187
|
+
* 工具函数: `../../../utils/utils`
|
|
188
|
+
|
|
189
|
+
使用前请确保相关依赖已安装且路径正确。
|
|
@@ -1932,7 +1932,7 @@ export default class RuleField extends Component {
|
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
1934
1934
|
// 配送方式选择器
|
|
1935
|
-
if (dataChoiceBusinessType == 310) {
|
|
1935
|
+
if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
|
|
1936
1936
|
if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
|
|
1937
1937
|
return (
|
|
1938
1938
|
<>
|
|
@@ -1952,6 +1952,14 @@ export default class RuleField extends Component {
|
|
|
1952
1952
|
labelInValue={true}
|
|
1953
1953
|
value={values[0]}
|
|
1954
1954
|
requestConfig={{
|
|
1955
|
+
...(dataChoiceBusinessType === 311
|
|
1956
|
+
? {
|
|
1957
|
+
otherParams: {
|
|
1958
|
+
// 配送方式只选择标准配送方式
|
|
1959
|
+
'qp-recordChannnelCode-eq': 80,
|
|
1960
|
+
},
|
|
1961
|
+
}
|
|
1962
|
+
: {}),
|
|
1955
1963
|
filterInit: 'qp-code-in',
|
|
1956
1964
|
}}
|
|
1957
1965
|
onChange={(value) => {
|
|
@@ -1983,6 +1991,14 @@ export default class RuleField extends Component {
|
|
|
1983
1991
|
labelInValue={true}
|
|
1984
1992
|
value={values[1]}
|
|
1985
1993
|
requestConfig={{
|
|
1994
|
+
...(dataChoiceBusinessType === 311
|
|
1995
|
+
? {
|
|
1996
|
+
otherParams: {
|
|
1997
|
+
// 配送方式只选择标准配送方式
|
|
1998
|
+
'qp-recordChannnelCode-eq': 80,
|
|
1999
|
+
},
|
|
2000
|
+
}
|
|
2001
|
+
: {}),
|
|
1986
2002
|
filterInit: 'qp-code-in',
|
|
1987
2003
|
}}
|
|
1988
2004
|
onChange={(value) => {
|
|
@@ -2020,6 +2036,14 @@ export default class RuleField extends Component {
|
|
|
2020
2036
|
labelInValue={true}
|
|
2021
2037
|
value={currentValue}
|
|
2022
2038
|
requestConfig={{
|
|
2039
|
+
...(dataChoiceBusinessType === 311
|
|
2040
|
+
? {
|
|
2041
|
+
otherParams: {
|
|
2042
|
+
// 配送方式只选择标准配送方式
|
|
2043
|
+
'qp-recordChannnelCode-eq': 80,
|
|
2044
|
+
},
|
|
2045
|
+
}
|
|
2046
|
+
: {}),
|
|
2023
2047
|
filterInit: 'qp-code-in',
|
|
2024
2048
|
}}
|
|
2025
2049
|
onChange={(value) => {
|
package/src/index.ts
CHANGED
|
@@ -43,8 +43,15 @@ export { default as EllipsisTooltip} from './components/Functional/EllipsisToolt
|
|
|
43
43
|
export * from './components/Functional/BsAntdSula/index';
|
|
44
44
|
export { default as RuleComponent} from './components/Solution/RuleComponent';
|
|
45
45
|
export { default as RuleSetter} from './components/Solution/RuleSetter';
|
|
46
|
+
export { default as RenderCompItem} from './components/Solution/RuleComponent/RenderCompItem';
|
|
47
|
+
|
|
48
|
+
export { processDetailButtonsVisible as processDetailButtonsVisible } from './components/Business/DetailPageWrapper';
|
|
49
|
+
|
|
50
|
+
|
|
46
51
|
|
|
47
52
|
// 通用组件
|
|
48
53
|
export { default as ExtendedCollapse } from './components/Common/ExtendedCollapse';
|
|
49
54
|
export { default as Section } from './components/Common/Section';
|
|
50
55
|
export { default as ParagraphCopier } from './components/Common/ParagraphCopier';
|
|
56
|
+
|
|
57
|
+
export { default as SystemLog } from './components/Business/SystemLog';
|
package/src/utils/utils.ts
CHANGED
|
@@ -267,4 +267,44 @@ export const handleConvertResponse = (items: any, total: number): object => {
|
|
|
267
267
|
|
|
268
268
|
export const noEmptyArray = (targetObj: any) => {
|
|
269
269
|
return Array.isArray(targetObj) && targetObj.length !== 0;
|
|
270
|
-
};
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export const formContainerAndItemLayout = (type: string, title: any, name: string) => {
|
|
273
|
+
return type === 'form' ? {
|
|
274
|
+
container: {
|
|
275
|
+
type: 'card',
|
|
276
|
+
props: {
|
|
277
|
+
title,
|
|
278
|
+
id: Math.random(),
|
|
279
|
+
level: 1,
|
|
280
|
+
name
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
itemLayout: {
|
|
284
|
+
span: 8, // span表示每项所占的栅格数
|
|
285
|
+
labelCol: {
|
|
286
|
+
span: 8,
|
|
287
|
+
},
|
|
288
|
+
wrapperCol: {
|
|
289
|
+
span: 18,
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
} : {
|
|
293
|
+
container: {
|
|
294
|
+
type: 'card',
|
|
295
|
+
props: {
|
|
296
|
+
title,
|
|
297
|
+
id: Math.random(),
|
|
298
|
+
level: 1,
|
|
299
|
+
bordered: null,
|
|
300
|
+
isWhiteCard: true,
|
|
301
|
+
name
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
itemLayout: {
|
|
305
|
+
wrapperCol: {
|
|
306
|
+
span: 0,
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
}
|
|
310
|
+
}
|