<div class="list_search fl">
        
    <dl id="search" class="fl">

        <dd ng-repeat="element in sElements">

            <div ng-if="element.pTypeId == 5||element.pTypeId == 7">
                <span class="lab_01"> {{element.pName }}:</span> <input id="__c{{element.ID}}" name="__c{{element.ID}}" tag="edit" />
            </div>

            <div ng-if="element.pTypeId == 1">
                <span class="lab_01"> {{element.pName }}:</span> <input type="checkbox" id="__c{{element.ID}}" name="__c{{element.ID}}" tag="edit" />
            </div>

            <div ng-if="element.pTypeId == 3||element.pTypeId == 4">
                <span class="lab_01"> {{element.pName }}:</span>
                <input type="text" class="two_text" id="__c{{element.ID}}x1" name="__c{{element.ID}}x1" tag="edit" vad="{{element.validator}}" />
                <input type="text" class="two_text" id="__c{{element.ID}}x2" name="__c{{element.ID}}x2" tag="edit" vad="{{element.validator}}" />
            </div>


            <div ng-if="element.pTypeId == 6">
                <span class="lab_01"> {{element.pName }}:</span>
                <input datepick class="date-pick two_text" type="text" id="__c{{element.ID}}x1" name="__c{{element.ID}}x1" tag="edit" />
                <input datepick class="date-pick two_text" type="text" id="__c{{element.ID}}x2" name="__c{{element.ID}}x2" tag="edit" />
            </div>

            <div ng-if="element.pTypeId == 2||element.pTypeId == 13||element.pTypeId == 20">
                <span class="lab_01"> {{element.pName }}:</span>
                <select multiselectdropdown type="data" multiple="multiple" id="__c{{element.ID}}" name="__c{{element.ID}}"></select>
            </div>

            <div ng-if="element.pTypeId == 12||element.pTypeId == 19">
                <span class="lab_01"> {{element.pName }}:</span>
                <select multiselectdropdown type="user" multiple="multiple" id="__c{{element.ID}}" name="__c{{element.ID}}"></select>
            </div>

            <div ng-if="element.pTypeId == 16">
                <span class="lab_01"> {{element.pName }}:</span>
                <select id="__c{{element.ID}}_o" name="__c{{element.ID}}_o" tag="edit">  <option value="1">=</option><option value="3">&gt;</option><option value="2">&lt;</option> <option value="5">包含(in)</option></select>  <input placeholder="编号" class="two_text" tag="edit" vad="%5E%5B%5Cd%5D+$" type="text" id="__c{{element.ID}}" name="__c{{element.ID}}" /> <a href="javascript:void(0);" style="color:#808080" ng-click="dosm();">扫码</a> <div id="saomadiv">         <textarea id="idlist" rows="8" cols="30"></textarea>         <br />         <table><tr><td><input id="saomasubmit" type="button" value="提交" ng-click="saomasubmit();" /> </td>         <td>          <input type="button" id="saomacancel" value="取消" ng-click="saomacancel();" /> </td>         </tr></table>       </div>
            </div>

            <div ng-if="element.pTypeId == 18">
                <span class="lab_01"> {{element.pName }}:</span>
                <input type="checkbox" tag="edit" id="__c{{element.ID}}" name="__c{{element.ID}}" />  <input placeholder="根节点" type="text" tag="edit" id="__c{{element.ID}}x1" name="__c{{element.ID}}x1" class="two_text" />   <input class="two_text" placeholder="深度" type="text" tag="edit" id="__c{{element.ID}}x2" name="__c{{element.ID}}x2" />
            </div>
        </dd>
 

        <dd><input type='button' value=" 查 询 " id="searchSubmit" class="two_text" ng-click="dosearch()" /> <input type='button' class="two_text" value=" clear " id="searchClear" /> </dd>
    </dl>



    <div id="paging_right" class="clear">
        <div id="countdiv">{{s}}</div>
        <ul class="fr" id="paging">
            <li class="first"><a href="javascript:void(0);" ng-show="paging.first.n!=0" ng-click="pageNumber(paging.first.n);">{{paging.first.txt}} </a></li>
            <li>
                <span ng-repeat="page in paging.list" ng-switch on="page.n==startIndex" ng-click="pageNumber(page.n);">
                    <a ng-switch-when="false">{{page.txt}}</a>
                    <strong ng-switch-when="true">{{page.txt}}</strong>
                </span>
                <i>...</i>
                <a href="javascript:void(0);" ng-show="paging.last.n!=0" ng-click="pageNumber(paging.last.n);">{{paging.last.txt}} </a>
            </li>
            <li class="last"><a href="javascript:void(0);" ng-show="paging.next.n!=0" ng-click="pageNumber(paging.next.n);">{{paging.next.txt}} </a></li>
            <li>
                <select ng-model="pageSize" ng-change="pageSizeChange(pageSize);" ng-options="item.ID as item.Title for item in pages"></select>
            </li>
        </ul>
    </div>




    <table id="tb" class="ctltable" cellpadding="5" cellspacing="5" border="1" style="border:1px solid #cdcdcd">
        <tbody>
            <tr>
                <th><input id="selectAll" type="checkbox" ng-click="selectAll();"></th>
                <th ng-repeat="element in vElements" class="c_{{element.pTypeId}}">   {{element.pName}} </th>
            </tr>
        </tbody>

        <tbody>
            <tr ng-repeat="row in vdata">
                <td>
                    <input id="checkbox_{{row.index}}" type="checkbox" name="mainCheckBox">
                    <div class="level_{{row.depth}}">{{row.depth}}</div>
                    <a href="javascript:void(0);" style="color:#cc9933;" ng-click="rowSelect(row.index,row.joinName,row)" > 选择   </a>
                </td>
                <td ng-repeat="column in row">
                    <div ng-if="column.pTypeId == 5||column.pTypeId == 7||column.pTypeId == 1||column.pTypeId == 3||column.pTypeId == 4||column.pTypeId == 6||column.pTypeId == 16||column.pTypeId == 21||column.pTypeId == 18">
                        {{column.val}}
                    </div>
                    <div ng-if="column.pTypeId == 2||column.pTypeId == 13">
                        {{column.val.statusName}}
                    </div>
                    <div class="image" ng-if="column.pTypeId == 11">
                        <a href="{{column.val.RawFilePath}}" style="color:#15787e" target="_blank"><img width='100px' ng-src='{{column.val.FilePath}}' /></a>
                    </div>
                    <div ng-if="column.pTypeId == 10">
                        <div ng-repeat="att in column.val">
                            <a href="{{att.RawFilePath}}" style="color:#15787e" target="_blank">{{att.Filename}}</a>
                        </div>
                    </div>
                    <div ng-if="column.pTypeId == 12">
                        {{column.val.XingMing}}
                    </div>

                    <div ng-if="column.pTypeId == 19">
                        <span ng-repeat="user in column.val">
                            {{user.XingMing}},
                        </span>
                    </div>

                    <div ng-if="column.pTypeId == 20">
                        <span ng-repeat="stats in column.val">
                            {{stats.statusName}},
                        </span>
                    </div>

                </td>
            </tr>
        </tbody>
    </table>








</div>

