0.1.20 • Published 5 years ago

@beisen-cmps/platform-textbox-range v0.1.20

Weekly downloads
4
License
ISC
Repository
-
Last release
5 years ago

组件使用、扩展文档

提交

  1. 修改package.json中的devDependencies里依赖版本, @beisen/gulp-lib -> 0.1.1; @beisen/storybook-lib -> 0.3.0
  2. npm install
  3. 修改代码后执行 npm run lib进行编译
  4. 更新package.json中的 version版本号
  5. push代码
  6. 在cmp.beisen.io站点,头部导航的《服务》中查看编译是否通过

使用参数

{
  text: this.props.text || '',
  value: this.props.value || '',
  "cmp_id": "c569ca1e-e58b-4a54-8a82-274ebc654162",
  "cmp_name": "xiaoshu7",
  "cmp_type": "BC_TextBoxRange",
  "cmp_label": "小数(百分数)dev",
  "cmp_data": {
      "title": "小数(百分数)dev",
      "field_name": "BeisenCloudDemo.searchshengji.xiaoshu7",
      "required": false,
      "cmp_state": "create",
      "cmp_status": "editable",
      "editdisplaystate": "editable",
      "createdisplaystate": "editable",
      "showdisplaystate": "readonly",
      formatType: "percentageSymbol",
      "datasourcename": "BCStaffDataSource",
      "IsShowHeadPic": true,
      "dataType": "Text",
      "icon_name": ""
      "precision": 5  //多余的小位数
      "totalLength": "15"  //整个数据最大长度
  },
  "search_data": {
    metaFieldRelationIDPath: null,
    metaobjectname: "BeisenCloudDemo.searchshengji",
    opeartor: "range",
    seperator: "-"
  },
  "biz_data": { "text": "" },
  "validators": {},
  styleTitle: 'rightFlush',        // "upAndDown" , "rightFlush",  "leftFlush", label的位置上下还是左右
  onChange: (fullDate, event) => {}  //回调事件
}

组件使用

  1. npm install @beisen-cmps/platform-textbox-range
  2. import PlatFormTextBoxRange from '@beisen-cmps/platform-textbox-range'
render() {
  return <PlatFormTextBoxRange {...this.props}/>;
}
0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.15

5 years ago

0.1.14-1

5 years ago

0.1.13-5

5 years ago

0.1.13-4

5 years ago

0.1.13-2

5 years ago

0.1.12-9

5 years ago

0.1.12-8

5 years ago

0.1.12-7

5 years ago

0.1.12-3

5 years ago

0.1.12-2

5 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago