canyin-project/ybcy/views/channel/index/static/js/chunk-b341186c.077ff3de.js
2024-11-01 16:07:54 +08:00

1 line
12 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b341186c"],{"3bbe":function(e,t,a){var r=a("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"667a":function(e,t,a){"use strict";var r=a("984f"),o=a.n(r);o.a},7156:function(e,t,a){var r=a("861d"),o=a("d2bb");e.exports=function(e,t,a){var n,s;return o&&"function"==typeof(n=t.constructor)&&n!==a&&r(s=n.prototype)&&s!==a.prototype&&o(e,s),e}},"984f":function(e,t,a){},a9e3:function(e,t,a){"use strict";var r=a("83ab"),o=a("da84"),n=a("94ca"),s=a("6eeb"),l=a("5135"),i=a("c6b6"),c=a("7156"),u=a("c04e"),p=a("d039"),m=a("7c73"),f=a("241c").f,d=a("06cf").f,w=a("9bf2").f,b=a("58a8").trim,_="Number",v=o[_],g=v.prototype,h=i(m(g))==_,y=function(e){var t,a,r,o,n,s,l,i,c=u(e,!1);if("string"==typeof c&&c.length>2)if(c=b(c),t=c.charCodeAt(0),43===t||45===t){if(a=c.charCodeAt(2),88===a||120===a)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(n=c.slice(2),s=n.length,l=0;l<s;l++)if(i=n.charCodeAt(l),i<48||i>o)return NaN;return parseInt(n,r)}return+c};if(n(_,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var I,S=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof S&&(h?p((function(){g.valueOf.call(a)})):i(a)!=_)?c(new v(y(t)),a,S):y(t)},k=r?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),N=0;k.length>N;N++)l(v,I=k[N])&&!l(S,I)&&w(S,I,d(v,I));S.prototype=g,g.constructor=S,s(o,_,S)}},bf19:function(e,t,a){"use strict";var r=a("23e7");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},cdbc:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"withdrawalliest"},[a("div",{staticClass:"outmain ba_f"},[e._m(0),a("div",{staticClass:"pad_20 flex-bet"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"门店名称"}},[a("el-input",{staticStyle:{width:"200px"},attrs:{size:"medium",placeholder:"门店名称"},on:{input:e.onSearch},model:{value:e.formInline.keyword,callback:function(t){e.$set(e.formInline,"keyword",t)},expression:"formInline.keyword"}})],1),a("el-form-item",{attrs:{label:"提现状态"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.onSearch},model:{value:e.formInline.state,callback:function(t){e.$set(e.formInline,"state",t)},expression:"formInline.state"}},e._l(e.withstate,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"提现时间"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.onSearch},model:{value:e.formInline.timeData,callback:function(t){e.$set(e.formInline,"timeData",t)},expression:"formInline.timeData"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.onSearch}},[e._v("搜索")])],1)],1)],1),a("el-table",{ref:"multipleTable",staticClass:"tablecenter",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{type:"selection"}}),a("el-table-column",{staticStyle:{width:"300px"},attrs:{type:"expand"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[a("el-form-item",{attrs:{label:"提现金额:"}},[a("span",{staticStyle:{color:"#fa4000"}},[e._v(e._s(t.row.money))])]),a("el-form-item",{attrs:{label:"手续费:"}},[a("span",[e._v(e._s(t.row.charge))])]),a("el-form-item",{attrs:{label:"到账金额:"}},[a("span",{staticClass:"color-green"},[e._v(e._s(t.row.actualMoney))])]),a("el-form-item",{attrs:{label:"提现状态:"}},["2"==t.row.state?a("span",{staticStyle:{color:"#489620"}},[e._v("已通过")]):e._e(),"1"==t.row.state?a("span",{staticStyle:{color:"#333"}},[e._v("申请中")]):e._e(),"3"==t.row.state?a("span",{staticStyle:{color:"#df0029"}},[e._v("已拒绝")]):e._e()]),a("el-form-item",{attrs:{label:"申请时间:"}},[a("span",[e._v(e._s(t.row.createdAt))])]),a("el-form-item",{attrs:{label:"提现渠道:"}},["1"==t.row.type?a("div",[e._v("微信")]):e._e(),"2"==t.row.type?a("div",[e._v("支付宝")]):e._e(),"3"==t.row.type?a("div",[e._v("银联")]):e._e()]),3!=t.row.type?a("el-form-item",{attrs:{label:"提现账号:"}},[e._v(e._s(t.row.account[1==t.row.type?"wxTel":2==t.row.type?"aliTel":"bankTel"]))]):e._e(),1==t.row.type?[a("el-form-item",{attrs:{label:"用户信息:"}},[e._v(e._s(t.row.account.userName+"(ID"+t.row.account.userId+")"))])]:e._e(),2==t.row.type?[a("el-form-item",{attrs:{label:"真实姓名:"}},[e._v(e._s(t.row.account.aliUserName))]),a("el-form-item",{attrs:{label:"手机号:"}},[e._v(e._s(t.row.account.aliTel))])]:e._e(),3==t.row.type?[a("el-form-item",{attrs:{label:"所属银行:"}},[e._v(e._s(t.row.account.bankName))]),a("el-form-item",{attrs:{label:"所属支行:"}},[e._v(e._s(t.row.account.subBank))]),a("el-form-item",{attrs:{label:"银行卡号:"}},[e._v(e._s(t.row.account.bankAccount))]),a("el-form-item",{attrs:{label:"真实姓名:"}},[e._v(e._s(t.row.account.bankUserName))]),a("el-form-item",{attrs:{label:"预留手机号:"}},[e._v(e._s(t.row.account.bankTel))])]:e._e(),3!=t.row.type?a("el-form-item",{attrs:{label:"收款码:"}},[a("span",[a("img",{staticClass:"listImgWidth",attrs:{src:t.row.account.wxImg||t.row.account.aliImg}})])]):e._e()],2)]}}])}),a("el-table-column",{attrs:{prop:"storeName",label:"门店名称"}}),a("el-table-column",{attrs:{prop:"type",label:"提现渠道/账号"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"==t.row.type?a("div",[e._v("微信/"+e._s(t.row.account.userId))]):e._e(),"2"==t.row.type?a("div",[e._v("支付宝/"+e._s(t.row.account.aliAccount))]):e._e(),"3"==t.row.type?a("div",[e._v("银联/"+e._s(t.row.account.bankAccount))]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"money",label:"提现金额"}}),a("el-table-column",{attrs:{prop:"charge",label:"手续费"}}),a("el-table-column",{attrs:{prop:"actualMoney",label:"到账金额"}}),a("el-table-column",{attrs:{label:"提现状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",["2"==t.row.state?a("span",{staticStyle:{color:"#489620"}},[e._v("已通过")]):e._e(),"1"==t.row.state?a("span",{staticStyle:{color:"#155BD4"}},[e._v("申请中")]):e._e(),"3"==t.row.state?a("span",{staticStyle:{color:"#df0029"}},[e._v("已拒绝")]):e._e()])]}}])}),a("el-table-column",{attrs:{prop:"createdAt",label:"申请时间"}}),a("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.state,expression:"scope.row.state=='1'"}],staticClass:"more"},[a("el-button",{staticClass:"mar_l10",attrs:{type:"text",size:"mini"}},[e._v(" 操作 "),a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.type&&"1"==t.row.state,expression:"scope.row.type=='1' && scope.row.state=='1'"}],on:{click:function(a){return e.operate(t.row.id,"makeAdopt")}}},[e._v("微信零钱打款")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.state,expression:"scope.row.state=='1'"}],on:{click:function(a){return e.operate(t.row.id,"adopt")}}},[e._v("通过(线下转款)")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.state,expression:"scope.row.state=='1'"}],on:{click:function(a){return e.operate(t.row.id,"reject")}}},[e._v("拒绝")])])],1)],1),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"2"==t.row.state,expression:"scope.row.state=='2'"}],staticStyle:{color:"#489620"},attrs:{size:"mini",type:"text"}},[e._v("已通过")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"3"==t.row.state,expression:"scope.row.state=='3'"}],staticStyle:{color:"#df0029"},attrs:{size:"mini",type:"text"}},[e._v("已拒绝")])]}}])})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:e.page.total,"page-size":e.page.pagesize,"current-page":e.page.currentPage},on:{"update:currentPage":function(t){return e.$set(e.page,"currentPage",t)},"update:current-page":function(t){return e.$set(e.page,"currentPage",t)},"current-change":e.handleCurrentChange}})],1)])},o=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("提现列表")])])])}],n=(a("96cf"),a("1da1")),s=a("e692"),l=a("ed08"),i={data:function(){return{formInline:{keyword:"",timeData:"",state:""},tableData:[],withstate:[{value:"",label:"全部"},{value:"1",label:"申请中"},{value:"2",label:"已通过"},{value:"3",label:"已拒绝"}],page:{total:0,size:10,currentPage:1}}},created:function(){this.getWithdrawalList()},methods:{getWithdrawalList:function(){var e=this;return Object(n["a"])(regeneratorRuntime.mark((function t(){var a,r,o,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a={page:e.page.currentPage,state:e.formInline.state},e.formInline.keyword&&(a.keyword=e.formInline.keyword),e.formInline.timeData&&(e.formInline.startTime=Object(l["a"])(e.formInline.timeData[0]),e.formInline.endTime=Object(l["a"])(e.formInline.timeData[1])),t.next=5,Object(s["w"])(a);case 5:r=t.sent,o=r.data,n=r.count,e.tableData=o,e.page.total=n;case 10:case"end":return t.stop()}}),t)})))()},handleCurrentChange:function(e){this.page.currentPage=e,this.getWithdrawalList()},onSearch:function(){this.getWithdrawalList()},operate:function(e,t){var a=this;return Object(n["a"])(regeneratorRuntime.mark((function r(){var o,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(s["m"])({id:e,type:t});case 2:o=r.sent,n=o.msg,a.$baseMessage(n,"success"),a.getWithdrawalList();case 6:case"end":return r.stop()}}),r)})))()}}},c=i,u=(a("667a"),a("2877")),p=Object(u["a"])(c,r,o,!1,null,null,null);t["default"]=p.exports},d2bb:function(e,t,a){var r=a("825a"),o=a("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,a={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(a,[]),t=a instanceof Array}catch(n){}return function(a,n){return r(a),o(n),t?e.call(a,n):a.__proto__=n,a}}():void 0)},ed08:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return n}));a("a9e3"),a("ac1f"),a("5319"),a("bf19");function r(e){var t=new Date(e).toJSON(),a=new Date(+new Date(t)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return a}function o(e){var t=new Date(e),a=t.getFullYear(),r=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),l=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+"-"+r+"-"+o+" "+n+":"+s+":"+l}function n(e){var t=new Date(1e3*Number(e)),a=t.getFullYear()+"-",r=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",o=(t.getDate()<10?"0"+t.getDate():t.getDate())+" ",n=(t.getHours()<10?"0"+t.getHours():t.getHours())+":",s=(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":",l=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),i=a+r+o+n+s+l;return i}}}]);