1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-18a03e22"],{"09f4":function(e,l,a){"use strict";a.d(l,"a",(function(){return r})),Math.easeInOutQuad=function(e,l,a,t){return e/=t/2,e<1?a/2*e*e+l:(e--,-a/2*(e*(e-2)-1)+l)};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,l,a){var r=u(),o=e-r,c=20,s=0;l="undefined"===typeof l?500:l;var i=function e(){s+=c;var u=Math.easeInOutQuad(s,r,o,l);n(u),s<l?t(e):a&&"function"===typeof a&&a()};i()}},"0a7d":function(e,l,a){"use strict";a.d(l,"a",(function(){return n})),a.d(l,"i",(function(){return u})),a.d(l,"g",(function(){return r})),a.d(l,"c",(function(){return o})),a.d(l,"h",(function(){return c})),a.d(l,"d",(function(){return s})),a.d(l,"e",(function(){return i})),a.d(l,"f",(function(){return b})),a.d(l,"b",(function(){return v})),a.d(l,"j",(function(){return p}));var t=a("829b"),n=(a("4328"),function(e){return Object(t["a"])({url:"/api-web/sysCoupon/add",data:e,method:"post",requestType:"form"})}),u=function(e){return Object(t["a"])({url:"/api-web/sysCoupon/updateCoupon",data:e,method:"post",requestType:"form"})},r=function(e){return Object(t["a"])({url:"/api-web/sysCoupon/queryPage",data:e,params:e,method:"get"})},o=function(e){return Object(t["a"])({url:"/api-web/sysCoupon/delete",data:e,method:"post",requestType:"form"})},c=function(e){return Object(t["a"])({url:"/api-web/sysCouponCode/queryPage",data:e,params:e,method:"get"})},s=function(e){return Object(t["a"])({url:"/api-web/sysCouponIssue/issueCoupon",data:e,method:"post"})},i=function(e){return Object(t["a"])({url:"/api-web/sysCouponIssue/queryIssueRecord",data:e,method:"post"})},b=function(e){return Object(t["a"])({url:"/api-web/sysCouponIssue/queryIssueDetail",data:e,method:"post"})},v=function(e){return Object(t["a"])({url:"/api-web/sysCouponIssue/checkRevoke",data:e,method:"post"})},p=function(e){return Object(t["a"])({url:"/api-web/sysCouponIssue/revokeCoupon",data:e,method:"post"})}},5071:function(e,l,a){"use strict";a.r(l);var t=function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{attrs:{clearable:"",placeholder:"姓名/编号/手机号"},nativeOn:{keyup:function(l){return!l.type.indexOf("key")&&e._k(l.keyCode,"enter",13,l.key,"Enter")?null:function(l){l.target.blur(),e.$refs.searchForm.save(),e.search()}(l)}},model:{value:e.searchForm.search,callback:function(l){e.$set(e.searchForm,"search","string"===typeof l?l.trim():l)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"couponName"}},[a("el-input",{attrs:{placeholder:"优惠券名称"},nativeOn:{keyup:function(l){return!l.type.indexOf("key")&&e._k(l.keyCode,"enter",13,l.key,"Enter")?null:function(l){l.target.blur(),e.$refs.searchForm.save(),e.search()}(l)}},model:{value:e.searchForm.couponName,callback:function(l){e.$set(e.searchForm,"couponName","string"===typeof l?l.trim():l)},expression:"searchForm.couponName"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"paymentOrderId"}},[a("el-input",{attrs:{placeholder:"关联订单号"},nativeOn:{keyup:function(l){return!l.type.indexOf("key")&&e._k(l.keyCode,"enter",13,l.key,"Enter")?null:function(l){l.target.blur(),e.$refs.searchForm.save(),e.search()}(l)}},model:{value:e.searchForm.paymentOrderId,callback:function(l){e.$set(e.searchForm,"paymentOrderId","string"===typeof l?l.trim():l)},expression:"searchForm.paymentOrderId"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"usageStatus"}},[a("el-select",{attrs:{placeholder:"优惠券状态",filterable:"",clearable:""},model:{value:e.searchForm.usageStatus,callback:function(l){e.$set(e.searchForm,"usageStatus","string"===typeof l?l.trim():l)},expression:"searchForm.usageStatus"}},[a("el-option",{attrs:{label:"未使用",value:"0"}}),e._v(" "),a("el-option",{attrs:{label:"已使用",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"已过期",value:"2"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"organId"}},[a("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(l){e.$set(e.searchForm,"organId","string"===typeof l?l.trim():l)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,l){return a("el-option",{key:l,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"issueType"}},[a("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"获取方式"},model:{value:e.searchForm.issueType,callback:function(l){e.$set(e.searchForm,"issueType","string"===typeof l?l.trim():l)},expression:"searchForm.issueType"}},e._l(e.issueList,(function(e,l){return a("el-option",{key:l,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"学生姓名(编号)"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[e._v(e._s(l.row.userName)+"("+e._s(l.row.userId)+")")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",label:"优惠券编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",label:"优惠券类型"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[e._v("\n "+e._s(e._f("couponTypeFilter")(l.row.couponType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponName",label:"优惠券名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"description",label:"描述"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",[a("Tooltip",{attrs:{content:e.row.couponDescription?e.row.couponDescription:""}})],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"code",label:"优惠码"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",label:"关联订单号"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",{staticStyle:{color:"var(--color-primary)",cursor:"pointer"},on:{click:function(a){return e.gotoOrder(l.row.paymentOrderId)}}},[e._v("\n "+e._s(l.row.paymentOrderId)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",width:"160px",label:"有效期"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[a("p",[e._v(e._s(l.row.useStartDate))]),e._v(" "),a("p",[e._v(e._s(l.row.useDeadlineDate))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",width:"100px",label:"获取途径"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[a("p",[e._v(e._s(e._f("issueType")(l.row.issueType)))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",width:"100px",label:"使用时间"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[a("p",[e._v(e._s(l.row.usedTime))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"couponId",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[a("p",[e._v(e._s(e._f("usageStatus")(l.row.usageStatus)))])])]}}])})],1),e._v(" "),a("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(l){return e.$set(e.rules,"total",l)},"update:page":function(l){return e.$set(e.rules,"page",l)},"update:limit":function(l){return e.$set(e.rules,"limit",l)},pagination:e.getList}})],1)],1)])},n=[function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 优惠券明细\n ")])}],u=(a("386d"),a("db72")),r=a("c80c"),o=(a("96cf"),a("3b8d")),c=(a("bc3a"),a("5f87"),a("333d")),s=a("0a7d"),i=a("a5b0"),b=(a("3908"),a("92e3")),v={components:{pagination:c["a"],Tooltip:i["a"]},data:function(){return{issueList:b["C"],searchForm:{search:null,couponName:null,paymentOrderId:null,usageStatus:null,organId:null},tableList:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},created:function(){},mounted:function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["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 l(){return e.apply(this,arguments)}return l}(),methods:{init:function(){this.getList()},getList:function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(){var l;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(s["h"])(Object(u["a"])(Object(u["a"])({},this.searchForm),{},{page:this.rules.page,rows:this.rules.limit}));case 3:l=e.sent,this.tableList=l.data.rows,this.rules.total=l.data.total,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})));function l(){return e.apply(this,arguments)}return l}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){var e=this;this.$nextTick((function(){e.search()}))},gotoOrder:function(e){this.$router.push({name:"income",params:{orderNo:e}})}},filters:{usageStatus:function(e){var l={0:"未使用",1:"已使用",2:"已过期"};return l[e]}}},p=v,d=a("2877"),f=Object(d["a"])(p,t,n,!1,null,"8b1b9f40",null);l["default"]=f.exports},"92e3":function(e,l,a){"use strict";a.d(l,"u",(function(){return c})),a.d(l,"H",(function(){return s})),a.d(l,"s",(function(){return i})),a.d(l,"c",(function(){return b})),a.d(l,"D",(function(){return v})),a.d(l,"Y",(function(){return p})),a.d(l,"X",(function(){return d})),a.d(l,"d",(function(){return f})),a.d(l,"L",(function(){return m})),a.d(l,"w",(function(){return E})),a.d(l,"ab",(function(){return I})),a.d(l,"t",(function(){return h})),a.d(l,"o",(function(){return y})),a.d(l,"Z",(function(){return _})),a.d(l,"P",(function(){return O})),a.d(l,"cb",(function(){return T})),a.d(l,"db",(function(){return N})),a.d(l,"O",(function(){return S})),a.d(l,"T",(function(){return C})),a.d(l,"B",(function(){return R})),a.d(l,"l",(function(){return A})),a.d(l,"W",(function(){return g})),a.d(l,"bb",(function(){return L})),a.d(l,"I",(function(){return w})),a.d(l,"m",(function(){return k})),a.d(l,"v",(function(){return M})),a.d(l,"M",(function(){return G})),a.d(l,"f",(function(){return F})),a.d(l,"e",(function(){return P})),a.d(l,"K",(function(){return U})),a.d(l,"J",(function(){return D})),a.d(l,"S",(function(){return H})),a.d(l,"G",(function(){return x})),a.d(l,"a",(function(){return j})),a.d(l,"x",(function(){return V})),a.d(l,"p",(function(){return $})),a.d(l,"n",(function(){return B})),a.d(l,"q",(function(){return Y})),a.d(l,"g",(function(){return q})),a.d(l,"F",(function(){return X})),a.d(l,"r",(function(){return K})),a.d(l,"C",(function(){return W})),a.d(l,"A",(function(){return z})),a.d(l,"z",(function(){return J})),a.d(l,"h",(function(){return Q})),a.d(l,"k",(function(){return Z})),a.d(l,"i",(function(){return ee})),a.d(l,"j",(function(){return le})),a.d(l,"R",(function(){return ae})),a.d(l,"N",(function(){return te})),a.d(l,"E",(function(){return ne})),a.d(l,"y",(function(){return ue})),a.d(l,"Q",(function(){return re})),a.d(l,"U",(function(){return oe})),a.d(l,"V",(function(){return ce})),a.d(l,"b",(function(){return ie}));var t=a("2d63"),n=a("768b"),u=a("267e"),r=sessionStorage.getItem("tenantConfig");r=r?JSON.parse(r):{};var o=r.tenantId,c=null,s=null;1==o?(s=[{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"}],c=[{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"}]):(s=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],c=[{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 i=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],b=[{label:"正常签到",value:1},{label:"异常签到",value:0}],v=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],p=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],d=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],f=[].concat(d,[{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:"直播课购买"}],E=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],I=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],h=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],y=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],_=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],O=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],T=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],N=[{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:"会员续费"}]}],S=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],C=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],R=[{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:"高三"}],g=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],L=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],w=se(u["musicGroupType"]),k=se(u["classTime"]),M=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],G=se(u["payOrderType"]),F=se(u["auditType"]),P=se(u["auditPaymentType"]),U=se(u["orderServerType"]),D=se(u["orderAuditType"]),H=se(u["rewardModeType"]),x=se(u["musicClassType"]),j=se(u["ProbationPeriodStatus"]),V=se(u["downListType"]),$=se(u["conclusion"]),B=se(u["clientType"]),Y=se(u["couponType"]),q=se(u["backType"]),X=se(u["memberEnum"]),K=se(u["coupontypeDetail"]),W=se(u["issue"]),z=se(u["feedbackType"]),J=se(u["feedbackTypeDesc"]),Q=se(u["campState"]),Z=se(u["catgGoupType"]),ee=se(u["catRole"]),le=se(u["catType"]),ae=se(u["quiteReason"]),te=se(u["payUserType"]),ne=se(u["levelStatus"]),ue=se(u["evaluateStatus"]),re=se(u["problemType"]),oe=se(u["schoolUserType"]),ce=se(u["shareLiveType"]);function se(e){var l=[];for(var a in e)l.push({label:e[a],value:a});return l}var ie=function(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(n["a"])(l,2),u=a[0],r=a[1],o={};if(e&&e.length){var c,s=Object(t["a"])(e);try{for(s.s();!(c=s.n()).done;){var i=c.value;o[i[u]]=i[r]}}catch(b){s.e(b)}finally{s.f()}}return o}}}]);
|