| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- @extends('base.base')
- @section('base')
- <!-- 内容区域 -->
- <div class="main-panel">
- <div class="content-wrapper">
- <div class="page-header">
- <h3 class="page-title">
- <span class="page-title-icon bg-gradient-primary text-white mr-2">
- <i class="mdi mdi-settings"></i>
- </span>
- {{ __('auto.卡茶叶列表') }}
- </h3>
- </div>
- <div class="row">
- <div class="col-lg-12 grid-margin stretch-card">
- <div class="card">
- <div class="card-body">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th width="15%">OrderID</th>
- <th width="10%">{{ __('auto.用户') }}ID</th>
- <th width="15%">{{ __('auto.时间') }}</th>
- <th width="5%">{{ __('auto.订单状态') }}</th>
- <th width="15%">{{ __('auto.操作') }}</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $k=>$v)
- <tr id="{{$v->OrderId}}">
- <td>{{ $v->OrderId }}</td>
- <td>
- <a href="/admin/global/id_find?UserID={{$v->UserID}}">{{$v->UserID}}</a>
- </td>
- <td>{{ $v->CreateDate }}</td>
- <td>{{ $v->State }}</td>
- <td><button type="button"
- class="btn btn-sm btn-google btn-icon-text"
- onclick="resetOrder('{{$v->OrderId}}')">
- {{ __('auto.重置') }}
- </button></td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- function resetOrder(id) {
- myRequest("/admin/withdrawal/resetstate", "post", {OrderId:id}, function (res) {
- console.log(res)
- document.getElementById(res.id).style.display="none"
- });
- }
- </script>
- @endsection
|