ux-export-form

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

Usage no npm install needed!

<script type="module">
  import uxExportForm from 'https://cdn.skypack.dev/ux-export-form';
</script>

README

打印的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 = {
      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"
        }
      }
    };