分类：
<ul style="width: 980px">
    <li ng-repeat="c in catepatterns" 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.patterns">
                <a style="color: blue; padding: 3px 6px 3px 6px;" href="#/admin/statusMap/{{c.category.ID}}/{{p.ID}}"> {{p.pName}}</a>
            </u>
        </div>
</li>
</ul>

<br />
<br />

<h2 style="clear:both;padding-top:15px;"> 状态数据  <span ng-show="categoryId>0"> --> {{category.categoryName}} --> <i ng-show="patternId>0">{{pattern.pName}}</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="" />
     

    <span>映射到 </span>
    
    <select id="s" >    
        <option value="0" >请选择</option>
       <optgroup ng-repeat="c in catepatterns" label="{{c.category.categoryName}}" >
           <option ng-repeat="p in c.patterns" value="{{p.ID}}">{{p.pName}}</option>
       </optgroup>
    </select>
    <input type="button" value="提交" ng-click="submit();" />


    <div id="sublist">

        <table id="sub" class="childTable" style="width:100%" tag="table_admin">
            <tr>
                <th>编号</th>
                <th>映射Id</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>
                        <input tag='edit' class="admin_text index" type='text' name='cstatusId' disabled="disabled" />
                    </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>
                        <input tag='edit' class="admin_text index" type='text' name='cstatusId' disabled="disabled" ng-model="row.cstatusId" />
                    </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" />