#
luxiaotao1123
2021-01-26 3228978400f486a7dcb2e5fd670eb68455ab2700
#
1个文件已修改
9 ■■■■■ 已修改文件
src/main/webapp/views/tag/tag.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/tag/tag.html
@@ -150,19 +150,18 @@
                '<button lay-event="del" class="layui-btn layui-btn-sm layui-btn-danger icon-btn"><i class="layui-icon">&#xe640;</i>删除</button>',
                '</p>'].join(''),
            tree: {
                iconIndex: 1,           // 折叠图标显示在第几列
                iconIndex: 2,           // 折叠图标显示在第几列
                isPidData: true,        // 是否是id、pid形式数据
                idName: 'id',           // id字段名称
                pidName: 'parentId'     // pid字段名称
            },
            cols: [[
                {type: 'checkbox'}
                ,{type: 'numbers'}
                ,{field: 'name', align: 'left',title: '名称', minWidth: 150}
                ,{field: 'uuid', align: 'center',title: '编号'}
                // ,{field: 'parentId', align: 'center',title: '父级'}
                ,{field: 'parentName', align: 'center',title: '父级名称'}
                // ,{field: 'path', align: 'center',title: '关联路径'}
                // ,{field: 'pathName', align: 'center',title: '关联路径名'}
                ,{field: 'type$', align: 'center',title: '类型'}
                ,{field: 'leading', align: 'center',title: '负责人'}
                ,{field: 'img', align: 'center',title: '图片'}
@@ -210,13 +209,11 @@
        /* 显示表单弹窗 */
        function showEditModel(mData) {
            layer.open({
            admin.open({
                type: 1,
                area: '600px',
                offset: '100px',
                title: (mData ? '修改' : '添加') + '权限',
                content: $('#editDialog').html(),
                skin: 'layui-cool-class',
                success: function (layero, dIndex) {
                    // 回显表单数据
                    form.val('detail', mData);