my.js
4.49 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/my"],{1819:function(n,t,e){"use strict";e.r(t);var i=e("e30f"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},5608:function(n,t,e){"use strict";e.r(t);var i=e("b494"),a=e("1819");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("fca6");var r=e("828b"),g=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"07ff7597",null,!1,i["a"],void 0);t["default"]=g.exports},"69f8":function(n,t,e){"use strict";(function(n,t){var i=e("47a9");e("9a91");i(e("3240"));var a=i(e("5608"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},b494:function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var i={tabbar:function(){return e.e("components/tabbar/tabbar").then(e.bind(null,"3789"))}},a=function(){var n=this,t=n.$createElement,e=(n._self._c,n.$imgUrl("/bg.png")),i=n.$imgUrl("/logo.png"),a=n.Islogin?n.$imgUrl("/img/head.jpg"):null,o=n.$imgUrl("/vip.png"),r=n.$imgUrl("/right1.png"),g=n.$imgUrl("/my-icon1.png"),s=n.$imgUrl("/right2.png"),c=n.$imgUrl("/my-icon2.png"),u=n.$imgUrl("/right2.png"),l=n.$imgUrl("/my-icon2.png"),p=n.$imgUrl("/right2.png"),d=n.$imgUrl("/my-icon3.png"),h=n.$imgUrl("/right2.png"),f=n.$imgUrl("/my-icon2.png"),m=n.$imgUrl("/right2.png");n.$mp.data=Object.assign({},{$root:{m0:e,m1:i,m2:a,m3:o,m4:r,m5:g,m6:s,m7:c,m8:u,m9:l,m10:p,m11:d,m12:h,m13:f,m14:m}})},o=[]},e1d2:function(n,t,e){},e30f:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=e("79bf"),a={components:{tabbar:function(){e.e("components/tabbar/tabbar").then(function(){return resolve(e("3789"))}.bind(null,e)).catch(e.oe)}},data:function(){return{Islogin:!0,scrollTop:0,isHotline:!1,shopMsg:{},pageindex:{pageNumber:1,pageSize:10},tuiguang:"",tongji:{},activityNum:0,wenjuanNum:0}},onload:function(){},onShow:function(){var t=this,e={shopId:n.getStorageSync("shopId")||""},i=n.getStorageSync("token");if(""==i)n.navigateTo({url:"/pages/login/login"});else{var a={condition:2};this.$http.sendRequest("/shop/getById","POST",e).then((function(e){"20004"!=e.data.code?(t.shopMsg=e.data.data,t.Islogin=!1,t.$http.sendRequest("/index/index","POST",a).then((function(n){t.tongji=n.data.data}))):n.navigateTo({url:"/pages/login/login"})}))}},onReady:function(){n.hideTabBar()},onPageScroll:function(n){this.scrollTop=n.scrollTop},mounted:function(){this.getALL()},methods:{getALL:function(){var t=this;this.pageindex.createUser=n.getStorageSync("shopId"),this.$http.sendRequest("/cerePromotion/queryByPage","POST",this.pageindex,1).then((function(n){t.tuiguang=n.data.data.content.length})),this.$http.sendRequest("/cereActivityApplication/queryByPage","POST",this.pageindex,1).then((function(n){t.activityNum=n.data.data.content.length})),this.$http.sendRequest("/cereQuestionnaireTable/queryByPage","POST",this.pageindex,1).then((function(n){t.wenjuanNum=n.data.data.content.length}))},toPage:function(t){n.navigateTo({url:t})},recordService:function(){0==this.Islogin&&n.navigateTo({url:"/pages/recordService/recordService"})},complaint:function(){0==this.Islogin&&n.navigateTo({url:"/pages/complaint/complaint"})},repair:function(){0==this.Islogin&&n.navigateTo({url:"/pages/repair/repair"})},apply:function(){0==this.Islogin&&n.navigateTo({url:"/pages/record/record"})},myativity:function(){0==this.Islogin&&n.navigateTo({url:"/pages/mycreated/mycreated"})},questionnaire:function(){0==this.Islogin&&n.navigateTo({url:"/pages/questionnaire/questionnaire"})},shopjcMsg:function(){var t=JSON.stringify(this.shopMsg);0==this.Islogin&&n.navigateTo({url:"/pages/shopjcMsg/shopjcMsg?shopMsg=".concat(t)})},projectM:function(){0==this.Islogin&&n.navigateTo({url:"/pages/projectManagement/projectManagement"})},handleApplySettle:function(){var t=n.getStorageSync("token"),e=(0,i.Encrypt)(t),a=this.shopMsg.shopName;n.navigateTo({url:"../linkOthers/index?url=".concat("https://jy.scjysm.asia:18086/settled-merchant","&username=").concat(a,"&user=").concat(e)})},myMsg:function(){var t=n.getStorageSync("token");if(""==t)n.navigateTo({url:"/pages/login/login"});else{var e=JSON.stringify(this.shopMsg);0==this.Islogin&&n.navigateTo({url:"/pages/shopjcMsg/shopjcMsg?shopMsg=".concat(e)})}}}};t.default=a}).call(this,e("df3c")["default"])},fca6:function(n,t,e){"use strict";var i=e("e1d2"),a=e.n(i);a.a}},[["69f8","common/runtime","common/vendor"]]]);