@beisen-platform/ux-platform-tree
```
Last updated a year ago by beisencorp .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @beisen-platform/ux-platform-tree 
SYNC missed versions from official npm registry.

  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)} //选中数据
      }

Current Tags

  • 1.0.50                                ...           latest (a year ago)

46 Versions

  • 1.0.50                                ...           a year ago
  • 1.0.48                                ...           a year ago
  • 1.0.47                                ...           a year ago
  • 1.0.46                                ...           a year ago
  • 1.0.45                                ...           a year ago
  • 1.0.44                                ...           a year ago
  • 1.0.43                                ...           a year ago
  • 1.0.42                                ...           a year ago
  • 1.0.41                                ...           a year ago
  • 1.0.40                                ...           a year ago
  • 1.0.39                                ...           a year ago
  • 1.0.38                                ...           a year ago
  • 1.0.37                                ...           a year ago
  • 1.0.36                                ...           a year ago
  • 1.0.35                                ...           a year ago
  • 1.0.34                                ...           a year ago
  • 1.0.33                                ...           a year ago
  • 1.0.32                                ...           a year ago
  • 1.0.31                                ...           a year ago
  • 1.0.30                                ...           a year ago
  • 1.0.29                                ...           a year ago
  • 1.0.28                                ...           a year ago
  • 1.0.27                                ...           a year ago
  • 1.0.26                                ...           a year ago
  • 1.0.25                                ...           a year ago
  • 1.0.24                                ...           a year ago
  • 1.0.23                                ...           a year ago
  • 1.0.22                                ...           a year ago
  • 1.0.21                                ...           a year ago
  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |