webpackJsonp([78],{Dequ:function(t,i){},iAKR:function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e=s("2CGT"),n=s("Fd2+"),a={data:function(){return{number:"",list:[],pageNum:1,loading:!1,finished:!1,refreshing:!1}},created:function(){var t=this.$route.query.token||"";sessionStorage.setItem("token",t);var i=this.$route.query.club||"";sessionStorage.setItem("club",i)},mounted:function(){this.getList()},methods:{getVal:function(t,i){this[i]=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;n.c.loading({message:"加载中...",forbidClick:!0,duration:0});var i={pageNo:this.pageNum,pageSize:10,identificationFlagAndPedigreeCertifiedLike:this.number};Object(e._5)(i).then(function(i){if("0"==i.rc){t.pageNum+=1;var s=i.total;t.refreshing&&(t.list=[],t.refreshing=!1);var e=t.list.concat(i.list);t.list=e,t.loading=!1,t.list.length>=s&&(t.finished=!0)}else Object(n.c)(i.msg)})},goBack:function(){this.$router.go(-1)},finish:function(){window.js.finish()},openApply:function(){this.$router.push({name:"passportDecalsApply"})},openDetail:function(t){this.$router.push({name:"passportDecalsDetail",query:{id:t.id}})}}},l={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"page"},[s("div",{staticClass:"topBox"},[s("div",{staticClass:"common_title"},[s("div",{staticClass:"img_box"},[s("div",{staticClass:"back_img",on:{click:function(i){return t.finish()}}})]),t._v(" "),s("div",{staticClass:"common_title_fl"},[t._v("犬只等级申请")]),t._v(" "),s("div",{staticClass:"img_box"},[s("div",{staticClass:"btn_box"},[s("div",{staticClass:"btn_pro",on:{click:function(i){return t.openApply()}}},[t._v("申请")])])])])]),t._v(" "),s("div",{staticClass:"content"},[s("div",{staticClass:"list"},[s("div",{staticClass:"search box_between"},[s("input",{attrs:{type:"text",placeholder:"请输入CKU证书号/犬只芯片号"},on:{blur:function(i){return t.getVal(i,"number")}}}),t._v(" "),s("div",{staticClass:"btn_box",on:{click:function(i){return t.onRefresh()}}},[s("div",{staticClass:"find_btn"},[t._v("查找")])])])]),t._v(" "),0==t.list.length?s("div",{staticClass:"normal"},[s("div",{staticClass:"icon"}),t._v(" "),s("p",[t._v("暂无更多数据")])]):s("div",[s("van-pull-refresh",{on:{refresh:function(i){return t.onRefresh()}},model:{value:t.refreshing,callback:function(i){t.refreshing=i},expression:"refreshing"}},[s("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:function(i){return t.getList()}},model:{value:t.loading,callback:function(i){t.loading=i},expression:"loading"}},t._l(t.list,function(i,e){return s("div",{key:e,staticClass:"list"},[s("div",{staticClass:"list_box",on:{click:function(s){return t.openDetail(i)}}},[s("div",{class:"未通过"==i.businessState?"grey_item_top_bg":"未审核"==i.businessState?"red_item_top_bg":"blue_item_top_bg"},[s("div",{staticClass:"item_1_box"},[s("div",{staticClass:"item_1"},[t._v("\n                    申请时间："),s("span",[t._v(t._s(i.createDate))])]),t._v(" "),s("div",{staticClass:"item_1"},[s("div",{class:"未通过"==i.businessState?"text_color_cdcdcd":"未审核"==i.businessState?"text_color_red":"text_color_blue"},[s("span",[t._v(t._s(i.businessState))])])])])]),t._v(" "),s("div",{staticClass:"item_2_box"},[s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                      血统证书号："),s("span",{staticClass:"text_color_black"},[t._v(t._s(i.pedigreeCertified))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                      芯片号："),s("span",{staticClass:"text_color_black"},[t._v(t._s(i.identificationFlag))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                      申请等级："),s("span",{staticClass:"text_color_black"},[t._v(t._s(i.applyClass))])])])])])])])}),0)],1)],1)])])},staticRenderFns:[]};var o=s("VU/8")(a,l,!1,function(t){s("Dequ")},"data-v-1a49ddd7",null);i.default=o.exports}});
//# sourceMappingURL=78.9b72fdcefb693034096b.js.map