提交 7cfbe339 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

上级 5c69d9c1
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport><link rel=icon type=image/x-icon href=./static/favicon.ico><link rel=stylesheet href=//at.alicdn.com/t/font_1586872_yhll0m2jcs.css><title>EDS供货商</title><link href=/static/css/app.78237847f6c83f3c354114688193c8ab.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.7d138ce09293b559e122.js></script><script type=text/javascript src=/static/js/vendor.02a8d01969b52bb78b9a.js></script><script type=text/javascript src=/static/js/app.6c88485738f178dfa228.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport><link rel=icon type=image/x-icon href=./static/favicon.ico><link rel=stylesheet href=//at.alicdn.com/t/font_1586872_yhll0m2jcs.css><title>EDS供货商</title><link href=/static/css/app.62556b3d72455819fde5f9ac3c5a980c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.ce6ce250fafdef5a6f4e.js></script><script type=text/javascript src=/static/js/vendor.02a8d01969b52bb78b9a.js></script><script type=text/javascript src=/static/js/app.e647228d38e85cf56243.js></script></body></html>
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob
因为 它太大了无法显示 源差异 。您可以改为 查看blob
webpackJsonp([2],{"9jL7":function(e,t){},BU7Z:function(e,t){},JIEa:function(e,t,a){"use strict";var n=a("//Fk"),r=a.n(n),o=a("Zrlr"),i=a.n(o),c=a("wxAW"),s=a.n(c),p=function(){function e(t){i()(this,e),this.file=null,this.file=t}return s()(e,[{key:"vSize",value:function(e){return{result:this.file.size/1024<e,msg:"请上传"+e+"K以内的文件"}}},{key:"vImgPercentage",value:function(e,t){var a=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,o=this;return new r.a(function(r,i){a.vIsImage()?o.vOnload().then(function(a){var o=a.width/a.height,i=a.width,c=a.height,s=Math.abs(e/t-i/c)<n;r({result:s,w:e,h:t,imgW:i,imgH:c,tolerant:n,percentage:o,code:1,msg:s?null:"请上传正确比例的图片"})}).catch(function(e){r(a._returnErr(e))}):r(a._returnErr())})}},{key:"vImgW",value:function(e){return this.vImgWH(e)}},{key:"vImgH",value:function(e){return this.vImgWH(null,e)}},{key:"vImgWH",value:function(e,t){var a=this,n=this;return new r.a(function(r,o){a.vIsImage()?n.vOnload().then(function(a){var n,o=a.width,i=a.height,c="";c=e&&t?"请上传"+e+"*"+t+"像素的图片格式文件":e&&!t?"请上传宽度为"+e+"像素的图片":!e&&t?"请上传高度为"+t+"像素的图片":"请按要求上传图片",n=e&&t?e==o&&t==i:e?e==a.width:t==a.height,r({result:n,w:e,h:t,imgW:o,imgH:i,code:1,msg:n?null:c})}).catch(function(e){r(a._returnErr(e))}):r(a._returnErr())})}},{key:"vIsImage",value:function(){return{result:-1!=this.file.type.indexOf("image/")}}},{key:"vIsVideo",value:function(){return{result:-1!=this.file.type.indexOf("video/")}}},{key:"vExt",value:function(e){var t="[object Array]"===Object.prototype.toString.call(e)?e:[e],a=/\.[^\.]+$/.exec(this.file.name)[0].replace(".","");return{result:t.indexOf(a)>-1}}},{key:"vOnload",value:function(){var e,t=window.URL||window.webkitURL;return(e=new Image).src=t.createObjectURL(this.file),new r.a(function(t,a){e.onload=function(){t(e)},e.onerror=function(){a("图片加载失败")}})}},{key:"_returnErr",value:function(e){return{result:!1,msg:e||"请按要求上传文件",code:0}}}]),e}();t.a=p},M93x:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("oAV5"),r={name:"App",data:function(){return{isRouterAlive:!0,brandId:""}},provide:function(){return{reload:this.reload}},watch:{$route:function(e,t){if(Object(n.i)("info")){var a=Object(n.i)("info").brandId;this.brandId=a}}},mounted:function(){},methods:{init:function(){this.$axios.get("/account/renovateBrand?brandId="+this.brandId).then(function(e){var t=e.data,a=t.code,n=t.data;200==a&&(localStorage.setItem("priceformulaId",n.priceformulaId||null),localStorage.setItem("actSw",n.actSw),localStorage.setItem("allowCustomActDate",n.allowCustomActDate||null),localStorage.setItem("isCustomPriceMode",n.isCustomPriceMode||0))})},reload:function(){this.isRouterAlive=!1,this.$nextTick(function(){this.isRouterAlive=!0})}}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[this.isRouterAlive?t("router-view"):this._e()],1)},staticRenderFns:[]};var i=a("VU/8")(r,o,!1,function(e){a("9jL7"),a("BU7Z")},null,null);t.default=i.exports},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("7+uW"),r=a("M93x"),o=a("Gu7T"),i=a.n(o),c=a("/ocq"),s=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},p=[{path:"/order/orderlist/:type?",name:"/order/orderlist",component:s("pages/order/orderlist"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/ad/advertisementList/:type?",name:"/ad/advertisementList",component:s("pages/order/advertisementList"),meta:{title:"广告",breadcrumb:["广告","广告列表"],keepAlive:!0,isBack:!1}},{path:"/ad/myAdvertisement",name:"/ad/myAdvertisement",component:s("pages/order/myAdvertisement"),meta:{title:"广告",breadcrumb:["广告","我的广告"],keepAlive:!0,isBack:!1}},{path:"/order/frmOrderDetail",name:"/order/frmOrderDetail",component:s("pages/order/frmOrderDetail"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","订单列表","订单详情"]}},{path:"/order/refundProcessing",name:"/order/refundProcessing",component:s("pages/order/refundProcessing"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","退款订单处理"]}},{path:"/order/orderlistself/",name:"/order/orderlistself",component:s("pages/order/orderlistself"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/saomafu",name:"/order/saomafu",component:s("pages/order/SaoMaFu"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/frdsaomafu",name:"/order/frdsaomafu",component:s("pages/order/frmOrderDetailSaomafu"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","扫码付订单","扫码付订单详情"]}},{path:"/order/frmOrderDetailBrand",name:"/order/frmOrderDetailBrand",component:s("pages/order/frmOrderDetailBrand"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","订单列表","共享中心订单详情"]}},{path:"/order/orderlistbrand/:type?",name:"/order/orderlistbrand",component:s("pages/order/orderlistbrand"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/orderlistashop",name:"/order/orderlistashop",component:s("pages/order/orderlistAshop"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/frdashop",name:"/order/frdashop",component:s("pages/order/frmOrderDetailAshop"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","订单列表","A店合同详情"]}},{path:"/printorder",component:s("pages/order/component/PrintOrder"),meta:{title:"打印订单",breadcrumb:["订单","打印订单"]}},{path:"/aftersale/index",component:s("pages/afterSale/index"),meta:{title:"订单",breadcrumb:["订单","售后/投诉"]}},{path:"/aftersale/details",component:s("pages/afterSale/details"),meta:{title:"订单",breadcrumb:["订单","售后/投诉"]}},{path:"/aftersale/indexsale",component:s("pages/afterSale/indexSale"),meta:{title:"订单",breadcrumb:["订单","售后"]}},{path:"/aftersale/detailsale",component:s("pages/afterSale/detailSale"),meta:{title:"订单",breadcrumb:["订单","售后详情"]}}],u=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},m=[{path:"/goods/goodslist",component:u("pages/goods/goodslist"),meta:{title:"商品管理",breadcrumb:["商品管理","列表"]}},{path:"/goods/list",component:u("pages/goods/list"),meta:{title:"商品管理",breadcrumb:["商品管理","商品列表"],keepAlive:!0,isBack:!1}},{path:"/goods/details",component:u("pages/goods/details"),meta:{title:"商品管理",breadcrumb:[{name:"返回上一级",goback:"back"},"商品管理","商品列表","商品详情"]}},{path:"/goods/template",component:u("pages/goods/template"),meta:{title:"商品管理",breadcrumb:["商品管理","商品列表","新建商品"]}},{path:"/goods/newProduct",component:u("pages/goods/newProduct"),meta:{title:"商品管理",breadcrumb:[{name:"返回上一级",goback:"back"},"商品管理","商品列表","编辑商品详情"]}},{path:"/goods/listold",component:u("pages/goods/listold"),meta:{title:"商品管理",breadcrumb:["商品管理","旧数据迁移仓库列表"]}},{path:"/goods/templateold",component:u("pages/goods/templateold"),meta:{title:"商品管理",breadcrumb:["商品管理","旧数据迁移仓库列表","新建商品"]}},{path:"/goods/newProductold",component:u("pages/goods/newProductOldData"),meta:{title:"商品管理",breadcrumb:["商品管理","旧数据迁移仓库","编辑商品详情"]}},{path:"/goods/detailsold",component:u("pages/goods/detailsold"),meta:{title:"商品管理",breadcrumb:["商品管理","商品列表","商品详情"]}},{path:"/goods/warnstock",component:u("pages/goods/warnStock"),meta:{title:"商品管理",breadcrumb:["商品管理","库存管理"],keepAlive:!0,isBack:!1}},{path:"/goods/seckill",component:u("pages/goods/seckill"),meta:{title:"商品管理",breadcrumb:["专区管理","秒杀专区"],keepAlive:!0,isBack:!1}},{path:"/goods/xinPin",component:u("pages/goods/xinPin"),meta:{title:"商品管理",breadcrumb:["专区管理","新品专区"],keepAlive:!0,isBack:!1}}],d=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},l=[{path:"/marketing/shoprenovation",component:d("pages/marketing/shop/shopRenovation"),meta:{title:"营销推广",breadcrumb:["营销推广","店铺管理","店铺装修"],noToTop:!0}},{path:"/marketing/preview",component:d("pages/marketing/shop/preview"),meta:{title:"营销推广",breadcrumb:[{name:"返回店铺管理",path:"/marketing/shoprenovation"},"店铺预览"],hideSidebar:!0}},{path:"/marketing/brandintroduce",component:d("pages/marketing/shop/brand/introduce"),meta:{title:"营销推广",breadcrumb:["营销推广","店铺管理","品牌介绍"]}},{path:"/marketing/planadd",component:d("pages/marketing/shop/brand/planAdd"),meta:{title:"营销推广",breadcrumb:["营销推广","店铺管理","编辑方案"]}},{path:"/marketing/advert",component:d("pages/marketing/advert/adList"),meta:{title:"营销推广",breadcrumb:["营销推广","广告服务","广告管理"]}},{path:"/marketing/adedit",component:d("pages/marketing/advert/adEdit"),meta:{title:"营销推广",breadcrumb:["营销推广","广告管理","我的广告","广告编辑"]}},{path:"/marketing/admalledit",component:d("pages/marketing/advert/adMallEdit"),meta:{title:"营销推广",breadcrumb:["营销推广","广告管理","广告商城","广告编辑"]}},{path:"/marketing/coupon",component:d("pages/marketing/tools/coupon"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","优惠券"]}},{path:"/marketing/pay",component:d("pages/marketing/tools/pay"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","EDS扫码付"]}},{path:"/marketing/ziyuanwei",component:d("pages/marketing/tools/ziyuanwei"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","推广资源位"]}},{path:"/goods/productdetails",component:d("pages/goods/ProductDetails"),meta:{title:"商品详情",breadcrumb:[{name:"返回上一级",goback:"back"},"商品","商品详情"]}},{path:"/marketing/addcoupon",component:d("pages/marketing/tools/addcoupon"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","新增优惠券"]}},{path:"/marketing/coupondetails",component:d("pages/marketing/tools/couponDetails"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","优惠券详情"]}},{path:"/marketing/msn",component:d("pages/marketing/tools/msn"),meta:{title:"订阅号服务",breadcrumb:["营销推广","信息管理","订阅号服务"]}},{path:"/marketing/holiday",component:d("pages/marketing/info/holiday"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","放假通知"]}},{path:"/marketing/stock",component:d("pages/marketing/info/stock"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","库存预警"]}},{path:"/marketing/service",component:d("pages/marketing/info/service"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","店铺客服"]}},{path:"/marketing/message",component:d("pages/marketing/info/message"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","消息通知"]}},{path:"/marketing/soft",component:d("pages/marketing/download/soft"),meta:{title:"营销推广",breadcrumb:["营销推广","工具下载"]}},{path:"/marketing/salerank",component:d("pages/marketing/statistics/saleRank"),meta:{title:"营销推广",breadcrumb:["营销推广","销售排行"]}},{path:"/marketing/report",component:d("pages/marketing/statistics/report"),meta:{title:"营销推广",breadcrumb:["营销推广","运营数据报告"]}},{path:"/marketing/printreport",component:d("pages/marketing/statistics/printReport"),meta:{title:"营销推广",breadcrumb:[],noToTop:!0,hideSidebar:!0,isBackTran:!0}},{path:"/marketing/salerankad",component:d("pages/marketing/statistics/saleRankAd"),meta:{title:"营销推广",breadcrumb:[],noToTop:!0,hideSidebar:!0,isBackTran:!0}},{path:"/marketing/activityMall",component:d("pages/marketing/activity/activityMall"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"]}},{path:"/marketing/activityMall-act",component:d("pages/marketing/activityCopy/activityMall"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"],actName:"/marketing/brandActivity"}},{path:"/marketing/brandActivity",component:d("pages/marketing/brandActivity/index"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","品牌活动"]}},{path:"/marketing/salesOverview",component:d("pages/marketing/sales/salesOverview"),meta:{title:"数据分析",breadcrumb:["数据分析","售后总览"]}}],h=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},g=[{path:"/checking/order",component:h("pages/checking/order"),meta:{title:"财务对账",breadcrumb:["财务对账","订单流水"]}},{path:"/checking/record",component:h("pages/checking/record"),meta:{title:"财务对账",breadcrumb:["财务对账","提现记录"]}},{path:"/checking/showzhifubao",component:h("pages/checking/showzhifubao"),meta:{title:"财务对账",breadcrumb:["财务对账","我的支付宝"]}},{path:"/checking/setpassword",component:h("pages/checking/setPassword"),meta:{title:"财务对账",breadcrumb:["财务对账","设置提现密码"]}},{path:"/checking/withdraw",component:h("pages/checking/withdraw"),meta:{title:"财务对账",breadcrumb:["财务对账","提现"]}}],b=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},f=[{path:"/supplierhelp/:id?",component:b("pages/help/supplierhelp"),meta:{title:"供应商帮助",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","供应商帮助"]}},{path:"/help/exvip",component:b("pages/help/exVip"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","E淘工厂权益升级"]}},{path:"/help/exshort",component:b("pages/help/exshort"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","桌面快捷方式说明"]}},{path:"/help/exproducts",component:b("pages/help/exproducts"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","关于商品说明"]}},{path:"/help/exsalearea",component:b("pages/help/exsalearea"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","可售区域"]}},{path:"/help/exprice",component:b("pages/help/exprice"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","价格说明"]}},{path:"/help/exstock",component:b("pages/help/exstock"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","库存说明"]}},{path:"/help/exdelivery",component:b("pages/help/exdelivery"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","交货期说明"]}},{path:"/help/exrecommend",component:b("pages/help/exrecommend"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","商品推荐设置说明"]}},{path:"/help/exvideo",component:b("pages/help/exvideo"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","视频说明"]}},{path:"/help/productImg",component:b("pages/help/productImg"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","商品图片规范说明"]}},{path:"/help/logouser",component:b("pages/help/logouser"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","E淘Logo使用规范"]}},{path:"/help/feedback",component:b("pages/help/feedBackList"),meta:{title:"反馈管理",breadcrumb:["反馈管理","功能反馈"]}},{path:"/help/feedbackadd",component:b("pages/help/feedBackadd"),meta:{title:"反馈管理",breadcrumb:["反馈管理",{name:"功能反馈",path:"/help/feedback"},"我要反馈"]}}],v=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},k=[{path:"/exshort",component:v("pages/exshort"),meta:{title:"桌面快捷方式说明",unRequiresAuth:!0}},{path:"/pt",component:v("pages/others/platform"),meta:{title:"平台介绍",unRequiresAuth:!0}},{path:"/brand",component:v("pages/others/brand"),meta:{title:"品牌共享",unRequiresAuth:!0}},{path:"/joinin",component:v("pages/others/joinin"),meta:{title:"招聘加盟",unRequiresAuth:!0}},{path:"/ashop",component:v("pages/others/ashop"),meta:{title:"E淘A店",unRequiresAuth:!0}}];n.default.use(c.a);var w=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},y=new c.a({mode:"history",routes:[{path:"/",redirect:"/home"},{path:"/home",component:w("components/Home"),meta:{},children:[{path:"/",name:"index",component:w("pages/Index"),meta:{title:"首页",breadcrumb:[],hideSidebar:!0,isBackTran:!0}},{path:"/404",component:w("pages/404"),meta:{title:"404",hideSidebar:!0}},{path:"/salesRankingService",component:w("pages/marketing/statistics/salesRankingService"),meta:{title:"开通品牌销售排行服务",hideSidebar:!0}},{path:"/marketing/AddActivityProduct",component:w("pages/marketing/activity/model/AddActivityProduct"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"]}},{path:"/marketing/ziyuanweiDetails",component:w("pages/marketing/tools/ziyuanweiDetails"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"]}},{path:"/marketing/AddActivityProduct-act",component:w("pages/marketing/activityCopy/model/AddActivityProduct"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"],actName:"/marketing/brandActivity"}},{path:"/marketing/salesOverview",component:w("pages/marketing/sales/salesOverview"),meta:{isShow:!0,title:"数据分析",breadcrumb:["数据分析","售后总览"]}}].concat(i()(p),i()(m),i()(l),i()(g),i()(f),[{path:"/notice/list",component:w("pages/notice/List"),meta:{title:"通知列表",breadcrumb:["通知列表"],hideSidebar:!0}},{path:"/notice/details",component:w("pages/notice/details"),meta:{title:"通知详情",breadcrumb:[{name:"返回首页",path:"/"},"通知详情"],hideSidebar:!0}},{path:"/set/setpwd",component:w("pages/set/setpwd"),meta:{title:"密码管理",breadcrumb:[{name:"返回首页",path:"/"},"密码管理"],hideSidebar:!0}},{path:"/vippay",name:"/vippay",component:w("pages/vippay"),meta:{title:"权益升级",breadcrumb:[{name:"返回首页",path:"/"},"权益升级"],hideSidebar:!0}}])},{path:"/login",component:w("pages/Login"),meta:{unRequiresAuth:!0}},{path:"/m_login",component:w("pages/m_Login"),meta:{unRequiresAuth:!0}}].concat(i()(k),[{path:"*",redirect:"/404"}]),scrollBehavior:function(e,t,a){return a||{x:0,y:0}}}),x=c.a.prototype.push;c.a.prototype.push=function(e){return x.call(this,e).catch(function(e){return e})};var A=a("zL8q"),I=a.n(A),S=a("mtWM"),O=a.n(S),T=(a("f7FH"),a("Xw89"),a("uJe8"),a("NYxO")),E=a("mvHQ"),R=a.n(E),W={name:"导航栏",namespaced:!0,state:{collapse:!1,actNavItem:0,orderTip:{},newOrderTip:{}},getters:{},mutations:{collapseChage:function(e){e.collapse=!e.collapse,sessionStorage.setItem("state",R()(e))},clickNavItem:function(e,t){if(e.actNavItem=void 0!=t.index?t.index:t,t.url)return e.actNavItem=0,y.push({path:"/home"}),window.open(t.url,"_blank"),!1;t.route&&y.push({path:t.route}),sessionStorage.setItem("state",R()(e))},getOrderTimeOutTip:function(e){O.a.get("/order/timeOutTip").then(function(t){var a=t.data,n=a.code,r=a.data;200==n&&(e.orderTip=r)})},getNewOrder:function(e){O.a.get("/order/lookFlag").then(function(t){var a=t.data,n=a.code,r=a.data;200==n&&(e.newOrderTip=r)})}}};n.default.use(T.a);var B=new T.a.Store({modules:{navBar:W}}),D=a("oAV5");a("WJfX");n.default.use(I.a,{size:"small"}),n.default.config.productionTip=!1,n.default.prototype.$bus=new n.default,n.default.prototype.$axios=O.a,O.a.defaults.baseURL="/api",n.default.prototype.sjEdsmallUrl=-1!=window.location.href.indexOf("-pre")?"https://sj-pre.edsmall.com/TaoTaoTao/Index.aspx":"https://sj.edsmall.com/TaoTaoTao/Index.aspx",n.default.prototype.ImgServerUrl="https://img.edsmall.com/ROOT/ETao/gl/";document.documentElement.clientWidth;n.default.prototype.widthSize={productWidth:230,numberWidth:120,numberWidth2:80,numberWidth3:150,receiverWidth:120,dealWidth:"",guideWidth:120,purchaseWidth:120,collectWidth:120,rebateWidth:120,eraWidth:120,deductionWidth:160};var M=Object(D.i)("info")?Object(D.i)("info"):"",L=M&&M.token?M.token:"";""==L&&y.replace({path:"/login"}),O.a.defaults.headers.common.Authorization=L,O.a.interceptors.response.use(function(e){return e},function(e){return 401==e.response.status&&(localStorage.removeItem("info"),setTimeout(function(){y.replace({path:"/login"})},1e3)),e}),y.beforeEach(function(e,t,a){if(e.matched.some(function(e){return e.meta.unRequiresAuth}))a();else{var n=Object(D.i)("info");n&&n.token?a():a({path:"/login"})}}),new n.default({el:"#app",store:B,router:y,components:{App:r.default},template:"<App/>"})},WJfX:function(e,t){!function(e,t){var a=navigator.userAgent.toLowerCase();if(/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile|mobile/.test(a)){var n,r=t.querySelector('meta[name="viewport"]');r||(r=t.createElement("meta")).setAttribute("name","viewport");var o=function(){var e;180!==window.orientation&&0!==window.orientation||(e=Math.min(window.screen.availWidth,window.screen.availHeight)),90!==window.orientation&&-90!==window.orientation||(e=Math.max(window.screen.availWidth,window.screen.availHeight));var t=e/1400;r.setAttribute("content","initial-scale="+t+", minimum-scale="+t+", minimum-scale="+t)};t.addEventListener("DOMContentLoaded",function(){setTimeout(o,1e3)},!1),e.addEventListener("resize",function(){clearTimeout(n),n=setTimeout(o,300)},!1),e.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(n),n=setTimeout(o,300))},!1)}}(window,document)},Xw89:function(e,t){},f7FH:function(e,t){},oAV5:function(e,t,a){"use strict";a.d(t,"e",function(){return v}),a.d(t,"j",function(){return k}),a.d(t,"d",function(){return w}),a.d(t,"o",function(){return y}),a.d(t,"h",function(){return x}),a.d(t,"b",function(){return A}),a.d(t,"n",function(){return S}),a.d(t,"i",function(){return O}),a.d(t,"m",function(){return T}),a.d(t,"a",function(){return E}),a.d(t,"r",function(){return R}),a.d(t,"c",function(){return W}),a.d(t,"q",function(){return B}),a.d(t,"s",function(){return D}),a.d(t,"g",function(){return M}),a.d(t,"f",function(){return L}),a.d(t,"l",function(){return P}),a.d(t,"k",function(){return j}),a.d(t,"p",function(){return _});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),i=a.n(o),c=a("//Fk"),s=a.n(c),p=a("Gu7T"),u=a.n(p),m=a("BO1k"),d=a.n(m),l=a("mvHQ"),h=a.n(l),g=a("mtWM"),b=a.n(g),f=a("JIEa"),v=function(e){return JSON.parse(h()(e))},k=function(e,t,a){var n=e.$router.resolve({path:t,query:a}).href;window.open(n,"_blank")},w=function e(t,a,n){if(!t||!t.length)return!1;var r=[],o=!0,i=!1,c=void 0;try{for(var s,p=d()(t);!(o=(s=p.next()).done);o=!0){var m=s.value;a(m)?(r.push(m),m[n]=e(m[n],a,n)):r.push.apply(r,u()(e(m[n],a)))}}catch(e){i=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(i)throw c}}return 0!==r.length?r:null},y=function(){for(var e=[],t=0;t<36;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]="0123456789abcdef".substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")},x=function(){var e=this;return new s.a(function(t,a){e.$axios.post("/public/ossToken").then(function(e){var n=e.data,r=n.code,o=n.data;if(200==r){var i={policy:o.policy,OSSAccessKeyId:o.accessKeyId,success_action_status:"200",signature:o.sign,expire_time:o.expireTime,host:o.host};t(i)}else a(e.data)}).catch(function(e){a(e)})})},A=function(e){var t=this,a=e.file,n=e.label,r=e.rules,o=e.success,i=e.fail,c=e.beforeUpload;return new s.a(function(e,s){I(a,n,r).then(function(n){var r=n.result,p=n.msg;r?(c&&c(r),x.call(t,null).then(function(t){var n=/\.[^\.]+$/.exec(a.name),r="ROOT/ETao/gl/busiImage/"+y()+n;o&&o(t,r,a),e(t)}).catch(function(e){i&&i(),s()})):(t.$notify.error(p||"请按要求上传文件"),i&&i(r,p,a),s())})}).catch(function(e){})},I=function(e,t,a){var n,o=(n=i()(r.a.mark(function e(t){var a,n,o,i;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a={result:!0},!t){e.next=18;break}e.t0=r.a.keys(t);case 3:if((e.t1=e.t0()).done){e.next=18;break}if(n=e.t1.value,o=t[n],-1==["vImgPercentage","vImgWH","vImgW","vImgH"].indexOf(n)){e.next=13;break}return e.next=9,c[n](o[0],o[1]);case 9:i=e.sent,a=i,e.next=14;break;case 13:a=c[n](o);case 14:if(!a||a.result){e.next=16;break}return e.abrupt("break",18);case 16:e.next=3;break;case 18:return e.abrupt("return",a);case 19:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)}),c=new f.a(e);return o(a[t])},S=function(e,t){var a="string"==typeof t?t:h()(t);localStorage.setItem(e,a)},O=function(e){var t=localStorage.getItem(e);if(null!=t)return function(e){try{return JSON.parse(e),!0}catch(e){return!1}}(t)?JSON.parse(t):t},T=function(e){localStorage.removeItem(e)},E=function(e){var t;return(t=i()(r.a.mark(function e(t){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new s.a(function(e){if(O("areaData"))return e(O("areaData"));b.a.get("/products/areaDetail").then(function(t){var a=t.data,n=a.code,r=a.data;if(200==n)return S("areaData",r),e(r)}).catch(function(e){return console.log(e)})});case 2:return a=e.sent,n=function(e){var t=e.split(",");if(1==t.length)return a.all.name;var n=[];return function e(t,a,r){for(var o in a){var i=a[o];if(i.code==r[t]){if(n.push(i.name),(t+=1)==r.length)return n;e(t,i.subAreas,r);break}}}(0,a.areas,t),n.join(" ")},e.abrupt("return",n(t));case 5:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})(e)},R=function(e){for(var t=[],a=new Array,n=0;n<e.length;n++){a[n]=new Array;for(var r=0;r<e[n].details.length;r++)a[n][r]=r}for(var o=0;o<a.length;o++)a[o].length>1&&t.push(a[o]);return t=t.sort(function(e,t){return t.length-e.length})},W=function(e){var t=e.el,a=e.label,n=e.time,r=e.type,o=void 0===r?1:r,i=e.sendState,c=e.tips,s=t,p=n,u=function(e){return new RegExp(/^\d$/g).test(e)?"0"+e:e};void 0!==i&&(s[i]=!(p>0));var m=setInterval(function(){if(--p>0){var e,t,n,r,d=parseInt(p),l="";r=parseInt(d%60),n=parseInt(d%3600/60),t=parseInt(d/3600%24),e=parseInt(d/86400),1==o?(l=e+"天"+u(t)+"小时"+u(n)+"分钟"+u(r)+"秒",s[a]=l):(l=p+" s",s[a]=l)}else clearInterval(m),0==p&&location.reload(),c&&(s[a]=c),void 0!==i&&(s[i]=!0)},1e3);return s.timer=m},B=function(e){for(var t=new Array,a=0;a<e.length;a++){t[a]=new Array;for(var n=0;n<e.length;n++)t[a][n]=n}return t},D=function(e,t){e=e,t=t;for(var a=0;a<e.length;a++)for(var n=e[a],r=0;r<n.length;r++){if(t==n[r]){if(0==r)return{rowspan:n.length,colspan:1};if(0!=r)return{rowspan:0,colspan:0}}}},M=function(e,t){var a=new Date(Date.parse(e)),n={"M+":a.getMonth()+1,"d+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};if(/(y+)/.test(t)){for(var r in t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)),n)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).length)));return t}},L=function(e){var t=void 0;switch(Number(e)){case 0:t="现货";break;case 1:t="15天";break;case 2:t="30天";break;case 3:t="45天";break;case 4:t="45天以上";break;default:t=""}return t},P=function(e){return!!/^[1][1,2,3,4,5,6,7,8,9][0-9]{9}$/.test(e)},j=function(e){return/^(([^()[\]\\.,;:\s@\"]+(\.[^()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},_=function(){var e=navigator.userAgent.toLowerCase();return!/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile|mobile/.test(e)}}},["NHnr"]);
\ No newline at end of file
webpackJsonp([2],{"4Bz0":function(e,t){},JIEa:function(e,t,a){"use strict";var n=a("//Fk"),r=a.n(n),o=a("Zrlr"),i=a.n(o),c=a("wxAW"),s=a.n(c),p=function(){function e(t){i()(this,e),this.file=null,this.file=t}return s()(e,[{key:"vSize",value:function(e){return{result:this.file.size/1024<e,msg:"请上传"+e+"K以内的文件"}}},{key:"vImgPercentage",value:function(e,t){var a=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,o=this;return new r.a(function(r,i){a.vIsImage()?o.vOnload().then(function(a){var o=a.width/a.height,i=a.width,c=a.height,s=Math.abs(e/t-i/c)<n;r({result:s,w:e,h:t,imgW:i,imgH:c,tolerant:n,percentage:o,code:1,msg:s?null:"请上传正确比例的图片"})}).catch(function(e){r(a._returnErr(e))}):r(a._returnErr())})}},{key:"vImgW",value:function(e){return this.vImgWH(e)}},{key:"vImgH",value:function(e){return this.vImgWH(null,e)}},{key:"vImgWH",value:function(e,t){var a=this,n=this;return new r.a(function(r,o){a.vIsImage()?n.vOnload().then(function(a){var n,o=a.width,i=a.height,c="";c=e&&t?"请上传"+e+"*"+t+"像素的图片格式文件":e&&!t?"请上传宽度为"+e+"像素的图片":!e&&t?"请上传高度为"+t+"像素的图片":"请按要求上传图片",n=e&&t?e==o&&t==i:e?e==a.width:t==a.height,r({result:n,w:e,h:t,imgW:o,imgH:i,code:1,msg:n?null:c})}).catch(function(e){r(a._returnErr(e))}):r(a._returnErr())})}},{key:"vIsImage",value:function(){return{result:-1!=this.file.type.indexOf("image/")}}},{key:"vIsVideo",value:function(){return{result:-1!=this.file.type.indexOf("video/")}}},{key:"vExt",value:function(e){var t="[object Array]"===Object.prototype.toString.call(e)?e:[e],a=/\.[^\.]+$/.exec(this.file.name)[0].replace(".","");return{result:t.indexOf(a)>-1}}},{key:"vOnload",value:function(){var e,t=window.URL||window.webkitURL;return(e=new Image).src=t.createObjectURL(this.file),new r.a(function(t,a){e.onload=function(){t(e)},e.onerror=function(){a("图片加载失败")}})}},{key:"_returnErr",value:function(e){return{result:!1,msg:e||"请按要求上传文件",code:0}}}]),e}();t.a=p},M93x:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("oAV5"),r={name:"App",data:function(){return{isRouterAlive:!0,brandId:""}},provide:function(){return{reload:this.reload}},watch:{$route:function(e,t){if(Object(n.i)("info")){var a=Object(n.i)("info").brandId;this.brandId=a}}},mounted:function(){},methods:{init:function(){this.$axios.get("/account/renovateBrand?brandId="+this.brandId).then(function(e){var t=e.data,a=t.code,n=t.data;200==a&&(localStorage.setItem("priceformulaId",n.priceformulaId||null),localStorage.setItem("actSw",n.actSw),localStorage.setItem("allowCustomActDate",n.allowCustomActDate||null),localStorage.setItem("isCustomPriceMode",n.isCustomPriceMode||0))})},reload:function(){this.isRouterAlive=!1,this.$nextTick(function(){this.isRouterAlive=!0})}}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[this.isRouterAlive?t("router-view"):this._e()],1)},staticRenderFns:[]};var i=a("VU/8")(r,o,!1,function(e){a("4Bz0"),a("m4bj")},null,null);t.default=i.exports},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("7+uW"),r=a("M93x"),o=a("Gu7T"),i=a.n(o),c=a("/ocq"),s=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},p=[{path:"/order/orderlist/:type?",name:"/order/orderlist",component:s("pages/order/orderlist"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/ad/advertisementList/:type?",name:"/ad/advertisementList",component:s("pages/order/advertisementList"),meta:{title:"广告",breadcrumb:["广告","广告列表"],keepAlive:!0,isBack:!1}},{path:"/ad/myAdvertisement",name:"/ad/myAdvertisement",component:s("pages/order/myAdvertisement"),meta:{title:"广告",breadcrumb:["广告","我的广告"],keepAlive:!0,isBack:!1}},{path:"/order/frmOrderDetail",name:"/order/frmOrderDetail",component:s("pages/order/frmOrderDetail"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","订单列表","订单详情"]}},{path:"/order/refundProcessing",name:"/order/refundProcessing",component:s("pages/order/refundProcessing"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","退款订单处理"]}},{path:"/order/orderlistself/",name:"/order/orderlistself",component:s("pages/order/orderlistself"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/saomafu",name:"/order/saomafu",component:s("pages/order/SaoMaFu"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/frdsaomafu",name:"/order/frdsaomafu",component:s("pages/order/frmOrderDetailSaomafu"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","扫码付订单","扫码付订单详情"]}},{path:"/order/frmOrderDetailBrand",name:"/order/frmOrderDetailBrand",component:s("pages/order/frmOrderDetailBrand"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","订单列表","共享中心订单详情"]}},{path:"/order/orderlistbrand/:type?",name:"/order/orderlistbrand",component:s("pages/order/orderlistbrand"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/orderlistashop",name:"/order/orderlistashop",component:s("pages/order/orderlistAshop"),meta:{title:"订单",breadcrumb:["订单","订单列表"],keepAlive:!0,isBack:!1}},{path:"/order/frdashop",name:"/order/frdashop",component:s("pages/order/frmOrderDetailAshop"),meta:{title:"订单",breadcrumb:[{name:"返回上一级",goback:"back"},"订单","订单列表","A店合同详情"]}},{path:"/printorder",component:s("pages/order/component/PrintOrder"),meta:{title:"打印订单",breadcrumb:["订单","打印订单"]}},{path:"/aftersale/index",component:s("pages/afterSale/index"),meta:{title:"订单",breadcrumb:["订单","售后/投诉"]}},{path:"/aftersale/details",component:s("pages/afterSale/details"),meta:{title:"订单",breadcrumb:["订单","售后/投诉"]}},{path:"/aftersale/indexsale",component:s("pages/afterSale/indexSale"),meta:{title:"订单",breadcrumb:["订单","售后"]}},{path:"/aftersale/detailsale",component:s("pages/afterSale/detailSale"),meta:{title:"订单",breadcrumb:["订单","售后详情"]}}],u=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},m=[{path:"/goods/goodslist",component:u("pages/goods/goodslist"),meta:{title:"商品管理",breadcrumb:["商品管理","列表"]}},{path:"/goods/list",component:u("pages/goods/list"),meta:{title:"商品管理",breadcrumb:["商品管理","商品列表"],keepAlive:!0,isBack:!1}},{path:"/goods/details",component:u("pages/goods/details"),meta:{title:"商品管理",breadcrumb:[{name:"返回上一级",goback:"back"},"商品管理","商品列表","商品详情"]}},{path:"/goods/template",component:u("pages/goods/template"),meta:{title:"商品管理",breadcrumb:["商品管理","商品列表","新建商品"]}},{path:"/goods/newProduct",component:u("pages/goods/newProduct"),meta:{title:"商品管理",breadcrumb:[{name:"返回上一级",goback:"back"},"商品管理","商品列表","编辑商品详情"]}},{path:"/goods/listold",component:u("pages/goods/listold"),meta:{title:"商品管理",breadcrumb:["商品管理","旧数据迁移仓库列表"]}},{path:"/goods/templateold",component:u("pages/goods/templateold"),meta:{title:"商品管理",breadcrumb:["商品管理","旧数据迁移仓库列表","新建商品"]}},{path:"/goods/newProductold",component:u("pages/goods/newProductOldData"),meta:{title:"商品管理",breadcrumb:["商品管理","旧数据迁移仓库","编辑商品详情"]}},{path:"/goods/detailsold",component:u("pages/goods/detailsold"),meta:{title:"商品管理",breadcrumb:["商品管理","商品列表","商品详情"]}},{path:"/goods/warnstock",component:u("pages/goods/warnStock"),meta:{title:"商品管理",breadcrumb:["商品管理","库存管理"],keepAlive:!0,isBack:!1}},{path:"/goods/seckill",component:u("pages/goods/seckill"),meta:{title:"商品管理",breadcrumb:["专区管理","秒杀专区"],keepAlive:!0,isBack:!1}},{path:"/goods/xinPin",component:u("pages/goods/xinPin"),meta:{title:"商品管理",breadcrumb:["专区管理","新品专区"],keepAlive:!0,isBack:!1}}],d=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},l=[{path:"/marketing/shoprenovation",component:d("pages/marketing/shop/shopRenovation"),meta:{title:"营销推广",breadcrumb:["营销推广","店铺管理","店铺装修"],noToTop:!0}},{path:"/marketing/preview",component:d("pages/marketing/shop/preview"),meta:{title:"营销推广",breadcrumb:[{name:"返回店铺管理",path:"/marketing/shoprenovation"},"店铺预览"],hideSidebar:!0}},{path:"/marketing/brandintroduce",component:d("pages/marketing/shop/brand/introduce"),meta:{title:"营销推广",breadcrumb:["营销推广","店铺管理","品牌介绍"]}},{path:"/marketing/planadd",component:d("pages/marketing/shop/brand/planAdd"),meta:{title:"营销推广",breadcrumb:["营销推广","店铺管理","编辑方案"]}},{path:"/marketing/advert",component:d("pages/marketing/advert/adList"),meta:{title:"营销推广",breadcrumb:["营销推广","广告服务","广告管理"]}},{path:"/marketing/adedit",component:d("pages/marketing/advert/adEdit"),meta:{title:"营销推广",breadcrumb:["营销推广","广告管理","我的广告","广告编辑"]}},{path:"/marketing/admalledit",component:d("pages/marketing/advert/adMallEdit"),meta:{title:"营销推广",breadcrumb:["营销推广","广告管理","广告商城","广告编辑"]}},{path:"/marketing/coupon",component:d("pages/marketing/tools/coupon"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","优惠券"]}},{path:"/marketing/pay",component:d("pages/marketing/tools/pay"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","EDS扫码付"]}},{path:"/marketing/ziyuanwei",component:d("pages/marketing/tools/ziyuanwei"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","推广资源位"]}},{path:"/goods/productdetails",component:d("pages/goods/ProductDetails"),meta:{title:"商品详情",breadcrumb:[{name:"返回上一级",goback:"back"},"商品","商品详情"]}},{path:"/marketing/addcoupon",component:d("pages/marketing/tools/addcoupon"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","新增优惠券"]}},{path:"/marketing/coupondetails",component:d("pages/marketing/tools/couponDetails"),meta:{title:"营销推广",breadcrumb:["营销推广","推广工具","优惠券详情"]}},{path:"/marketing/msn",component:d("pages/marketing/tools/msn"),meta:{title:"订阅号服务",breadcrumb:["营销推广","信息管理","订阅号服务"]}},{path:"/marketing/holiday",component:d("pages/marketing/info/holiday"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","放假通知"]}},{path:"/marketing/stock",component:d("pages/marketing/info/stock"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","库存预警"]}},{path:"/marketing/service",component:d("pages/marketing/info/service"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","店铺客服"]}},{path:"/marketing/message",component:d("pages/marketing/info/message"),meta:{title:"营销推广",breadcrumb:["营销推广","信息管理","消息通知"]}},{path:"/marketing/soft",component:d("pages/marketing/download/soft"),meta:{title:"营销推广",breadcrumb:["营销推广","工具下载"]}},{path:"/marketing/salerank",component:d("pages/marketing/statistics/saleRank"),meta:{title:"营销推广",breadcrumb:["营销推广","销售排行"]}},{path:"/marketing/report",component:d("pages/marketing/statistics/report"),meta:{title:"营销推广",breadcrumb:["营销推广","运营数据报告"]}},{path:"/marketing/printreport",component:d("pages/marketing/statistics/printReport"),meta:{title:"营销推广",breadcrumb:[],noToTop:!0,hideSidebar:!0,isBackTran:!0}},{path:"/marketing/salerankad",component:d("pages/marketing/statistics/saleRankAd"),meta:{title:"营销推广",breadcrumb:[],noToTop:!0,hideSidebar:!0,isBackTran:!0}},{path:"/marketing/activityMall",component:d("pages/marketing/activity/activityMall"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"]}},{path:"/marketing/activityMall-act",component:d("pages/marketing/activityCopy/activityMall"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"],actName:"/marketing/brandActivity"}},{path:"/marketing/brandActivity",component:d("pages/marketing/brandActivity/index"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","品牌活动"]}},{path:"/marketing/salesOverview",component:d("pages/marketing/sales/salesOverview"),meta:{title:"数据分析",breadcrumb:["数据分析","售后总览"]}}],h=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},g=[{path:"/checking/order",component:h("pages/checking/order"),meta:{title:"财务对账",breadcrumb:["财务对账","订单流水"]}},{path:"/checking/record",component:h("pages/checking/record"),meta:{title:"财务对账",breadcrumb:["财务对账","提现记录"]}},{path:"/checking/showzhifubao",component:h("pages/checking/showzhifubao"),meta:{title:"财务对账",breadcrumb:["财务对账","我的支付宝"]}},{path:"/checking/setpassword",component:h("pages/checking/setPassword"),meta:{title:"财务对账",breadcrumb:["财务对账","设置提现密码"]}},{path:"/checking/withdraw",component:h("pages/checking/withdraw"),meta:{title:"财务对账",breadcrumb:["财务对账","提现"]}}],b=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},f=[{path:"/supplierhelp/:id?",component:b("pages/help/supplierhelp"),meta:{title:"供应商帮助",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","供应商帮助"]}},{path:"/help/exvip",component:b("pages/help/exVip"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","E淘工厂权益升级"]}},{path:"/help/exshort",component:b("pages/help/exshort"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","桌面快捷方式说明"]}},{path:"/help/exproducts",component:b("pages/help/exproducts"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","关于商品说明"]}},{path:"/help/exsalearea",component:b("pages/help/exsalearea"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","可售区域"]}},{path:"/help/exprice",component:b("pages/help/exprice"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","价格说明"]}},{path:"/help/exstock",component:b("pages/help/exstock"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","库存说明"]}},{path:"/help/exdelivery",component:b("pages/help/exdelivery"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","交货期说明"]}},{path:"/help/exrecommend",component:b("pages/help/exrecommend"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","商品推荐设置说明"]}},{path:"/help/exvideo",component:b("pages/help/exvideo"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","视频说明"]}},{path:"/help/productImg",component:b("pages/help/productImg"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","商品图片规范说明"]}},{path:"/help/logouser",component:b("pages/help/logouser"),meta:{title:"帮助中心",breadcrumb:[{name:"返回首页",path:"/"},"帮助中心","E淘Logo使用规范"]}},{path:"/help/feedback",component:b("pages/help/feedBackList"),meta:{title:"反馈管理",breadcrumb:["反馈管理","功能反馈"]}},{path:"/help/feedbackadd",component:b("pages/help/feedBackadd"),meta:{title:"反馈管理",breadcrumb:["反馈管理",{name:"功能反馈",path:"/help/feedback"},"我要反馈"]}}],v=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},k=[{path:"/exshort",component:v("pages/exshort"),meta:{title:"桌面快捷方式说明",unRequiresAuth:!0}},{path:"/pt",component:v("pages/others/platform"),meta:{title:"平台介绍",unRequiresAuth:!0}},{path:"/brand",component:v("pages/others/brand"),meta:{title:"品牌共享",unRequiresAuth:!0}},{path:"/joinin",component:v("pages/others/joinin"),meta:{title:"招聘加盟",unRequiresAuth:!0}},{path:"/ashop",component:v("pages/others/ashop"),meta:{title:"E淘A店",unRequiresAuth:!0}}];n.default.use(c.a);var w=function(e){return function(t){return a.e(0).then(function(){var n=[a("/EbY")("./"+e+".vue")];t.apply(null,n)}.bind(this)).catch(a.oe)}},y=new c.a({mode:"history",routes:[{path:"/",redirect:"/home"},{path:"/home",component:w("components/Home"),meta:{},children:[{path:"/",name:"index",component:w("pages/Index"),meta:{title:"首页",breadcrumb:[],hideSidebar:!0,isBackTran:!0}},{path:"/404",component:w("pages/404"),meta:{title:"404",hideSidebar:!0}},{path:"/salesRankingService",component:w("pages/marketing/statistics/salesRankingService"),meta:{title:"开通品牌销售排行服务",hideSidebar:!0}},{path:"/marketing/AddActivityProduct",component:w("pages/marketing/activity/model/AddActivityProduct"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"]}},{path:"/marketing/ziyuanweiDetails",component:w("pages/marketing/tools/ziyuanweiDetails"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"]}},{path:"/marketing/AddActivityProduct-act",component:w("pages/marketing/activityCopy/model/AddActivityProduct"),meta:{isShow:!0,title:"活动管理",breadcrumb:["活动管理","活动报名"],actName:"/marketing/brandActivity"}},{path:"/marketing/salesOverview",component:w("pages/marketing/sales/salesOverview"),meta:{isShow:!0,title:"数据分析",breadcrumb:["数据分析","售后总览"]}}].concat(i()(p),i()(m),i()(l),i()(g),i()(f),[{path:"/notice/list",component:w("pages/notice/List"),meta:{title:"通知列表",breadcrumb:["通知列表"],hideSidebar:!0}},{path:"/notice/details",component:w("pages/notice/details"),meta:{title:"通知详情",breadcrumb:[{name:"返回首页",path:"/"},"通知详情"],hideSidebar:!0}},{path:"/set/setpwd",component:w("pages/set/setpwd"),meta:{title:"密码管理",breadcrumb:[{name:"返回首页",path:"/"},"密码管理"],hideSidebar:!0}},{path:"/vippay",name:"/vippay",component:w("pages/vippay"),meta:{title:"权益升级",breadcrumb:[{name:"返回首页",path:"/"},"权益升级"],hideSidebar:!0}}])},{path:"/login",component:w("pages/Login"),meta:{unRequiresAuth:!0}},{path:"/m_login",component:w("pages/m_Login"),meta:{unRequiresAuth:!0}}].concat(i()(k),[{path:"*",redirect:"/404"}]),scrollBehavior:function(e,t,a){return a||{x:0,y:0}}}),x=c.a.prototype.push;c.a.prototype.push=function(e){return x.call(this,e).catch(function(e){return e})};var A=a("zL8q"),I=a.n(A),S=a("mtWM"),O=a.n(S),T=(a("f7FH"),a("Xw89"),a("uJe8"),a("NYxO")),E=a("mvHQ"),R=a.n(E),W={name:"导航栏",namespaced:!0,state:{collapse:!1,actNavItem:0,orderTip:{},newOrderTip:{}},getters:{},mutations:{collapseChage:function(e){e.collapse=!e.collapse,sessionStorage.setItem("state",R()(e))},clickNavItem:function(e,t){if(e.actNavItem=void 0!=t.index?t.index:t,t.url)return e.actNavItem=0,y.push({path:"/home"}),window.open(t.url,"_blank"),!1;t.route&&y.push({path:t.route}),sessionStorage.setItem("state",R()(e))},getOrderTimeOutTip:function(e){O.a.get("/order/timeOutTip").then(function(t){var a=t.data,n=a.code,r=a.data;200==n&&(e.orderTip=r)})},getNewOrder:function(e){O.a.get("/order/lookFlag").then(function(t){var a=t.data,n=a.code,r=a.data;200==n&&(e.newOrderTip=r)})}}};n.default.use(T.a);var B=new T.a.Store({modules:{navBar:W}}),D=a("oAV5");a("WJfX");n.default.use(I.a,{size:"small"}),n.default.config.productionTip=!1,n.default.prototype.$bus=new n.default,n.default.prototype.$axios=O.a,O.a.defaults.baseURL="/api",n.default.prototype.sjEdsmallUrl=-1!=window.location.href.indexOf("-pre")?"https://sj-pre.edsmall.com/TaoTaoTao/Index.aspx":"https://sj.edsmall.com/TaoTaoTao/Index.aspx",n.default.prototype.ImgServerUrl="https://img.edsmall.com/ROOT/ETao/gl/";document.documentElement.clientWidth;n.default.prototype.widthSize={productWidth:230,numberWidth:120,numberWidth2:80,numberWidth3:150,receiverWidth:120,dealWidth:"",guideWidth:120,purchaseWidth:120,collectWidth:120,rebateWidth:120,eraWidth:120,deductionWidth:160};var M=Object(D.i)("info")?Object(D.i)("info"):"",P=M&&M.token?M.token:"";""==P&&y.replace({path:"/login"}),O.a.defaults.headers.common.Authorization=P,O.a.interceptors.response.use(function(e){return e},function(e){return 401==e.response.status&&(localStorage.removeItem("info"),setTimeout(function(){y.replace({path:"/login"})},1e3)),e}),y.beforeEach(function(e,t,a){if(e.matched.some(function(e){return e.meta.unRequiresAuth}))a();else{var n=Object(D.i)("info");n&&n.token?a():a({path:"/login"})}}),new n.default({el:"#app",store:B,router:y,components:{App:r.default},template:"<App/>"})},WJfX:function(e,t){!function(e,t){var a=navigator.userAgent.toLowerCase();if(/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile|mobile/.test(a)){var n,r=t.querySelector('meta[name="viewport"]');r||(r=t.createElement("meta")).setAttribute("name","viewport");var o=function(){var e;180!==window.orientation&&0!==window.orientation||(e=Math.min(window.screen.availWidth,window.screen.availHeight)),90!==window.orientation&&-90!==window.orientation||(e=Math.max(window.screen.availWidth,window.screen.availHeight));var t=e/1400;r.setAttribute("content","initial-scale="+t+", minimum-scale="+t+", minimum-scale="+t)};t.addEventListener("DOMContentLoaded",function(){setTimeout(o,1e3)},!1),e.addEventListener("resize",function(){clearTimeout(n),n=setTimeout(o,300)},!1),e.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(n),n=setTimeout(o,300))},!1)}}(window,document)},Xw89:function(e,t){},f7FH:function(e,t){},m4bj:function(e,t){},oAV5:function(e,t,a){"use strict";a.d(t,"e",function(){return v}),a.d(t,"j",function(){return k}),a.d(t,"d",function(){return w}),a.d(t,"o",function(){return y}),a.d(t,"h",function(){return x}),a.d(t,"b",function(){return A}),a.d(t,"n",function(){return S}),a.d(t,"i",function(){return O}),a.d(t,"m",function(){return T}),a.d(t,"a",function(){return E}),a.d(t,"r",function(){return R}),a.d(t,"c",function(){return W}),a.d(t,"q",function(){return B}),a.d(t,"s",function(){return D}),a.d(t,"g",function(){return M}),a.d(t,"f",function(){return P}),a.d(t,"l",function(){return j}),a.d(t,"k",function(){return L}),a.d(t,"p",function(){return _});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),i=a.n(o),c=a("//Fk"),s=a.n(c),p=a("Gu7T"),u=a.n(p),m=a("BO1k"),d=a.n(m),l=a("mvHQ"),h=a.n(l),g=a("mtWM"),b=a.n(g),f=a("JIEa"),v=function(e){return JSON.parse(h()(e))},k=function(e,t,a){var n=e.$router.resolve({path:t,query:a}).href;window.open(n,"_blank")},w=function e(t,a,n){if(!t||!t.length)return!1;var r=[],o=!0,i=!1,c=void 0;try{for(var s,p=d()(t);!(o=(s=p.next()).done);o=!0){var m=s.value;a(m)?(r.push(m),m[n]=e(m[n],a,n)):r.push.apply(r,u()(e(m[n],a)))}}catch(e){i=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(i)throw c}}return 0!==r.length?r:null},y=function(){for(var e=[],t=0;t<36;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]="0123456789abcdef".substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")},x=function(){var e=this;return new s.a(function(t,a){e.$axios.post("/public/ossToken").then(function(e){var n=e.data,r=n.code,o=n.data;if(200==r){var i={policy:o.policy,OSSAccessKeyId:o.accessKeyId,success_action_status:"200",signature:o.sign,expire_time:o.expireTime,host:o.host};t(i)}else a(e.data)}).catch(function(e){a(e)})})},A=function(e){var t=this,a=e.file,n=e.label,r=e.rules,o=e.success,i=e.fail,c=e.beforeUpload;return new s.a(function(e,s){I(a,n,r).then(function(n){var r=n.result,p=n.msg;r?(c&&c(r),x.call(t,null).then(function(t){var n=/\.[^\.]+$/.exec(a.name),r="ROOT/ETao/gl/busiImage/"+y()+n;o&&o(t,r,a),e(t)}).catch(function(e){i&&i(),s()})):(t.$notify.error(p||"请按要求上传文件"),i&&i(r,p,a),s())})}).catch(function(e){})},I=function(e,t,a){var n,o=(n=i()(r.a.mark(function e(t){var a,n,o,i;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a={result:!0},!t){e.next=18;break}e.t0=r.a.keys(t);case 3:if((e.t1=e.t0()).done){e.next=18;break}if(n=e.t1.value,o=t[n],-1==["vImgPercentage","vImgWH","vImgW","vImgH"].indexOf(n)){e.next=13;break}return e.next=9,c[n](o[0],o[1]);case 9:i=e.sent,a=i,e.next=14;break;case 13:a=c[n](o);case 14:if(!a||a.result){e.next=16;break}return e.abrupt("break",18);case 16:e.next=3;break;case 18:return e.abrupt("return",a);case 19:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)}),c=new f.a(e);return o(a[t])},S=function(e,t){var a="string"==typeof t?t:h()(t);localStorage.setItem(e,a)},O=function(e){var t=localStorage.getItem(e);if(null!=t)return function(e){try{return JSON.parse(e),!0}catch(e){return!1}}(t)?JSON.parse(t):t},T=function(e){localStorage.removeItem(e)},E=function(e){var t;return(t=i()(r.a.mark(function e(t){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new s.a(function(e){if(O("areaData"))return e(O("areaData"));b.a.get("/products/areaDetail").then(function(t){var a=t.data,n=a.code,r=a.data;if(200==n)return S("areaData",r),e(r)}).catch(function(e){return console.log(e)})});case 2:return a=e.sent,n=function(e){var t=e.split(",");if(1==t.length)return a.all.name;var n=[];return function e(t,a,r){for(var o in a){var i=a[o];if(i.code==r[t]){if(n.push(i.name),(t+=1)==r.length)return n;e(t,i.subAreas,r);break}}}(0,a.areas,t),n.join(" ")},e.abrupt("return",n(t));case 5:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})(e)},R=function(e){for(var t=[],a=new Array,n=0;n<e.length;n++){a[n]=new Array;for(var r=0;r<e[n].details.length;r++)a[n][r]=r}for(var o=0;o<a.length;o++)a[o].length>1&&t.push(a[o]);return t=t.sort(function(e,t){return t.length-e.length})},W=function(e){var t=e.el,a=e.label,n=e.time,r=e.type,o=void 0===r?1:r,i=e.sendState,c=e.tips,s=t,p=n,u=function(e){return new RegExp(/^\d$/g).test(e)?"0"+e:e};void 0!==i&&(s[i]=!(p>0));var m=setInterval(function(){if(--p>0){var e,t,n,r,d=parseInt(p),l="";r=parseInt(d%60),n=parseInt(d%3600/60),t=parseInt(d/3600%24),e=parseInt(d/86400),1==o?(l=e+"天"+u(t)+"小时"+u(n)+"分钟"+u(r)+"秒",s[a]=l):(l=p+" s",s[a]=l)}else clearInterval(m),0==p&&location.reload(),c&&(s[a]=c),void 0!==i&&(s[i]=!0)},1e3);return s.timer=m},B=function(e){for(var t=new Array,a=0;a<e.length;a++){t[a]=new Array;for(var n=0;n<e.length;n++)t[a][n]=n}return t},D=function(e,t){e=e,t=t;for(var a=0;a<e.length;a++)for(var n=e[a],r=0;r<n.length;r++){if(t==n[r]){if(0==r)return{rowspan:n.length,colspan:1};if(0!=r)return{rowspan:0,colspan:0}}}},M=function(e,t){var a=new Date(Date.parse(e)),n={"M+":a.getMonth()+1,"d+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};if(/(y+)/.test(t)){for(var r in t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)),n)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).length)));return t}},P=function(e){var t=void 0;switch(Number(e)){case 0:t="现货";break;case 1:t="15天";break;case 2:t="30天";break;case 3:t="45天";break;case 4:t="45天以上";break;default:t=""}return t},j=function(e){return!!/^[1][1,2,3,4,5,6,7,8,9][0-9]{9}$/.test(e)},L=function(e){return/^(([^()[\]\\.,;:\s@\"]+(\.[^()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},_=function(){var e=navigator.userAgent.toLowerCase();return!/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile|mobile/.test(e)}}},["NHnr"]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"1e6f021611ef01473065",3:"ca2708494961454b4374",4:"c569c81ffe41d4800bf8",5:"cb7f3344fd930f577a5c"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"76ed2655edbf8d3e7509",3:"ca2708494961454b4374",4:"c569c81ffe41d4800bf8",5:"cb7f3344fd930f577a5c"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -38,24 +38,24 @@ ...@@ -38,24 +38,24 @@
v-for="(threeItem, i) in subItem.subs" v-for="(threeItem, i) in subItem.subs"
:key="i" :key="i"
:index="threeItem.index" :index="threeItem.index"
>{{ threeItem.title }}</el-menu-item >{{ threeItem.title }}</el-menu-item
> >
</el-submenu> </el-submenu>
<el-menu-item v-else <el-menu-item v-else
:index="subItem.index" :key="subItem.index"> :index="subItem.index" :key="subItem.index">
<span>{{ subItem.title }}</span> <span>{{ subItem.title }}</span>
<el-tooltip v-if="item.showBadge && orderTip.confirmed && subItem.title=='待确认'" <el-tooltip v-if="item.showBadge && orderTip.confirmed && subItem.title=='待确认'"
class="item " effect="light" placement="right-end" > class="item " effect="light" placement="right-end" >
<div slot="content">超过3天未处理的订单数量统计</div> <div slot="content">超过3天未处理的订单数量统计</div>
<el-badge v-if="subItem.showBadge " style="top:-10px;" <el-badge v-if="subItem.showBadge " style="top:-10px;"
:value="orderTip.confirmed"></el-badge> :value="orderTip.confirmed"></el-badge>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="item.showBadge && orderTip.receiving && subItem.title=='待发货'" <el-tooltip v-if="item.showBadge && orderTip.receiving && subItem.title=='待发货'"
class="item " effect="light" placement="right-end" > class="item " effect="light" placement="right-end" >
<div slot="content">超过3天未处理的订单数量统计</div> <div slot="content">超过3天未处理的订单数量统计</div>
<el-badge v-if="subItem.showBadge " style="top:-10px;" <el-badge v-if="subItem.showBadge " style="top:-10px;"
:value="orderTip.receiving"></el-badge> :value="orderTip.receiving"></el-badge>
</el-tooltip> </el-tooltip>
</el-menu-item> </el-menu-item>
...@@ -81,676 +81,628 @@ ...@@ -81,676 +81,628 @@
</template> </template>
<script> <script>
import { mapState, mapMutations } from "vuex"; import { mapState, mapMutations } from "vuex";
import { _deepClone, _deal, _getStorage } from "@/utils/utils"; import { _deepClone, _deal, _getStorage } from "@/utils/utils";
export default { export default {
name: "Aside", name: "Aside",
data() { data() {
return { return {
itemsData: { itemsData: {
items_0: [ items_0: [
{ {
icon: "iconfont iconquanbudingdan", icon: "iconfont iconquanbudingdan",
index: "/home", index: "/home",
title: "首页", title: "首页",
}, },
], ],
items_1: [ items_1: [
{ {
icon: require("@/assets/img/icons/dailishang.png"), icon: require("@/assets/img/icons/dailishang.png"),
index: "/order/orderlist", index: "/order/orderlist",
title: "EDS市级代理", title: "E淘市级代理",
showBadge: true, showBadge: true,
subs: [ subs: [
{ {
icon: "iconfont icondaifukuan1", icon: "iconfont icondaifukuan1",
index: "/order/orderlist", index: "/order/orderlist",
title: "全部订单", title: "全部订单",
}, },
{ {
icon: "iconfont icondaifukuan1", icon: "iconfont icondaifukuan1",
index: "/order/orderlist/0", index: "/order/orderlist/0",
title: "待付款", title: "待付款",
}, },
{ {
icon: "iconfont icondaiqueren", icon: "iconfont icondaiqueren",
index: "/order/orderlist/1", index: "/order/orderlist/1",
title: "待确认", title: "待确认",
showBadge: true, showBadge: true,
}, },
{ {
icon: "iconfont icondaifahuo1", icon: "iconfont icondaifahuo1",
index: "/order/orderlist/2", index: "/order/orderlist/2",
title: "待发货", title: "待发货",
showBadge: true, showBadge: true,
}, },
{ {
icon: "iconfont iconyifahuo1", icon: "iconfont iconyifahuo1",
index: "/order/orderlist/3", index: "/order/orderlist/3",
title: "已发货", title: "已发货",
}, },
{ {
icon: "iconfont icondingdan-yichenggong", icon: "iconfont icondingdan-yichenggong",
index: "/order/orderlist/4", index: "/order/orderlist/4",
title: "已成功", title: "已成功",
}, },
{ {
icon: "iconfont icondingdan-yichenggong", icon: "iconfont icondingdan-yichenggong",
index: "/order/orderlist/5", index: "/order/orderlist/5",
title: "已关闭", title: "已关闭",
}, },
{ {
icon: "iconfont iconjiaoyiguanbi", icon: "iconfont iconjiaoyiguanbi",
index: "/order/orderlist/6", index: "/order/orderlist/6",
title: "退款中", title: "退款中",
}, },
// { // {
// icon: "iconfont iconjiaoyiguanbi", // icon: "iconfont iconjiaoyiguanbi",
// index: "/order/saomafu", // index: "/order/saomafu",
// title: "扫码付订单", // title: "扫码付订单",
// }, // },
], ],
}, },
{ {
icon: require("@/assets/img/icons/order.png"), icon: require("@/assets/img/icons/order.png"),
index: "/aftersale/indexsale", index: "/aftersale/indexsale",
title: "订单服务", title: "订单服务",
showBadge: true, showBadge: true,
subs: [ subs: [
// { // {
// icon: "iconfont icondaifukuan1", // icon: "iconfont icondaifukuan1",
// index: "/aftersale/index", // index: "/aftersale/index",
// title: "售后/投诉工单", // title: "售后/投诉工单",
// }, // },
{ {
icon: "iconfont icondaifukuan1", icon: "iconfont icondaifukuan1",
index: "/aftersale/indexsale", index: "/aftersale/indexsale",
title: "售后工单", title: "售后工单",
}, },
], ],
}, },
// { // {
// icon: require("@/assets/img/icons/dianpu.png"), // icon: require("@/assets/img/icons/dianpu.png"),
// index: "/order/orderlistbrand", // index: "/order/orderlistbrand",
// title: "EDS品牌共享中心", // title: "E淘品牌共享中心",
// subs: [ // subs: [
// { // {
// icon: "iconfont iconshangpinguanli", // icon: "iconfont iconshangpinguanli",
// index: "/order/orderlistbrand", // index: "/order/orderlistbrand",
// title: "全部订单", // title: "全部订单",
// }, // },
// { // {
// icon: "iconfont icondaiqueren", // icon: "iconfont icondaiqueren",
// index: "/order/orderlistbrand/0", // index: "/order/orderlistbrand/0",
// title: "待确认", // title: "待确认",
// }, // },
// { // {
// icon: "iconfont icondaifahuo1", // icon: "iconfont icondaifahuo1",
// index: "/order/orderlistbrand/1", // index: "/order/orderlistbrand/1",
// title: "待发货", // title: "待发货",
// }, // },
// { // {
// icon: "iconfont iconyifahuo1", // icon: "iconfont iconyifahuo1",
// index: "/order/orderlistbrand/2", // index: "/order/orderlistbrand/2",
// title: "已发货", // title: "已发货",
// }, // },
// { // {
// icon: "iconfont icondingdan-yichenggong", // icon: "iconfont icondingdan-yichenggong",
// index: "/order/orderlistbrand/3", // index: "/order/orderlistbrand/3",
// title: "交易成功", // title: "交易成功",
// }, // },
// { // {
// icon: "iconfont icondingdan-yichenggong", // icon: "iconfont icondingdan-yichenggong",
// index: "/order/orderlistbrand/4", // index: "/order/orderlistbrand/4",
// title: "订单关闭", // title: "订单关闭",
// }, // },
// { // {
// icon: "iconfont icondingdan-yichenggong", // icon: "iconfont icondingdan-yichenggong",
// index: "/order/orderlistashop", // index: "/order/orderlistashop",
// title: "A店签约单", // title: "A店签约单",
// }, // },
// ], // ],
// }, // },
// { // {
// icon: require('@/assets/img/icons/yushou.png'), // icon: require('@/assets/img/icons/yushou.png'),
// index: "/ordernew/classify", // index: "/ordernew/classify",
// title: "新品预售", // title: "新品预售",
// subs: [ // subs: [
// { // {
// icon: "iconfont iconshangpinguanli", // icon: "iconfont iconshangpinguanli",
// index: "/ordernew/classify", // index: "/ordernew/classify",
// title: "全部订单" // title: "全部订单"
// }, // },
// ] // ]
// }, // },
], ],
items_2: [ items_2: [
{ {
icon: require("@/assets/img/icons/shangpin.png"), icon: require("@/assets/img/icons/shangpin.png"),
index: "/goods/warnstock", index: "/goods/warnstock",
title: "商品管理", title: "商品管理",
subs: [ subs: [
// { // {
// icon: "iconfont iconxiaoshou-", // icon: "iconfont iconxiaoshou-",
// index: "/goods/listold", // index: "/goods/listold",
// title: "旧数据迁移仓库" // title: "旧数据迁移仓库"
// }, // },
{ {
icon: "iconfont iconxiaoshou-", icon: "iconfont iconxiaoshou-",
index: "/goods/list", index: "/goods/list",
title: "商品仓库" title: "商品仓库"
}, },
{ {
icon: "iconfont iconxiaoshou-", icon: "iconfont iconxiaoshou-",
index: "/goods/warnstock", index: "/goods/warnstock",
title: "库存管理", title: "库存管理",
} }
] ]
}, },
// { // {
// icon: require("@/assets/img/icons/zqu.png"), // icon: require("@/assets/img/icons/zqu.png"),
// index: "/goods/limit", // index: "/goods/limit",
// title: "专区管理", // title: "专区管理",
// subs: [ // subs: [
// { // {
// icon: "iconfont iconxiaoshou-", // icon: "iconfont iconxiaoshou-",
// index: "/goods/limit", // index: "/goods/limit",
// title: "限量专区", // title: "限量专区",
// } // }
// ] // ]
// }, // },
// { // {
// icon: require("@/assets/img/icons/zqu.png"), // icon: require("@/assets/img/icons/zqu.png"),
// index: "/goods/seckill", // index: "/goods/seckill",
// title: "专区管理", // title: "专区管理",
// subs: [ // subs: [
// // { // // {
// // icon: "iconfont iconxiaoshou-", // // icon: "iconfont iconxiaoshou-",
// // index: "/goods/seckill", // // index: "/goods/seckill",
// // title: "秒杀专区", // // title: "秒杀专区",
// // }, // // },
// { // {
// icon: "iconfont iconxiaoshou-", // icon: "iconfont iconxiaoshou-",
// index: "/goods/xinPin", // index: "/goods/xinPin",
// title: "新品专区", // title: "新品专区",
// }, // },
// // { // // {
// // icon: "iconfont iconxiaoshou-", // // icon: "iconfont iconxiaoshou-",
// // index: "/goods/limit", // // index: "/goods/limit",
// // title: "限量专区", // // title: "限量专区",
// // } // // }
// ] // ]
// }, // },
], ],
// items_3: [ // items_3: [
// { // {
// icon: "iconfont iconkefu", // icon: "iconfont iconkefu",
// index: "", // index: "",
// title: "活动管理", // title: "活动管理",
// }, // },
// ], // ],
items_3: [ items_3: [
// { {
// icon: require("@/assets/img/icons/ziyuanwei.png"), icon: require("@/assets/img/icons/dianpuguanli.png"),
// index: "/ad/advertisementList", index: "/marketing/shoprenovation",
// title: "推广资源位", title: "店铺管理",
// subs: [ subs: [
// { {
// icon: "iconfont iconxiaoshou-", icon: "iconfont iconxiaoshou-",
// index: "/ad/advertisementList", index: "/marketing/shoprenovation",
// title: "热销广告位", title: "店铺装修",
// }, },
// { {
// icon: "iconfont iconxiaoshou-", icon: "iconfont iconxiaoshou-",
// index: "/ad/advertisementList/16", index: "/marketing/brandintroduce",
// title: "E淘宝广告位", title: "品牌介绍",
// }, }
// { ],
// icon: "iconfont iconxiaoshou-", },
// index: "/ad/advertisementList/2", // {
// title: "APP广告位", // icon: require("@/assets/img/icons/tuiguanggongju.png"),
// }, // index: "/marketing/coupon",
// { // title: "推广工具",
// icon: "iconfont iconxiaoshou-", // subs: [
// index: "/ad/advertisementList/3", // // {
// title: "电脑版广告位", // // icon: "iconfont iconxiaoshou-",
// }, // // index: "/marketing/coupon",
// // { // // title: "优惠券",
// // icon: "iconfont iconxiaoshou-", // // },
// // index: "/ad/advertisementList/4", // {
// // title: "活动直播广告位", // icon: "iconfont iconxiaoshou-",
// // }, // index: "/marketing/pay",
// { // title: "EDS扫码付",
// icon: "iconfont iconxiaoshou-", // },
// index: "/ad/advertisementList/14", // ],
// title: "消费者小程序广告位", // },
// }, // {
// { // icon: require("@/assets/img/icons/guanggao.png"),
// icon: "iconfont iconxiaoshou-", // index: "/marketing/advert",
// index: "/ad/myAdvertisement", // title: "广告服务",
// title: "我的广告位", // subs: [
// }, // {
// ], // icon: "iconfont iconxiaoshou-",
// }, // index: "/marketing/advert",
{ // title: "广告管理",
icon: require("@/assets/img/icons/dianpuguanli.png"), // },
index: "/marketing/shoprenovation", // ],
title: "店铺管理", // },
subs: [ {
{ icon: require("@/assets/img/icons/xinxiguanli.png"),
icon: "iconfont iconxiaoshou-", index: "/marketing/message",
index: "/marketing/shoprenovation", title: "信息管理",
title: "店铺装修", subs: [
}, // {
{ // icon: "iconfont iconxiaoshou-",
icon: "iconfont iconxiaoshou-", // index: "/marketing/message",
index: "/marketing/brandintroduce", // title: "消息通知",
title: "品牌介绍", // },
} {
], icon: "iconfont iconxiaoshou-",
}, index: "/marketing/service",
// { title: "店铺客服",
// icon: require("@/assets/img/icons/tuiguanggongju.png"), },
// index: "/marketing/coupon", // {
// title: "推广工具", // icon: "iconfont iconxiaoshou-",
// subs: [ // index: "/marketing/stock",
// // { // title: "库存预警"
// // icon: "iconfont iconxiaoshou-", // },
// // index: "/marketing/coupon", {
// // title: "优惠券", icon: "iconfont iconxiaoshou-",
// // }, index: "/marketing/holiday",
// // { title: "放假通知",
// // icon: "iconfont iconxiaoshou-", },
// // index: "/marketing/pay", {
// // title: "EDS扫码付", icon: "iconfont iconxiaoshou-",
// // }, index: "/marketing/msn",
// ], title: "订阅服务",
// }, },
// { ],
// icon: require("@/assets/img/icons/guanggao.png"), },
// index: "/marketing/advert", // {
// title: "广告服务", // icon: require("@/assets/img/icons/gongjuxiazai.png"),
// subs: [ // icon2: require("@/assets/img/icons/gongjuxiazai2.png"),
// { // index: "/marketing/soft",
// icon: "iconfont iconxiaoshou-", // title: "工具下载",
// index: "/marketing/advert", // },
// title: "广告管理",
// },
// ],
// },
{
icon: require("@/assets/img/icons/xinxiguanli.png"),
index: "/marketing/message",
title: "信息管理",
subs: [
// {
// icon: "iconfont iconxiaoshou-",
// index: "/marketing/message",
// title: "消息通知",
// },
{
icon: "iconfont iconxiaoshou-",
index: "/marketing/service",
title: "店铺客服",
},
// {
// icon: "iconfont iconxiaoshou-",
// index: "/marketing/stock",
// title: "库存预警"
// },
{
icon: "iconfont iconxiaoshou-",
index: "/marketing/holiday",
title: "放假通知",
},
{
icon: "iconfont iconxiaoshou-",
index: "/marketing/msn",
title: "订阅服务",
},
],
},
// {
// icon: require("@/assets/img/icons/gongjuxiazai.png"),
// icon2: require("@/assets/img/icons/gongjuxiazai2.png"),
// index: "/marketing/soft",
// title: "工具下载",
// },
// 暂时属于-运营中心 // 暂时属于-运营中心
// { // {
// icon: require("@/assets/img/icons/xiaoshoupaiming.png"), // icon: require("@/assets/img/icons/xiaoshoupaiming.png"),
// icon2: require("@/assets/img/icons/xiaoshoupaiming2.png"), // icon2: require("@/assets/img/icons/xiaoshoupaiming2.png"),
// index: "/marketing/report", // index: "/marketing/report",
// title: "运营数据", // title: "运营数据",
// }, // },
{ {
icon: require("@/assets/img/icons/actIcon.png"), index: "/marketing/activity",
index: "/marketing/activity", title: "活动管理",
title: "活动管理", subs: [
subs: [ {
{ index: "/marketing/activityMall",
index: "/marketing/activityMall", title: "活动报名",
title: "活动报名", },
}, // {
// { // index: "/marketing/brandActivity",
// index: "/marketing/brandActivity", // title: "品牌活动",
// title: "品牌活动", // },
// }, ],
], },
}, // {
// { // index: "/marketing/sales",
// index: "/marketing/sales", // title: "数据分析",
// title: "数据分析", // subs: [
// subs: [ // {
// { // index: "/marketing/salesOverview",
// index: "/marketing/salesOverview", // title: "售后总览",
// title: "售后总览", // },
// }, // {
// { // icon: require("@/assets/img/icons/xiaoshoupaiming.png"),
// icon: require("@/assets/img/icons/xiaoshoupaiming.png"), // icon2: require("@/assets/img/icons/xiaoshoupaiming2.png"),
// icon2: require("@/assets/img/icons/xiaoshoupaiming2.png"), // index: "/marketing/salerank",
// index: "/marketing/salerank", // title: "销售排名",
// title: "销售排名", // },
// }, // ],
// ], // },
// }, // {
// { // icon: "iconfont iconmimaguanli",
// icon: "iconfont iconmimaguanli", // index: "/password",
// index: "/password", // title: "密码管理"
// title: "密码管理" // },
// }, // {
// { // icon: "iconfont iconweixin",
// icon: "iconfont iconweixin", // index: "/pay",
// index: "/pay", // title: "微信收款"
// title: "微信收款" // },
// }, ],
], items_4: [
items_4: [ {
{ icon: require("@/assets/img/icons/duizhang.png"),
icon: require("@/assets/img/icons/duizhang.png"), // match:['/noticeDetial'],
// match:['/noticeDetial'], index: "/checking/order",
index: "/checking/order", title: "财务对账",
title: "财务对账", subs: [
subs: [ {
{ icon: "iconfont iconxiaoshou-",
icon: "iconfont iconxiaoshou-", index: "/checking/order",
index: "/checking/order", title: "订单流水",
title: "订单流水", },
}, // {
{ // icon: "iconfont iconxiaoshou-",
icon: "iconfont iconxiaoshou-", // index: "/checking/record",
index: "/checking/record", // title: "提现记录",
title: "提现记录", // },
}, ],
{ },
icon: "iconfont iconxiaoshou-",
index: "/checking/showzhifubao",
title: "我的支付宝",
},
],
},
// { // {
// icon: "iconfont iconnewsicon", // icon: "iconfont iconnewsicon",
// match:['/noticeDetial'], // match:['/noticeDetial'],
// index: "/notice", // index: "/notice",
// title: "消息通知", // title: "消息通知",
// }, // },
// { // {
// icon: "iconfont iconnewsicon", // icon: "iconfont iconnewsicon",
// index: "/platform", // index: "/platform",
// title: "平台通知" // title: "平台通知"
// }, // },
], ],
items_20: [ items_20: [
{
icon: require("@/assets/img/icons/bangzuzhongxin.png"),
index: "/help/exshort",
title: "帮助中心",
subs: [
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exvip",
// title: "E淘工厂权益升级"
// },
{
icon: "iconfont iconxiaoshou-",
index: "/help/exshort",
title: "桌面快捷方式说明",
},
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exproducts",
// title: "关于商品说明"
// },
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exsalearea",
// title: "可售区域说明"
// },
{
icon: "iconfont iconxiaoshou-",
index: "/help/exprice",
title: "价格说明",
},
{
icon: "iconfont iconxiaoshou-",
index: "/help/exstock",
title: "库存说明",
},
{
icon: "iconfont iconxiaoshou-",
index: "/help/exdelivery",
title: "交货期说明",
},
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exrecommend",
// title: "店铺装修说明"
// },
{
icon: "iconfont iconxiaoshou-",
index: "/help/exvideo",
title: "视频说明",
},
{
icon: "iconfont iconxiaoshou-",
index: "/help/productImg",
title: "商品图片规范说明",
},
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/logouser",
// title: "E淘Logo使用规范"
// },
],
},
{
// icon: require('@/assets/img/icons/bangzuzhongxin.png'),
index: "/help/feedback",
title: "反馈管理",
subs: [
{
icon: "iconfont iconxiaoshou-",
index: "/help/feedback",
title: "功能反馈",
},
],
},
],
},
items_2_copy: [
{ {
icon: require("@/assets/img/icons/bangzuzhongxin.png"), icon: require("@/assets/img/icons/shangpin.png"),
index: "/help/exshort", index: "/goods/list",
title: "帮助中心", title: "商品管理",
subs: [ subs: [
// { // {
// icon: "iconfont iconxiaoshou-", // icon: "iconfont iconxiaoshou-",
// index: "/help/exvip", // index: "/goods/listold",
// title: "E淘工厂权益升级" // title: "旧数据迁移仓库"
// },
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exshort",
// title: "桌面快捷方式说明",
// },
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exproducts",
// title: "关于商品说明"
// },
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exsalearea",
// title: "可售区域说明"
// },
{
icon: "iconfont iconxiaoshou-",
index: "/help/exprice",
title: "价格说明",
},
{
icon: "iconfont iconxiaoshou-",
index: "/help/exstock",
title: "库存说明",
},
{
icon: "iconfont iconxiaoshou-",
index: "/help/exdelivery",
title: "交货期说明",
},
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/exrecommend",
// title: "店铺装修说明"
// }, // },
{ {
icon: "iconfont iconxiaoshou-", icon: "iconfont iconxiaoshou-",
index: "/help/exvideo", index: "/goods/list",
title: "视频说明", title: "商品仓库",
}, },
{ {
icon: "iconfont iconxiaoshou-", icon: "iconfont iconxiaoshou-",
index: "/help/productImg", index: "/goods/warnstock",
title: "商品图片规范说明", title: "库存管理",
},
// {
// icon: "iconfont iconxiaoshou-",
// index: "/help/logouser",
// title: "E淘Logo使用规范"
// },
],
},
{
// icon: require('@/assets/img/icons/bangzuzhongxin.png'),
index: "/help/feedback",
title: "反馈管理",
subs: [
{
icon: "iconfont iconxiaoshou-",
index: "/help/feedback",
title: "功能反馈",
}, },
], ],
}, },
], ],
}, };
items_2_copy: [ },
{
icon: require("@/assets/img/icons/shangpin.png"),
index: "/goods/list",
title: "商品管理",
subs: [
// {
// icon: "iconfont iconxiaoshou-",
// index: "/goods/listold",
// title: "旧数据迁移仓库"
// },
{
icon: "iconfont iconxiaoshou-",
index: "/goods/list",
title: "商品仓库",
},
{
icon: "iconfont iconxiaoshou-",
index: "/goods/warnstock",
title: "库存管理",
},
],
},
],
};
},
mounted() {
// 时间钩子
this.getSupplierhelp();
this.checkItems();
this.getOrderTimeOutTip();
let { etaoOpenBankStatus,isHome,isEtaoVip,isLamp} = _getStorage("info");
// 如果是铂金会员才显示菜单
//放开限制 mounted() {
// if (etaoOpenBankStatus == 1) { // 时间钩子
// this.itemsData.items_2 = this.items_2_copy; this.getSupplierhelp();
// } this.checkItems();
// E淘家居权限 this.getOrderTimeOutTip();
if (isHome == 1) { let { etaoOpenBankStatus,isHome,isEtaoVip,isLamp} = _getStorage("info");
this.itemsData.items_1.push({ // 如果是铂金会员才显示菜单
icon: require("@/assets/img/icons/self.png"),
index: "/order/orderlistself",
title: "自营订单管理",
subs: [
{
icon: "iconfont iconshangpinguanli",
index: "/order/orderlistself",
title: "快捷订单",
},
], //放开限制
}) // if (etaoOpenBankStatus == 1) {
} // this.itemsData.items_2 = this.items_2_copy;
else{ // }
if(this.$route.path=='/order/orderlistself'){ // E淘家居权限
this.$router.push('/home'); if (isHome == 1) {
// this.itemsData.items_1.push({
// icon: require("@/assets/img/icons/self.png"),
// index: "/order/orderlistself",
// title: "自营订单管理",
// subs: [
// {
// icon: "iconfont iconshangpinguanli",
// index: "/order/orderlistself",
// title: "快捷订单",
// },
//
// ],
// })
} }
} else{
if(this.$route.path=='/order/orderlistself'){
}, this.$router.push('/home');
computed: { }
...mapState("navBar", ["collapse", "actNavItem", "orderTip"]),
onRoutes() {
if(this.$route.meta.actName){
return this.$route.meta.actName;
}else{
return this.$route.path;
} }
}, },
items() { computed: {
// console.log(this['items_' + this.actNavItem]) ...mapState("navBar", ["collapse", "actNavItem", "orderTip"]),
return this.itemsData["items_" + this.actNavItem]; onRoutes() {
if(this.$route.meta.actName){
return this.$route.meta.actName;
}else{
return this.$route.path;
}
},
items() {
// console.log(this['items_' + this.actNavItem])
return this.itemsData["items_" + this.actNavItem];
},
}, },
}, watch: {
watch: { $route(e) {
$route(e) { // if(localStorage.getItem('actSw')==0){
// if(localStorage.getItem('actSw')==0){ // this.itemsData.items_3.splice(3, 1);
// this.itemsData.items_3.splice(3, 1); // }
// } this.checkItems();
this.checkItems(); },
}, },
}, methods: {
methods: { // 执行方法
// 执行方法 ...mapMutations("navBar", ["clickNavItem", "getOrderTimeOutTip"]),
...mapMutations("navBar", ["clickNavItem", "getOrderTimeOutTip"]), select(e) {
select(e) {
this.$router.push(e); this.$router.push(e);
}, },
getSupplierhelp(){ getSupplierhelp(){
this.$axios.get('/supplierhelp/list',{ this.$axios.get('/supplierhelp/list',{
params:{ params:{
pageNum:1, pageNum:1,
pageSize:100, pageSize:100,
type:0 type:0
} }
}) })
.then((res) => { .then((res) => {
if(res.data.code == 200){ if(res.data.code == 200){
this.itemsData.items_20[0].index = '/supplierhelp/' + res.data.data.list[0].id; this.itemsData.items_20[0].index = '/supplierhelp/' + res.data.data.list[0].id;
var arr=[]; var arr=[];
res.data.data.list.forEach(element => { res.data.data.list.forEach(element => {
var obj = { var obj = {
icon: element.icon, icon: element.icon,
index: '/supplierhelp/' + element.id, index: '/supplierhelp/' + element.id,
title: element.title, title: element.title,
}
arr.push(obj)
});
this.itemsData.items_20[0].subs = arr;
} }
arr.push(obj) })
}); .catch((err) => {console.log(err)})
this.itemsData.items_20[0].subs = arr; },
} checkItems() {
}) let url = this.$route.path;
.catch((err) => {console.log(err)})
},
checkItems() {
let url = this.$route.path;
let itemsData = this.itemsData; let itemsData = this.itemsData;
let getIndex = (key) => { let getIndex = (key) => {
let num = parseInt(key.substring(key.indexOf("_") + 1, key.length)); let num = parseInt(key.substring(key.indexOf("_") + 1, key.length));
this.clickNavItem(num); this.clickNavItem(num);
}; };
for (let key in itemsData) { for (let key in itemsData) {
for (let k in itemsData[key]) { for (let k in itemsData[key]) {
if (itemsData[key][k]["index"].indexOf(url) != -1) { if (itemsData[key][k]["index"].indexOf(url) != -1) {
getIndex(key); getIndex(key);
break; break;
} else { } else {
for (let i in itemsData[key][k]["match"]) { for (let i in itemsData[key][k]["match"]) {
if (itemsData[key][k]["match"][i].indexOf(url) != -1) { if (itemsData[key][k]["match"][i].indexOf(url) != -1) {
getIndex(key); getIndex(key);
break; break;
}
} }
} }
} }
} }
} },
},
components: {
// 传入组件
}, },
}, };
components: {
// 传入组件
},
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../assets/styles/_var"; @import "../assets/styles/_var";
.sidebar { .sidebar {
display: block; display: block;
background: #fff; background: #fff;
color: #000; color: #000;
position: relative; position: relative;
// overflow-y: scroll; // overflow-y: scroll;
} }
.sidebar::-webkit-scrollbar { .sidebar::-webkit-scrollbar {
width: 0; width: 0;
} }
.sidebar-el-menu:not(.el-menu--collapse) { .sidebar-el-menu:not(.el-menu--collapse) {
// width: 200px; // width: 200px;
width: map-get($width, asideWidth); width: map-get($width, asideWidth);
} }
.sidebar > ul { .sidebar > ul {
height: 100%; height: 100%;
width: 100%; width: 100%;
font-size: 14px; font-size: 14px;
} }
/deep/.sidebar .el-menu-item.is-active { /deep/.sidebar .el-menu-item.is-active {
color: #fff; color: #fff;
background: #147ef9; background: #f60;
} }
</style> </style>
...@@ -180,6 +180,7 @@ import { checkPC } from '../utils/utils'; ...@@ -180,6 +180,7 @@ import { checkPC } from '../utils/utils';
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
this.$axios.post('/account/login',{ this.$axios.post('/account/login',{
glsd:1,
username:this.ruleForm.username, username:this.ruleForm.username,
password:this.ruleForm.password password:this.ruleForm.password
}).then((res)=>{ }).then((res)=>{
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!--<div class="actHead" @click="dialogVisible=true" style="cursor: pointer">--> <!--<div class="actHead" @click="dialogVisible=true" style="cursor: pointer">-->
<!--查看活动规则--> <!--查看活动规则-->
<!--</div>--> <!--</div>-->
<el-button type="primary" @click="goback" v-if="!showUpdateBtn"> <el-button type="primary" @click="goback" v-if="showUpdateBtn">
添加活动商品 添加活动商品
</el-button> </el-button>
</div> </div>
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
this.$router.push("/marketing/AddActivityProduct"); this.$router.push("/marketing/AddActivityProduct");
}, },
delActGoods() { delActGoods() {
this.$axios.post("/actLocalRegist/delActGoods", { this.$axios.post("/actregist/delActGoods", {
skuIds: this.selection, skuIds: this.selection,
"actId": this.activeStatus, "actId": this.activeStatus,
}).then(res => { }).then(res => {
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
}); });
}, },
getActSkuList() { getActSkuList() {
this.$axios.post("/actLocalRegist/actSkuList", { this.$axios.post("/actregist/actSkuList", {
...this.params, ...this.params,
"actId": this.activeStatus, "actId": this.activeStatus,
}).then(res => { }).then(res => {
......
...@@ -10,21 +10,21 @@ ...@@ -10,21 +10,21 @@
<template> <template>
<div class="goods-list" style="width: 1100px"> <div class="goods-list" style="width: 1100px">
<el-button @click="goback1()">返回上一层</el-button> <el-button @click="goback1()">返回上一层</el-button>
<div style="background: #f0f5ff;height: 50px;width: 96%;padding: 20px;margin-top: 3px"> <div style="background: #f0f5ff;height: 50px;width: 96%;padding: 20px;margin-top: 3px">
<h3>{{headTitle.name}} <h3>{{headTitle.name}}
<span <span
style="color: #FFFFFF;font-size: 12px;background: #ff6600;padding: 5px 8px;margin-left: 6px;border-radius: 16px"> style="color: #FFFFFF;font-size: 12px;background: #ff6600;padding: 5px 8px;margin-left: 6px;border-radius: 16px">
<span v-if="headTitle.actStatus==1">未开始</span> <span v-if="headTitle.actStatus==1">未开始</span>
<span v-if="headTitle.actStatus==2">进行中</span> <span v-if="headTitle.actStatus==2">进行中</span>
<span v-if="headTitle.actStatus==3">已结束</span> <span v-if="headTitle.actStatus==3">已结束</span>
</span> </span>
</h3> </h3>
<el-row style="margin-top: 20px"> <el-row style="margin-top: 20px">
<el-col :span="8" style="text-align: center"><div class="grid-content bg-purple">活动时间:{{headTitle.actDateStr}}</div></el-col> <el-col :span="8" style="text-align: center"><div class="grid-content bg-purple">活动时间:{{headTitle.actDateStr}}</div></el-col>
<el-col :span="8" style="text-align: center"><div class="grid-content bg-purple-light">创建时间:{{headTitle.addDate}}</div></el-col> <el-col :span="8" style="text-align: center"><div class="grid-content bg-purple-light">创建时间:{{headTitle.addDate}}</div></el-col>
<el-col :span="8" style="text-align: center"><div class="grid-content bg-purple">参与活动SKU总数:{{total}}</div></el-col> <el-col :span="8" style="text-align: center"><div class="grid-content bg-purple">参与活动SKU总数:{{total}}</div></el-col>
</el-row> </el-row>
</div> </div>
<div v-if="zoneList.length!=0"> <div v-if="zoneList.length!=0">
<div style="display: flex;justify-content: space-between;margin: 10px 15px"> <div style="display: flex;justify-content: space-between;margin: 10px 15px">
<div style="display: flex"> <div style="display: flex">
...@@ -83,9 +83,9 @@ ...@@ -83,9 +83,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="skuModel" label="SKU型号" align="left"></el-table-column> <el-table-column prop="skuModel" label="SKU型号" align="left"></el-table-column>
<!--<el-table-column label="商品类目" align="left">--> <!--<el-table-column label="商品类目" align="left">-->
<!--<template slot-scope="scope">--> <!--<template slot-scope="scope">-->
<!--吊灯--> <!--吊灯-->
<!--</template>--> <!--</template>-->
<!--</el-table-column>--> <!--</el-table-column>-->
<el-table-column label="增补库存" align="left" width="180" v-if="headTitle.type==1"> <el-table-column label="增补库存" align="left" width="180" v-if="headTitle.type==1">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
title="提示" title="提示"
:visible.sync="isShowPriceRatio" :visible.sync="isShowPriceRatio"
width="400px" width="400px"
> >
活动折扣:<el-input-number v-model="priceRatio" :precision="1" :min="1" :max="10"></el-input-number> 活动折扣:<el-input-number v-model="priceRatio" :precision="1" :min="1" :max="10"></el-input-number>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="isShowPriceRatio = false">取 消</el-button> <el-button @click="isShowPriceRatio = false">取 消</el-button>
...@@ -398,7 +398,7 @@ ...@@ -398,7 +398,7 @@
}, },
getActSkuList() { getActSkuList() {
this.loading=true this.loading=true
this.$axios.post(this.headTitle.type==2?"/actregist/autonom/actSkuList":"/actregist/actSkuList", { this.$axios.post("/actLocalRegist/actSkuList", {
...this.params, ...this.params,
"actId":this.headTitle.type==2?this.headTitle.actId:this.activeStatus, "actId":this.headTitle.type==2?this.headTitle.actId:this.activeStatus,
}).then(res => { }).then(res => {
......
<style>
.actHead {
background: #ffe0cc;
padding: 10px 20px;
color: #ff6600;
border-radius: 25px;
margin-right: 10px;
}
</style>
<template> <template>
<div class="goods-list" v-loading="loading"> <div class="goods-list" style="width: 1100px">
<toptitle name="添加活动商品"> <el-dialog
<el-button type="primary" @click="goback"> top="3vh"
返回 title="查看活动规则"
</el-button> width="1040px"
:visible.sync="dialogVisible"
>
<img :src="`https://img.edsmall.com/ROOT/ETao/resource/actHelp730.png?t=${new Date().getTime()}`" alt="">
</el-dialog>
<toptitle name="活动报名">
</toptitle> </toptitle>
<div style="display: flex;align-items: center;width: 1200px"> <div v-if="zoneList.length!=0">
<div style="width: 45%"> <div style="display: flex;justify-content: space-between;margin: 10px 15px">
<p style="margin-bottom: 10px">未参加活动的商品</p> <div style="display: flex">
<div class="search-wrap"> <div class="actHead" style="padding-right: 6px">
<div class="search-box"> 活动报名时间:{{applyEndDate}}&nbsp&nbsp
<div class="search-item">
<el-input style="width: 220px" clearable v-model="params2.search"
placeholder="请输入商品SPU ID/SKU型号"></el-input>
</div>
<div class="search-item">
<el-button type="primary" @click="onSearch">搜索</el-button>
</div>
</div> </div>
</div> <!--<div class="actHead" @click="dialogVisible=true" style="cursor: pointer">-->
<div> <!--查看活动规则-->
<el-table <!--</div>-->
height="600px" <el-button type="primary" @click="goback" v-if="showUpdateBtn">
style="overflow-y: scroll;width: 100%" 添加活动商品
border </el-button>
v-loading="loading"
ref="multipleTable"
:data="actSkuList2"
tooltip-effect="dark"
@selection-change="handleSelectionChange"
stripe
>
<el-table-column type="selection" width="70" align="center"></el-table-column>
<el-table-column prop="skuImg" label="商品" align="center" width="100">
<template slot-scope="scope">
<div class="">
<image-alert showDefaultImg :image="scope.row.mainImg"></image-alert>
</div>
</template>
</el-table-column>
<el-table-column prop="spuModel" label="SPU型号" align="center" width="100"></el-table-column>
<el-table-column prop="skuModel" label="SKU型号" align="center"></el-table-column>
</el-table>
</div>
<div class="pagination-box" style="margin-top: 10px">
共{{total2}}条
<el-pagination
:page-size="20"
:current-page="params2.pageNum"
@current-change="eventSizeChange2"
background
layout="prev, pager, next"
:total="total2">
</el-pagination>
</div> </div>
</div> </div>
<div style="width: 10%;text-align: center"> <el-tabs v-model="activeStatus" @tab-click="handleClick">
<div style="margin-bottom: 10px"> <el-tab-pane :name="item.actId" v-for="item in zoneList" :key="item.actId">
<el-button type="primary" @click="addActGoods" :loading="otherLoading">确认添加></el-button> <span slot="label">{{item.actName}}({{item.count}})</span>
</div> </el-tab-pane>
<div> </el-tabs>
<el-button @click="delActGoods" :loading="otherLoading1"> < 确认剔除</el-button> <div class="search-wrap">
<div class="search-box">
<div class="search-item">
<span class="label">商品编号:</span>
<el-input class="input" @keyup.enter.native="onSearch" clearable v-model="params.search"
placeholder="请输入商品SPU ID/SKU型号"></el-input>
</div>
<div class="search-item" v-if="isShowPreList">
<span class="label">专区:</span>
<el-select class="input" style="width:120px;" clearable v-model="params.type" placeholder="请选择专区">
<el-option
v-for="item in preList"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select>
</div>
<div class="search-item">
<el-button type="primary" size="medium " @click="onSearch">搜索</el-button>
<el-button size="medium " @click="onReset">重置</el-button>
</div>
</div> </div>
</div> </div>
<div style="width: 45%"> <div>
<p style="margin-bottom: 10px">参加活动的商品</p> <el-table
<div class="search-wrap"> v-loading="loading"
<div class="search-box"> ref="multipleTable"
<div class="search-item"> :data="actSkuList"
<el-input style="width: 220px" clearable v-model="params.search" tooltip-effect="dark"
placeholder="请输入商品SPU ID/SKU型号"></el-input> style="width: 100%"
</div> @selection-change="handleSelectionChange"
<div class="search-item"> stripe
<el-button type="primary" @click="onSearch2">搜索</el-button> >
<el-table-column type="selection" width="70" align="center"></el-table-column>
<el-table-column prop="skuImg" label="商品" align="center">
<template slot-scope="scope">
<div style="display: flex">
<div>
<img style="width:80px" :src="scope.row.mainImg" alt="">
</div>
<div>
<p>SPU:{{scope.row.spuId}}</p>
<p v-if="scope.row.zoneIcon"><img style="width:30px" :src="scope.row.zoneIcon" alt=""></p>
<p>交货期:{{scope.row.deliveryTimeStr}}</p>
</div>
</div>
</template>
</el-table-column>
<el-table-column prop="skuModel" label="SKU型号" align="center"></el-table-column>
<el-table-column label="库存" align="center" width="180">
<template slot-scope="scope">
<div>库存数量:{{scope.row.stock}}</div>
<div>占用库存:{{scope.row.virtualQty}}</div>
<div>可用库存:{{scope.row.usableStock}}</div>
</template>
</el-table-column>
<el-table-column label="日常价" align="center">
<template slot-scope="scope">
<div>供货价:{{scope.row.supplyPrice}}</div>
<div v-if="!priceformulaId">采购价:{{scope.row.purchasePrice}}</div>
<div v-if="!priceformulaId">优惠价:{{scope.row.salePrice}}</div>
<div v-if="!priceformulaId">零售价:{{scope.row.productPrice}}</div>
</template>
</el-table-column>
<el-table-column prop="actSkuAddDate" label="添加时间" align="center" v-if="activeStatus!='defaultActRegist'"></el-table-column>
<el-table-column label="操作" align="center" width="100px" v-if="showUpdateBtn&&activeStatus!='defaultActRegist'">
<template slot-scope="scope">
<div class="edit" @click="passExamineBL(0,scope.row.skuId)">
<span
>剔除</span>
</div>
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<div v-if="showUpdateBtn&&activeStatus!='defaultActRegist'">
<el-button style="margin-right: 20px" @click="toggleSelection()">全选</el-button>
<div>
<span>已选{{selection.length}}个商品</span>
<el-button size="mini" @click="passExamineBL(1)" type="primary">批量剔除</el-button>
</div> </div>
</div> </div>
</div> <pagination
<div> @eventSizeChange="eventSizeChange"
<el-table @eventCurrentChange="eventCurrentChange"
border :total="total"
v-loading="loading" :pageSize="params.pageSize"
ref="multipleTable" :currentPage="params.pageNum"
:data="actSkuList" :pagerCount='5'
tooltip-effect="dark" ></pagination>
height="600px"
style="overflow-y: scroll;width: 100%"
@selection-change="handleSelectionChange2"
stripe
>
<el-table-column type="selection" width="70" align="center"></el-table-column>
<el-table-column prop="skuImg" label="商品" align="center" width="100">
<template slot-scope="scope">
<div class="">
<image-alert showDefaultImg :image="scope.row.mainImg"></image-alert>
</div>
</template>
</el-table-column>
<el-table-column prop="spuModel" label="SPU型号" align="center" width="100"></el-table-column>
<el-table-column prop="skuModel" label="SKU型号" align="center"></el-table-column>
</el-table>
</div>
<div class="pagination-box" style="margin-top: 10px">
共{{total}}条
<el-pagination
:page-size="20"
:current-page="params.pageNum"
@current-change="eventSizeChange"
background
layout="prev, pager, next"
:total="total">
</el-pagination>
</div> </div>
</div> </div>
</div> </div>
<div style="text-align: center;margin-top: -10px" v-else>
<img style="width: 600px;height: 400px" src="../../../../static/img/index/noact.png" alt="">
<p style="color: #999999;">暂无相关活动,敬请期待!</p>
</div>
</div> </div>
</template> </template>
<script> <script>
import {_getStorage } from '@/utils/utils'
import pagination from "@/components/common/pagination"; import pagination from "@/components/common/pagination";
import toptitle from "@/components/common/topTitle"; import toptitle from "@/components/common/topTitle";
import imageAlert from "@/components/common/imageAlert";
export default { export default {
name: "list", name: "list",
components: { components: {
pagination, pagination,
toptitle,imageAlert toptitle,
}, },
data() { data() {
return { return {
otherLoading: false, priceformulaId:null,
otherLoading1: false, showUpdateBtn:true,
isShowPreList:true,
isAct: false,
applyEndDate: "",
dialogVisible: false,
activeStatus: "",
loading: false, loading: false,
preList: [
{
value: 99,
label: "全部",
},
// {
// value: 1,
// label: "优选",
// }, {
// value: 2,
// label: "严选",
// },
{
value: 11,
label: "铂金",
}, {
value: 10,
label: "淘淘淘",
},
],
selection: [], selection: [],
total: 200, total: 200,
total2: 200,
params2: {
pageSize: 20,
pageNum: 1,
search: "",
type: "",
actType: "",
},
params: { params: {
pageSize: 20, pageSize: 20,
pageNum: 1, pageNum: 1,
search: "", search: "",
type: "", type: 99,
actType: "",
}, },
zoneList: [],
actSkuList: [], actSkuList: [],
actSkuList2: [],
delSelection: [],
temType:null,
temActId:null,
delSelectionAct:[],
}; };
}, },
mounted() { mounted() {
if (this.$route.query) { this.priceformulaId = _getStorage('priceformulaId')
this.temType = this.$route.query.type; this.init();
this.temActId = this.$route.query.actId;
}
this.init()
}, },
methods: { methods: {
init(){ toggleSelection() {
this.getNotRegistsList(); this.$refs.multipleTable.toggleAllSelection();
this.getRegisteredList();
}, },
// 未参加活动的商品 async init() {
getNotRegistsList() { await this.getZoneList();
this.loading = true; },
this.$axios.post(this.temType==2?"/actregist/autonom/notRegistsList":"/actregist/notRegistsList", { goback() {
...this.params2, this.$router.push("/marketing/AddActivityProduct");
"actId":this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z', },
delActGoods() {
this.$axios.post("/actLocalRegist/delActGoods", {
skuIds: this.selection,
"actId": this.activeStatus,
}).then(res => { }).then(res => {
let { code, data } = res.data; let { code, msg } = res.data;
if (code === 200) { if (code == 200) {
this.actSkuList2 = data.list; this.getZoneList();
this.total2 = parseInt(data.total); this.$message.success(msg);
this.selection = [];
} else { } else {
this.actSkuList2 = []; this.$message.error(msg);
this.total2 = 0;
} }
this.loading = false;
}).catch(() => { }).catch(() => {
this.loading = false;
}); });
}, },
// 参加活动的商品 passExamineBL(status, skuId) {
getRegisteredList() { var msg = status == 1 ? "批量" : "";
this.loading = true; if (status == 1) {
this.$axios.post(this.temType==2?"/actregist/autonom/actSkuList":"/actregist/registered", { if (this.selection.length == 0) {
this.$message("请选择要" + msg + "剔除的商品");
return false;
}
}
this.$confirm("确定要" + msg + "剔除商品?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
if (status == 0) {
this.selection = [skuId];
}
this.delActGoods();
})
.catch(() => {
});
},
getActSkuList() {
this.$axios.post("/actLocalRegist/actSkuList", {
...this.params, ...this.params,
"actId":this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z', "actId": this.activeStatus,
}).then(res => { }).then(res => {
let { code, data } = res.data; let { code, data } = res.data;
if (code === 200) { if (code === 200) {
this.total = parseInt(data.total); this.total = parseInt(data.total);
this.actSkuList = data.list; this.actSkuList = data.list;
} else { }else {
this.actSkuList = []; this.actSkuList=[]
this.total = 0; this.total=0
} }
this.loading = false;
}).catch(() => {
this.loading = false;
}); });
}, },
delActGoods() { getZoneList() {
if (this.delSelection.length == 0) { this.$axios.get("/actLocalRegist/zoneList").then(res => {
this.$message.warning("请选择要剔除的商品"); let { code, data } = res.data;
return; if (code === 200) {
} this.showUpdateBtn=data.showUpdateBtn
let params = { this.applyEndDate = data.applyEndDate;
id:this.delSelectionAct, this.zoneList = data.list;
skuIds: this.delSelection, if(data.list[0].actType==1||data.list[0].actType==2){
actId:this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z', this.isShowPreList=false
}
// if(this.temType==2){
// params={
// id:this.delSelection
// }
// }
this.otherLoading1 = true;
this.$axios.post(this.temType==2?"/actregist/autonom/delActGoods":"/actregist/delActGoods",params).then(res => {
let { code, msg } = res.data;
if (code == 200) {
if(this.actSkuList.length-this.delSelection.length==0){
this.params.pageNum=1
} }
this.init() if(this.activeStatus==0||!this.activeStatus){
this.$message.success(msg); this.activeStatus = data.list[0].actId;
this.otherLoading1 = false; }
this.getActSkuList();
} else { } else {
this.$message.error(msg); this.isAct = true;
this.otherLoading1 = false;
} }
}).catch(() => {
this.otherLoading1 = false;
}); });
}, },
addActGoods() { handleClick(e) {
if (this.selection.length == 0) { let actType = this.zoneList[Number(e.index)].actType;
this.$message.warning("请选择要添加的商品"); if(actType==1||actType==2){
return; this.isShowPreList=false
}else {
this.isShowPreList=true
} }
this.otherLoading = true; this.params.pageNum = 1;
this.$axios.post(this.temType==2?"/actregist/autonom/addActGoods":"/actregist/addActGoods", { this.getActSkuList();
skuIds: this.selection,
"actId":this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z',
}).then(res => {
let { code, msg } = res.data;
if (code == 200) {
if (this.actSkuList2.length - this.selection.length == 0) {
this.params2.pageNum = 1;
}
this.init()
this.$message.success(msg);
this.otherLoading = false;
} else {
this.otherLoading = false;
this.$message.error(msg);
}
}).catch(() => {
this.otherLoading = false;
});
}, },
onSearch() { onSearch() {
this.params2.pageNum = 1;
this.getNotRegistsList();
},
onSearch2() {
this.params.pageNum = 1; this.params.pageNum = 1;
this.getRegisteredList(); this.getActSkuList();
},
handleSelectionChange(e) {
this.selection = [...new Set(e.map(t => this.temType==2?t.skuId: t.skuId))];
}, },
handleSelectionChange2(e) { onReset() {
this.delSelectionAct = [...new Set(e.map(t =>t.skuActId))]; this.params = {
this.delSelection = [...new Set(e.map(t => t.skuId))]; pageSize: 20,
pageNum: 1,
search: "",
type: 99,
};
this.getActSkuList();
}, },
eventSizeChange2(e) { handleSelectionChange(e) {
this.params2.pageNum = e; this.selection = [...new Set(e.map(t => t.skuId))];
this.getNotRegistsList();
}, },
eventSizeChange(e) { eventSizeChange(e) {
this.params.pageNum = e; this.params.pageSize = e;
this.getRegisteredList(); this.getActSkuList();
}, },
goback(){ eventCurrentChange(e) {
this.$router.push("/marketing/activityMall-act"); this.params.pageNum = e;
this.getActSkuList();
}, },
}, },
}; };
...@@ -357,7 +376,6 @@ ...@@ -357,7 +376,6 @@
.pagination-box { .pagination-box {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
// justify-content: space-between; // justify-content: space-between;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册