webpackJsonp([19],{T5MV:function(t,e){},pEsC:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),a=i.n(s),n=i("2CGT"),c=i("Fd2+"),o={data:function(){return{fmdogBreedCertifiedCode:"",pedigreeCertifiedCode:"",dogBreed:"",gender:"",birthdateYear:"",changeType:this.$route.query.certificateType||0,list:[],total:"",pageNum:1,loading:!1,finished:!1,refreshing:!1}},created:function(){},mounted:function(){this.getList()},methods:{getVal:function(t,e){this[e]=t.target.value.replace(/ /g,"")},onRefresh:function(){this.pageNum=1,this.finished=!1,this.list=[],this.loading=!0,this.getList()},getList:function(){var t=this;c.c.loading({message:"加载中...",forbidClick:!0,duration:0});var e={fmdogBreedCertifiedCode:this.fmdogBreedCertifiedCode,pedigreeCertifiedCode:this.pedigreeCertifiedCode,dogBreed:this.dogBreed,gender:this.gender,birthdateYear:this.birthdateYear,changeType:this.changeType,pageNo:this.pageNum,pageSize:10};Object(n.l)(e).then(function(e){if("0"==e.rc){t.pageNum+=1;var i=e.total;t.total=i,t.refreshing&&(t.list=[],t.refreshing=!1);var s=t.list.concat(e.list);t.list=s,t.loading=!1,t.list.length>=i&&(t.finished=!0)}else Object(c.c)(e.msg)})},goBack:function(){this.$router.go(-1)},finish:function(){window.js.finish()},openApply:function(t){sessionStorage.setItem("certificateChangeApply",a()(t)),this.$router.push({name:"certificateChangeApply",query:{certificateType:this.changeType}})}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"page"},[i("div",{staticClass:"topBox"},[i("div",{staticClass:"common_title"},[i("div",{staticClass:"img_box"},[i("div",{staticClass:"back_img",on:{click:function(e){return t.goBack()}}})]),t._v(" "),i("div",{staticClass:"common_title_fl"},[t._v("我的CKU®犬只")]),t._v(" "),i("div",{staticClass:"img_box"})])]),t._v(" "),i("div",{staticClass:"content"},[0==t.list.length?i("div",{staticClass:"normal"},[i("div",{staticClass:"icon"}),t._v(" "),i("p",[t._v("暂无更多数据")])]):i("div",[i("div",{staticClass:"btn_box"},[4==t.changeType?i("div",{staticClass:"btn"},[t._v("\n          您名下可申请纸质版证书犬只"+t._s(t.total)+"只\n        ")]):i("div",{staticClass:"btn"},[t._v("您名下共有"+t._s(t.total)+"只犬 符合条件")])]),t._v(" "),i("van-pull-refresh",{on:{refresh:function(e){return t.onRefresh()}},model:{value:t.refreshing,callback:function(e){t.refreshing=e},expression:"refreshing"}},[i("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:function(e){return t.getList()}},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,s){return i("div",{key:s,staticClass:"list"},[i("div",{staticClass:"list_box",on:{click:function(i){return t.openApply(e)}}},[i("div",{staticClass:"item_1_box"},[i("div",{staticClass:"item_box_center"},[i("div",{staticClass:"rectangle"}),t._v(" "),i("div",{staticClass:"item_1"},[t._v("\n                    血统证书号："),i("span",[t._v(t._s(e.pedigreeCertifiedCode))])])])]),t._v(" "),i("div",{staticClass:"item_2_box"},[i("div",{staticClass:"item_2"},[i("div",{staticClass:"item_box_between"},[i("div",[t._v("\n                      英文名："),i("span",{staticClass:"text_color_black"},[t._v(t._s(e.nameEn))])])])]),t._v(" "),i("div",{staticClass:"item_2"},[i("div",{staticClass:"item_box_between"},[i("div",[t._v("\n                      犬种："),i("span",{staticClass:"text_color_black"},[t._v(t._s(e.dogBreedName))])]),t._v(" "),i("div",[t._v("\n                      性别：\n                      "),i("span",{staticClass:"text_color_black"},[t._v(t._s("1"==e.gender?"公":"母"))])])])]),t._v(" "),i("div",{staticClass:"item_2"},[i("div",{staticClass:"item_box_between"},[i("div",[t._v("\n                      出生日期："),i("span",{staticClass:"text_color_black"},[t._v(t._s(e.birthdate))])])])]),t._v(" "),i("div",{staticClass:"item_2"},[i("div",{staticClass:"item_box_between"},[i("div",[t._v("\n                      身份识别码：\n                      "),i("span",{staticClass:"text_color_black"},[t._v(t._s(e.identificationFlag))])])])])])])])}),0)],1)],1)])])},staticRenderFns:[]};var l=i("VU/8")(o,d,!1,function(t){i("T5MV")},"data-v-d09dd7e0",null);e.default=l.exports}});
//# sourceMappingURL=19.7f82d70c154462aaaa67.js.map