1.0.50 • Published 6 years ago
@beisen-platform/ux-platform-tree v1.0.50
let dropConfig = {
"text": '',
"value": '',
"cmp_id": "9960148c-1565-40cb-ba13-af74d9e0d276",
"cmp_name": "BeisenCloudDemosearchshengji_danxuanliebiao32",
"cmp_type": "BC_DropDownList",
"cmp_label": "职务dev",
"cmp_data": {
"title": "职务dev",
"field_name": "danxuanliebiao32",
"required": false, //必填
"cmp_state": "create",
"cmp_status": "editable",
"editdisplaystate": "editable",
"createdisplaystate": "editable",
"showdisplaystate": "readonly",
"datasourcename": "NativePlace",
"metaObjectName":"BeisenCloudDemo.searchshengji",
"dataType": "Text",
"datasource": [{
"text": "税收学",
"value": "905",
"textJson": null
}, {
"text": "金融数学",
"value": "910",
"textJson": null
}],
"multiple": false //true 或者false,单选或者多选
},
"search_data": {
"metaFieldRelationIDPath": null,
"metaobjectname": "BeisenCloudDemo.searchshengji",
"opeartor": "eq",
"seperator": "-"
},
"ifError": false, //true 或者false,是否显示错误状态
"biz_data": { "text": "" },
"validators": {},
"placeholder":"输入框内提示信息", //默认是"请选择"
"autoShowPanel": true, // true或者false, 异步获取数据时是否重新渲染组件
onChange: (value) => {}, //onchange回调事件
}
let treecConfig = {
"cmp_id": "9b9b9680-801c-4fd1-9490-eafd4d747bcd",
"cmp_name": "\\4071f6df-2771-4476-8964-04ce2deb71e1~BeisenCloudDemo.123.Szuzhi",
"cmp_type": "BC_PopTree",
"cmp_label": "组织",
"cmp_data": {
"title": "组织",
"field_name": "\\4071f6df-2771-4476-8964-04ce2deb71e1~BeisenCloudDemo.123.Szuzhi",
"filter": "getchildren=true",
"isLink": false,
"viewPath": "",
"required": false,
"cmp_state": "search",
"cmp_status": "editable",
"searchdisplaystate": "editable",
"datasourcename": "OrganizationDataSource",
"usepathsearch": "false",
"datasourceurl": "/AppFSystemMRest/100000/Organization/GetOrganizationNodes?async=true&level=1&rootOrgClickable=false",
"AllowSearchNull": "0",
"num": "3",
"isCustomViewOption": false,
"metaFieldRelationIDPath": "\\4071f6df-2771-4476-8964-04ce2deb71e1",
"metaObjectName": "BeisenCloudDemo.123",
"applicationName": "BeisenCloudDemo"
},
"search_data": {
"opeartor": "eq",
"seperator": "-",
"metaobjectname": "BeisenCloudDemo.123",
"metaFieldRelationIDPath": null
},
"biz_data": {
"text": ""
},
"validators": null,
"promptmessage": null,
onChange: (val) => { console.log(val)} //选中数据
}
1.0.50
6 years ago
1.0.48
6 years ago
1.0.47
6 years ago
1.0.46
6 years ago
1.0.45
6 years ago
1.0.44
6 years ago
1.0.43
6 years ago
1.0.42
6 years ago
1.0.41
6 years ago
1.0.40
6 years ago
1.0.39
6 years ago
1.0.38
6 years ago
1.0.37
6 years ago
1.0.36
6 years ago
1.0.35
6 years ago
1.0.34
6 years ago
1.0.33
6 years ago
1.0.32
6 years ago
1.0.31
6 years ago
1.0.30
6 years ago
1.0.29
6 years ago
1.0.28
6 years ago
1.0.27
6 years ago
1.0.26
6 years ago
1.0.25
6 years ago
1.0.24
6 years ago
1.0.23
6 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.20
6 years ago
1.0.19
6 years ago
1.0.18
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago