提交 eb66c99e 编写于 作者: 蔡祥熠

Merge branch 'hotfix/api' into 'master'

Merge of hotfix/api 修复桌面模式流程readonly双击到浏览器页面上打开可以编辑 to develop

See merge request o2oa/o2oa!316

(cherry picked from commit 82e0542b)

2282ac0e 修复桌面模式流程readonly双击到浏览器页面上打开可以编辑
上级 69fb78d9
...@@ -248,7 +248,10 @@ MWF.xScript.Environment = function(ev){ ...@@ -248,7 +248,10 @@ MWF.xScript.Environment = function(ev){
* "resetRange": "department", //重置处理人范围 * "resetRange": "department", //重置处理人范围
* "resetCount": 0, //重置处理人数字 * "resetCount": 0, //重置处理人数字
* "allowReset": true, //是否允许重置 * "allowReset": true, //是否允许重置
* "manualMode": "single" //处理方式 单人single, 并行parallel, 串行queue, grab抢办 * "manualMode": "single", //处理方式 单人single, 并行parallel, 串行queue, grab抢办
* "customData": { //节点上的自定义属性,如果没有设置,不输出该值
*
* }
* }</code></pre> * }</code></pre>
* @o2syntax * @o2syntax
* var activity = this.workContext.getActivity(); * var activity = this.workContext.getActivity();
......
...@@ -40,7 +40,7 @@ MWF.xApplication.process.Work.Main = new Class({ ...@@ -40,7 +40,7 @@ MWF.xApplication.process.Work.Main = new Class({
this.options.jobId = this.status.jobId; this.options.jobId = this.status.jobId;
this.options.draftId = this.status.draftId; this.options.draftId = this.status.draftId;
this.options.priorityWork = this.status.priorityWork; this.options.priorityWork = this.status.priorityWork;
this.options.readonly = (this.status.readonly === "true"); this.options.readonly = (this.status.readonly === true || this.status.readonly === "true");
} }
this.action = MWF.Actions.get("x_processplatform_assemble_surface"); this.action = MWF.Actions.get("x_processplatform_assemble_surface");
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册