分类：
<ul style="width: 980px">
    <li ng-repeat="c in catepages" style="float:left;display:inline-block;">

        <span style="width:80px;">{{c.category.categoryName}}</span>
        <div class="ele_sub_list">
            <u ng-repeat="p in c.pages">
                <a style="color: blue; padding: 3px 6px 3px 6px;" href="#/admin/event/{{c.category.ID}}/{{p.ID}}"> {{p.UIname}}</a>
            </u>
         </div>
</li>
</ul>

 



<br />
<br />

<h2 style="clear:both;padding-top:15px;">页面事件  <span ng-show="categoryId>0"> --> {{category.categoryName}} --> <i ng-show="pageId>0">{{page.UIname}}</i></span></h2>





<div style="width:100%;float:right;" ng-show="categoryId>0">
    <input id="rowcount" type="hidden" value="0" />
    <input id="rowdel" type="hidden" value="" />    
    <input type="button" value="添加" ng-click="addChild();" />

    <div id="sublist">

        <table id="sub" class="childTable" style="width:100%" tag="table_admin">
            <tr>
                <th>编号</th>
                <th>事件类别</th>
                <th>事件代码</th>
                <th>操作</th>
            </tr>

            <tr class="hide">
                <td>
                    <div>
                        <input tag='edit' class="admin_text index" type='text' name='ID' disabled="disabled" />
                    </div>
                </td>


                <td>
                    <div>
                        <select name='eventType' tag="edit">
                            <option ng-repeat="obj in eventTypes" value="{{obj.id}}"> {{obj.name}} </option>
                        </select>
                    </div>
                </td>


                <td style="max-width:300px;">
                    <div>
                        <textarea name='eventSource' rows="5" cols="80" tag="edit" style="padding:6px 6px 6px 6px;background-color:#eff7dc"></textarea> 
                    </div>
                </td>



                <td> <a style="color:blue;" href="javascript:void(0);" class="remove">删除</a></td>

            </tr>
            <tr ng-repeat="row in result" ng-show="result.length">
                <td>
                    <div>
                        <input tag='edit' class="admin_text index" type='text' name='ID' disabled="disabled" ng-model="row.ID" />
                    </div>
                </td>



                <td>
                    <div>
                        <select name='eventType' tag="edit">
                            <option ng-repeat="obj in eventTypes" value="{{obj.id}}" ng-selected="obj.id==row.eventType"> {{obj.name}} </option>
                        </select>
                    </div>
                </td>


                <td style="max-width:300px;">
                    <div>
                        <textarea name='eventSource' rows="5" cols="80" tag="edit" style="padding: 6px 6px 6px 6px;background-color: #eff7dc;">{{row.eventSource}}</textarea> 
                    
                    </div>
                </td>





                <td> <a style="color:blue;" href="javascript:void(0);" class="remove">删除</a></td>


            </tr>



        </table>

    </div>
</div>







<input type="button" value="更新" ng-click="adapter();" ng-show="categoryId>0" />