withdraw-statistics.blade.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. @extends('layouts.base')
  2. @section('content')
  3. <link href="{{static_url('yunshop/balance/balance.css')}}" media="all" rel="stylesheet" type="text/css"/>
  4. <link href="{{static_url('yunshop/css/member.css')}}" media="all" rel="stylesheet" type="text/css"/>
  5. <link rel="stylesheet" type="text/css" href="{{static_url('yunshop/goods/vue-goods1.css')}}"/>
  6. <style>
  7. .content {
  8. background: #eff3f6;
  9. padding: 10px !important;
  10. }
  11. </style>
  12. <div id="app" v-cloak class="main">
  13. <div class="block">
  14. <div class="vue-head">
  15. <div class="vue-main-title" style="margin-bottom:20px">
  16. <div class="vue-main-title-left"></div>
  17. <div class="vue-main-title-content">提现统计</div>
  18. <div class="vue-main-title-button">
  19. </div>
  20. </div>
  21. <div class="vue-search">
  22. <el-form :inline="true" :model="search_form" class="demo-form-inline">
  23. <el-form-item label="">
  24. <el-date-picker
  25. clearable
  26. value-format="timestamp"
  27. v-model="search_time"
  28. type="datetimerange"
  29. range-separator="至"
  30. start-placeholder="开始日期"
  31. end-placeholder="结束日期">
  32. </el-date-picker>
  33. </el-form-item>
  34. <el-form-item label="">
  35. <el-button type="primary" @click="search()">搜索</el-button>
  36. </el-form-item>
  37. </el-form>
  38. </div>
  39. </div>
  40. </div>
  41. <div style="background: #eff3f6;width:100%;height:15px;"></div>
  42. <div class="block">
  43. <div class="vue-main">
  44. <div class="vue-main-form">
  45. <div class="vue-main-title" style="margin-bottom:20px">
  46. <div class="vue-main-title-left"></div>
  47. <div class="vue-main-title-content">
  48. 统计列表
  49. <span style="margin-left:20px;font-size: 10px;font-weight: 0;color: #9b9da4">
  50. 金额总合计:[[amount]]
  51. </span>
  52. </div>
  53. </div>
  54. <el-table :data="page_list" style="width: 100%">
  55. <el-table-column label="日期" align="center" prop="" width="auto">
  56. <template slot-scope="scope">
  57. [[scope.row.time]]
  58. </template>
  59. </el-table-column>
  60. <el-table-column label="提现到余额" align="center" prop="" width="auto">
  61. <template slot-scope="scope">
  62. [[scope.row.balance]]
  63. </template>
  64. </el-table-column>
  65. <el-table-column label="提现到微信" align="center" prop="" width="auto">
  66. <template slot-scope="scope">
  67. [[scope.row.wechat]]
  68. </template>
  69. </el-table-column>
  70. <el-table-column label="提现到支付宝" align="center" prop="" width="auto">
  71. <template slot-scope="scope">
  72. [[scope.row.alipay]]
  73. </template>
  74. </el-table-column>
  75. <el-table-column label="提现到手动提现" align="center" prop="" width="auto">
  76. <template slot-scope="scope">
  77. [[scope.row.manual]]
  78. </template>
  79. </el-table-column>
  80. <el-table-column label="提现到银行卡-HJ" align="center" prop="" width="auto">
  81. <template slot-scope="scope">
  82. [[scope.row.converge_pay]]
  83. </template>
  84. </el-table-column>
  85. <el-table-column v-if="high_light_open==1" label="提现到微信-高灯" align="center" prop="" width="auto">
  86. <template slot-scope="scope">
  87. [[scope.row.high_light_wechat]]
  88. </template>
  89. </el-table-column>
  90. <el-table-column v-if="high_light_open==1" label="提现到支付宝-高灯" align="center" prop="" width="auto">
  91. <template slot-scope="scope">
  92. [[scope.row.high_light_alipay]]
  93. </template>
  94. </el-table-column>
  95. <el-table-column v-if="high_light_open==1" label="提现到银行卡-高灯" align="center" prop="" width="auto">
  96. <template slot-scope="scope">
  97. [[scope.row.high_light_bank]]
  98. </template>
  99. </el-table-column>
  100. <el-table-column label="总计提现金额" align="center" prop="" width="auto">
  101. <template slot-scope="scope">
  102. [[scope.row.amount]]
  103. </template>
  104. </el-table-column>
  105. </el-table>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. <script>
  111. var vm = new Vue({
  112. el: '#app',
  113. // 防止后端冲突,修改ma语法符号
  114. delimiters: ['[[', ']]'],
  115. data() {
  116. return {
  117. search_form: {
  118. time: {
  119. start: 0,
  120. end: 0
  121. }
  122. },
  123. page_list: [],
  124. total: 0,
  125. per_page: 0,
  126. current_page: 0,
  127. pageSize: 0,
  128. amount: 0,
  129. income_type_comment: [],
  130. search_time: [],
  131. high_light_open: 0
  132. }
  133. },
  134. created() {
  135. this.getData(1)
  136. },
  137. //定义全局的方法
  138. beforeCreate() {
  139. },
  140. filters: {},
  141. methods: {
  142. getData() {
  143. let search = this.search_form
  144. if (this.search_time) {
  145. search.time.start = this.search_time[0] ? this.search_time[0] : ''
  146. search.time.end = this.search_time[1] ? this.search_time[1] : ''
  147. } else {
  148. search.time.start = ''
  149. search.time.end = ''
  150. }
  151. let loading = this.$loading({
  152. target: document.querySelector(".content"),
  153. background: 'rgba(0, 0, 0, 0)'
  154. });
  155. this.$http.post('{!! yzWebFullUrl('finance.withdraw-statistics.index') !!}', {
  156. search: search,
  157. }).then(function (response) {
  158. if (response.data.result) {
  159. this.page_list = response.data.data.data
  160. this.high_light_open = response.data.data.high_light_open
  161. this.amount = response.data.data.amount
  162. loading.close();
  163. } else {
  164. this.$message({
  165. message: response.data.msg,
  166. type: 'error'
  167. });
  168. }
  169. loading.close();
  170. }, function (response) {
  171. this.$message({
  172. message: response.data.msg,
  173. type: 'error'
  174. });
  175. loading.close();
  176. });
  177. },
  178. search(page) {
  179. this.getData(page)
  180. },
  181. },
  182. })
  183. </script>
  184. @endsection