zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 批量给机构分配资源 -->
<script type="text/javascript">
    var resTreeGrid;
    $(function() {
        resTreeGrid = $('#resTreeGrid').treegrid({
            idField : 'id',
            treeField : 'name',
            parentField : 'pid',
            striped : true,
            fitColumns : false,
            border : false,
            columns : [ [ {
                title : '编号',
                field : 'id',
                width : 150,
                hidden : true
            },{
                field : 'text',
                title : '资源名称',
                width : 200
            } ] ],
            onLoadSuccess : function() {
                $(this).treegrid('tooltip');
            }
        });
    });
</script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" title="" style="overflow: hidden;padding:5px">
        <table id="resTreeGrid"></table>
    </div>
</div>