1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dc69ca8a"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function l(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,a){var o=r(),u=e-o,i=20,c=0;t="undefined"===typeof t?500:t;var s=function e(){c+=i;var r=Math.easeInOutQuad(c,o,u,t);l(r),c<t?n(e):a&&"function"===typeof a&&a()};s()}},"333d":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[a("el-pagination",e._b({attrs:{"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},l=[],r=(a("c5f6"),a("09f4")),o={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total,sizes,prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(r["a"])(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(r["a"])(0,800)}}},u=o,i=(a("c0b9"),a("2877")),c=Object(i["a"])(u,n,l,!1,null,"31cb099a",null);t["a"]=c.exports},"3de3":function(e,t,a){"use strict";a.d(t,"b",(function(){return u})),a.d(t,"d",(function(){return i})),a.d(t,"a",(function(){return c})),a.d(t,"e",(function(){return s})),a.d(t,"f",(function(){return d})),a.d(t,"g",(function(){return p})),a.d(t,"c",(function(){return f}));var n=a("b775"),l=a("4328"),r=a.n(l),o="/api-web";function u(e){return Object(n["a"])({url:o+"/order/queryPage",method:"get",params:e})}function i(e){return Object(n["a"])({url:o+"/studentRefunds/queryPage",method:"get",params:e})}function c(e){return Object(n["a"])({url:o+"/vipGroupManage/applyRefundAudit",method:"post",data:r.a.stringify(e)})}function s(e){return Object(n["a"])({url:o+"/studentWithdraw/queryPage",method:"get",params:e})}function d(e){return Object(n["a"])({url:o+"/studentWithdraw/confirm",method:"post",data:r.a.stringify(e)})}function p(e){return Object(n["a"])({url:o+"/order/verifyMusicalList",method:"GET",params:e})}function f(e){return Object(n["a"])({url:o+"/studentRecharge/queryPage",method:"GET",params:e})}},8529:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",{attrs:{prop:"organId"}},[a("el-select",{staticClass:"multiple",attrs:{clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId",t)},expression:"searchForm.organId"}},e._l(e.organList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",prop:"createTime",label:"申请时间"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"user.realName",label:"学员姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"amount",label:"提现金额"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"detail.balance",label:"账户余额(元)"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"bankCardNo",width:"200",label:"提现账户"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"提现状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("dealStatus")(t.row.status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"支付账号"},scopedSlots:e._u([{key:"default",fn:function(t){return["ING"==t.row.status?a("el-input",{attrs:{type:"text",placeholder:"支付账号"},model:{value:t.row.detail.platformAccountNo,callback:function(a){e.$set(t.row.detail,"platformAccountNo",a)},expression:"scope.row.detail.platformAccountNo"}}):a("span",[e._v(e._s(t.row.detail.platformAccountNo))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"支付渠道"},scopedSlots:e._u([{key:"default",fn:function(t){return["ING"==t.row.status?a("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择"},model:{value:t.row.detail.transType,callback:function(a){e.$set(t.row.detail,"transType",a)},expression:"scope.row.detail.transType"}},[a("el-option",{attrs:{label:"微信",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"支付宝",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"银联",value:"3"}})],1):a("span",[e._v(e._s(e.getTypes(t.row.detail.transType)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"交易流水号"},scopedSlots:e._u([{key:"default",fn:function(t){return["ING"==t.row.status?a("el-input",{attrs:{type:"text",placeholder:"交易流水号"},model:{value:t.row.transNo,callback:function(a){e.$set(t.row,"transNo",a)},expression:"scope.row.transNo"}}):a("span",[e._v(e._s(t.row.transNo))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return"ING"==t.row.status?[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentWithdraw/confirm",expression:"'studentWithdraw/confirm'"}],attrs:{type:"text"},on:{click:function(a){return e.onSure(t.row,"SUCCESS")}}},[e._v("确认")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentWithdraw/confirm",expression:"'studentWithdraw/confirm'"}],attrs:{type:"text"},on:{click:function(a){return e.onSure(t.row,"FAILED")}}},[e._v("拒绝")])]:void 0}}],null,!0)})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)])},l=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("提现列表\n ")])}],r=a("333d"),o=a("3de3"),u=a("1cc7"),i=(a("4360"),a("92e3"),{components:{pagination:r["a"]},name:"income",data:function(){return{searchForm:{organId:null},tableList:[],organList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){var e=this;Object(u["A"])().then((function(t){200==t.code&&(e.organList=t.data)})),this.getList()},methods:{search:function(){this.pageInfo.page=1,this.getList()},getList:function(){var e=this,t=this.searchForm;t.rows=this.pageInfo.limit,t.page=this.pageInfo.page,Object(o["e"])(t).then((function(t){var a=t.data;200==t.code&&(e.tableList=a.rows,e.pageInfo.total=a.total)}))},getTypes:function(e){var t={1:"微信",2:"支付宝",3:"银联"};return t[e]},onSure:function(e,t){var a=this,n="";"SUCCESS"==t?n="您确定提现吗?":"FAILED"==t&&(n="您确定拒绝吗?"),this.$confirm(n,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(o["f"])({id:e.id,platformAccountNo:e.detail.platformAccountNo,transType:e.detail.transType,status:t,transNo:e.transNo}).then((function(e){200==e.code?(a.$message.success("操作成功"),a.getList()):a.$message.error(e.msg)}))})).catch((function(){}))}}}),c=i,s=a("2877"),d=Object(s["a"])(c,n,l,!1,null,null,null);t["default"]=d.exports},"92e3":function(e,t,a){"use strict";a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return l})),a.d(t,"e",(function(){return r})),a.d(t,"h",(function(){return o})),a.d(t,"b",(function(){return u})),a.d(t,"g",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"f",(function(){return s}));var n=[{label:"单技课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能班",value:"HIGH"},{label:"VIP课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"练习课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训课",value:"TRAINING"},{label:"课堂课",value:"CLASSROOM"}],l=[{label:"正常签到",value:1},{label:"异常签到",value:0}],r=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"临时工",value:"TEMPORARY"}],o=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],u=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{value:"QUIT_SCHOOL",label:"退学"}],i=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"}],c=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],s=[{value:"APPLY",text:"报名中"},{value:"PAY",text:"缴费中"},{value:"PREPARE",text:"筹备中"},{value:"PROGRESS",text:"进行中"},{value:"PAUSE",text:"暂停"},{value:"DRAFT",text:"编辑中"},{value:"AUDIT",text:"审核中"},{value:"AUDIT_FAILED",text:"审核失败"},{value:"CANCELED",text:"取消"}]},c0b9:function(e,t,a){"use strict";var n=a("de4e"),l=a.n(n);l.a},de4e:function(e,t,a){}}]);
|