refund.blade.php 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. @extends('layouts.base')
  2. @section('title', "退款列表")
  3. @section('content')
  4. <style>
  5. .rightlist #app .rightlist-head{line-height:50px;padding:15px 0;}
  6. .rightlist #app{margin-left:30px;}
  7. .rightlist #app .el-breadcrumb{padding:30px 0;font-size:16px;}
  8. .el-form-item__label{padding-right:30px;}
  9. .tip{font-size:12px;color:#999;font-weight:500}
  10. .rightlist-head-con{padding-right:20px;font-size:16px;color:#888;}
  11. /* .rightlist-head-con{float:left;padding-right:20px;font-size:16px;color:#888;} */
  12. .el-tag{font-weight:700;font-size:15px;margin-bottom:30px;}
  13. .el-icon-edit{font-size:16px;padding:0 15px;color:#409EFF;cursor: pointer;}
  14. /* 滑块选择小白点 */
  15. .el-switch.is-checked .el-switch__core::after {left: 100%;margin-left: -17px;}
  16. .el-switch__core::after {content: "";position: absolute;top: 1px;left: 1px;border-radius: 100%;transition: all .3s;width: 16px;height: 16px;background-color: #fff;}
  17. .tip1{font-size:12px;color:red;font-weight:500}
  18. [v-cloak]{
  19. display:none;
  20. }
  21. </style>
  22. <div class="rightlist">
  23. <div id="app" v-cloak>
  24. <el-breadcrumb separator-class="el-icon-arrow-right">
  25. <el-breadcrumb-item><a href="{{ yzWebFullUrl('plugin.fight-groups.admin.controllers.fight-groups.index') }}">活动列表</a></el-breadcrumb-item>
  26. <el-breadcrumb-item>退款列表</el-breadcrumb-item>
  27. </el-breadcrumb>
  28. <template>
  29. <el-form :inline="true" :model="search_form" ref="search_form" style="padding:20px 0 0 0;">
  30. <el-row>
  31. <el-col :xs="12" :md="12" :lg="7">
  32. <el-form-item label="支付方式" prop="pay_way">
  33. <el-select v-model="search_form.pay_way" placeholder="请选择支付方式" clearable>
  34. <el-option v-for="item in pay_list" :key="item.id" :label="item.name" :value="item.id"></el-option>
  35. </el-select>
  36. </el-form-item>
  37. </el-col>
  38. <el-col :xs="12" :md="12" :lg="7">
  39. <el-form-item label="团长昵称" prop="nickname">
  40. <el-input v-model="search_form.nickname" placeholder="请输入团长昵称"></el-input>
  41. </el-form-item>
  42. </el-col>
  43. <el-col :xs="12" :md="12" :lg="7">
  44. <el-form-item label="退款状态" prop="">
  45. <el-select v-model="search_form.status" placeholder="请选择退款状态" clearable>
  46. <el-option v-for="item in pay_list" :key="item.id" :label="item.name" :value="item.id"></el-option>
  47. </el-select>
  48. </el-form-item>
  49. </el-col>
  50. <a href="#">
  51. <el-button type="success" icon="el-icon-search" @click="search()">搜索</el-button>
  52. </a>
  53. </el-col>
  54. </el-row>
  55. </el-form>
  56. <template>
  57. <!-- 表格start -->
  58. <el-table :data="list" style="width: 100%" v-loading="table_loading">
  59. <el-table-column prop="number" label="拼团编号" align="center"></el-table-column>
  60. <el-table-column prop="member_name" label="团员" align="center"></el-table-column>
  61. <el-table-column prop="total" label="拼团总价" align="center"></el-table-column>
  62. <el-table-column prop="" label="支付方式" min-width="80" align="center">
  63. <template slot-scope="scope">
  64. <div>[[scope.row.pay_way]]:[[scope.row.total]]</div>
  65. </template>
  66. </el-table-column>
  67. <el-table-column prop="status" label="退款状态" min-width="80" align="center"></el-table-column>
  68. <el-table-column prop="time" label="退款时间" min-width="80" align="center"></el-table-column>
  69. <el-table-column label="管理" min-width="80" align="center">
  70. <template slot-scope="scope">
  71. <a :href="'{{ yzWebFullUrl('plugin.fight-groups.admin.controllers.fight-groups.create', array('id' => '')) }}'+[[scope.row.id]]">
  72. <el-button type="primary">退款详情</el-button>
  73. </a>
  74. </template>
  75. </el-table-column>
  76. </el-table>
  77. <!-- 表格end -->
  78. </template>
  79. <!-- 分页 -->
  80. <!-- <el-row>
  81. <el-col :span="24" align="right" style="padding:15px 5% 15px 0">
  82. <el-pagination layout="prev, pager, next" @current-change="currentChangeLocalVoice" :total="total" :page-size="per_size" background v-loading="loading"></el-pagination>
  83. </el-col>
  84. </el-row> -->
  85. </template>
  86. </div>
  87. <script>
  88. var app = new Vue({
  89. el:"#app",
  90. delimiters: ['[[', ']]'],
  91. data() {
  92. let data = {!! $data?:'{}' !!};
  93. console.log(data);
  94. return{
  95. tab:"all",
  96. search_form:{},
  97. form:{},
  98. pay_list:[
  99. {id:1,name:"微信支付"},
  100. {id:2,name:"支付宝支付"}
  101. ],
  102. list:[
  103. {id:1,number:"12312",member_name:"soso",total:"45.22",pay_way:"微信支付",status:"退款中",time:"2019-06-01 15:30:00"}
  104. ],
  105. dialog_loading:false,
  106. table_loading:false,
  107. rules:{},
  108. }
  109. },
  110. methods: {
  111. submitForm(){
  112. var that = this;
  113. that.all_loading = true;
  114. console.log(this.data);
  115. that.$http.post("{!! yzWebFullUrl('plugin.wechat.admin.reply.controller.default-reply.add') !!}",{keywords_id:that.data.id}).then(response => {
  116. console.log(response);
  117. if(response.data.result==1){
  118. that.keyword_list = response.data.data;
  119. that.$message.success("保存成功!");
  120. window.location.href='{!! yzWebFullUrl('plugin.wechat.admin.reply.controller.default-reply.index') !!}';
  121. }
  122. else{
  123. that.$message.error(response.data);
  124. }
  125. that.all_loading = false;
  126. }),function(res){
  127. console.log(res);
  128. that.all_loading = false;
  129. };
  130. },
  131. },
  132. })
  133. </script>
  134. @endsection