(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/me/detail"],{"0a8f":function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("9523")),a=i("26cb");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var s={data:function(){return{ranklist:[],info:{},memberText:null,memberType:[],page:1,lastPage:""}},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,a.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 i=this;t.showModal({title:"友情提示",content:"确定删除该成员吗",success:function(t){t.confirm?i.$model.getdelete({id:e}).then((function(t){0==t.code&&(i.$tools.msg("删除成功！"),i.getFamilyList())})):t.cancel&&i.$tools.msg("您已取消删除！")}})},getFamilyList:function(){var e=this;e.$model.getFamilyList({}).then((function(i){e.$store.commit("changeFamilay",i),e.$store.dispatch("getUserInfo",{familyid:i[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=s}).call(this,i("543d")["default"])},5314:function(t,e,i){"use strict";i.r(e);var n=i("0a8f"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},8481:function(t,e,i){},"8abc":function(t,e,i){"use strict";i.r(e);var n=i("a0e7"),o=i("5314");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("b4fc");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"48c91066",null,!1,n["a"],void 0);e["default"]=s.exports},a0e7:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.ranklist.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},b04f:function(t,e,i){"use strict";(function(t,e){var n=i("4ea4");i("6808");n(i("66fd"));var o=n(i("8abc"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(o.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},b4fc:function(t,e,i){"use strict";var n=i("8481"),o=i.n(n);o.a}},[["b04f","common/runtime","common/vendor"]]]);