payFailOrderList.blade.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. @extends('layouts.base')
  2. @section('title', '订单支付异常记录')
  3. @section('content')
  4. <div id="app-orders" xmlns:v-bind="http://www.w3.org/1999/xhtml">
  5. <template>
  6. <el-table
  7. :data="list"
  8. style="width: 100%"
  9. >
  10. <el-table-column
  11. prop="id"
  12. label="id">
  13. </el-table-column>
  14. {{--<el-table-column--}}
  15. {{--prop="uid"--}}
  16. {{--label="用户id">--}}
  17. {{--</el-table-column>--}}
  18. <el-table-column
  19. label="订单编号">
  20. <template slot-scope="scope">
  21. <a v-bind:href="'{{ yzWebUrl('order.detail', array('order_id' => '')) }}'+[[scope.row.id]]"
  22. target="_blank">
  23. [[scope.row.order_sn]]
  24. </a>
  25. </template>
  26. </el-table-column>
  27. <el-table-column
  28. prop="amount"
  29. label="支付金额">
  30. </el-table-column>
  31. <el-table-column
  32. prop="status_name"
  33. label="状态">
  34. </el-table-column>
  35. <el-table-column
  36. prop="pay_type_name"
  37. label="支付方式">
  38. </el-table-column>
  39. <el-table-column
  40. prop="created_at"
  41. label="创建时间">
  42. </el-table-column>
  43. <el-table-column
  44. prop="pay_time"
  45. label="支付时间">
  46. </el-table-column>
  47. <el-table-column
  48. prop="refund_time"
  49. label="退款时间">
  50. </el-table-column>
  51. </el-table>
  52. </template>
  53. </div>
  54. <style>
  55. .el-table .warning-row {
  56. background: oldlace;
  57. }
  58. .el-table .success-row {
  59. background: #f0f9eb;
  60. }
  61. </style>
  62. @endsection('content')
  63. @section('js')
  64. <script>
  65. var app = new Vue({
  66. el: '#app-orders',
  67. delimiters: ['[[', ']]'],
  68. data() {
  69. let orders = JSON.parse('{!! $orders !!}');
  70. return {
  71. list: orders
  72. }
  73. },
  74. mounted: function () {
  75. },
  76. methods: {
  77. }
  78. });
  79. </script>
  80. @endsection('js')