提交 c831d3e2 编写于 作者: S st

[流程表单]增加表单版本恢复功能

上级 89071bc3
......@@ -1063,11 +1063,11 @@ MWF.xApplication.process.FormDesigner.Module.Form = MWF.FCForm = new Class({
resumeForm : function(version){
this.action.FormVersionAction.get(version.id, function( json ){
var formData = JSON.parse(json.data.data);
this.action.FormAction.update(version.form, formData,function( json ){
//this.action.FormAction.update(version.form, formData,function( json ){
this.designer.notice(MWF.APPFD.LP.version["resumeSuccess"]);
this.reload(JSON.decode(MWF.decodeJsonString(formData.data)));
this.dlg.close();
}.bind(this), null, false);
//}.bind(this), null, false);
}.bind(this), null, false);
},
deletePropertiesOrStyles: function(name, key){
......
......@@ -20,7 +20,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"op":"操作",
"resume" : "恢复",
"resumeConfirm" : "恢复确认",
"resumeInfo" : "您确认是否需要执行表单恢复操作?",
"resumeInfo" : "您确认是否需要执行表单恢复操作?确认恢复后当前表单会更新,需要手动保存当前表单才会生效。",
"resumeSuccess" :"恢复成功"
},
"notice": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册