canyin-project/ybcy/views/channel/index20240524/static/js/chunk-cfc93fea.c2192e0a.js
2024-11-01 16:07:54 +08:00

1 line
19 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-cfc93fea"],{"015b":function(t,e,a){"use strict";var n=a("3d90"),o=a.n(n);o.a},"230c":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:"ba_f pad_20"},[a("el-tabs",{staticClass:"mar_b20",on:{"tab-click":t.tableName},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"提现列表",name:"1"}}),a("el-tab-pane",{attrs:{label:"提现设置",name:"2"}})],1),1==t.activeName?[a("div",{},[t._m(0),a("div",{staticClass:"main-icon flex t_l mar_t20"},[a("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("待审核佣金(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.txData.wait))])]),a("div",{staticClass:"toolTip"},[a("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("待审核佣金")]),a("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[a("span",[a("i",{staticClass:"el-icon-question"})])])])],1)])]),a("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("冻结佣金(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.txData.frozen))])]),a("div",{staticClass:"toolTip"},[a("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("冻结佣金")]),a("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[a("span",[a("i",{staticClass:"el-icon-question"})])])])],1)])]),a("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("可提现佣金(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.txData.sure))])]),a("div",{staticClass:"toolTip"},[a("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("可提现佣金")]),a("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[a("span",[a("i",{staticClass:"el-icon-question"})])])])],1)])]),a("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("已提现佣金(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.txData.already))])]),a("div",{staticClass:"toolTip"},[a("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("已提现佣金")]),a("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[a("span",[a("i",{staticClass:"el-icon-question"})])])])],1)])]),a("div",{staticClass:"flex-1 t_l pad_20 bortColor"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("累计佣金(元)")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.txData.cumulative))])]),a("div",{staticClass:"toolTip"},[a("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("累计佣金")]),a("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[a("span",[a("i",{staticClass:"el-icon-question"})])])])],1)])])])]),a("div",{staticClass:"outmain ba_f"},[t._m(1),a("div",{staticClass:"pad_20 flex-bet"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.formInline,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"提现状态"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.onSearch},model:{value:t.formInline.state,callback:function(e){t.$set(t.formInline,"state",e)},expression:"formInline.state"}},t._l(t.withstate,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),a("el-form-item",{attrs:{label:"提现时间"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.onSearch},model:{value:t.formInline.timeData,callback:function(e){t.$set(t.formInline,"timeData",e)},expression:"formInline.timeData"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:t.onSearch}},[t._v("搜索")])],1)],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""}},[a("el-table-column",{attrs:{prop:"type",label:"用户信息"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex flex-y-top"},[a("div",{},[a("img",{staticClass:"goodlogo bor_rad50",attrs:{src:e.row.portrait}})]),a("div",{staticClass:"mar_l10"},[a("div",[t._v(t._s(e.row.userName))]),a("div",[a("el-tag",{staticClass:"mar_l5",attrs:{size:"mini",type:"info"}},[t._v("ID:"+t._s(e.row.userId)+" ")])],1)])])]}}],null,!1,1004507087)}),a("el-table-column",{attrs:{prop:"account",label:"提现渠道"},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.type?a("div",[t._v("微信")]):t._e(),"2"==e.row.type?a("div",[t._v("支付宝")]):t._e(),"3"==e.row.type?a("div",[t._v("银行卡")]):t._e(),"4"==e.row.type?a("div",[t._v("余额")]):t._e()]}}],null,!1,1987264394)}),a("el-table-column",{attrs:{prop:"account",label:"提现信息"},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.type?a("div",[a("div",[t._v("微信提现")])]):t._e(),"2"==e.row.type?a("div",[a("div",[t._v("支付宝姓名:"+t._s(e.row.account.aliUserName))]),a("div",[t._v("支付宝账号:"+t._s(e.row.account.aliAccount))])]):t._e(),"3"==e.row.type?a("div",[a("div",[t._v("银行卡:"+t._s(e.row.account.bankName))]),a("div",[t._v("银行卡姓名:"+t._s(e.row.account.bankUserName))]),a("div",[t._v("银行卡账号:"+t._s(e.row.account.bankAccount))])]):t._e(),"4"==e.row.type?a("div",[a("div",[t._v("余额提现")])]):t._e()]}}],null,!1,3944085786)}),a("el-table-column",{attrs:{prop:"money",label:"提现金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(" "+t._s(e.row.money)+" ")])]}}],null,!1,3543776161)}),a("el-table-column",{attrs:{prop:"money",label:"手续费"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.charge))])]}}],null,!1,1556661163)}),a("el-table-column",{attrs:{prop:"actualMoney",label:"到账金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.actualMoney))])]}}],null,!1,3213649295)}),a("el-table-column",{attrs:{prop:"createdAt",label:"申请时间"}}),a("el-table-column",{attrs:{prop:"state",label:"提现状态",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.state?a("div",{staticStyle:{color:"#155BD4"}},[t._v("待审核")]):t._e(),"2"==e.row.state?a("div",{staticStyle:{color:"#489620"}},[t._v("已通过")]):t._e(),"3"==e.row.state?a("div",{staticStyle:{color:"#df0029"}},[t._v("已拒绝")]):t._e()]}}],null,!1,1744568028)}),a("el-table-column",{attrs:{prop:"state",label:"操作",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:"1"==e.row.state,expression:"scope.row.state=='1'"}],staticClass:"more"},[a("el-button",{staticClass:"mar_l10",attrs:{type:"text",size:"mini"}},[t._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"==e.row.type&&"1"==e.row.state,expression:"scope.row.type=='1' && scope.row.state=='1'"}],on:{click:function(a){return t.handClick(e.row.id,"makeAdopt")}}},[t._v("微信零钱打款")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==e.row.state,expression:"scope.row.state=='1'"}],on:{click:function(a){return t.handClick(e.row.id,"adopt")}}},[t._v("通过(线下转款)")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==e.row.state,expression:"scope.row.state=='1'"}],on:{click:function(a){return t.handClick(e.row.id,"reject")}}},[t._v("拒绝")])])],1)],1),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"2"==e.row.state,expression:"scope.row.state=='2'"}],staticStyle:{color:"#489620"},attrs:{size:"mini",type:"text"}},[t._v("已通过")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"3"==e.row.state,expression:"scope.row.state=='3'"}],staticStyle:{color:"#df0029"},attrs:{size:"mini",type:"text"}},[t._v("已拒绝")])]}}],null,!1,1556833938)})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.page.total,"page-size":t.page.pagesize,"current-page":t.page.currentPage},on:{"update:currentPage":function(e){return t.$set(t.page,"currentPage",e)},"update:current-page":function(e){return t.$set(t.page,"currentPage",e)},"current-change":t.handleCurrentChange}})],1)]:t._e(),2==t.activeName?[a("div",{staticClass:"outmain ba_f"},[t._m(2),a("el-form",{ref:"form",staticClass:"mar_t20",attrs:{model:t.form,"label-width":"180px"}},[a("el-form-item",{attrs:{label:"提现开关"}},[a("el-radio-group",{model:{value:t.form.open,callback:function(e){t.$set(t.form,"open",e)},expression:"form.open"}},[a("el-radio",{attrs:{label:"1"}},[t._v("开启")]),a("el-radio",{attrs:{label:"2"}},[t._v("关闭")])],1),a("div",{staticClass:"yb_margin lh16"},[t._v("开启后,分销商可以申请提现余额,请谨慎操作")])],1),"1"==t.form.open?a("div",[a("el-form-item",{attrs:{label:"可提现渠道",prop:"channel",required:""}},[a("el-checkbox-group",{model:{value:t.form.channel,callback:function(e){t.$set(t.form,"channel",e)},expression:"form.channel"}},[a("el-checkbox",{attrs:{label:"1"}},[t._v("微信")]),a("el-checkbox",{attrs:{label:"2"}},[t._v("支付宝")]),a("el-checkbox",{attrs:{label:"3"}},[t._v("银行卡")]),a("el-checkbox",{attrs:{label:"4"}},[t._v("余额")])],1)],1),a("el-form-item",{attrs:{label:"最低提现金额",prop:"downMoney",required:""}},[a("el-input",{attrs:{type:"number",placeholder:"请输入最低提现金额"},model:{value:t.form.downMoney,callback:function(e){t.$set(t.form,"downMoney",e)},expression:"form.downMoney"}},[a("template",{slot:"append"},[t._v("元")])],2),a("div",{staticClass:"yb_margin lh16"},[t._v("只能填写整数,不填写为不限制")])],1),a("el-form-item",{attrs:{label:"每单抽取费率",prop:"rate",required:""}},[a("el-input",{attrs:{type:"number",placeholder:"请输入每单抽取费率"},model:{value:t.form.rate,callback:function(e){t.$set(t.form,"rate",e)},expression:"form.rate"}},[a("template",{slot:"append"},[t._v("%")])],2),a("div",{staticClass:"yb_margin lh16"},[t._v("分销商申请提现时,每笔申请提现扣除的费用,默认为空,即提现不扣费,支持填写小数")])],1),a("el-form-item",{attrs:{label:"提现手续费",prop:"rateDownMoney",required:""}},[a("el-input",{attrs:{type:"number",placeholder:"请输入提现手续费"},model:{value:t.form.rateDownMoney,callback:function(e){t.$set(t.form,"rateDownMoney",e)},expression:"form.rateDownMoney"}},[a("template",{slot:"prepend"},[t._v("最低")]),a("template",{slot:"append"},[t._v("元")])],2),t._v(" / "),a("el-input",{attrs:{type:"number",placeholder:"请输入金额"},model:{value:t.form.rateUpMoney,callback:function(e){t.$set(t.form,"rateUpMoney",e)},expression:"form.rateUpMoney"}},[a("template",{slot:"prepend"},[t._v("最高")]),a("template",{slot:"append"},[t._v("元")])],2),a("div",{staticClass:"yb_margin lh16"},[t._v("分销商提现时,提现费用的上下限,最高为空时,表示不限制扣除的提现费用")])],1),a("el-form-item",{attrs:{label:"提现间隔周期",prop:"day",required:""}},[a("el-input",{attrs:{type:"number",placeholder:"请输入提现间隔周期"},model:{value:t.form.day,callback:function(e){t.$set(t.form,"day",e)},expression:"form.day"}},[a("template",{slot:"append"},[t._v("天")])],2),a("div",{staticClass:"yb_margin lh16"},[t._v("提现周期设置为0 表示不限制提现周期。")])],1),a("el-form-item",{attrs:{label:"提现说明"}},[a("baidu-ueditor",{attrs:{content:t.form.explain},on:{ueditor:t.getUeditor}})],1)],1):t._e()],1)],1),a("div",{staticClass:"mar_t20 ba_f pad_20 t_c"},[a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)]:t._e()],2)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("佣金概况")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("提现列表")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("提现设置")])])])}],r=(a("96cf"),a("1da1")),s=a("9893"),i=a("7cb7"),l=a("294d"),c=a("ed08"),u={components:{baiduUeditor:s["a"]},data:function(){return{activeName:"1",page:{total:0,size:10,currentPage:1},listLoading:!1,tableData:[],formInline:{timeData:[],state:""},withstate:[{value:"",label:"全部"},{value:"1",label:"申请中"},{value:"2",label:"已通过"},{value:"3",label:"已拒绝"}],form:{money:"",open:"2",channel:[],downMoney:"",rate:"",rateDownMoney:"",rateUpMoney:"",day:"",explain:""},txData:{}}},created:function(){"1"==this.activeName?(this.$route.query.userId?(this.userId=this.$route.query.userId,this.fetchData()):this.fetchData(),this.withdrawalStatistics()):"2"==this.activeName&&(this.bus.$emit("loading",!0),this.init())},methods:{tableName:function(){"1"==this.activeName?(this.withdrawalStatistics(),this.fetchData()):"2"==this.activeName&&(this.bus.$emit("loading",!0),this.init())},onSearch:function(){this.fetchData()},withdrawalStatistics:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["Mc"])();case 2:a=e.sent,n=a.data,t.txData=n;case 5:case"end":return e.stop()}}),e)})))()},fetchData:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var a,n,o,r,s,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.listLoading=!0,a="",n="",t.formInline.timeData.length&&(a=Object(c["a"])(t.formInline.timeData[0]),n=Object(c["a"])(t.formInline.timeData[1])),o={page:t.page.currentPage,state:t.formInline.state,userId:t.userId,item:2,startTime:a,endTime:n},e.next=7,Object(i["Lc"])(o);case 7:r=e.sent,s=r.data,l=r.count,t.tableData=s,t.page.total=l,t.listLoading=!1;case 13:case"end":return e.stop()}}),e)})))()},handClick:function(t,e){var a=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(i["Lb"])({id:t,type:e});case 2:o=n.sent,r=o.msg,a.$baseMessage(r,"success"),a.fetchData();case 6:case"end":return n.stop()}}),n)})))()},handleCurrentChange:function(t){this.page.currentPage=t,this.fetchData()},getUeditor:function(t){this.form.explain=t},init:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["o"])({ident:"distributionWithdrawalSet"});case 2:a=e.sent,n=a.data,t.form2=t.form,t.form=Object.assign(t.form2,n),t.bus.$emit("loading",!1);case 7:case"end":return e.stop()}}),e)})))()},submitForm:function(){var t=this;this.$refs["form"].validate(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(a){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=11;break}return t.form.ident="distributionWithdrawalSet",t.form.identName="分销商提现设置",e.next=5,Object(l["S"])(t.form);case 5:n=e.sent,o=n.msg,t.$baseMessage(o,"success"),t.init(),e.next=12;break;case 11:return e.abrupt("return",!1);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}},p=u,d=(a("015b"),a("2877")),f=Object(d["a"])(p,n,o,!1,null,"f9d1d196",null);e["default"]=f.exports},"3bbe":function(t,e,a){var n=a("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3d90":function(t,e,a){},7156:function(t,e,a){var n=a("861d"),o=a("d2bb");t.exports=function(t,e,a){var r,s;return o&&"function"==typeof(r=e.constructor)&&r!==a&&n(s=r.prototype)&&s!==a.prototype&&o(t,s),t}},a9e3:function(t,e,a){"use strict";var n=a("83ab"),o=a("da84"),r=a("94ca"),s=a("6eeb"),i=a("5135"),l=a("c6b6"),c=a("7156"),u=a("c04e"),p=a("d039"),d=a("7c73"),f=a("241c").f,m=a("06cf").f,v=a("9bf2").f,_=a("58a8").trim,b="Number",h=o[b],w=h.prototype,g=l(d(w))==b,y=function(t){var e,a,n,o,r,s,i,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(c=_(c),e=c.charCodeAt(0),43===e||45===e){if(a=c.charCodeAt(2),88===a||120===a)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(r=c.slice(2),s=r.length,i=0;i<s;i++)if(l=r.charCodeAt(i),l<48||l>o)return NaN;return parseInt(r,n)}return+c};if(r(b,!h(" 0o1")||!h("0b1")||h("+0x1"))){for(var x,C=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof C&&(g?p((function(){w.valueOf.call(a)})):l(a)!=b)?c(new h(y(e)),a,C):y(e)},k=n?f(h):"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++)i(h,x=k[N])&&!i(C,x)&&v(C,x,m(h,x));C.prototype=w,w.constructor=C,s(o,b,C)}},bf19:function(t,e,a){"use strict";var n=a("23e7");n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},d2bb:function(t,e,a){var n=a("825a"),o=a("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,a={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(a,[]),e=a instanceof Array}catch(r){}return function(a,r){return n(a),o(r),e?t.call(a,r):a.__proto__=r,a}}():void 0)},ed08:function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return r}));a("a9e3"),a("ac1f"),a("5319"),a("bf19");function n(t){var e=new Date(t).toJSON(),a=new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return a}function o(t){var e=new Date(t),a=e.getFullYear(),n=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,o=e.getDate()<10?"0"+e.getDate():e.getDate(),r=e.getHours()<10?"0"+e.getHours():e.getHours(),s=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),i=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return a+"-"+n+"-"+o+" "+r+":"+s+":"+i}function r(t){var e=new Date(1e3*Number(t)),a=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",r=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",s=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",i=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds(),l=a+n+o+r+s+i;return l}}}]);