<title>消息中心</title>
|
<style>
|
</style>
|
<style>
|
</style>
|
<div class="condition_search">
|
<div class="condition_search_header">
|
<label class="first">消息中心</label>
|
<label style="height: 30px;line-height: 30px;float: right;margin-right: 20px;">
|
<span>消息状态:</span>
|
|
|
|
<select ng-init="state_now = '20'" ng-model="state_now" ng-change="change_state(state_now);" >
|
<option value="" selected="selected">全部</option>
|
<option value="10"> 已处理</option>
|
<option value="20">未处理</option>
|
</select>
|
</label>
|
<label style="height: 30px;line-height: 30px;float: right;margin-right: 20px;">
|
<span>租户ID:</span>
|
<select ng-model="tenant_name" ng-change="change_tenantState(tenant_name)">
|
<!--ng-init=""-->
|
<!--ng-model="tenant.tenantName"-->
|
<!--ng-change="change_tenantState(tenant.tenantName)" ng-option="tenant.tenantName for tenant in tenants">-->
|
<option value="" selected="selected" >----请选择----</option>
|
<option ng-repeat="tenant in tenants" ng-value="{{tenant.gpUserId}}">{{tenant.tenantName}}</option>
|
<!--<option value="2"></option>-->
|
</select>
|
</label>
|
</div>
|
</div>
|
<!--table-->
|
<div class="table-content">
|
<table class="table table_travel_expense">
|
<thead>
|
<tr>
|
<!--<th ng-repeat="num in nums track by $index" class="ng-binding ng-scope">{{num}}</th>-->
|
<th class="ng-binding ng-scope">主数据名称</th>
|
<th class="ng-binding ng-scope">错误原因</th>
|
<th class="ng-binding ng-scope">创建时间</th>
|
<th class="ng-binding ng-scope">状态</th>
|
</tr>
|
</thead>
|
<tbody>
|
<tr ng-repeat="message in messages track by $index" class="{{($index % 2)?'odd':'even'}}"
|
|
click-read>
|
<!--<td>{{message.eMdCode}}</td>-->
|
<td title="{{message.eMdName}}">{{message.eMdName}}</td>
|
<td title="{{message.eViewMsg}}">{{message.eViewMsg}}</td>
|
<td title="{{message.insT}}">{{message.insT}}</td>
|
<td ng-class="{statered:message.eState == '已读'}">{{message.eState}}</td>
|
<!--<td ng-class="{{message.eState == '已读'?'statered':'statedefault'}}">
|
|
{{message.eState}}</td>-->
|
<!--<td>{{message.eId}}</td>-->
|
<!--<td>{{message.eCouldNumber}}</td>-->
|
<!--<td>{{message.eBillName}}</td>-->
|
<!--<td>{{message.eUpTime}}</td>-->
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
|
<div style="background: #fff;border: 1px solid #ddd;padding-top: 1px;height: 29px;">
|
<label style="font-weight: 400;float: left;padding-left: 4px;margin-bottom: 0;font-size: 12px;line-height:
|
|
29px;display: inline-block;max-width: 100%;">
|
<span style="cursor: pointer; margin: 0px 5px;font-size: 12px;">
|
<select style="height: 22px;margin: 0;" ng-init="page.num_per_page='20'" ng-model="page.num_per_page" ng-change="change_page_num(page.num_per_page);">
|
<!--<option value="" hidden></option>-->
|
<option value="20" selected="selected">20条/页</option>
|
<option value="50"> 50条/页</option>
|
<option value="100">100条/页</option>
|
</select>
|
</span>
|
<span ng-bind="'共'+total_page+'页'" style="cursor: pointer; margin: 0px 5px;font-size:
|
|
12px;">
|
</span>
|
</label>
|
<label style="font-weight: 400;float: right;padding-left: 4px;font-size: 12px;line-height: 29px;margin-
|
|
bottom: 5px;display: inline-block;max-width: 100%;">
|
<span style="cursor: pointer; margin: 0px 5px;font-size: 12px;">
|
<a ng-href="javascript:void(0);" ng-click="pre_page();">
|
<i class="fa" aria-hidden="true">上一页</i>
|
</a>
|
</span>
|
<span style="cursor: pointer; margin: 0px 5px;font-size: 12px;">
|
<a ng-href="javascript:void(0);" ng-click="next_page();">
|
<i class="fa" aria-hidden="true">下一页</i>
|
</a>
|
</span>
|
<span>第<input style="width: 25px;min-width: 25px;min-height: 20px!important;height: 20px !important;" value="1" ng-model="page.page_num" ng-change="change_page(page.page_num)"> 页/ 共<span ng-bind="total_page"></span>页</span>
|
</label>
|
</div>
|