feat:生成账号

pg_adapter
wangxy 8 months ago
parent dac586df8a
commit 2e7238bb85

@ -307,10 +307,10 @@
function submitHandler() {
if ($.validate.form()) {
var data = $("#form-user-edit").serializeArray();
var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
/*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;*/
var roleIds = $.form.selectCheckeds("role");
var postIds = $.form.selectSelects("post");
data.push({"name": "status", "value": status});
/*data.push({"name": "status", "value": status});*/
data.push({"name": "roleIds", "value": roleIds});
data.push({"name": "postIds", "value": postIds});
$.operate.saveTab(prefix + "/edit", data);

Loading…
Cancel
Save