webpackJsonp([60],{GlIC:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("Xxa5"),n=r.n(a),m=r("exGp"),o=r.n(m),i=r("WSiR"),s=r("Rrai"),u=r("l/JR"),d={name:"img-list",components:{vNav:i.a,photoAlbum:s.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 r,a,m,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.$route.query.from,a=e.$route.query.memberId,m=e.$route.query.folderId,e.memberId=a,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="+a+"&from="+r},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 r=t.data,a=r.code,n=r.message,m=r.data;m=m||[],200===a?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("photo-album",{attrs:{"member-id":this.memberId,"folder-id":this.folderId}})],1)},staticRenderFns:[]};var l=r("VU/8")(d,c,!1,function(e){r("HsoD")},"data-v-4d005540",null);t.default=l.exports},HsoD:function(e,t){}});