自动化立体仓库 - WMS系统
#
zjj
2024-09-13 48a031b40b23d7225899e3de0c6fb6df9bc2ee26
src/main/webapp/static/js/role/rolePower.js
@@ -40,12 +40,15 @@
        var param = [];
        var checkData = tree.getChecked('powerTree');
        checkData.map(function (obj) {
            console.log(obj)
            obj.children.map(function (resource) {
                console.log(resource)
                var childrens = [];
                resource.children.map(function (resource) {
                    childrens.push(resource.id);
                });
                if (resource.children) {
                    resource.children.map(function (resource) {
                        childrens.push(resource.id);
                    });
                }
                var one = {
                    'two': resource.id,
                    'three': childrens