mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-21 08:28:14 +00:00
1 line
30 KiB
JavaScript
1 line
30 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-629356f2"],{"0436":function(t,e,a){"use strict";var r={name:"publicSearchFrom",props:{fromList:{type:Array},searchFrom:{type:Object},treeData:{type:Object},isExist:{type:Object}},data:function(){return{date:"全部",withdrawalTxt:"提现状态",paymentTxt:"提现方式"}},computed:{},mounted:function(){},methods:{changeTree:function(){}}};a("f6e5"),a=a("2877"),a=Object(a.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-form",{ref:"orderData",staticClass:"tabform",attrs:{"label-width":"85px","label-position":"right"}},[t._l(t.fromList,(function(e,r){return a("el-row",{key:r,attrs:{gutter:24}},[a("el-col",{attrs:{xl:8,lg:8,md:8,sm:24,xs:24}},[a("el-form-item",{attrs:{label:e.title+":"}},[a("el-radio-group",{attrs:{type:"button"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},t._l(e.fromTxt,(function(r,n){return a("el-radio-button",{key:n,attrs:{label:r.text}},[t._v(t._s(r.text)+t._s(e.num))])})),1)],1)],1),e.custom?a("el-col",[a("el-form-item",{staticClass:"tab_data"},[a("el-date-picker",{staticStyle:{width:"200px"},attrs:{editable:!1,"value-format":"yyyy/MM/dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"}})],1)],1):t._e()],1)})),t.isExist.existOne?a("el-row",{attrs:{gutter:24}},[a("el-col",{staticClass:"mr",attrs:{span:"10"}},[a("el-form-item",{attrs:{label:t.searchFrom.title+":",prop:"real_name","label-for":"real_name"}},[a("el-input",{attrs:{search:"","enter-button":"",placeholder:t.searchFrom.place,"element-id":"name"}})],1)],1),a("el-col",[a("el-button",{staticClass:"mr"},[t._v("导出")]),a("span",{staticClass:"Refresh"},[t._v("刷新")])],1)],1):t._e(),t.isExist.existTwo?a("el-row",{staticClass:"withdrawal",attrs:{gutter:24}},[a("el-col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.withdrawal},on:{change:t.changeTree},model:{value:t.withdrawalTxt,callback:function(e){t.withdrawalTxt=e},expression:"withdrawalTxt"}})],1),a("el-col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.payment},on:{change:t.changeTree},model:{value:t.paymentTxt,callback:function(e){t.paymentTxt=e},expression:"paymentTxt"}})],1),a("el-col",{staticClass:"item",attrs:{span:6}},[a("el-input",{attrs:{search:"","enter-button":"",placeholder:"微信名称、姓名、支付宝账号、银行卡号","element-id":"name"}})],1)],1):t._e()],2)],1)}),[],!1,null,"7955f210",null);e.a=a.exports},"2c3e":function(t,e,a){var r=a("da84"),n=a("83ab"),i=a("9f7f").MISSED_STICKY,o=a("c6b6"),s=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=r.TypeError;n&&i&&s(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"31b4":function(t,e,a){"use strict";var r=a("f3f3"),n=(a("d3b7"),a("159b"),a("30ba")),i=(n=a.n(n),a("6b6c")),o=a("2f62");n={name:"edit",components:{formCreate:n.a.$form()},computed:Object(r.a)({},Object(o.d)("userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},update:{type:Boolean,default:!0}},watch:{FromData:function(){this.FromData.rules.forEach((function(t){t.title+=":"}))}},data:function(){return{modals:!1,type:0,loading:!1,fapi:null,config:{form:{labelWidth:"100px"},resetBtn:!1,submitBtn:!1,global:{upload:{props:{onSuccess:function(t,e){200===t.status?e.url=t.data.src:this.$message.error(t.msg)}}}}}}},methods:{couponsType:function(){this.$parent.addType(this.type)},formSubmit:function(){this.fapi.submit()},onSubmit:function(t){var e=this;this.loading||(this.loading=!0,Object(i.a)({url:this.FromData.action,method:this.FromData.method,data:t}).then((function(t){e.update&&e.$parent.getList(),e.$message.success(t.msg),e.modals=!1,setTimeout((function(){e.$emit("submitFail"),e.loading=!1}),1e3)})).catch((function(t){e.loading=!1,e.$message.error(t.msg)})))},cancel:function(){this.type=0}}},a("6a61"),r=a("2877"),o=Object(r.a)(n,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.FromData?e("div",[e("el-dialog",{attrs:{visible:t.modals,title:t.FromData.title,"z-index":1,width:"720px"},on:{"update:visible":function(e){t.modals=e},closed:t.cancel}},[["/marketing/coupon/save.html"===t.FromData.action?e("div",{staticClass:"radio acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),e("el-radio-group",{on:{input:t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("el-radio",{attrs:{label:0}},[t._v("通用券")]),e("el-radio",{attrs:{label:1}},[t._v("品类券")]),e("el-radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],e("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(this.FromData.rules),handleIcon:"false"},on:{submit:t.onSubmit},model:{value:t.fapi,callback:function(e){t.fapi=e},expression:"fapi"}}),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.modals=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.formSubmit}},[t._v("确 定")])],1)],2)],1):t._e()}),[],!1,null,"58fdaf03",null);e.a=o.exports},"3d40":function(t,e,a){},"40e9":function(t,e,a){"use strict";var r=a("5c02");a.n(r).a},"4d63":function(t,e,a){var r=a("83ab"),n=a("da84"),i=a("e330"),o=a("94ca"),s=a("7156"),c=a("9112"),l=a("241c").f,u=a("3a9b"),d=a("44e7"),f=a("577e"),m=a("90d8"),h=a("9f7f"),p=a("aeb0"),g=a("cb2d"),v=a("d039"),b=a("1a2d"),y=a("69f3").enforce,_=a("2626"),w=a("b622"),x=a("fce3"),k=a("107c"),j=w("match"),O=n.RegExp,C=O.prototype,L=n.SyntaxError,E=i(C.exec),S=i("".charAt),$=i("".replace),V=i("".indexOf),T=i("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,F=/a/g,P=(a=new O(D)!==D,h.MISSED_STICKY),I=h.UNSUPPORTED_Y;w=r&&(!a||P||x||k||v((function(){return F[j]=!1,O(D)!=D||O(F)==F||"/a/i"!=O(D,"i")})));if(o("RegExp",w)){function R(t,e){var a,r,n=u(C,this),i=d(t),o=void 0===e,l=[],h=t;if(!n&&i&&o&&t.constructor===R)return t;if((i||u(C,t))&&(t=t.source,o&&(e=m(h))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),h=t,i=e=x&&"dotAll"in D&&(a=!!e&&-1<V(e,"s"))?$(e,/s/g,""):e,P&&"sticky"in D&&(r=!!e&&-1<V(e,"y"))&&I&&(e=$(e,/y/g,"")),k&&(t=(o=function(t){for(var e,a=t.length,r=0,n="",i=[],o={},s=!1,c=!1,l=0,u="";r<=a;r++){if("\\"===(e=S(t,r)))e+=S(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:E(z,T(t,r+1))&&(r+=2,c=!0),n+=e,l++;continue;case">"===e&&c:if(""===u||b(o,u))throw new L("Invalid capture group name");o[u]=!0,c=!(i[i.length]=[u,l]),u="";continue}c?u+=e:n+=e}return[n,i]}(t))[0],l=o[1]),o=s(O(t,e),n?this:C,R),(a||r||l.length)&&(e=y(o),a&&(e.dotAll=!0,e.raw=R(function(t){for(var e,a=t.length,r=0,n="",i=!1;r<=a;r++)"\\"===(e=S(t,r))?n+=e+S(t,++r):i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),n+=e):n+="[\\s\\S]";return n}(t),i)),r&&(e.sticky=!0),l.length&&(e.groups=l)),t!==h)try{c(o,"source",""===h?"(?:)":h)}catch(t){}return o}for(var N=l(O),M=0;N.length>M;)p(R,O,N[M++]);(C.constructor=R).prototype=C,g(n,"RegExp",R,{constructor:!0})}_("RegExp")},"5c02":function(t,e,a){},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"c",(function(){return c})),a.d(e,"b",(function(){return l}));var r=a("fc11"),n=a("f3f3");function i(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,r,n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in n)new RegExp("(".concat(a,")")).test(e)&&(r=n[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("b64b"),a("99af");var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function s(t,e){t.message=function(t){return e.replace("%s",t||"")}}function c(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(n.a)({required:!0,message:t,type:"string"},e)}function l(t){return u.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}s(c,"请输入%s"),s(l,"%s格式不正确");var u=Object.keys(o).reduce((function(t,e){return t[e]=function(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o="range"===e?{min:t[0],max:t[1]}:Object(r.a)({},e,t);return Object(n.a)(Object(n.a)({message:a.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o),i)},s(t[e],o[e]),t}),{})},"6a61":function(t,e,a){"use strict";var r=a("c23d");a.n(r).a},7655:function(t,e,a){},"975d":function(t,e,a){"use strict";var r=a("7655");a.n(r).a},"9eb0f":function(t,e,a){"use strict";a.r(e),a("a4d3"),a("e01a"),a("d3b7"),a("d28b"),a("3ca3"),a("ddb0"),a("b636"),a("944a"),a("0c47"),a("23dc"),a("3410"),a("d9e2"),a("159b"),a("b0c0"),a("131a"),a("fb6a");var r=a("0122"),n=a("c964"),i=a("f3f3"),o=(a("a15b"),a("a584")),s=a("0436"),c=a("2f62"),l=a("cd05"),u=a("61f7"),d=a("31b4");function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return t};var t={},e=Object.prototype,a=e.hasOwnProperty,n=Object.defineProperty||function(t,e,a){t[e]=a.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,a){return t[e]=a}}function u(t,e,a,r){var i,o,s,c;e=e&&e.prototype instanceof h?e:h,e=Object.create(e.prototype),r=new k(r||[]);return n(e,"_invoke",{value:(i=t,o=a,s=r,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return O()}for(s.method=t,s.arg=e;;){var a=s.delegate;if(a&&(a=function t(e,a){var r=a.method,n=e.iterator[r];return void 0===n?(a.delegate=null,"throw"===r&&e.iterator.return&&(a.method="return",a.arg=void 0,t(e,a),"throw"===a.method)||"return"!==r&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m):(r=d(n,e.iterator,a.arg),"throw"===r.type?(a.method="throw",a.arg=r.arg,a.delegate=null,m):(n=r.arg,n?n.done?(a[e.resultName]=n.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=void 0),a.delegate=null,m):n:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,m)))}(a,s),a)){if(a===m)continue;return a}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",a=d(i,o,s),"normal"===a.type){if(c=s.done?"completed":"suspendedYield",a.arg===m)continue;return{value:a.arg,done:s.done}}"throw"===a.type&&(c="completed",s.method="throw",s.arg=a.arg)}})}),e}function d(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var m={};function h(){}function p(){}function g(){}i={};var v=(l(i,o,(function(){return this})),Object.getPrototypeOf),b=(v=v&&v(v(j([]))),v&&v!==e&&a.call(v,o)&&(i=v),g.prototype=h.prototype=Object.create(i));function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var i;n(this,"_invoke",{value:function(n,o){function s(){return new e((function(i,s){!function n(i,o,s,c){var l;i=d(t[i],t,o);if("throw"!==i.type)return(o=(l=i.arg).value)&&"object"==Object(r.a)(o)&&a.call(o,"__await")?e.resolve(o.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(o).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}));c(i.arg)}(n,o,i,s)}))}return i=i?i.then(s,s):s()}})}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function j(t){if(t){var e,r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(r=function r(){for(;++e<t.length;)if(a.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r}).next=r}return{next:O}}function O(){return{value:void 0,done:!0}}return n(b,"constructor",{value:p.prototype=g,configurable:!0}),n(g,"constructor",{value:p,configurable:!0}),p.displayName=l(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},y(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,a,r,n,i){void 0===i&&(i=Promise);var o=new _(u(e,a,r,n),i);return t.isGeneratorFunction(a)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},y(b),l(b,c,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,a=Object(t),r=[];for(e in a)r.push(e);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in a)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=j,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(a,r){return o.type="throw",o.arg=t,e.next=a,r&&(e.method="next",e.arg=void 0),!!r}for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}var o=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc?null:i)?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var a=this.tryEntries[e];if(a.finallyLoc===t)return this.complete(a.completion,a.afterLoc),x(a),m}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var a,r,n=this.tryEntries[e];if(n.tryLoc===t)return"throw"===(a=n.completion).type&&(r=a.arg,x(n)),r}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:j(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=void 0),m}},t}o={name:"cashApply",components:{cardsData:o.a,searchFrom:s.a,editFrom:d.a},filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(u.a)(t,"yyyy-MM-dd hh:mm")}},data:function(){return{images:["1.jpg","2.jpg"],modal_loading:!1,fail_msg:{message:"输入信息不完整或有误!"},modals:!1,total:0,cardLists:[],loading:!1,tabList:[],pickerOptions:this.$timeOptions,treeData:{withdrawal:[{title:"全部",value:""},{title:"未通过",value:-1},{title:"申请中",value:0},{title:"已通过",value:1}],payment:[{title:"全部",value:""},{title:"微信",value:"wx"},{title:"支付宝",value:"alipay"},{title:"银行卡",value:"bank"}]},formValidate:{status:"",extract_type:"",nireid:"",data:"",page:1,limit:20},extractStatistics:{},timeVal:[],FromData:null,extractId:0}},watch:{$route:function(){this.$route.fullPath===this.$routeProStr+"/finance/user_extract/index?status=0"&&this.getPath()}},computed:Object(i.a)(Object(i.a)({},Object(c.d)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),mounted:function(){this.$route.fullPath===this.$routeProStr+"/finance/user_extract/index?status=0"?this.getPath():this.getList()},methods:{getPath:function(){this.formValidate.page=1,this.formValidate.status=parseInt(this.$route.query.status),this.getList()},invalid:function(t){this.extractId=t.id,this.modals=!0},oks:function(){var t=this;this.modal_loading=!0,Object(l.m)(this.extractId,this.fail_msg).then(function(){var e=Object(n.a)(f().mark((function e(a){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$message.success(a.msg),t.modal_loading=!1,t.modals=!1,t.getList();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg)}))},adopt:function(t,e,a){var r=this;e={title:e,num:a,url:"finance/extract/adopt/".concat(t.id),method:"put",ids:""};this.$modalSure(e).then((function(t){r.$message.success(t.msg),r.getList()})).catch((function(t){r.$message.error(t.msg)}))},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal?this.timeVal.join("-"):"",this.formValidate.page=1,this.getList()},selectChange:function(t){this.formValidate.page=1,this.formValidate.data=t,this.timeVal=[],this.getList()},selChange:function(){this.formValidate.page=1,this.getList()},getList:function(){var t=this;this.loading=!0,Object(l.d)(this.formValidate).then(function(){var e=Object(n.a)(f().mark((function e(a){var r;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.data,t.tabList=r.list.list,t.total=r.list.count,t.extractStatistics=r.extract_statistics,t.cardLists=[{col:6,count:t.extractStatistics.brokerage_count,name:"佣金总金额",className:"iconyuezhifujine"},{col:6,count:t.extractStatistics.price,name:"待提现金额",className:"iconfufeihuiyuanjine"},{col:6,count:t.extractStatistics.priced,name:"已提现金额",className:"iconzhifuyongjinjine"},{col:6,count:t.extractStatistics.brokerage_not,name:"未提现金额",className:"iconshangpintuikuanjine"}],t.loading=!1;case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},edit:function(t){var e=this;Object(l.c)(t.id).then(function(){var t=Object(n.a)(f().mark((function t(a){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1===a.data.status)return t.abrupt("return",e.$authLapse(a.data));t.next=2;break;case 2:e.FromData=a.data,e.$refs.edits.modals=!0;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$message.error(t.msg)}))},submitFail:function(){this.getList()}}},a("40e9"),s=a("2877"),d=Object(s.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-card",{staticClass:"ivu-mb-16",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[a("div",{staticClass:"padding-add"},[a("el-form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":"right",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{label:"时间选择:"}},[a("el-date-picker",{staticClass:"mr20",staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",editable:!1,format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","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),a("el-form-item",{attrs:{label:"提现状态:"}},[a("el-select",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"请选择状态"},on:{change:t.selChange},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},t._l(t.treeData.withdrawal,(function(t,e){return a("el-option",{key:e,attrs:{value:t.value,label:t.title}})})),1)],1),a("el-form-item",{attrs:{label:"提现方式:"}},[a("el-select",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"请选择状态"},on:{change:t.selChange},model:{value:t.formValidate.extract_type,callback:function(e){t.$set(t.formValidate,"extract_type",e)},expression:"formValidate.extract_type"}},t._l(t.treeData.payment,(function(t,e){return a("el-option",{key:e,attrs:{value:t.value,label:t.title}})})),1)],1),a("el-form-item",{attrs:{label:"搜索:"}},[a("el-input",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"微信昵称/姓名/支付宝账号/银行卡号"},model:{value:t.formValidate.nireid,callback:function(e){t.$set(t.formValidate,"nireid",e)},expression:"formValidate.nireid"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.selChange}},[t._v("查询")])],1)],1)],1)]),t.extractStatistics?a("cards-data",{attrs:{cardLists:t.cardLists}}):t._e(),a("el-card",{attrs:{bordered:!1,shadow:"never"}},[a("router-link",{attrs:{to:t.$routeProStr+"/finance/finance/commission"}},[a("el-button",{attrs:{type:"primary"}},[t._v("佣金记录")])],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",staticClass:"mt14",attrs:{data:t.tabList,"empty-text":"暂无数据"}},[a("el-table-column",{attrs:{label:"ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.id))])]}}])}),a("el-table-column",{attrs:{label:"用户信息","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n 用户昵称: "+t._s(e.row.nickname)+" "),a("br"),t._v("\n 用户id:"+t._s(e.row.uid)+"\n ")])]}}])}),a("el-table-column",{attrs:{label:"提现金额","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.extract_price))])]}}])}),a("el-table-column",{attrs:{label:"提现手续费","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.extract_fee))])]}}])}),a("el-table-column",{attrs:{label:"提现方式","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return["bank"===e.row.extract_type?a("div",{staticClass:"type"},[a("div",{staticClass:"item"},[t._v("姓名:"+t._s(e.row.real_name))]),a("div",{staticClass:"item"},[t._v("银行卡号:"+t._s(e.row.bank_code))]),a("div",{staticClass:"item"},[t._v("银行开户地址:"+t._s(e.row.bank_address))])]):t._e(),"weixin"===e.row.extract_type?a("div",{staticClass:"type"},[a("div",{staticClass:"item"},[t._v("昵称:"+t._s(e.row.nickname))]),a("div",{staticClass:"item"},[t._v("微信号:"+t._s(e.row.wechat))])]):t._e(),"alipay"===e.row.extract_type?a("div",{staticClass:"type"},[a("div",{staticClass:"item"},[t._v("姓名:"+t._s(e.row.real_name))]),a("div",{staticClass:"item"},[t._v("支付宝号:"+t._s(e.row.alipay_code))])]):t._e(),"balance"===e.row.extract_type?a("div",{staticClass:"type"},[a("div",{staticClass:"item"},[t._v("姓名:"+t._s(e.row.real_name))]),a("div",{staticClass:"item"},[t._v("提现方式:佣金转入余额")])]):t._e()]}}])}),a("el-table-column",{attrs:{label:"收款码","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return["weixin"===e.row.extract_type||"alipay"===e.row.extract_type?a("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.row.qrcode_url,expression:"scope.row.qrcode_url"}]})]):t._e()]}}])}),a("el-table-column",{attrs:{label:"申请时间","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("formatDate")(e.row.add_time)))])]}}])}),a("el-table-column",{attrs:{label:"备注","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.mark))])]}}])}),a("el-table-column",{attrs:{label:"审核状态","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.status?a("div",{staticClass:"status"},[a("div",{staticClass:"statusVal"},[t._v("申请中")]),a("div")]):t._e(),1===e.row.status?a("div",{staticClass:"statusVal"},[t._v("提现通过")]):t._e(),-1===e.row.status?a("div",{staticClass:"statusVal"},[t._v("\n 提现未通过"),a("br"),t._v("未通过原因:"+t._s(e.row.fail_msg)+"\n ")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"操作",fixed:"right",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("a",{attrs:{href:"javascript:void(0);"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编辑")]),a("el-divider",{attrs:{direction:"vertical"}}),a("a",{staticClass:"item",on:{click:function(a){return t.adopt(e.row,"审核通过",t.index)}}},[t._v("通过")]),a("el-divider",{attrs:{direction:"vertical"}}),a("a",{staticClass:"item",on:{click:function(a){return t.invalid(e.row)}}},[t._v("驳回")])]}}])})],1),a("div",{staticClass:"acea-row row-right page"},[t.total?a("pagination",{attrs:{total:t.total,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getList}}):t._e()],1)],1),a("edit-from",{ref:"edits",attrs:{FromData:t.FromData},on:{submitFail:t.submitFail}}),a("el-dialog",{attrs:{visible:t.modals,title:"未通过原因","close-on-click-modal":!1,width:"540px"},on:{"update:visible":function(e){t.modals=e}}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入未通过原因"},model:{value:t.fail_msg.message,callback:function(e){t.$set(t.fail_msg,"message",e)},expression:"fail_msg.message"}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.oks}},[t._v("确定")])],1)],1)],1)}),[],!1,null,"f15f276a",null),e.default=d.exports},a584:function(t,e,a){"use strict";var r={name:"cards",data:function(){return{colsize:{xl:4,lg:8,md:12}}},props:{cardLists:Array},methods:{},created:function(){switch(this.cardLists.length){case 1:this.colsize.xl=24,this.colsize.lg=24,this.colsize.md=24;break;case 2:this.colsize.xl=12,this.colsize.lg=12,this.colsize.md=12;break;case 3:this.colsize.xl=8,this.colsize.lg=8,this.colsize.md=8;break;case 4:this.colsize.xl=6,this.colsize.lg=6,this.colsize.md=12;break;case 5:this.colsize.xl=8,this.colsize.lg=8,this.colsize.md=12;break;default:this.colsize.xl=4,this.colsize.lg=8,this.colsize.md=12}4==this.cardLists.length?this.colsize.lg=6:4==this.cardLists.length&&(this.colsize.lg=8)}};a("975d"),a=a("2877"),a=Object(a.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-row",{staticClass:"ivu-mt",attrs:{align:"middle",gutter:24}},t._l(t.cardLists,(function(e,r){return a("el-col",{key:r,staticClass:"ivu-mb",attrs:{xl:e.col||t.colsize.xl,lg:t.colsize.lg,md:t.colsize.md,sm:24,xs:24}},[a("el-card",{staticClass:"card_cent",attrs:{shadow:"never"}},[a("div",{staticClass:"card_box"},[a("div",{staticClass:"card_box_cir",class:{one:r%5==0,two:r%5==1,three:r%5==2,four:r%5==3,five:r%5==4}},[a("div",{staticClass:"card_box_cir1",class:{one1:r%5==0,two1:r%5==1,three1:r%5==2,four1:r%5==3,five1:r%5==4}},[a("span",{staticClass:"iconfont",class:e.className})])]),a("div",{staticClass:"card_box_txt"},[a("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),a("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])],1)})),1)],1)}),[],!1,null,"0eb9e1a0",null);e.a=a.exports},c23d:function(t,e,a){},c607:function(t,e,a){var r=a("da84"),n=a("83ab"),i=a("fce3"),o=a("c6b6"),s=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=r.TypeError;n&&i&&s(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!c(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},cd05:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"a",(function(){return i})),a.d(e,"f",(function(){return o})),a.d(e,"e",(function(){return s})),a.d(e,"h",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return u})),a.d(e,"m",(function(){return d})),a.d(e,"k",(function(){return f})),a.d(e,"r",(function(){return m})),a.d(e,"l",(function(){return h})),a.d(e,"q",(function(){return p})),a.d(e,"p",(function(){return g})),a.d(e,"g",(function(){return v})),a.d(e,"j",(function(){return b})),a.d(e,"o",(function(){return y})),a.d(e,"i",(function(){return _})),a.d(e,"n",(function(){return w}));var r=a("6b6c");function n(){return Object(r.a)({url:"finance/finance/bill_type",method:"get"})}function i(t){return Object(r.a)({url:"finance/finance/list",method:"get",params:t})}function o(t){return Object(r.a)({url:"finance/finance/commission_list",method:"get",params:t})}function s(t){return Object(r.a)({url:"finance/finance/user_info/".concat(t),method:"get"})}function c(t,e){return Object(r.a)({url:"finance/finance/extract_list/".concat(t),method:"get",params:e})}function l(t){return Object(r.a)({url:"finance/extract",method:"get",params:t})}function u(t){return Object(r.a)({url:"finance/extract/".concat(t,"/edit"),method:"get"})}function d(t,e){return Object(r.a)({url:"finance/extract/refuse/".concat(t),method:"put",data:e})}function f(t){return Object(r.a)({url:"finance/recharge",method:"get",params:t})}function m(t){return Object(r.a)({url:"finance/recharge/user_recharge",method:"get",params:t})}function h(t){return Object(r.a)({url:"finance/recharge/".concat(t,"/refund_edit"),method:"get"})}function p(t){return Object(r.a)({url:"export/userFinance",method:"get",params:t})}function g(t){return Object(r.a)({url:"export/userCommission",method:"get",params:t})}function v(t){return Object(r.a)({url:"export/userRecharge",method:"get",params:t})}function b(t){return Object(r.a)({url:"statistic/flow/get_list",method:"get",params:t})}function y(t,e){return Object(r.a)({url:"statistic/flow/set_mark/".concat(t),method:"post",data:e})}function _(t){return Object(r.a)({url:"finance/balance/list",method:"get",params:t})}function w(t,e){return Object(r.a)({url:"finance/balance/set_mark/".concat(t),method:"post",data:e})}},f6e5:function(t,e,a){"use strict";var r=a("3d40");a.n(r).a}}]); |