<div class="create_all">
    <div class="title_btn">


        <div class="grid_title">
            <div class="grid_title1 fl">
            </div>
            <div class="title_con fl">
                <h2> --- </h2>
            </div>
            <div class="grid_title2 fl">
            </div>
        </div>
        <div class="btn_01" style="float:right;">
                   <a class="fs14" href="javascript:void(0);" ng-click="closeDialog();" id="close"> 关 闭 </a>
        </div>

    </div>


    <div class="grid_24 clearfix">


        <div id="CreateWindow_main" name="CreateWindow_main" class="createTable clearfix" cellpadding="3" cellspacing="3">


            <dl id="crv" class="complexcreate">
                <dd ng-repeat="element in elements" class="dd_{{element.p.pTypeId}}">
                    <div ng-if="element.p.pTypeId == 5||element.p.pTypeId == 3||element.p.pTypeId == 4">
                        <span>{{element.p.pName}}: </span>  {{element.v}}
                    </div>


                    <div ng-if="element.p.pTypeId == 2 || element.p.pTypeId == 13">
                        <span>{{element.p.pName}}: </span>    {{element.v}}
                    </div>

                    <div ng-if="element.p.pTypeId == 12 ">
                        <span>{{element.p.pName}}: </span>    {{element.v.XingMing}}
                    </div>


                    <div ng-if="element.p.pTypeId == 19">
                        <span>{{element.p.pName}}: </span>
                        <i ng-repeat="u in element.v">{{u.XingMing}},</i>
                    </div>

                    <div ng-if="element.p.pTypeId == 20">
                        <span>{{element.p.pName}}: </span>    {{element.v}}
                    </div>


                    <div ng-if="element.p.pTypeId == 1||element.p.pTypeId == 21">
                        <span>{{element.p.pName}}: </span>   {{element.v}}
                    </div>

                    <div ng-if="element.p.pTypeId == 6">
                        <span>{{element.p.pName}}: </span>    {{element.v}}
                    </div>

                    <div ng-if="element.p.pTypeId == 7">
                        <span>{{element.p.pName}}: </span>
                        <div ng-bind-html="element.v">             </div>
                    </div>

                    <div ng-if="element.p.pTypeId == 16">
                        <span>{{element.p.pName}}: </span>     {{element.v}} <input type="hidden" id='__c{{element.p.ID}}' name='__c{{element.p.ID}}' value="{{element.v}}" />
                    </div>


                    <div ng-if="element.p.pTypeId == 11">
                        <span>{{element.p.pName}}: </span>    <div id='__img{{element.p.ID}}'>
                            <ul>
                                <li tag='{{element.v.ID}}' ng-show="element.v.FilePath"> <a ng-href='{{element.v.FilePath}}' target="_blank"><img ng-src='{{element.v.FilePath}}' class="max400" /></a> <span>  </span></li>
                            </ul>
                        </div><input type='hidden' id='__c{{element.p.ID}}' name="__c{{element.p.ID}}" value="{{element.v.ID}}" />
                    </div>

                    <div ng-if="element.p.pTypeId == 10">
                        <span>{{element.p.pName}}: </span>    <div id='__img{{element.p.ID}}'>
                            <ul>
                                <li ng-repeat="att in element.v" tag='{{att.ID}}' ng-show="att.FilePath"><a target="_blank" ng-href="{{att.FilePath}}">{{att.Filename}}</a><span>  </span></li>
                            </ul>
                        </div> <input type='hidden' id='__c{{element.p.ID}}' name="__c{{element.p.ID}}" value="{{element.v}}" />
                    </div>


                </dd>


            </dl>

             

            <div style="width:100%;float:right;">
                <input id="rowcount" type="hidden" value="0" />
                <input id="rowdel" type="hidden" value="" />
              

                <div id="sublist">

                    <table id="sub" class="childTable" style="width:100%" tag="table_{{subPageId}}">
                        <tr>
                            
                            <th ng-repeat="element in subElements" class="c_{{element.pTypeId}}">
                                <span>  {{element.pName}} </span>
                            </th>
                         
                        </tr>

                        <tr ng-repeat="row in subData">
                            <td ng-repeat="column in row">
                                <div ng-if="column.pTypeId == 5||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-bind-html="column.val" ng-if="column.pTypeId == 7">

                                </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>


                      

                    </table>

                </div>
            </div>


        </div>
    </div>
</div>



<div id="bottom"></div>