WechatOwnerService/unpackage/dist/build/h5/static/js/pages-familyList-familyList.faec43a2.js
2020-06-17 09:58:09 +08:00

1 line
5.9 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-familyList-familyList"],{"19f5":function(t,n,e){"use strict";var i={"no-data-page":e("6112").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[t.owners.length>0?e("v-uni-view",[e("v-uni-view",{staticClass:"block__title"},[t._v("成员信息")]),t._l(t.owners,(function(n,i){return e("v-uni-view",{key:i,staticClass:"bg-white margin-bottom margin-right-xs radius margin-left-xs padding"},[e("v-uni-view",{staticClass:"flex padding-bottom-xs solid-bottom justify-between"},[e("v-uni-view",[t._v(t._s(n.name))]),e("v-uni-view",{staticClass:"text-gray"},[t._v(t._s(n.link))])],1),e("v-uni-view",{staticClass:"flex margin-top justify-between"},[e("v-uni-view",{staticClass:"text-gray"},[t._v("成员编号")]),e("v-uni-view",{staticClass:"text-gray"},[t._v(t._s(n.memberId))])],1),e("v-uni-view",{staticClass:"flex margin-top-xs justify-between"},[e("v-uni-view",{staticClass:"text-gray"},[t._v("身份证号")]),e("v-uni-view",{staticClass:"text-gray"},[t._v(t._s(n.idCard))])],1),e("v-uni-view",{staticClass:"flex margin-top-xs justify-between"},[e("v-uni-view",{staticClass:"text-gray"},[t._v("成员年龄")]),e("v-uni-view",{staticClass:"text-gray"},[t._v(t._s(n.age)+"岁")])],1),e("v-uni-view",{staticClass:"flex margin-top-xs justify-between"},[e("v-uni-view",{staticClass:"text-gray"},[t._v("成员性别")]),e("v-uni-view",{staticClass:"text-gray"},[t._v(t._s(0==n.sex?"男":"女"))])],1)],1)}))],2):e("v-uni-view",[e("no-data-page")],1),e("v-uni-view",{staticClass:"button_up_blank"}),e("v-uni-view",{staticClass:" bg-white border flex justify-end",staticStyle:{position:"fixed",width:"100%",bottom:"0"}},[e("v-uni-view",{staticClass:"action text-orange margin-right line-height"}),e("v-uni-view",{staticClass:"btn-group"},[e("v-uni-button",{staticClass:"cu-btn bg-green shadow-blur lgplus sharp",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goAdd()}}},[t._v("添加成员")])],1)],1)],1)},s=[];e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return i}))},"2cd4":function(t,n,e){"use strict";e.r(n);var i=e("c64a"),a=e.n(i);for(var s in i)"default"!==s&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=a.a},"40c0":function(t,n,e){"use strict";var i,a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[e("v-uni-view",{staticClass:" text-center margin-top-100"},[e("v-uni-view",{},[e("v-uni-text",{staticClass:" cuIcon-warnfill light text-orange no-data-icon"})],1),e("v-uni-view",{},[e("v-uni-text",{staticClass:"text-gray"},[t._v("当前没有数据")])],1)],1)],1)},s=[];e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return i}))},"4cca":function(t,n,e){"use strict";var i=e("592b"),a=e.n(i);a.a},"592b":function(t,n,e){var i=e("83e8");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("17a9e076",i,!0,{sourceMap:!1,shadowMode:!1})},6112:function(t,n,e){"use strict";e.r(n);var i=e("40c0"),a=e("b7a8");for(var s in a)"default"!==s&&function(t){e.d(n,t,(function(){return a[t]}))}(s);e("4cca");var o,u=e("f0c5"),r=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"38c44226",null,!1,i["a"],o);n["default"]=r.exports},"6d25":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,".ppf_item[data-v-6994cd40]{padding:%?0?% %?0?% %?0?% %?0?%}.block__title[data-v-6994cd40]{margin:0;font-weight:400;font-size:14px;color:rgba(69,90,100,.6);padding:%?40?% %?30?% %?20?%}.button_up_blank[data-v-6994cd40]{height:%?100?%}.cu-btn.lgplus[data-v-6994cd40]{padding:0 20px;font-size:18px;height:%?100?%}.cu-btn.sharp[data-v-6994cd40]{border-radius:%?0?%}.line-height[data-v-6994cd40]{line-height:%?100?%}",""]),t.exports=n},7842:function(t,n,e){"use strict";var i=e("c359"),a=e.n(i);a.a},"83e8":function(t,n,e){var i=e("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},b7a8:function(t,n,e){"use strict";e.r(n);var i=e("f612"),a=e.n(i);for(var s in i)"default"!==s&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=a.a},c359:function(t,n,e){var i=e("6d25");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("5e92933e",i,!0,{sourceMap:!1,shadowMode:!1})},c64a:function(t,n,e){"use strict";var i=e("ee27");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("6112")),s=e("675c"),o=s.constant,u={data:function(){return{owners:[],page:1,totalPage:0,loading:!1,communityId:"",ownerId:""}},components:{noDataPage:a.default},onLoad:function(){s.onLoad(options)},onShow:function(){var t=this;s.getOwner((function(n){console.log(n.communityId,99999999),t.communityId=n.communityId,t.ownerId=n.memberId,t.getTable(1)}))},onPullDownRefresh:function(){this.loading||this.getTable(1,!0).then((function(){wx.stopPullDownRefresh()}))},onReachBottom:function(){console.log(1,!this.loading,this.page<this.totalPage),!this.loading&&this.page<this.totalPage&&this.getTable(this.page+1)},methods:{getTable:function(t,n){var e=this;this.loading=!0;var i={communityId:e.communityId,ownerId:e.ownerId};s.request({url:o.url.queryOwnerMembers,header:s.getHeaders(),method:"GET",data:i,success:function(t){if(200==t.statusCode){var n=t.data.owners;e.owners=n,e.loading=!1}},fail:function(t){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})},goAdd:function(t){uni.navigateTo({url:"/pages/family/family"})}}};n.default=u},f49c:function(t,n,e){"use strict";e.r(n);var i=e("19f5"),a=e("2cd4");for(var s in a)"default"!==s&&function(t){e.d(n,t,(function(){return a[t]}))}(s);e("7842");var o,u=e("f0c5"),r=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"6994cd40",null,!1,i["a"],o);n["default"]=r.exports},f612:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"NoDataPage",data:function(){return{}},methods:{}};n.default=i}}]);