advice.vm 2.87 KB
$page.setTitle("意见反馈")

<div class="xn-breadcrumb auto  xn-width clearfix ">
    <ul class="breadcrumb">
        <li><a class="icon icon-home_page" href="$adminLink.setTarget("index")"></a> </li>
        <li class="active">意见反馈</li>
    </ul>
</div>
<div class="xn-main auto xn-width clearfix" ng-controller="RailwayController">
    <div class="xn-table-wrap">
        <div align="right">
            <select ng-model="condition" ng-init="condition = names[0]" ng-options="x.name for x in names">
            </select>
            <input ng-model="content" />
            <button ng-click="searchByCondition()">搜索</button>

        </div>
        <table class="table table-bordered">
            <thead>
            <tr>
                <th class="col-md-1 ">事件编号</th>
               #* <th class="col-md-1 ">类型</th>*#
                <th class="col-md-1 ">上报用户名</th>
                <th class="col-md-1 ">事件类型</th>
                <th class="col-md-1 ">事件描述</th>
                <th class="col-md-1 ">上报时间</th>
                <th class="col-md-1 ">处置状态</th>
                <th class="col-md-1 ">反馈意见</th>
            </tr>
            </thead>
            <tbody id="tbody">
            <tr ng-repeat="event in eventList" >

                <td class="xn-text-left">
                    {{event.appEventId}}
                </td>
               #* <td class="xn-text-left">
                    上岗
                </td>*#
                <td class="xn-text-left">
                    {{event.nickName}}
                </td>
                <td class="xn-text-left">
                    {{event.type }}
                </td>
                <td class="xn-text-left">
                    {{event.description}}
                </td>
                <td class="xn-text-left">
                    {{event.commitTime }}
                </td>
                <td class="xn-text-left">
                    {{event.isHandled}}
                </td>
                <td class="xn-text-left">
                    {{event.handleSuggestion}}
                </td>
            </tr>
            <tr ng-if="!vm.totalCount || vm.totalCount==0">
                <td colspan="10" class="xn-center">无法找到相应的记录</td></tr>
            </tbody>
        </table>
        <div class="clearfix" >
            <div class="f-left mt_20 mb_10">共{{vm.totalCount}}条</div>
        </div>
        <pagination  ng-show="vm.totalCount>vm.pageSize"  ng-change="getList()"  max-size="maxPageSize" total-items="vm.totalCount"
                     ng-model="vm.pageNumber" items-per-page="vm.pageSize"  class="pagination-sm"  boundary-links="true"
                     previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
    </div>
</div>

<script src="$adminContent.getURI('dist/scripts/page/advice.js')" ></script>