webpackJsonp([24],{"0qgs":function(e,t){},GlIC:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),m=a("exGp"),o=a.n(m),s=a("WSiR"),i=a("Rrai"),u=a("l/JR"),d={name:"img-list",components:{vNav:s.a,photoAlbum:i.default},data:function(){return{api:{getOneMemberAlbum:"/api-member/getOneMemberAlbum"},navpath:[{name:"首页",path:""},{name:"客户详情",path:"/customerDetail?memberId="+this.$route.query.memberId||""},{name:"相册",path:""}],from:"",memberId:"",folderId:""}},created:function(){var e=this;return o()(n.a.mark(function t(){var a,r,m,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$route.query.from,r=e.$route.query.memberId,m=e.$route.query.folderId,e.memberId=r,e.folderId=m,t.next=7,e.getImgList();case 7:o=e.folderData.filter(function(e){return e.id===m}),e.navpath[2]={name:"相册",path:"/photo-album?memberId="+r+"&from="+a},o.length>0&&e.navpath.push({name:o[0].name,path:""});case 10:case"end":return t.stop()}},t,e)}))()},methods:{getImgList:function(){var e=this;return u.a.get(this.api.getOneMemberAlbum+"/"+this.memberId).then(function(t){var a=t.data,r=a.code,n=a.message,m=a.data;m=m||[],200===r?e.folderData=m.slice():e.$message.error(n)})}}},c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-content"},[t("v-nav",{attrs:{navpath:this.navpath}}),this._v(" "),t("photo-album",{attrs:{"member-id":this.memberId,"folder-id":this.folderId}})],1)},staticRenderFns:[]};var h=a("VU/8")(d,c,!1,function(e){a("0qgs")},"data-v-bd1a39e6",null);t.default=h.exports}});