chunk-be791d64.9ccd84bb.js 20 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-be791d64"],{"09f4":function(e,a,l){"use strict";l.d(a,"a",(function(){return r})),Math.easeInOutQuad=function(e,a,l,t){return e/=t/2,e<1?l/2*e*e+a:(e--,-l/2*(e*(e-2)-1)+a)};var t=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function u(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,a,l){var r=u(),o=e-r,i=20,c=0;a="undefined"===typeof a?500:a;var s=function e(){c+=i;var u=Math.easeInOutQuad(c,r,o,a);n(u),c<a?t(e):l&&"function"===typeof l&&l()};s()}},"3a07":function(e,a,l){"use strict";l.d(a,"c",(function(){return u})),l.d(a,"b",(function(){return r})),l.d(a,"d",(function(){return o})),l.d(a,"a",(function(){return i}));var t=l("829b"),n=(l("4328"),"/api-web");function u(e){return Object(t["a"])({url:n+"/musicGroupCalenderRefundPeriod/queryCoopRefund",method:"post",data:e})}function r(e){return Object(t["a"])({url:n+"/musicGroupCalenderRefundPeriod/queryCoopCalender",method:"post",data:e})}function o(e){return Object(t["a"])({url:n+"/cooperationShareProfit/queryPage",method:"post",data:e})}function i(e){return Object(t["a"])({url:n+"/cooperationShareProfit/addCredentials",method:"post",data:e})}},"4c4b":function(e,a,l){"use strict";l.r(a);var t=function(){var e=this,a=e.$createElement,l=e._self._c||a;return l("div",{staticClass:"m-container"},[l("h2",[l("div",{staticClass:"squrt"}),e._v("\n 合作单位缴费\n "),l("auth",{attrs:{auths:"musicGroupCalenderRefundPeriod/queryCoopCalender"}},[l("filter-search",{attrs:{keys:["searchType"]},on:{reload:e.onReSet}})],1)],1),e._v(" "),l("div",{staticClass:"m-core"},[l("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[l("el-form-item",{attrs:{prop:"organId"}},[l("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"","collapse-tags":"",placeholder:"请选择分部"},on:{change:e.changeOrgan},model:{value:e.searchForm.organId,callback:function(a){e.$set(e.searchForm,"organId","string"===typeof a?a.trim():a)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,a){return l("el-option",{key:a,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),l("el-form-item",{attrs:{prop:"search"}},[l("el-select",{attrs:{disabled:!e.searchForm.organId,filterable:"",clearable:"",placeholder:"请选择合作单位"},model:{value:e.searchForm.search,callback:function(a){e.$set(e.searchForm,"search","string"===typeof a?a.trim():a)},expression:"searchForm.search"}},e._l(e.cooperationList,(function(e,a){return l("el-option",{key:a,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),l("el-form-item",[l("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),l("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),l("div",{staticStyle:{"font-size":"14px",color:"#f85043","padding-bottom":"10px"}},[e._v("\n 欠费总额:"+e._s(e._f("moneyFormat")(e.amount))+"元"),l("i",{staticStyle:{width:"10px",display:"inline-block"}})]),e._v(" "),l("div",{staticClass:"tableWrap"},[l("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[l("el-table-column",{attrs:{align:"center",prop:"organName",label:"所属分部"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"cooperationOrganName",label:"合作单位"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"studentId",label:"应收总额"},scopedSlots:e._u([{key:"default",fn:function(a){return[l("div",[e._v("\n "+e._s(e._f("moneyFormat")(a.row.receivable))+"\n ")])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"studentId",label:"实收总额"},scopedSlots:e._u([{key:"default",fn:function(a){return[l("div",[e._v("\n "+e._s(e._f("moneyFormat")(a.row.income))+"\n ")])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"studentId",label:"待收金额"},scopedSlots:e._u([{key:"default",fn:function(a){return[l("div",[e._v("\n "+e._s(e._f("moneyFormat")(a.row.prepaidFee))+"\n ")])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"educationUserName",label:"乐团主管",width:"100px"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"studentId",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(a){return[l("div",[l("auth",{attrs:{auths:"musicGroupCalenderRefundPeriod/queryCoopCalender"}},[l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.gotoDetail(a.row)}}},[e._v("详情")])],1)],1)]}}])})],1),e._v(" "),l("pagination",{attrs:{sync:"",total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(a){return e.$set(e.rules,"total",a)},"update:page":function(a){return e.$set(e.rules,"page",a)},"update:limit":function(a){return e.$set(e.rules,"limit",a)},pagination:e.getList}})],1)],1)])},n=[],u=l("a8db"),r=(l("386d"),l("db72")),o=l("c80c"),i=(l("96cf"),l("3b8d")),c=(l("bc3a"),l("5f87"),l("333d")),s=l("ed08"),b=(l("3908"),l("92e3")),d=l("adb21"),v=l("3a07"),f=l("99b4"),p=l("4328"),m=l.n(p),h=["backTime","payTime","organId"],E={components:{pagination:c["a"]},data:function(){return{searchForm:{search:null,returnFeeType:null,organId:null,backTime:[],payTime:[],returnFeeFlag:null},backTypeList:b["g"],tableList:[],cooperationList:[],activeRow:null,rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},form:{id:null},resetVisible:!1,amount:0}},created:function(){},mounted:function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.$store.dispatch("setBranchs");case 2:this.init();case 3:case"end":return e.stop()}}),e,this)})));function a(){return e.apply(this,arguments)}return a}(),methods:{init:function(){this.getList()},getList:function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(){var a,l;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(r["a"])(Object(r["a"])({},this.searchForm),{},{page:this.rules.page,rows:this.rules.limit,errorType:this.$route.query.filter_type}),e.prev=1,e.next=4,Object(v["c"])(a);case 4:l=e.sent,this.tableList=l.data.pageInfo.rows,this.rules.total=l.data.pageInfo.total,this.amount=l.data.amount,e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,this,[[1,10]])})));function a(){return e.apply(this,arguments)}return a}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},gotoDetail:function(e){this.$router.push({path:"/financialManager/payschoolList",query:{id:e.cooperationOrganId,name:e.cooperationOrganName}})},exportBack:function(){var e=this.searchForm,a=e.backTime,l=e.payTime,t=e.organId,n=Object(u["a"])(e,h),o=Object(r["a"])(Object(r["a"])(Object(r["a"])({},n),{},{page:this.rules.page,rows:this.rules.limit,organId:t.join(",")},Object(s["b"])(a,["createStartTime","createEndTime"])),Object(s["b"])(l,["payStartTime","payEndTime"]));Object(d["a"])(this,{url:"/api-web/export/userCashAccountLog",fileName:"退费列表.xls",method:"post",params:m.a.stringify(o)},"您确定导出退费列表?")},changeOrgan:function(e){this.searchForm.cooperationId=null}},watch:{"searchForm.organId":function(e){var a=this;e&&Object(f["E"])({organId:e}).then((function(e){200==e.code&&(a.cooperationList=e.data)}))}}},I=E,T=(l("5010"),l("2877")),O=Object(T["a"])(I,t,n,!1,null,"3b5fbb06",null);a["default"]=O.exports},5010:function(e,a,l){"use strict";l("d739")},"92e3":function(e,a,l){"use strict";l.d(a,"u",(function(){return i})),l.d(a,"H",(function(){return c})),l.d(a,"s",(function(){return s})),l.d(a,"c",(function(){return b})),l.d(a,"D",(function(){return d})),l.d(a,"Y",(function(){return v})),l.d(a,"X",(function(){return f})),l.d(a,"d",(function(){return p})),l.d(a,"L",(function(){return m})),l.d(a,"w",(function(){return h})),l.d(a,"ab",(function(){return E})),l.d(a,"t",(function(){return I})),l.d(a,"o",(function(){return T})),l.d(a,"Z",(function(){return O})),l.d(a,"P",(function(){return g})),l.d(a,"cb",(function(){return N})),l.d(a,"db",(function(){return R})),l.d(a,"O",(function(){return y})),l.d(a,"T",(function(){return L})),l.d(a,"B",(function(){return _})),l.d(a,"l",(function(){return A})),l.d(a,"W",(function(){return S})),l.d(a,"bb",(function(){return C})),l.d(a,"I",(function(){return M})),l.d(a,"m",(function(){return G})),l.d(a,"v",(function(){return w})),l.d(a,"M",(function(){return P})),l.d(a,"f",(function(){return U})),l.d(a,"e",(function(){return F})),l.d(a,"K",(function(){return j})),l.d(a,"J",(function(){return k})),l.d(a,"S",(function(){return D})),l.d(a,"G",(function(){return x})),l.d(a,"a",(function(){return H})),l.d(a,"x",(function(){return V})),l.d(a,"p",(function(){return Y})),l.d(a,"n",(function(){return B})),l.d(a,"q",(function(){return $})),l.d(a,"g",(function(){return q})),l.d(a,"F",(function(){return X})),l.d(a,"r",(function(){return z})),l.d(a,"C",(function(){return K})),l.d(a,"A",(function(){return W})),l.d(a,"z",(function(){return J})),l.d(a,"h",(function(){return Q})),l.d(a,"k",(function(){return Z})),l.d(a,"i",(function(){return ee})),l.d(a,"j",(function(){return ae})),l.d(a,"R",(function(){return le})),l.d(a,"N",(function(){return te})),l.d(a,"E",(function(){return ne})),l.d(a,"y",(function(){return ue})),l.d(a,"Q",(function(){return re})),l.d(a,"U",(function(){return oe})),l.d(a,"V",(function(){return ie})),l.d(a,"b",(function(){return se}));var t=l("2d63"),n=l("768b"),u=l("267e"),r=sessionStorage.getItem("tenantConfig");r=r?JSON.parse(r):{};var o=r.tenantId,i=null,c=null;1==o?(c=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],i=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]):(c=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],i=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]);var s=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],b=[{label:"正常签到",value:1},{label:"异常签到",value:0}],d=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],v=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],f=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],p=[].concat(f,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),m=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"MEMBER",label:"会员购买"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"2020双十一活动"},{value:"DOUBLE_ELEVEN2021",label:"2021双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"MALL_BUY",label:"商城销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"ADD_STUDENT",label:"乐团报名"},{value:"REPLACEMENT",label:"乐器置换"},{value:"SCHOOL",label:"学校订单"},{value:"PERSONAL",label:"个人订单"},{value:"OTHER",label:"其他"},{value:"ACTIVITY",label:"活动购买"},{value:"LIVE_BUY",label:"直播购物"},{value:"LIVE_GROUP_BUY",label:"直播课购买"}],h=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],E=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],I=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],T=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],O=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],g=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],N=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],R=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"续费类回访",label:"续费类回访"},{value:"服务回访",label:"服务回访"},{value:"其他",label:"其他"}]},{value:"云教练",label:"云教练",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],y=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],L=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],_=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],A=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],S=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],C=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],M=ce(u["musicGroupType"]),G=ce(u["classTime"]),w=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],P=ce(u["payOrderType"]),U=ce(u["auditType"]),F=ce(u["auditPaymentType"]),j=ce(u["orderServerType"]),k=ce(u["orderAuditType"]),D=ce(u["rewardModeType"]),x=ce(u["musicClassType"]),H=ce(u["ProbationPeriodStatus"]),V=ce(u["downListType"]),Y=ce(u["conclusion"]),B=ce(u["clientType"]),$=ce(u["couponType"]),q=ce(u["backType"]),X=ce(u["memberEnum"]),z=ce(u["coupontypeDetail"]),K=ce(u["issue"]),W=ce(u["feedbackType"]),J=ce(u["feedbackTypeDesc"]),Q=ce(u["campState"]),Z=ce(u["catgGoupType"]),ee=ce(u["catRole"]),ae=ce(u["catType"]),le=ce(u["quiteReason"]),te=ce(u["payUserType"]),ne=ce(u["levelStatus"]),ue=ce(u["evaluateStatus"]),re=ce(u["problemType"]),oe=ce(u["schoolUserType"]),ie=ce(u["shareLiveType"]);function ce(e){var a=[];for(var l in e)a.push({label:e[l],value:l});return a}var se=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],l=Object(n["a"])(a,2),u=l[0],r=l[1],o={};if(e&&e.length){var i,c=Object(t["a"])(e);try{for(c.s();!(i=c.n()).done;){var s=i.value;o[s[u]]=s[r]}}catch(b){c.e(b)}finally{c.f()}}return o}},adb21:function(e,a,l){"use strict";l.d(a,"a",(function(){return c}));var t=l("bc3a"),n=l.n(t),u=(l("4328"),l("5f87")),r=l("3908"),o=l("e3eb"),i=l.n(o),c=function(e,a,l,t){var o=a.url,c={method:a.method?a.method:"get",headers:{Authorization:Object(u["b"])(),tenantId:Object(u["a"])()},url:o,responseType:"blob"};"post"==c.method?c.data=a.params:c.params=a.params,e.$confirm(l||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){r["a"].startLoading(),n()(i()(c)).then((function(l){var n=new Blob([l.data],{type:"application/vnd.ms-excel;charset=utf-8"}),u=new Response(n).text();u.then((function(l){if(-1!=l.indexOf("code")){var u=JSON.parse(l);if(403==u.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==u.code?e.$message.success(u.msg):e.$message.error(u.msg),t&&t()}else{var r=URL.createObjectURL(n),o=document.createElement("a"),i=a.fileName||"导出文件.xls";o.href=r,o.setAttribute("download",i),document.body.appendChild(o),o.click(),t&&t()}})),r["a"].endLoading()})).catch((function(a){console.log(a),e.$message.error("下载失败,请联系管理员"),r["a"].endLoading()}))})).catch((function(){}))}},d739:function(e,a,l){},ed08:function(e,a,l){"use strict";l.d(a,"c",(function(){return r})),l.d(a,"b",(function(){return o})),l.d(a,"a",(function(){return i}));var t=l("bd86"),n=(l("c5f6"),l("28a5"),l("a481"),l("6b54"),l("7618"),l("5a0c")),u=l.n(n);var r=function(e){var a=[];for(var l in e)if(e.hasOwnProperty(l)){var t=e[l],n=l.toLocaleUpperCase();a.push({label:t,value:"TRUE"===n||"FALSE"===n?"TRUE"===n:l})}return a},o=function(e){var a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?(a={},Object(t["a"])(a,l[0]||"start",u()(e[0]).isValid()?u()(e[0]).format(n):""),Object(t["a"])(a,l[1]||"end",u()(e[1]).isValid()?u()(e[1]).format(n):""),a):{}},i=function(e){var a,l,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?"YYYY-MM-DD"===r?(a={},Object(t["a"])(a,n[0]||"start",u()(e[0]).isValid()?u()(e[0]).format(r)+" 00:00:00":""),Object(t["a"])(a,n[1]||"end",u()(e[1]).isValid()?u()(e[1]).format(r)+" 23:59:59":""),a):(l={},Object(t["a"])(l,n[0]||"start",u()(e[0]).isValid()?u()(e[0]).format(r):""),Object(t["a"])(l,n[1]||"end",u()(e[1]).isValid()?u()(e[1]).format(r):""),l):{}}}}]);