
                    form.on('submit(userEditSubmit)', function (data) {
                        data.field.roleIds = insRoleSel.getValue('value');
                        var loadIndex = layer.load(2);
                        admin.req(mData ? 'user/update' : 'user/save', JSON.stringify(data.field), function (res) {
                            layer.close(loadIndex);
                            if (0 === res.code) {
                                layer.close(dIndex);
                              