(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2875038c"],{1491:function(e,t,r){"use strict";r.d(t,"B",(function(){return a})),r.d(t,"z",(function(){return o})),r.d(t,"g",(function(){return i})),r.d(t,"C",(function(){return s})),r.d(t,"y",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"r",(function(){return l})),r.d(t,"c",(function(){return d})),r.d(t,"D",(function(){return m})),r.d(t,"a",(function(){return _})),r.d(t,"b",(function(){return f})),r.d(t,"o",(function(){return p})),r.d(t,"p",(function(){return g})),r.d(t,"t",(function(){return h})),r.d(t,"x",(function(){return b})),r.d(t,"w",(function(){return y})),r.d(t,"d",(function(){return v})),r.d(t,"e",(function(){return k})),r.d(t,"n",(function(){return x})),r.d(t,"v",(function(){return w})),r.d(t,"j",(function(){return O})),r.d(t,"s",(function(){return j})),r.d(t,"k",(function(){return L})),r.d(t,"i",(function(){return X})),r.d(t,"h",(function(){return I})),r.d(t,"m",(function(){return z})),r.d(t,"q",(function(){return S})),r.d(t,"A",(function(){return U})),r.d(t,"f",(function(){return C})),r.d(t,"u",(function(){return Q}));var n=r("b775");function a(e){return Object(n["a"])({url:"/orders/get_agent_gift_bag",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/orders/add_list_tag",method:"post",data:e})}function i(e){return Object(n["a"])({url:"/orders/BatchAddTag",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/orders/export_list",method:"get",params:e})}function c(){return Object(n["a"])({url:"/activity/getactivityinfo",method:"get"})}function u(e){return Object(n["a"])({url:"/orders/GetActivityLimit",method:"get",params:e})}function l(e){return Object(n["a"])({url:"/UserImg/GetUserInfo",method:"get",params:e})}function d(e){return Object(n["a"])({url:"/UserImg/AddUserImgInfo",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/UserImg/uploadImage",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/UserImg/AddUpdateImg",method:"get",params:e})}function f(e){return Object(n["a"])({url:"/UserImg/AddUpdateImgB",method:"get",params:e})}function p(e){return Object(n["a"])({url:"/UserImg/GetImgStatus",method:"get",params:e})}function g(e){return Object(n["a"])({url:"/UserImg/GetImgStatusB",method:"get",params:e})}function h(e){return Object(n["a"])({url:"/UserImg/GetUserList",method:"get",params:e})}function b(e){return Object(n["a"])({url:"/UserImg/UpdateUserImgInfoB ",method:"post",data:e})}function y(e){return Object(n["a"])({url:"/UserImg/UpdateUserImgInfo",method:"post",data:e})}function v(e){return Object(n["a"])({url:"/UserImg/AgainCreateImg",method:"get",params:e})}function k(e){return Object(n["a"])({url:"/UserImg/AgainCreateImgB",method:"get",params:e})}function x(e){return Object(n["a"])({url:"/UserImg/GetCrownInfo",method:"get",params:e})}function w(e){return Object(n["a"])({url:"/UserImg/UpdateCrownImgInfo",method:"post",data:e})}function O(e){return Object(n["a"])({url:"/UserImg/DeleteUserImg",method:"get",params:e})}function j(e){return Object(n["a"])({url:"/UserImg/GetUserInfos",method:"get",params:e})}function L(e){return Object(n["a"])({url:"/UserImg/ExportAddress",method:"get",params:e})}function X(e){return Object(n["a"])({url:"/CrownBigGiftInfo",method:"get",params:e})}function I(e){return Object(n["a"])({url:"/BigGiftInfo",method:"get",params:e})}function z(e){return Object(n["a"])({url:"/BigGift/GetApplyList",method:"get",params:e})}function S(e){return Object(n["a"])({url:"/BigGift/GetUserInfo",method:"get",params:e})}function U(e){return Object(n["a"])({url:"/BigGift/editBelongToUser",method:"post",data:e})}function C(e){return Object(n["a"])({url:"/BigGift/ApplySuccess",method:"post",data:e})}function Q(e){return Object(n["a"])({url:"/BigGift/UpdateApply",method:"post",data:e})}},"3d54":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:e.loadingFull,expression:"loadingFull",modifiers:{fullscreen:!0,lock:!0}}]}),e._v(" "),r("div",{staticStyle:{"margin-bottom":"15px"}},[r("el-date-picker",{staticClass:"filter-item",staticStyle:{width:"400px"},attrs:{"value-format":"yyyy-MM-dd HH:mm",format:"yyyy-MM-dd HH:mm",type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.listQuery.time,callback:function(t){e.$set(e.listQuery,"time",t)},expression:"listQuery.time"}}),e._v(" "),r("el-input",{staticClass:"filter-item filter-input",staticStyle:{display:"inline-block",width:"240px"},attrs:{placeholder:"订单编号"},nativeOn:{keydown:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.listQuery.page_index=1,e.getList()}},model:{value:e.listQuery.order_no,callback:function(t){e.$set(e.listQuery,"order_no",t)},expression:"listQuery.order_no"}}),e._v(" "),r("el-input",{staticClass:"filter-item filter-input",staticStyle:{display:"inline-block",width:"240px"},attrs:{placeholder:"备注昵称/姓名/手机号"},nativeOn:{keydown:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.listQuery.page_index=1,e.getList()}},model:{value:e.listQuery.search_name,callback:function(t){e.$set(e.listQuery,"search_name",t)},expression:"listQuery.search_name"}}),e._v(" "),r("el-select",{model:{value:e.listQuery.store_id,callback:function(t){e.$set(e.listQuery,"store_id",t)},expression:"listQuery.store_id"}},[r("el-option",{attrs:{label:"全部",value:""}}),e._v(" "),e._l(e.storeList,(function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],2),e._v(" "),r("el-select",{staticStyle:{width:"400px"},model:{value:e.listQuery.activity_id,callback:function(t){e.$set(e.listQuery,"activity_id",t)},expression:"listQuery.activity_id"}},[r("el-option",{attrs:{label:"全部",value:""}}),e._v(" "),e._l(e.activitys,(function(e){return r("el-option",{key:e.id,attrs:{label:e.title,value:e.id}})}))],2),e._v(" "),r("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(t){e.listQuery.page_index=1,e.getList()}}},[e._v("搜索")]),e._v(" "),r("el-popover",{attrs:{placement:"bottom",width:"350",trigger:"hover"}},[r("el-button",{attrs:{type:"primary"},on:{click:e.exportOrder}},[e._v("订单明细")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.exporOrdertOrder}},[e._v("拆单明细")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.exportMoney}},[e._v("订单金额")]),e._v(" "),r("el-button",{staticClass:"filter-item",attrs:{slot:"reference",type:"primary",loading:e.downloadLoading,icon:"el-icon-document"},slot:"reference"},[e._v("导出")])],1)],1),e._v(" "),r("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#f8fbfc"},border:"",stripe:""},on:{"selection-change":e.orderMulSelect}},[r("el-table-column",{attrs:{type:"selection",width:"50",align:"center","show-overflow-tooltip":!0}}),e._v(" "),r("el-table-column",{attrs:{prop:"order_num",label:"订单编号",width:"210"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[r("el-button",{attrs:{type:"text"},on:{click:function(t){return e.toOrderWxamine(n)}}},[e._v(e._s(n.order_num))]),e._v(" "),r("br"),e._v(" "),1===n.order_type?r("p",{staticClass:"tag sub-tag"},[e._v("代下单")]):e._e(),e._v(" "),1===n.is_back?r("p",{staticClass:"tag return-tag"},[e._v("退回")]):e._e()]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"get_user",label:"备注昵称",align:"center",width:"150","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v(e._s(r.get_user.name))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"get_user",label:"下单人姓名",align:"center",width:"120","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v(e._s(r.get_user.realname))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"created_at",align:"center",label:"下单时间",width:"160","show-overflow-tooltip":!0}}),e._v(" "),r("el-table-column",{attrs:{prop:"status",align:"center",label:"订单状态",width:"110","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,a=n.is_deleted,o=n.status;return[1===a?r("el-tag",{attrs:{type:"info"}},[e._v("已作废")]):r("el-tag",{staticStyle:{color:"#ffffff"},attrs:{color:e.orderStatus(o).color}},[e._v(e._s(e.orderStatus(o).name))])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"get_store",label:"体验店订单",width:"150",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row.get_store;return r("span",{},[e._v(e._s(n&&n.name||""))])}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"pay_status",align:"center",label:"支付状态",width:"90","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[r("span",{style:"color: "+e.payStatus(n.pay_status).color},[e._v(e._s(e.payStatus(n.pay_status).name))])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"total",label:"数量合计",align:"center",width:"80","show-overflow-tooltip":!0}}),e._v(" "),r("el-table-column",{attrs:{prop:"money",label:"订单总额",align:"censtoreter",width:"120","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v(e._s("¥"+r.money))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"get_address",label:"收货人",align:"center",width:"120","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v(e._s(r.get_address&&r.get_address.username))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"get_address",label:"联系方式",align:"center",width:"120","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[e._v(e._s(r.get_address&&r.get_address.mobile))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"get_address",label:"收货地址",align:"center",width:"200","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row.get_address;return[e._v(e._s(r&&r.province+r.city+r.town+r.address))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"remark",label:"订单备注",align:"center",width:"160","show-overflow-tooltip":!0}})],1),e._v(" "),r("pagination",{attrs:{total:e.tableTotal,limit:e.listQuery.page_size,page:e.listQuery.page_index},on:{pagination:e.changePagination,"update:limit":e.changePagination}}),e._v(" "),r("el-dialog",{attrs:{title:"导出数据",visible:e.export_order,width:"520px"},on:{"update:visible":function(t){e.export_order=t}}},[r("el-form",{attrs:{"label-width":"120"}},[r("el-form-item",{attrs:{label:"导出类型"}},[r("el-button",{attrs:{type:"primary"},on:{click:e.exportOrder}},[e._v("订单明细")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.exporOrdertOrder}},[e._v("拆单明细")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.exportMoney}},[e._v("订单金额")])],1)],1)],1)],1)},a=[],o=(r("28a5"),r("ac6a"),r("456d"),r("7f7f"),r("c7eb")),i=(r("96cf"),r("1da1")),s=r("b775");function c(e){return Object(s["a"])({url:"/orders/order_store",method:"get",params:e})}function u(e){return Object(s["a"])({url:"/orders/order_store_excel",method:"get",params:e})}function l(e){return Object(s["a"])({url:"/data/orderStoreBreakUpCourier",method:"get",params:e})}function d(e){return Object(s["a"])({url:"/data/order_store_list_down",method:"get",params:e})}var m=r("0bbe"),_=r("44f1"),f=r("8975"),p=r("1491"),g={"订单编号":"","下单时间":"","所属客服":"","寄件人":"大卫博士","联系方式":"4006867733","发件人详细地址":"河南省郑州市经开区","备注昵称":"","下单人姓名":"","下单人手机号":"","收件人":"","电话":"","收件人省":"","收件人市":"","收件人区":"","收件人街道地址":"",L:"",XL:"",XXL:"",XXXL:"","4XL":"","5XL":"","女M":"","女L":"","女XL":"","女XXL":"","女XXXL":"","女4XL":"","数据求和":"","所属":"","备注":"","赠品":"","快递单号":"","快递公司":"","快递公司代码":"","发货状态":""},h={data:function(){return{roles:this.$route.meta.buttonAuthList?this.$route.meta.buttonAuthList:[],authList:this.$route.meta.authList,loadingFull:!1,downloadLoading:!1,export_order:!1,listQuery:{order_no:"",page_index:1,page_size:20,time:"",search_name:"",store_id:"",activity_id:""},expressData:[],storeList:[],tableList:[],tableTotal:0,chooseList:[],activitys:[]}},created:function(){var e=this;this.orderStatus=_["d"],this.payStatus=_["f"],this.getStore(),this.activityList((function(){e.getList()}))},methods:{toOrderWxamine:function(e){this.$router.push({name:"order_examine",params:{order:e.order_num}})},getList:function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(){var t,r,n,a,i,s,u,l,d=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loadingFull=!0,t=this.listQuery,r=t.page_index,n=t.page_size,a=t.order_no,i=t.search_name,s=t.store_id,u=t.time,l=t.activity_id,e.next=4,c({page_index:r,page_size:n,order_no:a,search_name:i,store_id:s,activity_id:l,start_time:u&&u.length>0?u[0]:"",end_time:u&&u.length>0?u[1]:""}).then((function(e){d.loadingFull=!1,200===e.code?(d.tableList=e.data.list,d.tableTotal=e.data.total):d.$message.error(e.message)})).catch((function(e){d.loadingFull=!1}));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getStore:function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(){var t=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loadingFull=!0,e.next=3,Object(m["t"])().then((function(e){t.loadingFull=!1,200===e.code&&(t.storeList=e.data.list)})).catch((function(e){t.loadingFull=!1}));case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),changePagination:function(e){var t=e.page,r=e.limit;this.listQuery.page_size=r,this.listQuery.page_index=t,this.getList()},exportMoney:function(){var e=this;if(this.chooseList.length)this.$request(d({id:this.chooseList.map((function(e){return e.id}))}),(function(t){var n=t.list;Promise.all([r.e("chunk-5bdd67a2"),r.e("chunk-2c21b5a5")]).then(r.bind(null,"4bf8d")).then((function(t){var r=["序号","订单编号","下单时间","所属客服","备注昵称","下单人姓名","订单状态","支付状态","数量合计","订单总额","所属者姓名","所属者手机号","所属体验店","收货人","联系方式","收货地址","订单备注"],a=["index","order_num","created_at","admin_name","nickname","realname","status","pay_status","total","money","belong_realname","belong_mobile","get_store","username","mobile","address","remark"],o=n.map((function(e,t){var r={index:t+1,created_at:e.created_at||"",admin_name:e.get_user&&e.get_user.warea&&e.get_user.warea.admin_name,nickname:e.get_user.nickname||"",realname:e.get_user.realname||"",order_num:e.order_num||"",get_store:e.get_store&&e.get_store.name,status:Object(_["d"])(e.status).name||"",pay_status:Object(_["f"])(e.pay_status).name,total:e.total||"",money:e.money||"",username:e.get_address.username||"",mobile:+e.get_address.mobile,belong_realname:e.belong_user&&e.belong_user.realname,belong_mobile:e.belong_user&&e.belong_user.mobile,address:e.get_address.province+e.get_address.city+e.get_address.town+e.get_address.address,remark:e.remark||""};return r})),i=o.map((function(e){return a.map((function(t){return e[t]}))}));t.export_json_to_excel({header:r,data:i,filename:"".concat(Object(f["formatter"])(new Date,"yyyy-MM-dd"),"订单金额"),autoWidth:!0,bookType:"xlsx"}),e.export_order=!1}))}));else{if(0===this.tableList.length)return this.$message.error("没有可导出的数据"),!1;var t={};if(this.highSearchFlag){var n,a;try{n=this.$refs.status_tree.getCheckedKeys(),-1!==n.indexOf(-1)&&(n=[-1]),a=this.$refs.pay_status_tree.getCheckedKeys(),-1!==a.indexOf(-1)&&(a=[-1])}catch(S){n=[],a=[]}var o=this.exportForm,i=o.page_index,s=o.page_size,c=o.order_num,u=o.time,l=o.name,m=o.address,p=o.good,g=o.type,h=o.provice,b=o.city,y=o.area,v=o.activity_id;t={page_index:i,page_size:s,order_no:c,start_time:u.length>0?u[0]:"",end_time:u.length>0?u[1]:"",user_name:l,receive_info:m,goods_info:p,order_status:n,pay_status:a,order_type:g,provice:h||"",city:b||"",area:y||"",activity_id:v}}else{var k=this.listQuery,x=k.order_status,w=k.order_no,O=k.page_index,j=k.page_size,L=k.store_id,X=k.search_name,I=k.time,z=k.activity_id;t={order_status:x,order_no:w,page_index:O,page_size:j,search_name:X,store_id:L,start_time:I.length>0?I[0]:"",end_time:I.length>0?I[1]:"",activity_id:z}}this.$request(d(t),(function(t){var n=t.list;Promise.all([r.e("chunk-5bdd67a2"),r.e("chunk-2c21b5a5")]).then(r.bind(null,"4bf8d")).then((function(t){var r=["序号","订单编号","下单时间","所属客服","备注昵称","下单人姓名","订单状态","支付状态","数量合计","订单总额","所属者姓名","所属者手机号","所属体验店","收货人","联系方式","收货地址","订单备注"],a=["index","order_num","created_at","admin_name","nickname","realname","status","pay_status","total","money","belong_realname","belong_mobile","get_store","username","mobile","address","remark"],o=n.map((function(e,t){var r={index:t+1,created_at:e.created_at||"",order_num:e.order_num,get_store:e.get_store&&e.get_store.name,admin_name:e.get_user&&e.get_user.warea&&e.get_user.warea.admin_name,nickname:e.get_user.nickname||"",realname:e.get_user.realname||"",status:Object(_["d"])(e.status).name||"",pay_status:Object(_["f"])(e.pay_status).name,total:e.total||"",money:e.money||"",username:e.get_address.username||"",mobile:+e.get_address.mobile,belong_realname:e.belong_user&&e.belong_user.realname,belong_mobile:e.belong_user&&e.belong_user.mobile,address:e.get_address.province+e.get_address.city+e.get_address.town+e.get_address.address,remark:e.remark||""};return r})),i=o.map((function(e){return a.map((function(t){return e[t]}))}));t.export_json_to_excel({header:r,data:i,filename:"".concat(Object(f["formatter"])(new Date,"yyyy-MM-dd"),"订单金额"),autoWidth:!0,bookType:"xlsx"}),e.export_order=!1}))}))}},exportOrder:function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(){var t,n,a,i,s,c,l,d,m;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.chooseList.length){e.next=5;break}this.$request(u({id:this.chooseList.map((function(e){return e.id}))}),(function(e){var t=e.list;Promise.all([r.e("chunk-5bdd67a2"),r.e("chunk-2c21b5a5")]).then(r.bind(null,"4bf8d")).then((function(e){e.export_json_to_excel({header:Object.keys(t[0]),data:t.map((function(e){return Object.keys(t[0]).map((function(t){return e[t]}))})),filename:"".concat(Object(f["formatter"])(new Date,"yyyy-MM-dd"),"订单"),bookType:"xlsx"})}))})),this.export_order=!1,e.next=13;break;case 5:if(0!==this.tableList.length){e.next=8;break}return this.$message.error("没有可导出的数据"),e.abrupt("return",!1);case 8:t={},n=this.listQuery,a=n.order_no,i=n.page_index,s=n.page_size,c=n.search_name,l=n.time,d=n.store_id,m=n.activity_id,t={order_no:a,page_index:i,page_size:s,search_name:c,store_id:d,start_time:l.length>0?l[0]:"",end_time:l.length>0?l[1]:"",activity_id:m},this.$request(u(t),(function(e){var t=e.list;Promise.all([r.e("chunk-5bdd67a2"),r.e("chunk-2c21b5a5")]).then(r.bind(null,"4bf8d")).then((function(e){e.export_json_to_excel({header:Object.keys(t[0]),data:t.map((function(e){return Object.keys(t[0]).map((function(t){return e[t]}))})),filename:"".concat(Object(f["formatter"])(new Date,"yyyy-MM-dd"),"体验店订单"),bookType:"xlsx"})}))})),this.export_order=!1;case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),exporOrdertOrder:function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(){var t,n,a,i,s,c,u,d,m,_,f,p,h,b,y,v,k,x,w,O,j,L,X,I,z,S,U=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.chooseList.length){e.next=4;break}this.$request(l({id:this.chooseList.map((function(e){return e.id}))}),(function(e){U.expressData=e;var t=U.getExportModule();console.log(t),Promise.all([r.e("chunk-5bdd67a2"),r.e("chunk-2c21b5a5")]).then(r.bind(null,"4bf8d")).then((function(e){e.export_json_to_excel({header:Object.keys(g),data:t.map((function(e){return Object.keys(t[0]).map((function(t){return e[t]}))})),filename:"".concat((new Date).toLocaleDateString(),"快递单导出"),bookType:"xlsx",isCSV:!0}),U.export_order=!1}))})),e.next=10;break;case 4:if(0!==this.tableList.length){e.next=7;break}return this.$message.error("没有可导出的数据"),e.abrupt("return",!1);case 7:if(t={},this.highSearchFlag){try{f=this.$refs.status_tree.getCheckedKeys(),-1!==f.indexOf(-1)&&(f=[-1]),p=this.$refs.pay_status_tree.getCheckedKeys(),-1!==p.indexOf(-1)&&(p=[-1])}catch(o){f=[],p=[]}h=this.exportForm,b=h.page_index,y=h.page_size,v=h.order_num,k=h.time,x=h.name,w=h.address,O=h.good,j=h.type,L=h.provice,X=h.city,I=h.area,z=h.activity_id,S=h.store_id,t={page_index:b,page_size:y,store_id:S,order_no:v,start_time:k.length>0?k[0]:"",end_time:k.length>0?k[1]:"",user_name:x,receive_info:w,goods_info:O,order_status:f,pay_status:p,order_type:j,provice:L||"",city:X||"",area:I||"",activity_id:z}}else n=this.listQuery,a=n.order_status,i=n.order_no,s=n.page_index,c=n.page_size,u=n.search_name,d=n.time,m=n.activity_id,_=n.store_id,t={order_status:a,order_no:i,page_index:s,page_size:c,search_name:u,store_id:_,start_time:d.length>0?d[0]:"",end_time:d.length>0?d[1]:"",activity_id:m};this.$request(l(t),(function(e){U.expressData=e;var t=U.getExportModule();Promise.all([r.e("chunk-5bdd67a2"),r.e("chunk-2c21b5a5")]).then(r.bind(null,"4bf8d")).then((function(e){e.export_json_to_excel({header:Object.keys(g),data:t.map((function(e){return Object.keys(t[0]).map((function(t){return e[t]}))})),filename:"".concat((new Date).toLocaleDateString(),"快递单导出"),bookType:"xlsx",isCSV:!0}),U.export_order=!1}))}));case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getExportModule:function(){var e=this.expressData,t=[];for(var r in e){var n=e[r],a=n.data,o=0,i=0,s=0,c=0;while(o