chunk-3d51d4f6.6e3b5629.js 19 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3d51d4f6"],{"0b65":function(t,e,a){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,a=new Date;a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[a,e])}},{text:"昨天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[a,e])}},{text:"最近7天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近30天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"本月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[a,e])}},{text:"本年",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[a,e])}}]}},2801:function(t,e,a){"use strict";a.d(e,"f",(function(){return i})),a.d(e,"j",(function(){return r})),a.d(e,"v",(function(){return l})),a.d(e,"w",(function(){return c})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return o})),a.d(e,"x",(function(){return u})),a.d(e,"B",(function(){return d})),a.d(e,"z",(function(){return f})),a.d(e,"A",(function(){return m})),a.d(e,"y",(function(){return _})),a.d(e,"d",(function(){return p})),a.d(e,"c",(function(){return v})),a.d(e,"L",(function(){return g})),a.d(e,"n",(function(){return b})),a.d(e,"i",(function(){return h})),a.d(e,"g",(function(){return x})),a.d(e,"h",(function(){return w})),a.d(e,"r",(function(){return y})),a.d(e,"N",(function(){return D})),a.d(e,"K",(function(){return k})),a.d(e,"I",(function(){return C})),a.d(e,"G",(function(){return F})),a.d(e,"M",(function(){return L})),a.d(e,"J",(function(){return S})),a.d(e,"H",(function(){return $})),a.d(e,"m",(function(){return T})),a.d(e,"l",(function(){return O})),a.d(e,"k",(function(){return j})),a.d(e,"e",(function(){return V})),a.d(e,"q",(function(){return z})),a.d(e,"o",(function(){return M})),a.d(e,"O",(function(){return B})),a.d(e,"t",(function(){return E})),a.d(e,"s",(function(){return J})),a.d(e,"p",(function(){return N})),a.d(e,"P",(function(){return Y})),a.d(e,"u",(function(){return A})),a.d(e,"F",(function(){return I})),a.d(e,"C",(function(){return P})),a.d(e,"D",(function(){return W})),a.d(e,"E",(function(){return R}));var n=a("0c6d");function i(t){return n["a"].get("user/extract/lst",t)}function r(t,e){return n["a"].post("user/extract/status/".concat(t),e)}function l(t){return n["a"].get("user/recharge/list",t)}function c(){return n["a"].get("user/recharge/total")}function s(t){return n["a"].get("bill/list",t)}function o(){return n["a"].get("bill/type")}function u(t){return n["a"].get("merchant/order/reconciliation/lst",t)}function d(t,e){return n["a"].post("merchant/order/reconciliation/status/".concat(t),e)}function f(t,e){return n["a"].get("merchant/order/reconciliation/".concat(t,"/order"),e)}function m(t,e){return n["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),e)}function _(t){return n["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function p(t){return n["a"].get("financial_record/list",t)}function v(t){return n["a"].get("financial_record/export",t)}function g(t){return n["a"].get("financial/export",t)}function b(t){return n["a"].get("bill/export",t)}function h(t){return n["a"].get("user/extract/export",t)}function x(t){return n["a"].get("user/extract/status_form/".concat(t))}function w(t){return n["a"].get("user/extract/detail/".concat(t))}function y(){return n["a"].get("version")}function D(t){return n["a"].get("config/".concat(t))}function k(t){return n["a"].get("financial/lst",t)}function C(){return n["a"].get("financial/title")}function F(t){return n["a"].get("financial/detail/".concat(t))}function L(t,e){return n["a"].post("financial/status/".concat(t),e)}function S(t){return n["a"].get("financial/mark/".concat(t,"/form"))}function $(t,e){return n["a"].post("financial/update/".concat(t),e)}function T(t){return n["a"].get("financial_record/lst",t)}function O(t,e){return n["a"].get("financial_record/detail/".concat(t),e)}function j(t){return n["a"].get("financial_record/title",t)}function V(t,e){return n["a"].get("financial_record/detail_export/".concat(t),e)}function z(t){return n["a"].get("financial_record/count",t)}function M(t){return n["a"].get("agreement/".concat(t))}function B(t,e){return n["a"].post("agreement/".concat(t),e)}function E(t){return n["a"].get("receipt/lst",t)}function J(t){return n["a"].get("receipt/detail/".concat(t))}function N(){return n["a"].get("profitsharing/config")}function Y(t){return n["a"].post("profitsharing/config",t)}function A(t){return n["a"].get("financial_record/mer_lst",t)}function I(t,e){return n["a"].get("financial_record/mer_list/".concat(t),e)}function P(t,e){return n["a"].get("financial_record/mer_detail/".concat(t),e)}function W(t,e){return n["a"].get("financial_record/mer_excel/".concat(t),e)}function R(t,e){return n["a"].get("financial_record/mer_title/".concat(t),e)}},"517c":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small",inline:"","label-width":"85px"}},[a("el-form-item",{attrs:{label:"时间选择:"}},[a("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end","start-placeholder":"开始时间","end-placeholder":"结束时间","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"提现状态:",prop:"status"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"审核中",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"已通过",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"已拒绝",value:"-1"}}),t._v(" "),a("el-option",{attrs:{label:"提现成功",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"提现失败",value:"-2"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"提现方式:",prop:"extract_type"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.extract_type,callback:function(e){t.$set(t.tableFrom,"extract_type",e)},expression:"tableFrom.extract_type"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"银行卡",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"支付宝",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"微信",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"微信零钱",value:"3"}}),t._v(" "),a("el-option",{attrs:{label:"余额",value:"4"}})],1)],1),t._v(" "),a("select-search",{ref:"selectSearch",attrs:{select:t.select,searchSelectList:t.searchSelectList},on:{search:t.searchList}}),t._v(" "),a("el-form-item",{attrs:{label:"账号搜索:",prop:"keyword"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"银行卡号/支付宝账号/微信号",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.getSearchList}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),a("el-card",{staticClass:"mt14"},[a("div",{staticClass:"mb20"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exports}},[t._v("导出列表")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"extract_id",label:"序号",width:"60"}}),t._v(" "),a("el-table-column",{attrs:{label:"二维码","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"demo-image__preview"},[e.row.extract_pic?a("el-image",{attrs:{src:e.row.extract_pic,"preview-src-list":[e.row.extract_pic]}}):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"user.nickname",label:"用户信息","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"uid",label:"用户UID","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"real_name",label:"户名","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.real_name||"-"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"extract_price",label:"提现金额","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{label:"提现方式","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("extractTypeFilter")(e.row.extract_type)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"银行名称","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.extract_type?a("span",[t._v(t._s(e.row.bank_name))]):a("span",[t._v("-")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"账号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.extract_type?a("span",[t._v(t._s(e.row.bank_code))]):1==e.row.extract_type?a("span",[t._v(t._s(e.row.alipay_code))]):2==e.row.extract_type||3==e.row.extract_type?a("span",[t._v(t._s(e.row.wechat))]):a("span",[t._v("-")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提现状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"spBlock"},[t._v(t._s(t._f("extractStatusFilter")(e.row.status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"拒绝原因","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"spBlock"},[t._v(t._s(e.row.fail_msg?e.row.fail_msg:"-"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"添加时间","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"80",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onAudit(e.row.extract_id)}}},[t._v("审核")]):a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onDetails(e.row.extract_id)}}},[t._v("详情")])]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),t.dialogVisible?a("el-dialog",{attrs:{title:"提现详情",center:"",visible:t.dialogVisible,width:"660px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-top":"5px"}},[a("div",{staticClass:"box-container"},[a("div",{staticClass:"list-count"},[a("div",{staticClass:"title"},[t._v("用户信息")]),t._v(" "),a("div",{staticClass:"acea-row"},[t.extractDetail.user?a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("用户昵称:")]),t._v(t._s(t.extractDetail.user.nickname)+"\n ")]):t._e(),t._v(" "),t.extractDetail.user?a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("用户ID:")]),a("span",[t._v(t._s(t.extractDetail.user.uid))])]):t._e(),t._v(" "),a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("提现金额:")]),t._v(t._s(t.extractDetail.extract_price)+"\n ")]),t._v(" "),a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("申请时间:")]),a("span",[t._v(t._s(t.extractDetail.create_time))])]),t._v(" "),0==t.extractDetail.extract_type?a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("开户人:")]),t._v(t._s(t.extractDetail.real_name)+"\n ")]):t._e(),t._v(" "),0==t.extractDetail.extract_type?a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("银行卡号:")]),t._v(t._s(t.extractDetail.bank_code)+"\n ")]):t._e(),t._v(" "),0==t.extractDetail.extract_type?a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("开户行:")]),t._v(t._s(t.extractDetail.bank_name)+"\n ")]):t._e(),t._v(" "),a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("账号:")]),t._v(" "),0==t.extractDetail.extract_type?a("span",[t._v(t._s(t.extractDetail.bank_code))]):1==t.extractDetail.extract_type?a("span",[t._v(t._s(t.extractDetail.alipay_code))]):2==t.extractDetail.extract_type||3==t.extractDetail.extract_type?a("span",[t._v(t._s(t.extractDetail.wechat))]):a("span",[t._v("-")])]),t._v(" "),t.extractDetail.extract_pic?a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("二维码:")]),t._v(" "),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.extractDetail.extract_pic}})]):t._e()])]),t._v(" "),a("div",{staticClass:"list-count"},[a("div",{staticClass:"title"},[t._v("提现方式")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("提现方式:")]),t._v(t._s(t._f("extractTypeFilter")(t.extractDetail.extract_type))+"\n ")]),t._v(" "),a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("审核状态:")]),t._v(t._s(t._f("extractStatusFilter")(t.extractDetail.status))+"\n ")]),t._v(" "),a("div",{staticClass:"list"},[a("label",{staticClass:"name"},[t._v("审核时间:")]),t._v(t._s(t.extractDetail.status_time)+"\n ")]),t._v(" "),-1==t.extractDetail.status?a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("拒绝原因:")]),t._v(t._s(t.extractDetail.fail_msg)+"\n ")]):t._e()])])])])]):t._e()],1)},i=[],r=a("db72"),l=a("c80c"),c=(a("96cf"),a("3b8d")),s=a("2801"),o=a("2e83"),u=a("e572"),d=a("0b65"),f=a("6e76"),m={components:{selectSearch:f["default"]},name:"AccountsExtract",data:function(){return{pickerOptions:d["a"],timeVal:[],tableData:{data:[],total:0},listLoading:!0,loading:!0,select:"nickname",searchSelectList:[{label:"昵称",value:"nickname"},{label:"用户ID",value:"uid"},{label:"手机号",value:"phone"}],tableFrom:{extract_type:"",status:"",date:"",keyword:"",page:1,limit:20},fromList:u["a"],extractDetail:{},dialogVisible:!1}},mounted:function(){this.getList()},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.$refs.selectSearch.resetParmas()},onExamine:function(t){var e=this;this.$prompt("未通过",{confirmButtonText:"确定",cancelButtonText:"取消",inputErrorMessage:"请输入原因",inputType:"textarea",inputValue:"输入信息不完整或有误!",inputPlaceholder:"请输入原因",inputValidator:function(t){if(!t)return"请输入原因"}}).then((function(a){var n=a.value;Object(s["j"])(t,{status:-1,fail_msg:n}).then((function(t){e.$message({type:"success",message:"提交成功"}),e.getList()})).catch((function(t){e.$message.error(t.message)}))})).catch((function(){e.$message({type:"info",message:"取消输入"})}))},ok:function(t){var e=this;this.$modalSure("审核通过吗").then((function(){Object(s["j"])(t,{status:1}).then((function(t){var a=t.message;e.$message.success(a),e.getList()})).catch((function(t){var a=t.message;e.$message.error(a)}))}))},onAudit:function(t){var e=this;this.$modalForm(Object(s["g"])(t)).then((function(){return e.getList()}))},onDetails:function(t){var e=this;this.dialogVisible=!0,Object(s["h"])(t).then((function(t){e.loading=!1,e.extractDetail=t.data})).catch((function(t){e.$message.error(t.message),e.loading=!1}))},selectChange:function(t){this.timeVal=[],this.tableFrom.date=t,this.tableFrom.page=1,this.getList()},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList()},exports:function(){var t=Object(c["a"])(Object(l["a"])().mark((function t(){var e,a,n,i,r;return Object(l["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=JSON.parse(JSON.stringify(this.tableFrom)),a=[],e.page=1,n=1,i={},r=0;case 5:if(!(r<n)){t.next=14;break}return t.next=8,this.downData(e);case 8:i=t.sent,n=Math.ceil(i.count/e.limit),i.export.length&&(a=a.concat(i.export),e.page++);case 11:r++,t.next=5;break;case 14:return Object(o["a"])(i.header,i.title,a,i.foot,i.filename),t.abrupt("return");case 16:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downData:function(t){return new Promise((function(e,a){Object(s["i"])(t).then((function(t){return e(t.data)}))}))},searchList:function(t){this.tableFrom=Object(r["a"])(Object(r["a"])({},this.tableFrom),t),this.getList(1)},getSearchList:function(){this.$refs.selectSearch.changeSearch()},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(s["f"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()}}},_=m,p=(a("a0699"),a("2877")),v=Object(p["a"])(_,n,i,!1,null,"be01da48",null);e["default"]=v.exports},"76df":function(t,e,a){},a0699:function(t,e,a){"use strict";a("76df")},e572:function(t,e,a){"use strict";a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return r}));var n=[{label:"开启",value:1},{label:"关闭",value:0}],i={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},r={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}}}]);