mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
1 line
5.3 KiB
JavaScript
1 line
5.3 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-applicationKeyLocation-applicationKeyLocation"],{"0cc4":function(t,n,a){"use strict";a.r(n);var i=a("5d18"),e=a("918b");for(var o in e)"default"!==o&&function(t){a.d(n,t,(function(){return e[t]}))}(o);a("349f");var c,u=a("f0c5"),s=Object(u["a"])(e["default"],i["b"],i["c"],!1,null,"4ee59bae",null,!1,i["a"],c);n["default"]=s.exports},"2c61":function(t,n,a){var i=a("db46");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=a("4f06").default;e("1ab67926",i,!0,{sourceMap:!1,shadowMode:!1})},"349f":function(t,n,a){"use strict";var i=a("2c61"),e=a.n(i);e.a},"40c0":function(t,n,a){"use strict";var i,e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("v-uni-view",[a("v-uni-view",{staticClass:" text-center margin-top-100"},[a("v-uni-view",{},[a("v-uni-text",{staticClass:" cuIcon-warnfill light text-orange no-data-icon"})],1),a("v-uni-view",{},[a("v-uni-text",{staticClass:"text-gray"},[t._v("当前没有数据")])],1)],1)],1)},o=[];a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){return i}))},4891:function(t,n,a){"use strict";var i=a("ee27");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i(a("6112")),o=a("675c"),c=o.constant,u={data:function(){return{locations:[],communityName:"",communityId:""}},components:{noDataPage:e.default},props:{},onLoad:function(t){o.onLoad(t)},onReady:function(){},onShow:function(){this.loadOwnerLocationFun()},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{loadOwnerLocationFun:function(){var t=this;o.getOwner((function(n){console.log("数据执行",n);var a={memberId:n.memberId,communityId:n.communityId};t.communityName=n.communityName,t.communityId=n.communityId,o.request({url:c.url.listOwnerMachines,header:o.getHeaders(),method:"GET",data:a,success:function(n){if(console.log("查询业主门禁",n),200==n.statusCode){var a=n.data.machines;t.locations=a}},fail:function(t){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},gotoApplyApplicationKeyPage:function(){console.log("gotoApplyApplicationKeyPage",this.locations),this.locations.length<1?wx.showToast({icon:"none",title:"没有相应门禁供您申请"}):wx.navigateTo({url:"/pages/applicationKeyUser/applicationKeyUser?locations="+JSON.stringify(this.locations)+"&communityId="+this.communityId})}}};n.default=u},"4cca":function(t,n,a){"use strict";var i=a("592b"),e=a.n(i);e.a},"592b":function(t,n,a){var i=a("83e8");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=a("4f06").default;e("17a9e076",i,!0,{sourceMap:!1,shadowMode:!1})},"5d18":function(t,n,a){"use strict";var i={"no-data-page":a("6112").default},e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("v-uni-view",[a("v-uni-view",{staticClass:"cu-list menu"},[a("v-uni-view",{staticClass:"cu-item"},[a("v-uni-view",{staticClass:"content"},[a("v-uni-text",{staticClass:"text-grey"},[t._v("当前小区")])],1),a("v-uni-view",{staticClass:"action"},[a("v-uni-text",{staticClass:"text-grey text-sm"},[t._v(t._s(t.communityName))])],1)],1)],1),t.locations.length>0?a("v-uni-view",[a("v-uni-view",{staticClass:"cu-list menu"},t._l(t.locations,(function(n,i){return a("v-uni-view",{key:i,staticClass:"cu-item"},[a("v-uni-view",{staticClass:"content padding-tb-sm"},[a("v-uni-view",[a("v-uni-text",{staticClass:"cuIcon-clothesfill text-blue margin-right-xs"}),t._v(t._s(n.locationObjName))],1),a("v-uni-view",{staticClass:"text-gray text-sm"},[a("v-uni-text",{staticClass:"cuIcon-infofill margin-right-xs"}),t._v(t._s(n.machineCode))],1)],1)],1)})),1),a("v-uni-view",{staticClass:"akl_wirte_btn"},[a("v-uni-view",{staticClass:"padding flex flex-direction"},[a("v-uni-button",{staticClass:"cu-btn bg-green lg",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.gotoApplyApplicationKeyPage()}}},[t._v("填写资料")])],1)],1)],1):a("v-uni-view",[a("no-data-page")],1)],1)},o=[];a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){return i}))},6112:function(t,n,a){"use strict";a.r(n);var i=a("40c0"),e=a("b7a8");for(var o in e)"default"!==o&&function(t){a.d(n,t,(function(){return e[t]}))}(o);a("4cca");var c,u=a("f0c5"),s=Object(u["a"])(e["default"],i["b"],i["c"],!1,null,"38c44226",null,!1,i["a"],c);n["default"]=s.exports},"83e8":function(t,n,a){var i=a("24fb");n=i(!1),n.push([t.i,".no-data-icon[data-v-38c44226]{font-size:%?200?%}.margin-top-100[data-v-38c44226]{margin-top:%?200?%}",""]),t.exports=n},"918b":function(t,n,a){"use strict";a.r(n);var i=a("4891"),e=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(n,t,(function(){return i[t]}))}(o);n["default"]=e.a},b7a8:function(t,n,a){"use strict";a.r(n);var i=a("f612"),e=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(n,t,(function(){return i[t]}))}(o);n["default"]=e.a},db46:function(t,n,a){var i=a("24fb");n=i(!1),n.push([t.i,".akl_community[data-v-4ee59bae]{padding:%?10?% 0}.akl_wirte_btn[data-v-4ee59bae]{padding-top:%?60?%;padding-bottom:%?60?%;background-color:#fff}.akl_wirte_btn .akl_wirte_btn_small[data-v-4ee59bae]{width:80%;margin:0 auto}",""]),t.exports=n},f612:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"NoDataPage",data:function(){return{}},methods:{}};n.default=i}}]); |