ux-print-form
v0.0.4
Published
```javascript # 点击form的取消需要的回调函数 onCancel = () => { console.log('onCancel......') } # 点击form的打印按钮需要的回调函数 onSave = () => { console.log('onSave......') } # form初始化过程中需要调用的loading openLoading = () => { console.log('openLoading....
Downloads
2
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 = {
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"}
]
};