@beisen-cmps/print-form

0.0.8 • Public • Published

打印的form

需要传递props

	# 点击form的取消需要的回调函数
	onCancel = () => {
		console.log('onCancel......')
  	}
	# 点击form的打印按钮需要的回调函数
  	onSave = () => {
    	console.log('onSave......')
  	}
	# form初始化过程中需要调用的loading
  	openLoading = () => {
    	console.log('openLoading......')
  	}
  	# form api请求回来后需要取消loading
  	closeLoading = () => {
    	console.log('closeLoading......')
  	}
  	
    popOptions = {
      data: {
        ids: "cf63ca5a-481d-442c-bf5b-cb89b0341feb"
      },
      detailViewCode: "",
      cmpContext: {
        app: "BeisenCloudDemo",
        application: "BeisenCloudDemo",
        currentViewName: "BeisenCloudDemo_wfbdzw0602",
        metaObjName: "BeisenCloudDemo.ceshi0602",
        tenantID: 100013,
        viewName: "BeisenCloudDemo.SingleObjectListView.all"
      },
      printData: [
        {text: "wwh1111", value: "wwh18", type: "template"},
        {text: "wwh测试导入2", value: "wwh17", type: "template"},
        {text: "wwh测试实体改名、字段改名、删除字段", value: "wwh2", type: "template"},
        {text: "wwh-场景-搜索表单详情页", value:"wwh6", type: "template"},
        {text: "wwh打印模板1", value: "wwh1", type: "template"},
        {text: "wwh关联对象和主对象", value: "wwh7", type: "template"}
      ] 
    };

Readme

Keywords

none

Package Sidebar

Install

npm i @beisen-cmps/print-form

Weekly Downloads

1

Version

0.0.8

License

ISC

Unpacked Size

17.6 kB

Total Files

6

Last publish

Collaborators

  • beisencorp