中扬CRM客户关系管理系统
LSH
2023-09-11 8b434a01ef9e2e48d1300be7792caa91f653b08e
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',