中扬CRM客户关系管理系统
#
luxiaotao1123
2022-09-16 ae21ccb657c682c426ce2a7ec4706521f02e93da
#
1个文件已修改
4 ■■■■ 已修改文件
src/main/webapp/static/js/user/user.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/user/user.js
@@ -108,7 +108,7 @@
        var index  = obj.othis.parents('tr').attr("data-index");
        var data = tableData[index];
        data[this.name] = obj.elem.checked?1:0;
        http.post(baseUrl+"/user/edit/auth", {id: data.id, status: data[this.name]}, function (res) {
        http.post(baseUrl+"/user/update/auth", {id: data.id, status: data[this.name]}, function (res) {
            layer.msg(res.msg, {icon: 1});
        })
    })
@@ -192,7 +192,7 @@
                    el: '#deptSel',
                    height: '250px',
                    data: insTb.options.data,
                    initValue: mData ? [mData.detpId] : [],
                    initValue: mData ? [mData.deptId] : [],
                    model: {label: {type: 'text'}},
                    prop: {
                        name: 'name',