CRMEB/crmeb/public/admin/system_static/js/chunk-83c7171c.3ca7b768.js
2023-04-06 18:14:33 +08:00

1 line
17 KiB
JavaScript
Raw 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-83c7171c"],{"0436":function(t,e,a){"use strict";var n={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("53ca"),a=a("2877"),a=Object(a.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Form",{ref:"orderData",staticClass:"tabform",attrs:{"label-width":80,"label-position":"right"}},[t._l(t.fromList,(function(e,n){return a("Row",{key:n,attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{xl:8,lg:8,md:8,sm:24,xs:24}},[a("FormItem",{attrs:{label:e.title+""}},[a("RadioGroup",{attrs:{type:"button"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},t._l(e.fromTxt,(function(n,r){return a("Radio",{key:r,attrs:{label:n.text}},[t._v(t._s(n.text)+t._s(e.num))])})),1)],1)],1),e.custom?a("Col",[a("FormItem",{staticClass:"tab_data"},[a("DatePicker",{staticStyle:{width:"200px"},attrs:{editable:!1,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"请选择时间"}})],1)],1):t._e()],1)})),t.isExist.existOne?a("Row",{attrs:{gutter:24,type:"flex"}},[a("Col",{staticClass:"mr",attrs:{span:"10"}},[a("FormItem",{attrs:{label:t.searchFrom.title+"",prop:"real_name","label-for":"real_name"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:t.searchFrom.place,"element-id":"name"}})],1)],1),a("Col",[a("Button",{staticClass:"mr"},[t._v("导出")]),a("span",{staticClass:"Refresh"},[t._v("刷新")]),a("Icon",{attrs:{type:"ios-refresh"}})],1)],1):t._e(),t.isExist.existTwo?a("Row",{staticClass:"withdrawal",attrs:{gutter:24,type:"flex"}},[a("Col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.withdrawal},on:{"on-change":t.changeTree},model:{value:t.withdrawalTxt,callback:function(e){t.withdrawalTxt=e},expression:"withdrawalTxt"}})],1),a("Col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.payment},on:{"on-change":t.changeTree},model:{value:t.paymentTxt,callback:function(e){t.paymentTxt=e},expression:"paymentTxt"}})],1),a("Col",{staticClass:"item",attrs:{span:"6"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:"微信名称、姓名、支付宝账号、银行卡号","element-id":"name"}})],1)],1):t._e()],2)],1)}),[],!1,null,"0c50e0aa",null);e.a=a.exports},"1dc8":function(t,e,a){"use strict";a.r(e);var n=a("c964"),r=a("f3f3"),i=(a("96cf"),a("a15b"),a("0436")),o=a("2f62"),s=a("cd05"),c=a("61f7"),l=a("31b4");i={name:"cashApply",components:{searchFrom:i.a,editFrom:l.a},filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(c.a)(t,"yyyy-MM-dd hh:mm")}},data:function(){return{images:["1.jpg","2.jpg"],modal_loading:!1,options:this.$timeOptions,mark_msg:{mark:""},modals:!1,total:0,loading:!1,columns:[{title:"交易单号",key:"flow_id",width:180},{title:"关联订单",key:"order_id",minWidth:180},{title:"交易时间",key:"add_time",minWidth:90},{title:"交易金额",slot:"price",minWidth:150},{title:"交易用户",key:"nickname",minWidth:150},{title:"交易类型",key:"trading_type",minWidth:100},{title:"支付方式",slot:"pay_type",minWidth:100},{title:"备注",key:"mark",minWidth:100},{title:"操作",slot:"set",fixed:"right",width:100}],tabList:[],withdrawal:[],payment:[{title:"全部",value:""},{title:"微信",value:"weixin"},{title:"支付宝",value:"alipay"},{title:"银行卡",value:"bank"},{title:"线下支付",value:"offline"}],formValidate:{trading_type:0,time:"",keywords:"",page:1,limit:20},timeVal:[],FromData:null,extractId:0}},computed:Object(r.a)(Object(r.a)({},Object(o.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),mounted:function(){this.getList()},methods:{oks:function(){var t=this;this.modal_loading=!0,Object(s.o)(this.extractId,this.mark_msg).then((function(e){t.$Message.success(e.msg),t.modal_loading=!1,t.modals=!1,t.getList()})).catch((function(e){t.modal_loading=!1,t.$Message.error(e.msg)}))},setMark:function(t){this.modals=!0,this.extractId=t.id,this.mark_msg.mark=t.mark},onchangeTime:function(t){this.timeVal=t,this.formValidate.time=this.timeVal.join("-"),this.formValidate.page=1,this.getList()},selChange:function(t){this.formValidate.page=1,this.formValidate.trading_type=t,this.getList()},getList:function(){var t=this;this.loading=!0,Object(s.j)(this.formValidate).then(function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(a){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=a.data,t.tabList=n.list,t.total=n.count,t.withdrawal=n.status,t.loading=!1;case 5: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)}))},pageChange:function(t){this.formValidate.page=t,this.getList()},submitFail:function(){this.getList()}}},a("f7bc"),l=a("2877"),r=Object(l.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{staticClass:"ivu-mt mb10",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("Row",{attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"订单时间:"}},[a("DatePicker",{staticClass:"mr20",staticStyle:{width:"200px"},attrs:{editable:!1,clearable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-start",placeholder:"请选择时间",options:t.options},on:{"on-change":t.onchangeTime}})],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"交易类型:"}},[a("Select",{staticClass:"mr15",staticStyle:{width:"30%"},attrs:{type:"button"},on:{"on-change":t.selChange},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},t._l(t.withdrawal,(function(e,n){return a("Option",{key:n,attrs:{label:e,value:n}},[t._v(t._s(e))])})),1)],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"流水搜索:"}},[a("div",{staticClass:"acea-row row-middle"},[a("Input",{staticStyle:{width:"30%"},attrs:{search:"","enter-button":"",placeholder:"订单号/昵称/电话/用户ID","element-id":"name"},on:{"on-search":t.getList},model:{value:t.formValidate.keywords,callback:function(e){t.$set(t.formValidate,"keywords",e)},expression:"formValidate.keywords"}})],1)])],1)],1)],1)],1),a("Card",{attrs:{bordered:!1,"dis-hover":""}},[a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tabList,loading:t.loading,"no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"extract_price",fn:function(e){return e=e.row,[a("div",[t._v(t._s(e.extract_price))])]}},{key:"pay_type",fn:function(e){var n=e.row;return t._l(t.payment,(function(e){return a("div",{key:e.value},[n.pay_type==e.value?a("span",[t._v(" "+t._s(e.title)+" ")]):t._e()])}))}},{key:"price",fn:function(e){return e=e.row,[0<=e.price?a("div",{staticClass:"z-price"},[t._v("+"+t._s(e.price))]):t._e(),e.price<0?a("div",{staticClass:"f-price"},[t._v(t._s(e.price))]):t._e()]}},{key:"add_time",fn:function(e){return e=e.row,[a("span",[t._v(" "+t._s(t._f("formatDate")(e.add_time)))])]}},{key:"set",fn:function(e){var n=e.row;return[a("Button",{staticClass:"item",attrs:{size:"small",type:"primary"},on:{click:function(e){return t.setMark(n)}}},[t._v("备注")])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1),a("Modal",{attrs:{scrollable:"",closable:"",title:"备注","mask-closable":!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("Input",{attrs:{type:"textarea",rows:4,placeholder:"请输入备注"},model:{value:t.mark_msg.mark,callback:function(e){t.$set(t.mark_msg,"mark",e)},expression:"mark_msg.mark"}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary",size:"large",long:"",loading:t.modal_loading},on:{click:function(e){return e.preventDefault(),t.oks(e)}}},[t._v("确定")])],1)],1)],1)}),[],!1,null,"34382dbe",null);e.default=r.exports},"2c3e":function(t,e,a){var n=a("da84"),r=a("83ab"),i=a("9f7f").MISSED_STICKY,o=a("c6b6"),s=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=n.TypeError;r&&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")}}})},"2ec3":function(t,e,a){},"31b4":function(t,e,a){"use strict";var n=a("f3f3"),r=a("9860"),i=(r=a.n(r),a("6b6c")),o=a("2f62");r={name:"edit",components:{formCreate:r.a.$form()},computed:Object(n.a)({},Object(o.e)("userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},update:{type:Boolean,default:!0}},data:function(){return{modals:!1,type:0,loading:!1,config:{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)},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("9646"),n=a("2877"),o=Object(n.a)(r,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.FromData?e("div",[e("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:t.FromData.title,"z-index":1,width:"700"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[["/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("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("Radio",{attrs:{label:0}},[t._v("通用券")]),e("Radio",{attrs:{label:1}},[t._v("品类券")]),e("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],e("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{submit:t.onSubmit}})],2)],1):t._e()}),[],!1,null,"5cc97a38",null);e.a=o.exports},"4d63":function(t,e,a){var n=a("83ab"),r=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"),p=a("9f7f"),h=a("aeb0"),g=a("cb2d"),b=a("d039"),y=a("1a2d"),v=a("69f3").enforce,_=a("2626"),x=a("b622"),w=a("fce3"),k=a("107c"),O=x("match"),j=r.RegExp,C=j.prototype,R=r.SyntaxError,E=i(C.exec),T=i("".charAt),F=i("".replace),I=i("".indexOf),D=i("".slice),M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,$=/a/g,S=/a/g,V=(a=new j($)!==$,p.MISSED_STICKY),L=p.UNSUPPORTED_Y;x=n&&(!a||V||w||k||b((function(){return S[O]=!1,j($)!=$||j(S)==S||"/a/i"!=j($,"i")})));if(o("RegExp",x)){function W(t,e){var a,n,r=u(C,this),i=d(t),o=void 0===e,l=[],p=t;if(!r&&i&&o&&t.constructor===W)return t;if((i||u(C,t))&&(t=t.source,o&&(e=m(p))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),p=t,i=e=w&&"dotAll"in $&&(a=!!e&&-1<I(e,"s"))?F(e,/s/g,""):e,V&&"sticky"in $&&(n=!!e&&-1<I(e,"y"))&&L&&(e=F(e,/y/g,"")),k&&(t=(o=function(t){for(var e,a=t.length,n=0,r="",i=[],o={},s=!1,c=!1,l=0,u="";n<=a;n++){if("\\"===(e=T(t,n)))e+=T(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:E(M,D(t,n+1))&&(n+=2,c=!0),r+=e,l++;continue;case">"===e&&c:if(""===u||y(o,u))throw new R("Invalid capture group name");o[u]=!0,c=!(i[i.length]=[u,l]),u="";continue}c?u+=e:r+=e}return[r,i]}(t))[0],l=o[1]),o=s(j(t,e),r?this:C,W),(a||n||l.length)&&(e=v(o),a&&(e.dotAll=!0,e.raw=W(function(t){for(var e,a=t.length,n=0,r="",i=!1;n<=a;n++)"\\"===(e=T(t,n))?r+=e+T(t,++n):i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),r+=e):r+="[\\s\\S]";return r}(t),i)),n&&(e.sticky=!0),l.length&&(e.groups=l)),t!==p)try{c(o,"source",""===p?"(?:)":p)}catch(t){}return o}for(var A=l(j),P=0;A.length>P;)h(W,j,A[P++]);(C.constructor=W).prototype=C,g(r,"RegExp",W,{constructor:!0})}_("RegExp")},"509a":function(t,e,a){},"53ca":function(t,e,a){"use strict";var n=a("509a");a.n(n).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 n=a("fc11"),r=a("f3f3");function i(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,n,r={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in r)new RegExp("(".concat(a,")")).test(e)&&(n=r[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?n:("00"+n).substr(n.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(r.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(n.a)({},e,t);return Object(r.a)(Object(r.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}),{})},7458:function(t,e,a){},9646:function(t,e,a){"use strict";var n=a("2ec3");a.n(n).a},c607:function(t,e,a){var n=a("da84"),r=a("83ab"),i=a("fce3"),o=a("c6b6"),s=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=n.TypeError;r&&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 r})),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 p})),a.d(e,"q",(function(){return h})),a.d(e,"p",(function(){return g})),a.d(e,"g",(function(){return b})),a.d(e,"j",(function(){return y})),a.d(e,"o",(function(){return v})),a.d(e,"i",(function(){return _})),a.d(e,"n",(function(){return x}));var n=a("6b6c");function r(){return Object(n.a)({url:"finance/finance/bill_type",method:"get"})}function i(t){return Object(n.a)({url:"finance/finance/list",method:"get",params:t})}function o(t){return Object(n.a)({url:"finance/finance/commission_list",method:"get",params:t})}function s(t){return Object(n.a)({url:"finance/finance/user_info/".concat(t),method:"get"})}function c(t,e){return Object(n.a)({url:"finance/finance/extract_list/".concat(t),method:"get",params:e})}function l(t){return Object(n.a)({url:"finance/extract",method:"get",params:t})}function u(t){return Object(n.a)({url:"finance/extract/".concat(t,"/edit"),method:"get"})}function d(t,e){return Object(n.a)({url:"finance/extract/refuse/".concat(t),method:"put",data:e})}function f(t){return Object(n.a)({url:"finance/recharge",method:"get",params:t})}function m(t){return Object(n.a)({url:"finance/recharge/user_recharge",method:"get",params:t})}function p(t){return Object(n.a)({url:"finance/recharge/".concat(t,"/refund_edit"),method:"get"})}function h(t){return Object(n.a)({url:"export/userFinance",method:"get",params:t})}function g(t){return Object(n.a)({url:"export/userCommission",method:"get",params:t})}function b(t){return Object(n.a)({url:"export/userRecharge",method:"get",params:t})}function y(t){return Object(n.a)({url:"statistic/flow/get_list",method:"get",params:t})}function v(t,e){return Object(n.a)({url:"statistic/flow/set_mark/".concat(t),method:"post",data:e})}function _(t){return Object(n.a)({url:"finance/balance/list",method:"get",params:t})}function x(t,e){return Object(n.a)({url:"finance/balance/set_mark/".concat(t),method:"post",data:e})}},edd0:function(t,e,a){var n=a("13d2"),r=a("9bf2");t.exports=function(t,e,a){return a.get&&n(a.get,e,{getter:!0}),a.set&&n(a.set,e,{setter:!0}),r.f(t,e,a)}},f7bc:function(t,e,a){"use strict";var n=a("7458");a.n(n).a}}]);