<div class="listview">
    <div class="viewlist">
        <rt-data-grid rt-page-record-count="vm.page.recordCount" rt-page-index="vm.page.index" rt-page-size="vm.page.size" rt-get-data="vm.view.search()"
            rt-sort-field="vm.view.sortField" rt-rows="vm.data" rt-selected-ids="vm.view.selectedIds" rt-auto-height="{{vm.view.autoHeight}}">
            <table class="table table-hover">
                <thead>
                    <tr>
                        <!-- @@ 视图表头 -->
                        <th rt-field-code="productIdName">产品</th>
                        <th rt-field-code="display_placeName">陈列位置</th>
                        <th>陈列面数</th>
                        <th rt-field-code="display_depthName">纵深</th>
                        <th>照片</th>
                        <th rt-field-code="is_first_promoteName">是否首推</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="row in vm.data track by row.Id">
                        <!-- @@ 视图列表值 -->
                        <td>
                            {{row.productIdName}}
                        </td>
                        <td>
                            {{row.display_placeName}}
                        </td>
                        <td>
                            {{ row.display_numberName}}
                        </td>
                        <td>
                            {{row.display_depthName}}
                        </td>
                        <td>
                            <a href="javascript:;" ng-click="vm.showImage(row.Id)" style="color: #09f;">浏览</a>
                        </td>
                        <td>{{row.is_first_promoteName}}</td>
                    </tr>
                </tbody>
            </table>
        </rt-data-grid>
        <!-- rt-data-grid  -->
    </div>
    <!-- div[.panel-default] -->
</div>
<!-- div[.listview] -->

<div class="sidebar sidebar-right sidebar-animate rt-shadow-border-left content-wrapper" ng-if="vm.view.type=='default'">
    <div ui-view class="content"></div>
</div>
<!-- div[.editview] -->