(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/me/detail"],{"0b26":function(t,e,n){"use strict";(function(t){n("e568");i(n("66fd"));var e=i(n("a883"));function i(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},5271:function(t,e,n){},6943:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("26cb");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={data:function(){return{ranklist:[],info:{},memberText:null,memberType:[],page:1,lastPage:""}},computed:a({},(0,i.mapState)(["user","appTheme"])),onLoad:function(e){t.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:this.appTheme}),this.page=1,this.ranklist=[],console.log("id",e),e.id&&(this.Infoid=e.id)},onShow:function(){this.ranklist=[],this.gethistory(this.Infoid),this.getHistoryList(this.Infoid)},onReachBottom:function(){console.log(this.lastPage,this.page),!this.lastPage||this.page>=this.lastPage?t.showToast({title:"没有更多数据！",icon:"none"}):(this.page++,this.getHistoryList(this.Infoid))},methods:{getHistoryList:function(t){var e=this;this.$model.getHistoryList({familyId:t,pageNo:this.page,pageSize:10}).then((function(t){0==t.code&&(e.ranklist=e.ranklist.concat(t.data.rows),e.lastPage=t.data.totalpage)}))},gethistory:function(t){var e=this;this.$model.getdetail({id:t}).then((function(t){0==t.code&&(e.info=t.data)}))},editorInfo:function(){t.navigateTo({url:"/pageTwo/me/adduser?familayData="+JSON.stringify(this.info)})},deldet:function(e){var n=this;t.showModal({title:"友情提示",content:"确定删除该成员吗",success:function(t){t.confirm?n.$model.getdelete({id:e}).then((function(t){0==t.code&&(n.$tools.msg("删除成功！"),n.getFamilyList())})):t.cancel&&n.$tools.msg("您已取消删除！")}})},getFamilyList:function(){var e=this;e.$model.getFamilyList({}).then((function(n){e.$store.commit("changeFamilay",n),e.$store.dispatch("getUserInfo",{familyid:n[0].familyid}),t.switchTab({url:"/pages/me/me"})})).catch((function(t){}))},clickItemMethod:function(e){t.navigateTo({url:"/pageTwo/me/info?index="+JSON.stringify(e)})}}};e.default=c}).call(this,n("543d")["default"])},9666:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},a=[]},a883:function(t,e,n){"use strict";n.r(e);var i=n("9666"),o=n("b795");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("aded");var r,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"bf76a62a",null,!1,i["a"],r);e["default"]=s.exports},aded:function(t,e,n){"use strict";var i=n("5271"),o=n.n(i);o.a},b795:function(t,e,n){"use strict";n.r(e);var i=n("6943"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a}},[["0b26","common/runtime","common/vendor"]]]);