1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4df886d2"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),Math.easeInOutQuad=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(e,t,n){var u=o(),i=e-u,s=20,c=0;t="undefined"===typeof t?500:t;var l=function e(){c+=s;var o=Math.easeInOutQuad(c,u,i,t);a(o),c<t?r(e):n&&"function"===typeof n&&n()};l()}},"3de3":function(e,t,n){"use strict";var r=n("b775"),a=n("d225"),o=n("b0b4"),u=(n("ac4d"),n("8a81"),n("5c96")),i=n.n(u),s=n("bc3a"),c=n.n(s),l=n("4360"),d=n("5f87"),f=n("e3eb"),m=n.n(f),p=n("3908"),g=n("a18c"),b=n("2b0e"),h=Symbol("showMessage"),v=function(){function e(){Object(a["a"])(this,e)}return Object(o["a"])(e,[{key:"success",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[h]("success",e,t)}},{key:"warning",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[h]("warning",e,t)}},{key:"info",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[h]("info",e,t)}},{key:"error",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[h]("error",e,t)}},{key:h,value:function(e,t,n){n?0===document.getElementsByClassName("el-message").length&&u["Message"][e](t):u["Message"][e](t)}}]),e}();b["default"].use(i.a),b["default"].prototype.$message=new v;var y=new b["default"],w=0;function _(){0===w&&p["a"].startLoading(),w++}function O(){w<=0||(w--,0===w&&p["a"].endLoading())}var T=c.a.create({baseURL:"",timeout:18e4});T.interceptors.request.use((function(e){return _(),l["a"].getters.token&&(e.headers["Authorization"]=Object(d["a"])()),e.params=m()(e.params),e}),(function(e){return O(),Promise.reject(e)})),T.interceptors.response.use((function(e){if(e.data){var t=JSON.parse(JSON.stringify(e.data));if(401==t.code||403==t.code)return y.$message.error("登录过期,请重新登录!"),void setTimeout((function(){O(),l["a"].dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);if(404==t.code&&g["c"].push("/404"),200!=t.code){var n=t.msg||"请求失败code码为".concat(t.code);return!0!==e.config.hint&&y.$message.error(n),O(),Promise.reject(t)}return O(),t}return O(),Promise.reject()}),(function(e){return"Network Error"==e.message?y.$message.error("网络异常,请检查网络连接"):y.$message.error(e.message),O(),Promise.reject(e)}));var j=T,k=n("4328"),S=n.n(k);n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return E})),n.d(t,"j",(function(){return F})),n.d(t,"n",(function(){return P})),n.d(t,"m",(function(){return q})),n.d(t,"p",(function(){return x})),n.d(t,"a",(function(){return L})),n.d(t,"q",(function(){return $})),n.d(t,"r",(function(){return A})),n.d(t,"u",(function(){return C})),n.d(t,"o",(function(){return G})),n.d(t,"s",(function(){return M})),n.d(t,"e",(function(){return R})),n.d(t,"b",(function(){return W})),n.d(t,"l",(function(){return z})),n.d(t,"c",(function(){return D})),n.d(t,"f",(function(){return J})),n.d(t,"t",(function(){return B})),n.d(t,"k",(function(){return U})),n.d(t,"d",(function(){return Q})),n.d(t,"g",(function(){return V}));var N="/api-web";function I(e){return Object(r["a"])({url:N+"/order/queryPage",method:"get",params:e})}function E(e){return Object(r["a"])({url:N+"/order/queryPage1",method:"get",params:e})}function F(e){return Object(r["a"])({url:N+"/order/queryPage2",method:"get",params:e})}function P(e){return Object(r["a"])({url:N+"/routeOrder/finance",method:"get",params:e})}function q(e){return Object(r["a"])({url:N+"/routeOrder/add",method:"post",headers:{"Content-Type":"application/json"},data:e})}function x(e){return Object(r["a"])({url:N+"/studentRefunds/queryPage",method:"get",params:e})}function L(e){return Object(r["a"])({url:N+"/vipGroupManage/applyRefundAudit",method:"post",data:S.a.stringify(e)})}function $(e){return Object(r["a"])({url:N+"/studentWithdraw/queryPage",method:"get",params:e})}function A(e){return Object(r["a"])({url:N+"/studentWithdraw/confirm",method:"post",data:S.a.stringify(e)})}function C(e){return Object(r["a"])({url:N+"/order/verifyMusicalList",method:"GET",params:e})}function G(e){return Object(r["a"])({url:N+"/studentRecharge/queryPage",method:"GET",params:e})}function M(e){return Object(r["a"])({url:N+"/tenantPaymentOrder/queryPage",method:"GET",params:e})}function R(e){return Object(r["a"])({url:N+"/order/getOrderStatus",method:"GET",params:e})}function W(e){return Object(r["a"])({url:N+"/financialExpenditure/queryPage",method:"GET",params:e})}function z(e){return Object(r["a"])({url:N+"/financialExpenditure/batchDel",method:"POST",params:e})}function D(e){return Object(r["a"])({url:N+"/operatingReport/queryPage",method:"GET",params:e})}function J(e){return Object(r["a"])({url:N+"/sellOrder/queryPage",method:"GET",params:e})}function B(e){return Object(r["a"])({url:N+"/sellOrder/update",method:"POST",params:e})}function U(e){return j({url:N+"/sellOrder/refund",method:"POST",params:e,hint:!0})}function Q(e){return Object(r["a"])({url:N+"/routeOrder/getOrderInfo",method:"GET",params:e})}function V(e){return Object(r["a"])({url:N+"/routeOrder/delete",method:"POST",data:S.a.stringify(e)})}},8529:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-container"},[e._m(0),e._v(" "),n("div",{staticClass:"m-core"},[n("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm="string"===typeof t?t.trim():t},expression:"searchForm"}},[n("el-form-item",{attrs:{prop:"organId"}},[n("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.organList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")])],1)],1),e._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[n("el-table-column",{attrs:{align:"center",prop:"createTime",label:"申请时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("dateForMinFormat")(t.row.createTime))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"user.realName",label:"学员姓名"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"amount",label:"提现金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("moneyFormat")(t.row.amount))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"detail.balance",label:"账户余额(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("moneyFormat")(t.row.detail.balance))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"bankCardNo",width:"200",label:"提现账户"}}),e._v(" "),n("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(" "),n("el-table-column",{attrs:{align:"center",label:"支付账号"},scopedSlots:e._u([{key:"default",fn:function(t){return["ING"==t.row.status?n("el-input",{attrs:{type:"text",placeholder:"支付账号"},model:{value:t.row.detail.platformAccountNo,callback:function(n){e.$set(t.row.detail,"platformAccountNo","string"===typeof n?n.trim():n)},expression:"scope.row.detail.platformAccountNo"}}):n("span",[e._v(e._s(t.row.detail.platformAccountNo))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付渠道"},scopedSlots:e._u([{key:"default",fn:function(t){return["ING"==t.row.status?n("el-select",{staticStyle:{width:"100% !important"},attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:t.row.detail.transType,callback:function(n){e.$set(t.row.detail,"transType","string"===typeof n?n.trim():n)},expression:"scope.row.detail.transType"}},[n("el-option",{attrs:{label:"微信",value:"1"}}),e._v(" "),n("el-option",{attrs:{label:"支付宝",value:"2"}}),e._v(" "),n("el-option",{attrs:{label:"银联",value:"3"}})],1):n("span",[e._v(e._s(e.getTypes(t.row.detail.transType)))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"交易流水号"},scopedSlots:e._u([{key:"default",fn:function(t){return["ING"==t.row.status?n("el-input",{attrs:{type:"text",placeholder:"交易流水号"},model:{value:t.row.transNo,callback:function(n){e.$set(t.row,"transNo","string"===typeof n?n.trim():n)},expression:"scope.row.transNo"}}):n("span",[e._v(e._s(t.row.transNo))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return"ING"==t.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 e.onSure(t.row,"SUCCESS")}}},[e._v("确认")]),e._v(" "),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentWithdraw/confirm",expression:"'studentWithdraw/confirm'"}],attrs:{type:"text"},on:{click:function(n){return e.onSure(t.row,"FAILED")}}},[e._v("拒绝")])]:void 0}}],null,!0)})],1),e._v(" "),n("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)])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h2",[n("div",{staticClass:"squrt"}),e._v("提现列表\n ")])}],o=n("333d"),u=n("3de3"),i=n("1cc7"),s=(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 e=this;Object(i["V"])().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(u["q"])(t).then((function(t){var n=t.data;200==t.code&&(e.tableList=n.rows,e.pageInfo.total=n.total)}))},getTypes:function(e){var t={1:"微信",2:"支付宝",3:"银联"};return t[e]},onSure:function(e,t){var n=this,r="";"SUCCESS"==t?r="您确定提现吗?":"FAILED"==t&&(r="您确定拒绝吗?"),this.$confirm(r,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(u["r"])({id:e.id,platformAccountNo:e.detail.platformAccountNo,transType:e.detail.transType,status:t,transNo:e.transNo}).then((function(e){200==e.code?(n.$message.success("操作成功"),n.getList()):n.$message.error(e.msg)}))})).catch((function(){}))}}}),c=s,l=n("2877"),d=Object(l["a"])(c,r,a,!1,null,null,null);t["default"]=d.exports}}]);
|