Commit ab97e0f4 by 宋祥

1.修复数据权限保存报错问题

parent be10d8b2
...@@ -218,14 +218,7 @@ let save = function () { ...@@ -218,14 +218,7 @@ let save = function () {
return; return;
} }
JSUtils.confirm("确定对勾选中的数据做\"保存\"操作? ", { JSUtils.confirm("确定对勾选中的数据做\"保存\"操作? ", {
ok: saveOk(pageNode, orgNode) ok: function () {
});
}
/**
* 保存确认
*/
let saveOk = function (pageNode, orgNode) {
let inInfo = new EiInfo(); let inInfo = new EiInfo();
inInfo.set("result-0-pageEname", pageNode.label); inInfo.set("result-0-pageEname", pageNode.label);
inInfo.set("result-0-pageCname", pageNode.text); inInfo.set("result-0-pageCname", pageNode.text);
...@@ -239,5 +232,7 @@ let saveOk = function (pageNode, orgNode) { ...@@ -239,5 +232,7 @@ let saveOk = function (pageNode, orgNode) {
onFail: function (res) { onFail: function (res) {
} }
}, {async: false}); }, {async: false});
}
});
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment