# @beisen-platform/export-form

> ```javascript # 点击form的取消需要的回调函数 onCancel = () => { console.log('onCancel......') } # 点击form的打印按钮需要的回调函数 onSave = () => { console.log('onSave......') } # form初始化过程中需要调用的loading openLoading = () => { console.log('openLoading....

Latest version **1.0.16** (published 2019-08-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-platform/export-form
pnpm add @beisen-platform/export-form
yarn add @beisen-platform/export-form
bun add @beisen-platform/export-form
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.16 |
| Published | 2019-08-06 |
| First published | 2018-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 36.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | beisencorp |

## Links

- npm: https://www.npmjs.com/package/@beisen-platform/export-form
- Repository: git@gitlab.beisencorp.com:ux-share-platform/ux-export-form
- npm.io page: https://npm.io/package/@beisen-platform/export-form

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md)
- [@beisen-platform/loading](https://npm.io/package/@beisen-platform/loading.md)
- [@beisen-platform/platform-tip](https://npm.io/package/@beisen-platform/platform-tip.md)

## Recent versions

- 1.0.16 (latest) — 2019-08-06
- 1.0.15-rc.2 — 2019-06-14
- 1.0.15-rc.1 — 2019-04-28
- 1.0.15 — 2019-04-17
- 1.0.14 — 2019-04-10
- 1.0.13 — 2019-03-22
- 1.0.12 — 2019-01-30
- 1.0.11 — 2019-01-30
- 1.0.10 — 2019-01-29
- 1.0.9 — 2019-01-22
- 1.0.8 — 2019-01-11
- 1.0.7 — 2019-01-11
- 1.0.6 — 2019-01-08
- 1.0.5 — 2019-01-04
- 1.0.4 — 2018-12-28
- … 5 more at https://npm.io/package/@beisen-platform/export-form/versions

## README

#### 打印的form
#### 需要传递props
```javascript
	# 点击form的取消需要的回调函数
	onCancel = () => {
		console.log('onCancel......')
  	}
	# 点击form的打印按钮需要的回调函数
  	onSave = () => {
    	console.log('onSave......')
  	}
	# form初始化过程中需要调用的loading
  	openLoading = () => {
    	console.log('openLoading......')
  	}
  	# form api请求回来后需要取消loading
  	closeLoading = () => {
    	console.log('closeLoading......')
  	}
  	
    popOptions = {
      queryUrl: {
        metaObjName: "BeisenCloudDemo.ceshi0602"
      },
      data: {
        firstDisplayedFieldTextAry: [{
          id: "cf63ca5a-481d-442c-bf5b-cb89b0341feb",
          showText: "123456"
        }],
        id: "cf63ca5a-481d-442c-bf5b-cb89b0341feb",
        ids: "cf63ca5a-481d-442c-bf5b-cb89b0341feb",
        _id: "cf63ca5a-481d-442c-bf5b-cb89b0341feb"
      },
      cmpContext: {
        app: "BeisenCloudDemo",
        application: "BeisenCloudDemo",
        currentViewName: "BeisenCloudDemo_wfbdzw0602",
        metaObjName: "BeisenCloudDemo.ceshi0602",
        tenantID: 100013,
        viewName: "BeisenCloudDemo.SingleObjectListView.all"
      },
      searchData:  {
        search_data: {
          items: [],
          metaObjName: "BeisenCloudDemo.ceshi0602",
          searchFormFilterJson: null,
          searchView: "BeisenCloudDemo.zdlx"
        },
        table_data: {
          advance: {cmp_render: {
            status: "enable",
            viewPath: ""
          }, layout: {

          }},
          extendsParam: "",
          getTreeNodeUrl: null,
          hasCheckColumn: true,
          hasRowHandler: true,
          isAvatars: true,
          isCustomListView: true,
          isCustomListViewExisted: false,
          isEnableGlobleCheck: false,
          isFrozenOperationColumnHandler: false,
          isSyncRowHandler: true,
          metaObjName: "BeisenCloudDemo.ceshi0602",
          operateColumWidth: 140,
          paging: {total: 344, capacity: 15, page: 0, capacityList: [15,30,60,100]},
          sort_fields: [{
            sort_column: "zhiweibianma0602",
            sort_dir: "asc"
          }],
          tableChangeReason: undefined,
          viewName: "BeisenCloudDemo.SingleObjectListView.all"
        }
      }
    };
```

---
_Source: https://npm.io/package/@beisen-platform/export-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
