无敌的龙卷风 发表于 2024-11-27 14:29:28

打印表单如何设置两个模板


本身绑定了一个,另一个需要用按钮来实现 click事件应该怎么写

论坛管理员 发表于 2024-11-29 09:35:05

http://host/x_desktop/printWork.html?workid=工作id&app=所在流程应用id&form=打印表单的id

无敌的龙卷风 发表于 2024-11-29 10:16:03

论坛管理员 发表于 2024-11-29 09:35
http://host/x_desktop/printWork.html?workid=工作id&app=所在流程应用id&form=打印表单的id

workid怎么获取呀 管理员大大

论坛管理员 发表于 2024-12-2 09:36:34

var work = this.workContext.getWork();
http://host/api/module-workContext.html#.getWork
获取的work对象里有id

无敌的龙卷风 发表于 2024-12-2 09:42:53

论坛管理员 发表于 2024-12-2 09:36
var work = this.workContext.getWork();
http://host/api/module-workContext.html#.getWork
获取的work对 ...

解决了 谢谢大大
页: [1]
查看完整版本: 打印表单如何设置两个模板