优化一键发布按钮,带出html排版内容
This commit is contained in:
parent
c96a7121f1
commit
c43efd20dd
@ -4979,12 +4979,14 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
BO bo =new BO();
|
||||
BO subBO =new BO();
|
||||
bo.set("OPTIONTYPE",optionType);//发布类型,不同的发布类型,显示不同的子表数据
|
||||
bo.set("RELEASE_INSTRUCTIONS",
|
||||
"<div id=\"RELEASE_INSTRUCTIONS_htmlRead\" class=\"readonly-html-div\" style=\"width: 100%;\"><style style=\"display: none;\">#RELEASE_INSTRUCTIONS_htmlRead img{vertical-align:bottom}li{list-style: inherit;}</style><p style=\"margin: 0px; text-align: center; line-height: 1.5em; display: block;\"><strong><span style=\";font-family:宋体;font-size:24px\"><br></span></strong></p><p style=\"margin: 0px; text-align: center; line-height: 1.5em; display: block;\"><strong><span style=\";font-family:宋体;font-size:24px\">关于发布《XXXXXXXXXXXX》的通知</span></strong><br></p><p style=\"margin: 0px; text-align: center; line-height: 1.5em; display: block;\"><strong><span style=\";font-family:宋体;font-size:14px\"> </span></strong></p><p style=\"margin: 0px; text-align: justify; line-height: 1.5em; display: block;\"><span style=\";font-family:仿宋_GB2312;font-size:21px\">各事业部、分(子)公司、总部各部(室):</span></p><p style=\"margin: 0px; text-indent: 43px; text-align: justify; line-height: 1.5em; display: block;\"><span style=\";font-family:仿宋_GB2312;font-size:21px\">为</span><span style=\";font-family:宋体;font-size:21px\">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</span><span style=\";font-family:仿宋_GB2312;font-size:21px\">,现下发《</span><span style=\";font-family:宋体;font-size:21px\">xxxxxxxxxxxxxxx</span><span style=\";font-family:仿宋_GB2312;font-size:21px\">》,请各单位遵照执行。</span></p><p style=\"margin: 5px 0px; text-indent: 43px; text-align: justify; line-height: 1.5em; display: block;\"><span style=\";font-family:仿宋_GB2312;font-size:21px\">特此通知。</span></p><p style=\"margin: 5px 0px; text-indent: 43px; text-align: right; line-height: 1.5em; display: block;\"><span style=\"text-indent: 299px; font-family: 仿宋_GB2312; font-size: 21px;\">(xxxxxxxxx)单位名称</span></p><p style=\"margin: 5px 0px; text-indent: 43px; text-align: right; line-height: 1.5em; display: block;\"><span style=\"font-family: 仿宋_GB2312; font-size: 21px;\">2022年7月27日</span></p></div>");// 流程实例状态
|
||||
if(optionType.equals("流程制度发布")){//创建一个子表
|
||||
subBO.set("PUBLISTHTYPE","N");
|
||||
subBO.set("PUBLISHFILENAME",thisModel.getName());
|
||||
subBO.set("PUBLISHFILEID",thisModel.getId());
|
||||
subBO.set("TASKID","submit_create");
|
||||
subBO.set("FILETYPE","111");
|
||||
subBO.set("FILETYPE","");
|
||||
SDK.getBOAPI().create(subBoName,subBO,processInstance.getId(),_uc.getUID());
|
||||
}else {
|
||||
subBO.set("CHANGETYPE","C");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user