0.0.59 • Published 6 years ago

@beisen-cmps/platform-location v0.0.59

Weekly downloads
2
License
ISC
Repository
-
Last release
6 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": "diquduoxuan27",
  "cmp_type": "BC_LookUpV2",
  "cmp_label": "地区选择(多选)dev",
  "cmp_data": {
      "AllowSearchNull":"0",
      "title": "地区选择(多选)dev",
      "field_name": "BeisenCloudDemo.searchshengji.diquduoxuan27",
      "required": false,
      "cmp_state": "create",
      "cmp_status": "editable",
      "editdisplaystate": "editable",
      "createdisplaystate": "editable",
      "showdisplaystate": "readonly",
      "datasourcename": "NativePlace",
      "metaObjectName":"BeisenCloudDemo.searchshengji",
      "dataType": "Text",
      "singleSelect": false // 单选,多选; 如果是单选,可选总数为1;如果是多选,可选总数为99
      "showForeignSource": false, // 当 showForeignSource 参数为false 或者不存在时 过滤掉国外数据,只显示国内数据
      "isFullPathFormat": true //全路径选择,默认false
  },
  "search_data": {
    metaFieldRelationIDPath: null,
    metaobjectname: "BeisenCloudDemo.searchshengji",
    opeartor: "eq",
    seperator: "-"
  },
  "form_errors":{},  //提示错误信息
  "biz_data": { "text": "" },
  "validators": {},
  styleTitle: 'rightFlush',        // "upAndDown" , "rightFlush",  "leftFlush", label的位置上下还是左右
  onChange: (value) => {}  //回调事件
}

组件使用

  1. npm install @beisen-cmps/platform-location
  2. import PlatFormLocation from '@beisen-cmps/platform-location'
render() {
  return <PlatFormLocation {...this.props}/>;
}
0.0.59

6 years ago

0.0.58

6 years ago

0.0.57

6 years ago

0.0.55

6 years ago

0.0.52

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.49

6 years ago

0.0.48

6 years ago

0.0.47

6 years ago

0.0.46

6 years ago

0.0.45

6 years ago

0.0.44

6 years ago

0.0.41

6 years ago

0.0.40

6 years ago

0.0.39

6 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.36

6 years ago

0.0.35

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28-7

6 years ago

0.0.28-6

6 years ago

0.0.28-5

6 years ago

0.0.28-4

6 years ago

0.0.28-3

6 years ago

0.0.28-1

6 years ago

0.0.28

6 years ago

0.0.27-4

6 years ago

0.0.27-3

6 years ago

0.0.27-2

6 years ago

0.0.27-1

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago