| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-569a11be"],{"045c":function(t,n,e){t.exports=e.p+"img/shop2.9b179b9e.jpg"},"08fe":function(t,n,e){},"29ee":function(t,n,e){"use strict";e("08fe")},"2dc0":function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("mu-dialog",{attrs:{title:"通知",width:"360",open:t.openSimple},on:{"update:open":function(n){t.openSimple=n}}},[t._v(" "+t._s(t.text)+" "),e("mu-button",{attrs:{slot:"actions",flat:"",color:"primary"},on:{click:t.closeSimpleDialog},slot:"actions"},[t._v("关闭")])],1)],1)},i=[],a={data:function(){return{openSimple:!1,text:""}},methods:{openSimpleDialog:function(t){this.openSimple=!0,this.text=t},closeSimpleDialog:function(){this.openSimple=!1}}},o=a,u=e("cba8"),c=Object(u["a"])(o,r,i,!1,null,"5a3ccfc4",null);n["a"]=c.exports},"3cbd":function(t,n,e){"use strict";e("710a")},"606e":function(t,n,e){var r=e("f7c7"),i=e("2bbd").EXISTS,a=e("f5e4").f,o=Function.prototype,u=o.toString,c=/^\s*function ([^ (]*)/,s="name";r&&!i&&a(o,s,{configurable:!0,get:function(){try{return u.call(this).match(c)[1]}catch(t){return""}}})},6939:function(t,n,e){t.exports=e.p+"img/banner.a5b6c712.png"},"710a":function(t,n,e){},"9ba7":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("div",{attrs:{id:"mainPage"}},[r("img",{attrs:{src:e("6939"),width:"100%"}}),r("span",{staticClass:"shopNum"},[t._v(" 俱乐部场馆共 "+t._s(t.list.length)+" 处 ")]),r("ul",{staticClass:"list"},[t._l(t.list,(function(n){return 1==parseInt(n.Status)?r("li",{on:{click:function(e){return t.goAppoint(n)}}},[r("div",{staticClass:"lt"},[r("img",{directives:[{name:"show",rawName:"v-show",value:1==parseInt(n.ShopID),expression:"parseInt(l.ShopID) == 1"}],attrs:{src:e("045c"),width:"100%",height:"100%"}})]),r("div",{staticClass:"rt"},[1==n.ShopID?r("h4",{staticStyle:{"background-color":"#FFA310"}},[t._v(t._s(n.ShopName.slice(5)))]):t._e(),r("span",[t._v("今日预约名额剩余 "),n.RemainOrdernum>0?r("i",[t._v(t._s(n.RemainOrdernum))]):t._e(),0==n.RemainOrdernum?r("i",{staticClass:"red"},[t._v(t._s(n.RemainOrdernum))]):t._e(),t._v(" 人")]),r("span",[t._v("地址:"+t._s(n.Addr))]),1==n.WxStatus&&1==n.IsJoin?r("em",{staticClass:"green"},[t._v("点击预约")]):r("em",{staticClass:"red"},[t._v("不可预约")])])]):t._e()})),""==t.list?r("div",{staticClass:"tips"},[r("p",{staticStyle:{"text-align":"center"}},[t._v(" 暂无可预约的门店 ")])]):t._e()],2),r("bottomTab",{attrs:{curTab:t.thisTab}}),r("alert",{ref:"alertPart"})],1)},i=[],a=(e("606e"),e("b8a1")),o=e("a8da"),u=e("2dc0"),c=(e("82ae"),e("379d"),e("fed1")),s={data:function(){return{thisTab:"预约课程",shopNum:0,recordNum:0,Dannum:0,GetHotelCounts:0,GetDetectorNum:0,currShopId:0,list:[]}},mounted:function(){this.getManagerSelfQuery()},destroyed:function(){},watch:{$route:function(t){"main"==t.name&&this.getList()},active:function(){this.getList()}},methods:{alertInfo:function(t){this.$refs.alertPart.openSimpleDialog(t)},getManagerSelfQuery:function(){var t=this,n=this,e={token:localStorage.token},r=c.stringify(e);Object(a["h"])(r).then((function(e){var r=e;0==r.Code?(t.currShopId=r.Rs.ShopId,t.getList()):(n.alertInfo(r.Memo),1010==r.Code&&(localStorage.clear(),console.log(1010),n.$router.push({path:"/login"})))}))},getList:function(){var t=this,n=this,e={token:localStorage.token},r=c.stringify(e);Object(a["m"])(r).then((function(e){var r=e;0==r.Code?(n.list=r.Rs,n.list&&(n.shopNum=r.Rs.length)):(n.alertInfo(r.Memo),1004==r.Code&&(localStorage.clear(),console.log(1010),t.$router.push({path:"/login"})))}))},onGoNewPage:function(t){this.$router.push({path:"/"+t})},goPage:function(t){this.$router.push({path:t})},goAppoint:function(t){var n=this;return 0==t.IsJoin?(n.alertInfo("您不是该店会员,不可预约"),!1):2==t.Status?(n.alertInfo(t.name+"不可预约"),!1):void this.$router.push({path:"/appoint",query:{shopId:t.ShopID}})}},beforeRouteEnter:function(t,n,e){e((function(n){""==t.name&&n.getList()}))},components:{bottomTab:o["a"],alert:u["a"]}},d=s,f=(e("3cbd"),e("cba8")),l=Object(f["a"])(d,r,i,!1,null,"7e18ad79",null);n["default"]=l.exports},a8da:function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{attrs:{id:"bottomTab"}},[e("mu-container",{staticStyle:{width:"100%"},attrs:{color:"primary"}},[e("mu-bottom-nav",{attrs:{value:t.nowTab,color:"#E75296"}},t._l(t.tabs,(function(t){return e("mu-bottom-nav-item",{key:t.tabindex,attrs:{title:t.name,icon:t.src,to:t.class,value:t.name}})})),1)],1)],1)},i=[],a={data:function(){return{nowTab:this.curTab,tabs:[{name:"预约课程",class:"/",src:" ",tabindex:1},{name:"预约记录",class:"record",src:" ",tabindex:2},{name:"上课统计",class:"reportLesson",src:" ",tabindex:3},{name:"我的运动",class:"report",src:" ",tabindex:4}]}},props:["curTab"],methods:{},watch:{$route:function(t){this.nowTab=t.meta.title}}},o=a,u=(e("29ee"),e("cba8")),c=Object(u["a"])(o,r,i,!1,null,"2008d39a",null);n["a"]=c.exports},b8a1:function(t,n,e){"use strict";e.d(n,"B",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"e",(function(){return c})),e.d(n,"u",(function(){return s})),e.d(n,"A",(function(){return d})),e.d(n,"j",(function(){return f})),e.d(n,"k",(function(){return l})),e.d(n,"l",(function(){return p})),e.d(n,"m",(function(){return h})),e.d(n,"a",(function(){return v})),e.d(n,"y",(function(){return m})),e.d(n,"z",(function(){return b})),e.d(n,"w",(function(){return S})),e.d(n,"h",(function(){return g})),e.d(n,"x",(function(){return x})),e.d(n,"v",(function(){return y})),e.d(n,"i",(function(){return _})),e.d(n,"n",(function(){return I})),e.d(n,"q",(function(){return C})),e.d(n,"s",(function(){return W})),e.d(n,"o",(function(){return w})),e.d(n,"p",(function(){return O})),e.d(n,"t",(function(){return D})),e.d(n,"r",(function(){return P})),e.d(n,"b",(function(){return T})),e.d(n,"g",(function(){return k})),e.d(n,"d",(function(){return Q})),e.d(n,"f",(function(){return L}));var r=e("82ae"),i=e.n(r);e("379d");function a(t,n){return i.a.post(t,n).then((function(t){var n=t.data;return n}),(function(t){console.info(t)}))}function o(t){var n=headapi+"testSelect";return a(n,t)}function u(t){var n=headapi+"v1/Auth/GenVerifyPic";return a(n,t)}function c(t){var n=headapi+"v1/Auth/GetPhoneVFCode";return a(n,t)}function s(t){var n=headapi+"v1/Auth/PhoneSignIn";return a(n,t)}function d(t){var n=headapi+"v1/Auth/WXBind";return a(n,t)}function f(t){var n=headapi+"v1/Weixin/OderAddByVipUser";return a(n,t)}function l(t){var n=headapi+"v1/Weixin/OderCancelByVipUser";return a(n,t)}function p(t){var n=headapi+"v1/Weixin/OrderListQuery";return a(n,t)}function h(t){var n=headapi+"v1/Weixin/OrderShopQuery";return a(n,t)}function v(t){var n=headapi+"v1/Weixin/CanOrderSchoolTimeTableListQuery";return a(n,t)}function m(t){var n=headapi+"v1/Weixin/VipUserConsumeListQuery";return a(n,t)}function b(t){var n=headapi+"v1/Weixin/VipUserSelfQuery";return a(n,t)}function S(t){var n=headapi+"v1/Weixin/SchoolTimeQueryByDate";return a(n,t)}function g(t){var n=headapi+"v1/User/ManagerSelfQuery";return a(n,t)}function x(t){var n=headapi+"v1/Weixin/VipUserCleCkSum";return a(n,t)}function y(t){var n=headapi+"v1/Weixin/QueryNextWeek";return a(n,t)}function _(t){var n=headapi+"v1/Weixin/MyShopQuery";return a(n,t)}function I(t){var n=headapi+"v1/Weixin/PersonCardStatistics";return a(n,t)}function C(t){var n=headapi+"v1/Weixin/PersonClassStatistics";return a(n,t)}function W(t){var n=headapi+"v1/Weixin/PersonMonthStatistics";return a(n,t)}function w(t){var n=headapi+"v1/Weixin/PersonClassDetail";return a(n,t)}function O(t){var n=headapi+"v1/Weixin/PersonClassList";return a(n,t)}function D(t){var n=headapi+"v1/Weixin/PersonScoreClassQuery";return a(n,t)}function P(t){var n=headapi+"v1/Weixin/PersonFtoList";return a(n,t)}function T(t){var n=headapi+"v1/FitnessTest/FtoDetailQuery";return a(n,t)}function k(t){var n=headbpi+"v1/OutService/GetUserHistoryInfoByDuId";return a(n,t)}function Q(t){var n=headbpi+"v1/OutService/GetHrValueInfoByDuId";return a(n,t)}function L(t){var n=headbpi+"v1/OutService/GetSportPercentByDuId";return a(n,t)}}}]);
- //# sourceMappingURL=chunk-569a11be.undefined.1634027456456.js.map
|