Commit ab97e0f4 by 宋祥

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

parent be10d8b2
...@@ -218,26 +218,21 @@ let save = function () { ...@@ -218,26 +218,21 @@ let save = function () {
return; return;
} }
JSUtils.confirm("确定对勾选中的数据做\"保存\"操作? ", { JSUtils.confirm("确定对勾选中的数据做\"保存\"操作? ", {
ok: saveOk(pageNode, orgNode) ok: function () {
}); let inInfo = new EiInfo();
} inInfo.set("result-0-pageEname", pageNode.label);
inInfo.set("result-0-pageCname", pageNode.text);
/** inInfo.set("result-0-authDepCode", orgNode.label);
* 保存确认 inInfo.set("result-0-authDepName", orgNode.text);
*/ inInfo.set("result-0-authType", $("input:radio[name='result-0-authType']:checked").val());
let saveOk = function (pageNode, orgNode) { EiCommunicator.send("HPPZ010", "save", inInfo, {
let inInfo = new EiInfo(); onSuccess: function (res) {
inInfo.set("result-0-pageEname", pageNode.label); message(res.msg);
inInfo.set("result-0-pageCname", pageNode.text); },
inInfo.set("result-0-authDepCode", orgNode.label); onFail: function (res) {
inInfo.set("result-0-authDepName", orgNode.text); }
inInfo.set("result-0-authType", $("input:radio[name='result-0-authType']:checked").val()); }, {async: false});
EiCommunicator.send("HPPZ010", "save", inInfo, {
onSuccess: function (res) {
message(res.msg);
},
onFail: function (res) {
} }
}, {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