chunk-4df886d2.a2a5465d.js 9.5 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4df886d2"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",function(){return u}),Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,n){var u=o(),i=t-u,l=20,c=0;e="undefined"===typeof e?500:e;var s=function t(){c+=l;var o=Math.easeInOutQuad(c,u,i,e);a(o),c<e?r(t):n&&"function"===typeof n&&n()};s()}},"3de3":function(t,e,n){"use strict";n.d(e,"h",function(){return l}),n.d(e,"i",function(){return c}),n.d(e,"j",function(){return s}),n.d(e,"n",function(){return d}),n.d(e,"m",function(){return f}),n.d(e,"p",function(){return p}),n.d(e,"a",function(){return m}),n.d(e,"q",function(){return g}),n.d(e,"r",function(){return b}),n.d(e,"u",function(){return h}),n.d(e,"o",function(){return v}),n.d(e,"s",function(){return y}),n.d(e,"e",function(){return _}),n.d(e,"b",function(){return w}),n.d(e,"l",function(){return O}),n.d(e,"c",function(){return T}),n.d(e,"f",function(){return j}),n.d(e,"t",function(){return I}),n.d(e,"k",function(){return k}),n.d(e,"d",function(){return S}),n.d(e,"g",function(){return N});var r=n("b775"),a=n("829b"),o=n("4328"),u=n.n(o),i="/api-web";function l(t){return Object(r["a"])({url:i+"/order/queryPage",method:"get",params:t})}function c(t){return Object(r["a"])({url:i+"/order/queryPage1",method:"get",params:t})}function s(t){return Object(r["a"])({url:i+"/order/queryPage2",method:"get",params:t})}function d(t){return Object(r["a"])({url:i+"/routeOrder/finance",method:"get",params:t})}function f(t){return Object(r["a"])({url:i+"/routeOrder/add",method:"post",headers:{"Content-Type":"application/json"},data:t})}function p(t){return Object(r["a"])({url:i+"/studentRefunds/queryPage",method:"get",params:t})}function m(t){return Object(r["a"])({url:i+"/vipGroupManage/applyRefundAudit",method:"post",data:u.a.stringify(t)})}function g(t){return Object(r["a"])({url:i+"/studentWithdraw/queryPage",method:"get",params:t})}function b(t){return Object(r["a"])({url:i+"/studentWithdraw/confirm",method:"post",data:u.a.stringify(t)})}function h(t){return Object(r["a"])({url:i+"/order/verifyMusicalList",method:"GET",params:t})}function v(t){return Object(r["a"])({url:i+"/studentRecharge/queryPage",method:"GET",params:t})}function y(t){return Object(r["a"])({url:i+"/tenantPaymentOrder/queryPage",method:"GET",params:t})}function _(t){return Object(r["a"])({url:i+"/order/getOrderStatus",method:"GET",params:t})}function w(t){return Object(r["a"])({url:i+"/financialExpenditure/queryPage",method:"GET",params:t})}function O(t){return Object(r["a"])({url:i+"/financialExpenditure/batchDel",method:"POST",params:t})}function T(t){return Object(r["a"])({url:i+"/operatingReport/queryPage",method:"GET",params:t})}function j(t){return Object(r["a"])({url:i+"/sellOrder/queryPage",method:"GET",params:t})}function I(t){return Object(r["a"])({url:i+"/sellOrder/update",method:"POST",params:t})}function k(t){return Object(a["a"])({url:i+"/sellOrder/refund",method:"POST",params:t,hint:!0})}function S(t){return Object(r["a"])({url:i+"/routeOrder/getOrderInfo",method:"GET",params:t})}function N(t){return Object(r["a"])({url:i+"/routeOrder/delete",method:"POST",data:u.a.stringify(t)})}},8529:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[t._m(0),t._v(" "),n("div",{staticClass:"m-core"},[n("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:t.searchForm,callback:function(e){t.searchForm="string"===typeof e?e.trim():e},expression:"searchForm"}},[n("el-form-item",{attrs:{prop:"organId"}},[n("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:t.searchForm.organId,callback:function(e){t.$set(t.searchForm,"organId","string"===typeof e?e.trim():e)},expression:"searchForm.organId"}},t._l(t.organList,function(t,e){return n("el-option",{key:e,attrs:{label:t.name,value:t.id}})}),1)],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"danger"},on:{click:t.search}},[t._v("搜索")])],1)],1),t._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{attrs:{data:t.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[n("el-table-column",{attrs:{align:"center",prop:"createTime",label:"申请时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v("\n "+t._s(t._f("dateForMinFormat")(e.row.createTime))+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"user.realName",label:"学员姓名"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"amount",label:"提现金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v("\n "+t._s(t._f("moneyFormat")(e.row.amount))+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"detail.balance",label:"账户余额(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v("\n "+t._s(t._f("moneyFormat")(e.row.detail.balance))+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"bankCardNo",width:"200",label:"提现账户"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"提现状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("dealStatus")(e.row.status))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付账号"},scopedSlots:t._u([{key:"default",fn:function(e){return["ING"==e.row.status?n("el-input",{attrs:{type:"text",placeholder:"支付账号"},model:{value:e.row.detail.platformAccountNo,callback:function(n){t.$set(e.row.detail,"platformAccountNo","string"===typeof n?n.trim():n)},expression:"scope.row.detail.platformAccountNo"}}):n("span",[t._v(t._s(e.row.detail.platformAccountNo))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付渠道"},scopedSlots:t._u([{key:"default",fn:function(e){return["ING"==e.row.status?n("el-select",{staticStyle:{width:"100% !important"},attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:e.row.detail.transType,callback:function(n){t.$set(e.row.detail,"transType","string"===typeof n?n.trim():n)},expression:"scope.row.detail.transType"}},[n("el-option",{attrs:{label:"微信",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"支付宝",value:"2"}}),t._v(" "),n("el-option",{attrs:{label:"银联",value:"3"}})],1):n("span",[t._v(t._s(t.getTypes(e.row.detail.transType)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"交易流水号"},scopedSlots:t._u([{key:"default",fn:function(e){return["ING"==e.row.status?n("el-input",{attrs:{type:"text",placeholder:"交易流水号"},model:{value:e.row.transNo,callback:function(n){t.$set(e.row,"transNo","string"===typeof n?n.trim():n)},expression:"scope.row.transNo"}}):n("span",[t._v(t._s(e.row.transNo))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return"ING"==e.row.status?[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentWithdraw/confirm",expression:"'studentWithdraw/confirm'"}],attrs:{type:"text"},on:{click:function(n){return t.onSure(e.row,"SUCCESS")}}},[t._v("确认")]),t._v(" "),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentWithdraw/confirm",expression:"'studentWithdraw/confirm'"}],attrs:{type:"text"},on:{click:function(n){return t.onSure(e.row,"FAILED")}}},[t._v("拒绝")])]:void 0}}],null,!0)})],1),t._v(" "),n("pagination",{attrs:{total:t.pageInfo.total,page:t.pageInfo.page,limit:t.pageInfo.limit,"page-sizes":t.pageInfo.page_size},on:{"update:page":function(e){return t.$set(t.pageInfo,"page",e)},"update:limit":function(e){return t.$set(t.pageInfo,"limit",e)},pagination:t.getList}})],1)],1)])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h2",[n("div",{staticClass:"squrt"}),t._v("提现列表\n ")])}],o=n("333d"),u=n("3de3"),i=n("1cc7"),l=(n("4360"),{components:{pagination:o["a"]},name:"expend",data:function(){return{searchForm:{organId:null},tableList:[],organList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){var t=this;Object(i["U"])().then(function(e){200==e.code&&(t.organList=e.data)}),this.getList()},methods:{search:function(){this.pageInfo.page=1,this.getList()},getList:function(){var t=this,e=this.searchForm;e.rows=this.pageInfo.limit,e.page=this.pageInfo.page,Object(u["q"])(e).then(function(e){var n=e.data;200==e.code&&(t.tableList=n.rows,t.pageInfo.total=n.total)})},getTypes:function(t){var e={1:"微信",2:"支付宝",3:"银联"};return e[t]},onSure:function(t,e){var n=this,r="";"SUCCESS"==e?r="您确定提现吗?":"FAILED"==e&&(r="您确定拒绝吗?"),this.$confirm(r,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(u["r"])({id:t.id,platformAccountNo:t.detail.platformAccountNo,transType:t.detail.transType,status:e,transNo:t.transNo}).then(function(t){200==t.code?(n.$message.success("操作成功"),n.getList()):n.$message.error(t.msg)})}).catch(function(){})}}}),c=l,s=n("2877"),d=Object(s["a"])(c,r,a,!1,null,null,null);e["default"]=d.exports}}]);