0.0.59 • Published 5 years ago

@beisen-cmps/platform-location v0.0.59

Weekly downloads
2
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": "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

5 years ago

0.0.58

5 years ago

0.0.57

5 years ago

0.0.55

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.50

5 years ago

0.0.49

5 years ago

0.0.48

5 years ago

0.0.47

5 years ago

0.0.46

5 years ago

0.0.45

5 years ago

0.0.44

5 years ago

0.0.41

5 years ago

0.0.40

5 years ago

0.0.39

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28-7

5 years ago

0.0.28-6

5 years ago

0.0.28-5

5 years ago

0.0.28-4

5 years ago

0.0.28-3

5 years ago

0.0.28-1

5 years ago

0.0.28

5 years ago

0.0.27-4

5 years ago

0.0.27-3

5 years ago

0.0.27-2

5 years ago

0.0.27-1

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

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