<div class="g-cell">
    <div class="g-w1024 g-box-center g-h100b g-table">
        <div class="g-row">
            <div class="g-cell g-h30">
<div class="g-summary g-float-r g-font-c03 g-font-h30">
    <!--<div class="g-float-r"><a href="###" ><img src="../styles/images/ico-search.gif" width="18" height="18" ></a></div>-->
    <!--<div class="g-padding-r20 g-float-r">报警时间：<input type="text" class="form-control input-sm g-w120 g-display01" ng-model="alarmSelect.alarmTime" id="datepicker" data-date-format="yyyy-mm-dd"  placeholder="" ng-change ="changePath(1);"></div>-->
    <div class="g-padding-r20 g-float-r">报警类型：<select class="form-control input-sm g-w110 g-display01"  ng-model="alarmSelect.type"   ng-options="ato.name as ato.name for ato in alarmTypeOption" ng-change ="changePath(1);">
    </select></div>
    <div class="g-padding-r20 g-float-r">车牌号：<select class="form-control input-sm g-w110 g-display01" ng-model="alarmSelect.license"   ng-options="avo.name as avo.name for avo in allVehicleOption" ng-change ="changePath(1);">
    </select></div>
</div>
<div class="clearfix"></div>
            </div><!--g-cell end-->
        </div><!--g-row end-->
        <div class="g-row">
            <div class="g-cell">
<div class="g-centent-box g-margin-t6">
    <div class="g-tablebox g-w100b">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table g-table text-center">
            <thead>
            <tr>
                <th class="g-w10b">试驾车牌</th>
                <th class="g-w15b">试驾车系</th>
                <th class="g-w8b">试驾员</th>
                <th class="g-w15b">销售员</th>
                <th class="g-">报警类型</th>
                <th class="g-w15b">报警时间</th>
                <th class="g-w8b">状态</th>
                <th class="g-w8b">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="alarm in pagingAlarm">
                <td ng-bind="alarm.license"></td>
                <td ng-bind="alarm.seriesName"></td>
                <td ng-bind="alarm.name"></td>
                <td ng-bind="alarm.salesPerson"></td>
                <td>
                    <span ng-if="alarm.alarmType != 12">{{alarm.alarmType | alarmType}}</span>
                    <a ng-href="/testDrive/{{tdriveId}}/outside/{{alarm.alarmId}}" ng-if="alarm.alarmType == 12">{{alarm.alarmType | alarmType}}</a>
                </td>
                <td ng-bind="alarm.alarmTime | changeDate"></td>
                <td ng-bind="alarm.careStatus | alarmStatus"></td>
                <td>
                    <ul class="" ng-show="alarm.alarmType != 12">
                        <li ng-show="alarm.careStatus !=1?true:false"><a href="#" data-toggle="modal" data-target="#findModal" ng-click="operAlarm('find',$index);"><img src="../styles/images/ico-see.png" width="22" height="14"></a></li>
                        <li ng-show="alarm.careStatus ==1?true:false"><a href="#" data-toggle="modal" data-target="#modifyModal" ng-click="operAlarm('update',$index);"><img src="../styles/images/ico-editor.png" width="18" height="14"></a></li>

                        <div class="clearfix"></div>
                    </ul>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="g-line02 g-padding-t10b10 g-margin-t20-">
            <ul class="clearfix">
                <li class="g-w50 g-font-h24 g-float-r"><a  class="text-muted g-float-r" href="javascript:void(0);" ng-click="currentPage < totalPage?changePath(currentPage+1):''">下一页&raquo;</a></li>
                <li class="g-w50 g-float-r">
                    <select class="form-control input-sm" style="width:55px;height:24px;line-height:24px;" ng-model="currentPage" ng-options="to.size as to.size for to in totalOption" ng-change="changePath(currentPage);">
                    </select>
                </li>
                <li class="g-w50 g-font-h24 g-float-r"><a class="text-muted g-float-r" href="javascript:void(0);" ng-click="currentPage > 1?changePath(currentPage-1):''">&laquo;上一页</a></li>
                <li class="g-w50 g-font-h24 text-muted g-float-r">共 {{totalPage}} 页</li>
            </ul>
        </div><!--listbox end-->
    </div><!--g-tablebox end-->
</div><!--centent-box end-->
            </div><!--g-cell end-->
        </div><!--g-row end-->
    </div><!--g-table end-->
</div><!--g-cell end-->
<!-- findModal -->
<div class="modal fade" id="findModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content g-bg-01 g-bor-01">
            <div class="text-right g-w98b g-padding-t16"><img src="../styles/images/ico-close.png" width="12" height="12"  data-dismiss="modal"></div>
            <div class="modal-header g-w90b g-box-center text-center g-line01">
                <h4 class="modal-title g-font-family01 " id="myModalLabel">查看报警</h4>
            </div><!--modal-header end-->
            <div class="modal-body g-w90b g-box-center g-line01 g-line02 clearfix">
                <div class="g-w200 g-font-h36 g-box-center" st0000yle="background-color:#FC9">
                    <ul>
                        <li><span class="g-w80 g-display01">试驾车牌号：</span>{{alarmDetail.license}}</li>
                        <li><span class="g-w80 g-display01">试驾车系：</span>{{alarmDetail.seriesName}}</li>
                        <li><span class="g-w80 g-display01">试驾员：</span>{{alarmDetail.name}}</li>
                        <li><span class="g-w80 g-display01">销售员：</span>{{alarmDetail.salespersonName}}</li>
                        <li><span class="g-w80 g-display01">报警类型：</span>{{alarmDetail.alarmType | alarmType}}</li>
                        <li><span class="g-w80 g-display01">报警说明：</span>{{alarmDetail.faultInfo | alarmDesc:alarmDetail.alarmType}}</li>
                        <li><span class="g-w80 g-display01">报警时间：</span>{{alarmDetail.locationTime | changeDate}}</li>
                        <li><span class="g-w80 g-display01">状态：</span>{{alarmDetail.careStatus | alarmStatus}}</li>
                    </ul>
                </div><!--box end-->
                <div class="g-w260 g-font-h20 g-box-center g-padding-t15" st000yle="background-color:#FC9">
                    <ul>
                        <li><span class="g-w80 g-display01">处理方法：</span><br/>
                            <textarea rows="4" class="form-control input-sm g-w100b" id="" placeholder="" readonly>{{alarmDetail.careRemark}}</textarea>
                        </li>
                    </ul>
                </div><!--box end-->
            </div><!--modal-body end-->
            <!--<div class="modal-footer g-w90b g-box-center g-line02">-->
                <!--<div class="g-w270 g-box-center">-->
                    <!--<button type="button" class="btn g-button01" data-dismiss="modal" >确&nbsp;&nbsp;&nbsp;&nbsp;定</button>-->
                    <!--<button type="button" class="btn g-button01" style="margin-left:127px;"  data-dismiss="modal">取&nbsp;&nbsp;&nbsp;&nbsp;消</button>-->
                <!--</div>-->
            <!--</div>&lt;!&ndash;modal-footer end&ndash;&gt;-->
        </div><!--modal-content end-->
    </div>
</div><!-- myModal-01 end -->

<!-- myModal-01 -->
<div class="modal fade" id="modifyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content g-bg-01 g-bor-01">
            <div class="text-right g-w98b g-padding-t16"><img src="../styles/images/ico-close.png" width="12" height="12" data-dismiss="modal"></div>
            <div class="modal-header g-w90b g-box-center text-center g-line01">
                <h4 class="modal-title g-font-family01 " id="myModalLabel">报警处理</h4>
            </div><!--modal-header end-->
            <div class="modal-body g-w90b g-box-center g-line01 g-line02 clearfix">
                <div class="g-w200 g-font-h36 g-box-center" st0000yle="background-color:#FC9">
                    <ul>
                        <li><span class="g-w80 g-display01">试驾车牌号：</span>{{alarmDetail.license}}</li>
                        <li><span class="g-w80 g-display01">试驾车系：</span>{{alarmDetail.seriesName}}</li>
                        <li><span class="g-w80 g-display01">试驾员：</span>{{alarmDetail.name}}</li>
                        <li><span class="g-w80 g-display01">销售员：</span>{{alarmDetail.salespersonName}}</li>
                        <li><span class="g-w80 g-display01">报警类型：</span>{{alarmDetail.alarmType | alarmType}}</li>
                        <li><span class="g-w80 g-display01">报警说明：</span>{{alarmDetail.faultInfo | alarmDesc:alarmDetail.alarmType}}</li>
                        <li><span class="g-w80 g-display01">报警时间：</span>{{alarmDetail.locationTime | changeDate}}</li>
                        <li><span class="g-w80 g-display01">状态：</span>{{alarmDetail.careStatus | alarmStatus}}</li>
                    </ul>
                </div><!--box end-->
                <div class="g-w260 g-font-h20 g-box-center g-padding-t15" st000yle="background-color:#FC9">
                    <ul>
                        <li><span class="g-w80 g-display01">处理方法：</span><br/>
                            <textarea rows="4" class="form-control input-sm g-w100b" placeholder="" ng-model="alarmDetail.careRemark"></textarea>
                        </li>
                    </ul>
                </div><!--box end-->
            </div><!--modal-body end-->
            <div class="modal-footer g-w90b g-box-center g-line02">
                <div class="g-w270 g-box-center">
                    <button type="button" class="btn g-button01" data-dismiss="modal" ng-click="modifyAlarm();">确&nbsp;&nbsp;&nbsp;&nbsp;定</button>
                    <button type="button" class="btn g-button01" style="margin-left:127px;" data-dismiss="modal">取&nbsp;&nbsp;&nbsp;&nbsp;消</button>
                </div>
            </div><!--modal-footer end-->
        </div><!--modal-content end-->
    </div>
</div><!-- myModal-01 end -->