You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
20 KiB
1 lines
20 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27bd4b33"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,n=new Date;n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[n,e])}},{text:"昨天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.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",[n,e])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[n,e])}},{text:"本年",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[n,e])}}]}},2801:function(t,e,n){"use strict";n.d(e,"f",(function(){return r})),n.d(e,"j",(function(){return i})),n.d(e,"v",(function(){return c})),n.d(e,"w",(function(){return o})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return s})),n.d(e,"x",(function(){return u})),n.d(e,"B",(function(){return f})),n.d(e,"z",(function(){return d})),n.d(e,"A",(function(){return m})),n.d(e,"y",(function(){return p})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"L",(function(){return v})),n.d(e,"n",(function(){return b})),n.d(e,"i",(function(){return h})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return w})),n.d(e,"r",(function(){return y})),n.d(e,"N",(function(){return k})),n.d(e,"K",(function(){return D})),n.d(e,"I",(function(){return C})),n.d(e,"G",(function(){return F})),n.d(e,"M",(function(){return L})),n.d(e,"J",(function(){return $})),n.d(e,"H",(function(){return T})),n.d(e,"m",(function(){return O})),n.d(e,"l",(function(){return j})),n.d(e,"k",(function(){return S})),n.d(e,"e",(function(){return V})),n.d(e,"q",(function(){return z})),n.d(e,"o",(function(){return M})),n.d(e,"O",(function(){return E})),n.d(e,"t",(function(){return B})),n.d(e,"s",(function(){return J})),n.d(e,"p",(function(){return N})),n.d(e,"P",(function(){return Y})),n.d(e,"u",(function(){return A})),n.d(e,"F",(function(){return I})),n.d(e,"C",(function(){return P})),n.d(e,"D",(function(){return R})),n.d(e,"E",(function(){return W}));var a=n("0c6d");function r(t){return a["a"].get("user/extract/lst",t)}function i(t,e){return a["a"].post("user/extract/status/".concat(t),e)}function c(t){return a["a"].get("user/recharge/list",t)}function o(){return a["a"].get("user/recharge/total")}function l(t){return a["a"].get("bill/list",t)}function s(){return a["a"].get("bill/type")}function u(t){return a["a"].get("merchant/order/reconciliation/lst",t)}function f(t,e){return a["a"].post("merchant/order/reconciliation/status/".concat(t),e)}function d(t,e){return a["a"].get("merchant/order/reconciliation/".concat(t,"/order"),e)}function m(t,e){return a["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),e)}function p(t){return a["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function g(t){return a["a"].get("financial_record/list",t)}function _(t){return a["a"].get("financial_record/export",t)}function v(t){return a["a"].get("financial/export",t)}function b(t){return a["a"].get("bill/export",t)}function h(t){return a["a"].get("user/extract/export",t)}function x(t){return a["a"].get("user/extract/status_form/".concat(t))}function w(t){return a["a"].get("user/extract/detail/".concat(t))}function y(){return a["a"].get("version")}function k(t){return a["a"].get("config/".concat(t))}function D(t){return a["a"].get("financial/lst",t)}function C(){return a["a"].get("financial/title")}function F(t){return a["a"].get("financial/detail/".concat(t))}function L(t,e){return a["a"].post("financial/status/".concat(t),e)}function $(t){return a["a"].get("financial/mark/".concat(t,"/form"))}function T(t,e){return a["a"].post("financial/update/".concat(t),e)}function O(t){return a["a"].get("financial_record/lst",t)}function j(t,e){return a["a"].get("financial_record/detail/".concat(t),e)}function S(t){return a["a"].get("financial_record/title",t)}function V(t,e){return a["a"].get("financial_record/detail_export/".concat(t),e)}function z(t){return a["a"].get("financial_record/count",t)}function M(t){return a["a"].get("agreement/".concat(t))}function E(t,e){return a["a"].post("agreement/".concat(t),e)}function B(t){return a["a"].get("receipt/lst",t)}function J(t){return a["a"].get("receipt/detail/".concat(t))}function N(){return a["a"].get("profitsharing/config")}function Y(t){return a["a"].post("profitsharing/config",t)}function A(t){return a["a"].get("financial_record/mer_lst",t)}function I(t,e){return a["a"].get("financial_record/mer_list/".concat(t),e)}function P(t,e){return a["a"].get("financial_record/mer_detail/".concat(t),e)}function R(t,e){return a["a"].get("financial_record/mer_excel/".concat(t),e)}function W(t,e){return a["a"].get("financial_record/mer_title/".concat(t),e)}},4418:function(t,e,n){},"517c":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("div",{staticClass:"selCard"},[n("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small",inline:"","label-width":"85px"}},[n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",type:"daterange",placement:"bottom-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(" "),n("el-form-item",{attrs:{label:"提现状态:",prop:"status"}},[n("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"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"审核中",value:"0"}}),t._v(" "),n("el-option",{attrs:{label:"已提现",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"已拒绝",value:"-1"}})],1)],1),t._v(" "),n("el-form-item",{attrs:{label:"提现方式:",prop:"extract_type"}},[n("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"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"银行卡",value:"0"}}),t._v(" "),n("el-option",{attrs:{label:"支付宝",value:"2"}}),t._v(" "),n("el-option",{attrs:{label:"微信",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"微信零钱",value:"3"}})],1)],1),t._v(" "),n("el-form-item",{attrs:{label:"关键字:",prop:"keyword"}},[n("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(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),n("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),n("el-card",{staticClass:"mt14"},[n("div",{staticClass:"mb20"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exports}},[t._v("导出列表")])],1),t._v(" "),n("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":""}},[n("el-table-column",{attrs:{prop:"extract_id",label:"序号",width:"60"}}),t._v(" "),n("el-table-column",{attrs:{label:"二维码","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"demo-image__preview"},[e.row.extract_pic?n("el-image",{attrs:{src:e.row.extract_pic,"preview-src-list":[e.row.extract_pic]}}):t._e()],1)]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"user.nickname",label:"用户信息","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"uid",label:"用户UID","min-width":"80"}}),t._v(" "),n("el-table-column",{attrs:{prop:"real_name",label:"户名","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"extract_price",label:"提现金额","min-width":"90"}}),t._v(" "),n("el-table-column",{attrs:{label:"提现方式","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("extractTypeFilter")(e.row.extract_type)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"银行名称","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.extract_type?n("span",[t._v(t._s(e.row.bank_name&&e.row.bank_address?e.row.bank_name+e.row.bank_address:e.row.bank_address))]):n("span",[t._v("-")])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"账号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.extract_type?n("span",[t._v(t._s(e.row.bank_code))]):2==e.row.extract_type?n("span",[t._v(t._s(e.row.alipay_code))]):1==e.row.extract_type?n("span",[t._v(t._s(e.row.wechat))]):n("span")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"审核状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"spBlock"},[t._v(t._s(t._f("extractStatusFilter")(e.row.status)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"拒绝原因","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"spBlock"},[t._v(t._s(e.row.fail_msg?e.row.fail_msg:"-"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"添加时间","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{label:"操作","min-width":"80",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.status?n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.onAudit(e.row.extract_id)}}},[t._v("审核")]):n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.onDetails(e.row.extract_id)}}},[t._v("详情")])]}}])})],1),t._v(" "),n("div",{staticClass:"block"},[n("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?n("el-dialog",{attrs:{title:"提现详情",center:"",visible:t.dialogVisible,width:"660px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-top":"5px"}},[n("div",{staticClass:"box-container"},[n("div",{staticClass:"list-count"},[n("div",{staticClass:"title"},[t._v("用户信息")]),t._v(" "),n("div",{staticClass:"acea-row"},[t.extractDetail.user?n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("用户昵称:")]),t._v(t._s(t.extractDetail.user.nickname))]):t._e(),t._v(" "),t.extractDetail.user?n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("用户ID:")]),n("span",[t._v(t._s(t.extractDetail.user.uid))])]):t._e(),t._v(" "),n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("提现金额:")]),t._v(t._s(t.extractDetail.extract_price))]),t._v(" "),n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("申请时间:")]),n("span",[t._v(t._s(t.extractDetail.create_time))])]),t._v(" "),0==t.extractDetail.extract_type?n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("开户人:")]),t._v(t._s(t.extractDetail.real_name))]):t._e(),t._v(" "),0==t.extractDetail.extract_type?n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("银行卡号:")]),t._v(t._s(t.extractDetail.bank_code))]):t._e(),t._v(" "),0==t.extractDetail.extract_type?n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("开户行:")]),t._v(t._s(t.extractDetail.bank_name))]):t._e(),t._v(" "),t.extractDetail.extract_pic?n("div",{staticClass:"list sp100 image"},[n("label",{staticClass:"name"},[t._v("二维码:")]),t._v(" "),n("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.extractDetail.extract_pic}})]):t._e()])]),t._v(" "),n("div",{staticClass:"list-count"},[n("div",{staticClass:"title"},[t._v("提现方式")]),t._v(" "),n("div",{staticClass:"acea-row"},[n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("审核状态:")]),t._v(t._s(t._f("extractStatusFilter")(t.extractDetail.status)))]),t._v(" "),n("div",{staticClass:"list"},[n("label",{staticClass:"name"},[t._v("审核时间:")]),t._v(t._s(t.extractDetail.status_time))]),t._v(" "),-1==t.extractDetail.status?n("div",{staticClass:"list sp100"},[n("label",{staticClass:"name"},[t._v("拒绝原因:")]),t._v(t._s(t.extractDetail.fail_msg))]):t._e()])])])])]):t._e(),t._v(" "),n("file-list",{ref:"exportList"})],1)},r=[],i=n("c80c"),c=(n("96cf"),n("3b8d")),o=n("2801"),l=n("2e83"),s=n("e572"),u=n("30dc"),f=n("0b65"),d={components:{fileList:u["a"]},name:"AccountsExtract",data:function(){return{pickerOptions:f["a"],timeVal:[],tableData:{data:[],total:0},listLoading:!0,loading:!0,tableFrom:{extract_type:"",status:"",date:"",keyword:"",page:1,limit:20},fromList:s["a"],extractDetail:{},dialogVisible:!1}},mounted:function(){this.getList()},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},onExamine:function(t){var e=this;this.$prompt("未通过",{confirmButtonText:"确定",cancelButtonText:"取消",inputErrorMessage:"请输入原因",inputType:"textarea",inputValue:"输入信息不完整或有误!",inputPlaceholder:"请输入原因",inputValidator:function(t){if(!t)return"请输入原因"}}).then((function(n){var a=n.value;Object(o["j"])(t,{status:-1,fail_msg:a}).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(o["j"])(t,{status:1}).then((function(t){var n=t.message;e.$message.success(n),e.getList()})).catch((function(t){var n=t.message;e.$message.error(n)}))}))},onAudit:function(t){var e=this;this.$modalForm(Object(o["g"])(t)).then((function(){return e.getList(1)}))},onDetails:function(t){var e=this;this.dialogVisible=!0,Object(o["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(i["a"])().mark((function t(){var e,n,a,r,c;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=JSON.parse(JSON.stringify(this.tableFrom)),n=[],e.page=1,a=1,r={},c=0;case 5:if(!(c<a)){t.next=14;break}return t.next=8,this.downData(e);case 8:r=t.sent,a=Math.ceil(r.count/e.limit),r.export.length&&(n=n.concat(r.export),e.page++);case 11:c++,t.next=5;break;case 14:return Object(l["a"])(r.header,r.title,n,r.foot,r.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,n){Object(o["i"])(t).then((function(t){return e(t.data)}))}))},exportRecord:function(){var t=this;Object(o["i"])(this.tableFrom).then((function(e){var n=t.$createElement;t.$msgbox({title:"提示",message:n("p",null,[n("span",null,'文件正在生成中,请稍后点击"'),n("span",{style:"color: teal"},"导出记录"),n("span",null,'"查看~ ')]),confirmButtonText:"我知道了"}).then((function(t){}))})).catch((function(e){t.$message.error(e.message)}))},getExportFileList:function(){this.$refs.exportList.exportFileList()},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(o["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=d,p=(n("9b39"),n("2877")),g=Object(p["a"])(m,a,r,!1,null,"197b7b6b",null);e["default"]=g.exports},"9b39":function(t,e,n){"use strict";n("4418")},e572:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var a=[{label:"开启",value:1},{label:"关闭",value:0}],r={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"}]},i={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}},f8b7:function(t,e,n){"use strict";n.d(e,"m",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return c})),n.d(e,"o",(function(){return o})),n.d(e,"k",(function(){return l})),n.d(e,"l",(function(){return s})),n.d(e,"n",(function(){return u})),n.d(e,"s",(function(){return f})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return m})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return g})),n.d(e,"f",(function(){return _})),n.d(e,"u",(function(){return v})),n.d(e,"v",(function(){return b})),n.d(e,"t",(function(){return h})),n.d(e,"e",(function(){return x})),n.d(e,"d",(function(){return w})),n.d(e,"c",(function(){return y})),n.d(e,"r",(function(){return k})),n.d(e,"q",(function(){return D})),n.d(e,"p",(function(){return C}));var a=n("0c6d");function r(t){return a["a"].get("order/lst",t)}function i(){return a["a"].get("order/chart")}function c(t){return a["a"].get("order/title",t)}function o(t){return a["a"].get("store/order/update/".concat(t,"/form"))}function l(t){return a["a"].get("store/order/delivery/".concat(t,"/form"))}function s(t){return a["a"].get("order/detail/".concat(t))}function u(t,e){return a["a"].get("order/status/".concat(t),e)}function f(t){return a["a"].get("order/refund/lst",t)}function d(t){return a["a"].get("order/children/".concat(t))}function m(t){return a["a"].get("order/express/".concat(t))}function p(t){return a["a"].get("order/excel",t)}function g(t){return a["a"].get("order/refund/excel",t)}function _(t){return a["a"].get("excel/lst",t)}function v(){return a["a"].get("order/takechart")}function b(t){return a["a"].get("order/takelst",t)}function h(t){return a["a"].get("order/take_title",t)}function x(){return a["a"].get("excel/type")}function w(t){return a["a"].get("delivery/order/lst",t)}function y(t){return a["a"].get("delivery/order/cancel/".concat(t,"/form"))}function k(t){return a["a"].get("delivery/station/payLst",t)}function D(){return a["a"].get("delivery/title")}function C(){return a["a"].get("delivery/belence")}}}]); |