1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e1cfcc90"],{"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";n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return c})),n.d(t,"j",(function(){return l})),n.d(t,"n",(function(){return d})),n.d(t,"m",(function(){return f})),n.d(t,"p",(function(){return m})),n.d(t,"a",(function(){return p})),n.d(t,"q",(function(){return g})),n.d(t,"r",(function(){return b})),n.d(t,"u",(function(){return h})),n.d(t,"o",(function(){return v})),n.d(t,"s",(function(){return y})),n.d(t,"e",(function(){return w})),n.d(t,"b",(function(){return _})),n.d(t,"l",(function(){return O})),n.d(t,"c",(function(){return j})),n.d(t,"f",(function(){return T})),n.d(t,"t",(function(){return k})),n.d(t,"k",(function(){return S})),n.d(t,"d",(function(){return N})),n.d(t,"g",(function(){return I}));var r=n("b775"),a=n("829b"),o=n("4328"),u=n.n(o),i="/api-web";function s(e){return Object(r["a"])({url:i+"/order/queryPage",method:"get",params:e})}function c(e){return Object(r["a"])({url:i+"/order/queryPage1",method:"get",params:e})}function l(e){return Object(r["a"])({url:i+"/order/queryPage2",method:"get",params:e})}function d(e){return Object(r["a"])({url:i+"/routeOrder/finance",method:"get",params:e})}function f(e){return Object(r["a"])({url:i+"/routeOrder/add",method:"post",headers:{"Content-Type":"application/json"},data:e})}function m(e){return Object(r["a"])({url:i+"/studentRefunds/queryPage",method:"get",params:e})}function p(e){return Object(r["a"])({url:i+"/vipGroupManage/applyRefundAudit",method:"post",data:u.a.stringify(e)})}function g(e){return Object(r["a"])({url:i+"/studentWithdraw/queryPage",method:"get",params:e})}function b(e){return Object(r["a"])({url:i+"/studentWithdraw/confirm",method:"post",data:u.a.stringify(e)})}function h(e){return Object(r["a"])({url:i+"/order/verifyMusicalList",method:"GET",params:e})}function v(e){return Object(r["a"])({url:i+"/studentRecharge/queryPage",method:"GET",params:e})}function y(e){return Object(r["a"])({url:i+"/tenantPaymentOrder/queryPage",method:"GET",params:e})}function w(e){return Object(r["a"])({url:i+"/order/getOrderStatus",method:"GET",params:e})}function _(e){return Object(r["a"])({url:i+"/financialExpenditure/queryPage",method:"GET",params:e})}function O(e){return Object(r["a"])({url:i+"/financialExpenditure/batchDel",method:"POST",params:e})}function j(e){return Object(r["a"])({url:i+"/operatingReport/queryPage",method:"GET",params:e})}function T(e){return Object(r["a"])({url:i+"/sellOrder/queryPage",method:"GET",params:e})}function k(e){return Object(r["a"])({url:i+"/sellOrder/update",method:"POST",params:e})}function S(e){return Object(a["a"])({url:i+"/sellOrder/refund",method:"POST",params:e,hint:!0})}function N(e){return Object(r["a"])({url:i+"/routeOrder/getOrderInfo",method:"GET",params:e})}function I(e){return Object(r["a"])({url:i+"/routeOrder/delete",method:"POST",data:u.a.stringify(e)})}},"829b":function(e,t,n){"use strict";var r=n("d225"),a=n("b0b4"),o=(n("ac4d"),n("8a81"),n("5c96")),u=n.n(o),i=n("bc3a"),s=n.n(i),c=n("4360"),l=n("5f87"),d=n("e3eb"),f=n.n(d),m=n("3908"),p=n("a18c"),g=n("2b0e"),b=Symbol("showMessage"),h=function(){function e(){Object(r["a"])(this,e)}return Object(a["a"])(e,[{key:"success",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[b]("success",e,t)}},{key:"warning",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[b]("warning",e,t)}},{key:"info",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[b]("info",e,t)}},{key:"error",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this[b]("error",e,t)}},{key:b,value:function(e,t,n){n?0===document.getElementsByClassName("el-message").length&&o["Message"][e](t):o["Message"][e](t)}}]),e}();g["default"].use(u.a),g["default"].prototype.$message=new h;var v=new g["default"],y=0;function w(){0===y&&m["a"].startLoading(),y++}function _(){y<=0||(y--,0===y&&m["a"].endLoading())}var O=s.a.create({baseURL:"",timeout:18e4});O.interceptors.request.use((function(e){return w(),c["a"].getters.token&&(e.headers["Authorization"]=Object(l["a"])()),e.params=f()(e.params),e}),(function(e){return _(),Promise.reject(e)})),O.interceptors.response.use((function(e){if(e.data){var t=JSON.parse(JSON.stringify(e.data));if(401==t.code||403==t.code)return v.$message.error("登录过期,请重新登录!"),void setTimeout((function(){_(),c["a"].dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);if(404==t.code&&p["c"].push("/404"),200!=t.code){var n=t.msg||"请求失败code码为".concat(t.code);return!0!==e.config.hint&&v.$message.error(n),_(),Promise.reject(t)}return _(),t}return _(),Promise.reject()}),(function(e){return"Network Error"==e.message?v.$message.error("网络异常,请检查网络连接"):v.$message.error(e.message),_(),Promise.reject(e)})),t["a"]=O},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}}]);
|