123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- @extends('layouts.admin.app')
- @section('plug-css')
- <link href="{{ asset('js/bootstrap-table/dist/bootstrap-table.css') }}" rel="stylesheet">
- @endsection
- @section('crumbs')
- <ol class="breadcrumb crumbs">
- <li><a href="{{ route('admin.index') }}#">后台导航</a></li>
- <li class="active">清分列表</li>
- </ol>
- @endsection
- @section('content')
- <form id="searchForm" class="form-inline">
- <div class="">
- <div class="form-group">
- <label for="name" class="label-css"> 合约编号:</label>
- <input class="form-control" type="text" name="c.contract_sn" value="{{$contractSn}}">
- </div>
- <div class="form-group">
- <label for="name" class="label-css"> 收款地址:</label>
- <input class="form-control" type="text" name="cb.to_address">
- </div>
-   <div class="form-group">
- <label for="is_sys_add" class="label-css"> 清分状态:</label>
- <select class="form-control" name="cb.status" style="margin-top: -8px;">
- <option value="">全部</option>
- <option value="0">失败</option>
- <option value="1">成功</option>
- <option value="2">广播失败</option>
- </select>
- </div>
-  <div class="form-group">
- <label for="is_sys_add" class="label-css"> 清分类型:</label>
- <select class="form-control" name="cb.type" style="margin-top: -8px;">
- <option value="">全部</option>
- @foreach($typeArr as $key=>$type)
- <option value="{{$key}}">{{$type}}</option>
- @endforeach
- </select>
- </div>
- <button type="button" class="btn btn-primary">查询</button>
- </div>
- </form>
- <hr class="hr-css">
- <div>
- <div id="toolbar">
- <div class="columns columns-left btn-group pull-left">
- </div>
- </div>
- <table id="ContentTable"></table>
- </div>
- @endsection
- @section('plug-js')
- <script src="{{ asset('js/bootstrap-table/dist/bootstrap-table.js') }}"></script>
- <script src="{{ asset('js/bootstrap-table/dist/locale/bootstrap-table-zh-CN.js') }}"></script>
- <script src="{{ asset('js/jquery-validation1.16/dist/jquery.validate.min.js') }}"></script>
- <script src="{{ asset('js/jquery-validation1.16/dist/additional-methods.min.js') }}"></script>
- <script src="{{ asset('js/jquery-validation1.16/src/localization/messages_zh.js') }}"></script>
- @endsection
- @section('scripts')
- <script>
- $(function(){
- BootStrapInit.init('tableContractDistribution','ContentTable',{
- searchForm: 'searchForm', // 表单搜索id 省略默认 'searchForm'
- url: "{{ route('admin.contractDistribution.ajax.index') }}",
- method: 'post',
- toolbar: '#toolbar',
- idField: '', // 指定主键列
- uniqueId: "id", // 这里需要指定当前查询表唯一主键字段
- columns: [
- {
- checkbox: true,
- align: 'center',
- valign: 'middle'
- },
- {
- field: 'id',
- title: 'ID',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'contract_sn',
- title: '合约编号',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'nbn_money',
- title: 'BNB数量',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'db_money',
- title: '代币数量',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'type',
- title: '清分类型',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'status',
- title: '状态',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'to_address',
- title: '收款地址',
- align: 'center',
- valign: 'middle',
- formatter:aHttpAddress,
- },
- {
- field: 'hash',
- title: '广播哈希',
- align: 'center',
- valign: 'middle',
- formatter:aHttpHash,
- },
- {
- field: 'remark',
- title: '说明',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'created_at',
- title: '创建时间',
- align: 'center',
- valign: 'middle',
- },
- {
- field: 'updated_at',
- title: '更新时间',
- align: 'center',
- valign: 'middle',
- }
- ]
- });
- });
- </script>
- @endsection
|