operation-home.652592d5.js 17 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["operation-home"],{"10bd":function(t,n,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("2634")),s=i(e("b7c7")),o=i(e("2fdc")),c=(i(e("05d8")),i(e("e480"))),r={data:function(){return{store:{},stat:{},ads:{},kefu:{status:0,notread:0},noticenum:0,notices:[],showPreLoading:!0,menufooter:{}}},onLoad:function(){this._sid=this.util.getStorageSync("__sid")},onShow:function(){this.operationsManagement()},methods:{operationsManagement:function(){var t=this;return(0,o.default)((0,a.default)().mark((function n(){var e,i,o;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=t,n.next=3,c.default.shopStting({sid:t._sid});case 3:i=n.sent,o=i.data,o&&(e.store=o.store,e.stat=o.stat,e.kefu=e.util.extend(e.kefu,o.kefu),e.ads=(0,s.default)(o.ads),e.noticenum=o.notice,e.notices=(0,s.default)(o.notices));case 6:case"end":return n.stop()}}),n)})))()},tn:function(t){uni.navigateTo({url:t})},td:function(t){uni.switchTab({url:t})}}};n.default=r},8075:function(t,n,e){"use strict";e.r(n);var i=e("d536"),a=e("de38");for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(s);e("ef2b");var o=e("828b"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"1cd6bc8c",null,!1,i["a"],void 0);n["default"]=c.exports},"8e88":function(t,n,e){var i=e("c86c");n=i(!1),n.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 图标容器12 start */.badge[data-v-1cd6bc8c]{position:absolute;top:%?-110?%;left:%?70?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);min-width:16px;z-index:1;text-align:center;font-size:12px;background-color:#ff2d4b;color:#fff;padding:2px 3px;border-radius:10px 10px 10px 0;box-sizing:border-box}.tn-flex[data-v-1cd6bc8c]{flex-wrap:wrap!important}.icon12__item[data-v-1cd6bc8c]{width:30%;background-color:#fff;border-radius:%?10?%;padding:%?30?%;margin:%?20?% %?10?%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s linear;transition:transform .3s linear;transition:transform .3s linear,-webkit-transform .3s linear;-webkit-transform-origin:center center;transform-origin:center center}.icon12__item--icon[data-v-1cd6bc8c]{width:%?100?%;height:%?100?%;font-size:%?60?%;border-radius:50%;margin-bottom:%?18?%;position:relative;z-index:1}.icon12__item--icon[data-v-1cd6bc8c]::after{content:" ";position:absolute;z-index:-1;width:100%;height:100%;left:0;bottom:0;border-radius:inherit;opacity:1;-webkit-transform:scale(1);transform:scale(1);background-size:100% 100%;background-image:url(https://tnuiimage.tnkjapp.com/cool_bg_image/icon_bg.png)}\n/* 页面 start*/.shangpu-shadow[data-v-1cd6bc8c]{border-radius:%?15?%;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.07)}',""]),t.exports=n},b097:function(t,n,e){var i=e("8e88");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("967d").default;a("4bc0a8c8",i,!0,{sourceMap:!1,shadowMode:!1})},d536:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return i}));var i={tnNavBar:e("3703").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"android-pd",attrs:{id:"shop-home"}},[e("tn-nav-bar",{attrs:{fixed:!0}},[t._v(t._s(t.store.title))]),e("v-uni-view",{staticClass:"tn-margin shangpu-shadow ",style:{marginTop:t.vuex_custom_bar_height+10+"px"}},[t.ads.length>0?e("v-uni-view",{staticStyle:{width:"100%","margin-top":"20rpx 0",height:"120px","box-sizing":"border-box"}},[e("v-uni-swiper",{staticStyle:{height:"100%",width:"100%"},attrs:{autoplay:"true",interval:"3000"}},t._l(t.ads,(function(t,n){return e("v-uni-swiper-item",{key:n},[e("v-uni-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.thumb}})],1)})),1)],1):t._e()],1),e("v-uni-view",{staticClass:"tn-margin"},[e("v-uni-view",{staticClass:"shangpu-shadow tn-margin-bottom tn-margin-top"},[e("v-uni-view",{staticClass:"tn-padding-sm"},[t._v("订单管理及统计")]),e("v-uni-view",{staticClass:"tn-flex tn-radius tn-flex-wrap"},[e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.td("../order/index")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-blue tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-order"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("外卖订单")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.td("../order/tangshi/index")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-blue tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-order"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("店内订单")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/manag_statistics/home")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-purple tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-cardbag"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("买单")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.td("../statcenter/home")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-purplered tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-statistics"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("商户统计")])],1)],1)],1)],1)],1),e("v-uni-view",{staticClass:"shangpu-shadow tn-margin-bottom tn-margin-top"},[e("v-uni-view",{staticClass:"tn-padding-sm"},[t._v("商家数据")]),e("v-uni-view",{staticClass:"tn-flex tn-flex-wrap tn-radius tn-padding-bottom-sm"},[e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.td("/setting/setting")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-blue tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-shop-fill"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("商家信息")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/business_data/goods/goods")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-teal tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-basket-fill"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("商品管理")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/business_data/comment/comment")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-orangered tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-comment-fill"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("评论管理")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/business_data/asset/index")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-purple tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-money"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("资产")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/business_data/printer/printer")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-purplered tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-receipt"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("打印机")])],1)],1)],1)],1)],1),e("v-uni-view",{staticClass:"shangpu-shadow tn-margin-bottom tn-margin-top"},[e("v-uni-view",{staticClass:"tn-padding-sm"},[t._v("门店活动及推广")]),e("v-uni-view",{staticClass:"tn-flex tn-flex-wrap tn-radius tn-padding-bottom-sm"},[e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/event_promotion/avtivity/avtivity")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-blue tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-flag"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("商家活动")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/event_promotion/advertise/advertise")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-orange tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-rocket"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("商户推广")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/event_promotion/tuangouquan/scan_code")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-orange tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-scan"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("扫码核销")])],1)],1)],1)],1)],1),e("v-uni-view",{staticClass:"shangpu-shadow tn-margin-bottom tn-margin-top"},[e("v-uni-view",{staticClass:"tn-padding-sm"},[t._v("三方商户配送发单")]),e("v-uni-view",{staticClass:"tn-flex tn-flex-wrap tn-radius tn-padding-bottom-sm"},[e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/billing_related/deliveryBilling/deliveryBilling")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-blue tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-order"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("配送发单")])],1)],1)],1),e("v-uni-view",{staticClass:"tn-padding-sm tn-radius",staticStyle:{width:"25%"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tn("/operation/billing_related/billingList/list")}}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center"},[e("v-uni-view",{staticClass:"icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-main-gradient-blue tn-color-white"},[e("v-uni-view",{staticClass:"tn-icon-order"})],1),e("v-uni-view",{staticClass:"tn-color-black tn-text-center"},[e("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v("发单列表")])],1)],1)],1)],1)],1)],1)],1)},s=[]},de38:function(t,n,e){"use strict";e.r(n);var i=e("10bd"),a=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=a.a},e480:function(t,n,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.BranchInformation=r,n.InformationSettings=p,n.OperatingStatus=x,n.accountSetting=h,n.accountSubmit=C,n.administration=v,n.checkAuthcodeApi=I,n.couponScan=A,n.couponSubmit=M,n.default=void 0,n.getDrawFirmCharts=$,n.getDrawInvestCharts=k,n.getDrawMakeupCharts=E,n.getDrawMonthCharts=y,n.getDrawOverviewCharts=S,n.getImageUrl=function(t){return s.default.get("api/manage.shop.config/info",{params:t})},n.getPill=b,n.getQrcodeApi=O,n.getVipSetting=l,n.gitCommit=g,n.imageUpload=d,n.pillSubmit=_,n.setVipConfig=u,n.shopStatus=w,n.shopStting=m,n.submitImg=f,n.updateLogo=o,n.updateThumbs=c,n.useAuthcodeApi=D;var a=i(e("9b1b")),s=i(e("5b42"));function o(t){return s.default.post("api/manage.shop.config/logo",t)}function c(t){return s.default.post("api/manage.shop.config/thumbs",t)}function r(t){return s.default.get("api/manage.shop.config/info",{params:t})}function l(t){return s.default.get("api/manage.shop.config/vipConfig",{params:t})}function u(t){return s.default.post("api/manage.shop.config/setVipConfig",t,{headers:{"Content-Type":"application/json"}})}function d(t,n){return util.request((0,a.default)({method:"post",url:"manage/shop/index/info",data:t},n))}function f(t,n){return s.default.post("api/manage.shop.config/setting",t)}function v(t,n){return util.request((0,a.default)({method:"get",url:"manage/shop/index/index",data:t},n))}function p(t){return s.default.get("api/manage.shop.config/info",{params:t})}function g(t,n){return s.default.post("api/manage.shop.config/setting",t)}function m(t){return s.default.get("api/manage.shop.config/index",{params:t})}function w(t){return s.default.get("api/manage.shop.config/status",{params:t})}function x(t,n){return util.request((0,a.default)({method:"post",url:"manage/shop/index/status",data:t},n))}function h(t){return s.default.get("api/manage.shop.config/index",{params:t})}function C(t){return s.default.post("api/manage.shop.config/account",t)}function b(t){return s.default.get("api/manage.shop.config/pill",{params:t})}function _(t){return s.default.post("api/manage.shop.config/pill",t)}function k(t){return s.default.get("api/manage.statistic.count/drawInvestCharts",{params:t})}function S(t){return s.default.get("api/manage.statistic.count/drawOverviewCharts",{params:t})}function y(t){return s.default.get("api/manage.statistic.count/drawMonthCharts",{params:t})}function E(t){return s.default.get("api/manage.statistic.count/drawMakeupCharts",{params:t})}function $(t){return s.default.get("api/manage.statistic.count/drawFirmCharts",{params:t})}function M(t){return s.default.post("api/manage.coupon.coupon/submit",t)}function A(t){return s.default.post("api/manage.coupon.coupon/ScanCode",t)}function I(t){return s.default.post("api/manage.authcode.credit_authcode/checkAuthcode",t)}function D(t){return s.default.post("api/manage.authcode.credit_authcode/useAuthcode",t)}function O(t){return s.default.get("api/manage.shop.config/getQrcode",{params:t})}var T={updateLogo:o,shopStatus:w,pillSubmit:_,getPill:b,accountSubmit:C,BranchInformation:r,imageUpload:d,submitImg:f,administration:v,InformationSettings:p,gitCommit:g,shopStting:m,OperatingStatus:x,accountSetting:h,getDrawInvestCharts:k,getDrawOverviewCharts:S,getDrawMonthCharts:y,getDrawMakeupCharts:E,getDrawFirmCharts:$,couponSubmit:M,couponScan:A,checkAuthcodeApi:I,useAuthcodeApi:D,getQrcodeApi:O,getVipSetting:l,setVipConfig:u,updateThumbs:c};n.default=T},ef2b:function(t,n,e){"use strict";var i=e("b097"),a=e.n(i);a.a}}]);