更新代码
This commit is contained in:
80
app/Admin/Views/accounts/rules.blade.php
Normal file
80
app/Admin/Views/accounts/rules.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
<div class="pageHeader">
|
||||
<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="{{ url()->current() }}" method="post">
|
||||
<div class="searchBar">
|
||||
<table class="searchContent">
|
||||
<tr>
|
||||
<td>
|
||||
规则名称:
|
||||
<input type="text" name="title" value="{{ Request::input('title') }}"/>
|
||||
</td>
|
||||
<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索结果</button></div></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="pageContent">
|
||||
<div class="panelBar">
|
||||
<ul class="toolBar">
|
||||
{{-- <li><a class="add" href="{{ route('Admin.rules.create') }}" mask="true" target="dialog" rel="dialog_{{ time() }}" title="创建用户"><span>创建用户</span></a></li> --}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<table class="table" width="100%" layoutH="112">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50">编号</th>
|
||||
<th width="150">规则名称</th>
|
||||
<th width="150">调用标识</th>
|
||||
<th width="60">账户类型</th>
|
||||
<th width="60">变动数量</th>
|
||||
<th width="60">调用次数</th>
|
||||
<th width="60">直接到帐</th>
|
||||
<th width="">备注说明</th>
|
||||
<th width="120" orderField="created_at" @if (Request::input('orderField') == 'created_at') class="{{ Request::input('orderDirection') }}" @endif>创建时间</th>
|
||||
<th width="120" orderField="updated_at" @if (Request::input('orderField') == 'updated_at') class="{{ Request::input('orderDirection') }}" @endif>更新时间</th>
|
||||
<th width="60"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($rules as $rule)
|
||||
<tr>
|
||||
<td>{{ $rule->id }}</td>
|
||||
<td>{{ $rule->title }}</td>
|
||||
<td>{{ $rule->name }}</td>
|
||||
<td>{{ $rule->type }}</td>
|
||||
<td>{{ $rule->variable }}</td>
|
||||
<td>{{ $rule->trigger_text }}</td>
|
||||
<td>{{ $rule->deductions }}</td>
|
||||
<td>{{ $rule->remark }}</td>
|
||||
<td>{{ $rule->created_at }}</td>
|
||||
<td>{{ $rule->updated_at }}</td>
|
||||
<td>
|
||||
{{-- <a title="编辑产品" target="dialog" href="{{ route('Admin.rules.edit', $rule) }}" rel="dialog{{ time() }}" class="btnEdit">编辑</a> --}}
|
||||
{{-- <a title="删除产品" target="ajaxDelete" href="{{ route('Admin.rules.destroy', $rule) }}" class="btnDel">删除</a> --}}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="panelBar">
|
||||
<form id="pagerForm" method="post" action="#rel#">
|
||||
<input type="hidden" name="page" value="{{ $rules->currentPage() }}" />
|
||||
<input type="hidden" name="numPerPage" value="{{ $rules->perPage() }}" />
|
||||
<input type="hidden" name="orderField" value="{{ Request::input('orderField') }}" />
|
||||
<input type="hidden" name="orderDirection" value="{{ Request::input('orderDirection') }}" />
|
||||
</form>
|
||||
<div class="pages">
|
||||
<span>显示</span>
|
||||
<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
|
||||
<option @if ($rules->perPage() == 30) selected @endif value="30">30</option>
|
||||
<option @if ($rules->perPage() == 100) selected @endif value="100">100</option>
|
||||
<option @if ($rules->perPage() == 200) selected @endif value="200">200</option>
|
||||
</select>
|
||||
<span>条,共 {{ $rules->total() }} 条</span>
|
||||
</div>
|
||||
<div class="pagination" targetType="navTab" totalCount="{{ $rules->total() }}" numPerPage="{{ $rules->perPage() }}" pageNumShown="10" currentPage="{{ $rules->currentPage() }}"></div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user