webpackJsonp([57],{kYzw:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2CGT"),e=i("Fd2+"),c={data:function(){return{data:"",number:""}},created:function(){},mounted:function(){},methods:{getVal:function(t,s){this[s]=t.target.value.replace(/ /g,"")},openApplyTips:function(){this.$router.push({name:"web",query:{title:"犬主变更申请须知",url:"https://vip.chongaibao.com/appHtml/dog_owner_change.html"}})},getSearch:function(){var t=this;if(""!=this.number){var s={pedigreeCertifiedCode:this.number};Object(a._3)(s).then(function(s){"0"==s.rc?t.data=s.data:(Object(e.c)(s.msg),t.data="")})}else Object(e.c)("请输入CKU证书号/犬只芯片号")},onConfirm:function(){var t=this;if(""!=this.number)if(""!=this.data){e.c.loading({message:"加载中...",forbidClick:!0,duration:0});var s={token:sessionStorage.getItem("token"),dogId:this.data.id};Object(a._22)(s).then(function(s){"0"==s.rc?t.openApplyConfirm(s.data):Object(e.c)(s.msg)})}else Object(e.c)("请查询后再提交");else Object(e.c)("请输入CKU证书号/犬只芯片号")},openApplyConfirm:function(t){Object(e.c)(t)},goBack:function(){this.$router.go(-1)},finish:function(){window.js.finish()}}},n={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;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(s){return t.goBack()}}})]),t._v(" "),i("div",{staticClass:"common_title_fl"},[t._v("犬主变更申请")]),t._v(" "),i("div",{staticClass:"img_box"},[i("div",{on:{click:function(s){return t.openApplyTips()}}},[i("div",{staticClass:"common_title_tips"},[t._v("申请")]),t._v(" "),i("div",{staticClass:"common_title_tips"},[t._v("须知")])])])])]),t._v(" "),i("div",{staticClass:"content"},[i("div",{staticClass:"list"},[i("div",{staticClass:"list_box"},[i("div",{staticClass:"search"},[i("span"),t._v(" "),i("input",{attrs:{type:"text",placeholder:"请输入CKU证书号/犬只芯片号"},on:{blur:function(s){return t.getVal(s,"number")}}})]),t._v(" "),i("div",{staticClass:"find_btn_box",on:{click:function(s){return t.getSearch()}}},[i("div",{staticClass:"find_btn"},[t._v("查询")])])])]),t._v(" "),""==t.data?i("div",{staticClass:"normal"},[i("div",{staticClass:"icon"}),t._v(" "),i("p",[t._v("暂无更多数据")])]):i("div",{staticClass:"list"},[i("div",{staticClass:"list_box"},[t._m(0),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(t.data.dogOwner))])])])]),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(t.data.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(t.data.dogBreedName))])])])]),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(t.data.pedigreeCertifiedCode))])])])]),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(t.data.identificationFlag))])])])]),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(t.data.birthdate))])]),t._v(" "),i("div")])]),t._v(" "),i("div",{staticClass:"item_2"},[i("div",{staticClass:"item_box_between"},[i("div",{staticClass:"width_50"},[t._v("\n                毛色："),i("span",{staticClass:"text_color_black"},[t._v(t._s(t.data.colorFlag))])]),t._v(" "),i("div",{staticClass:"width_50"},[t._v("\n                性别："),i("span",{staticClass:"text_color_black"},[t._v(t._s("1"==t.data.gender?"公":"母"))])]),t._v(" "),i("div")])])])])]),t._v(" "),i("div",{staticClass:"bottom"})]),t._v(" "),i("div",{staticClass:"next_btn_box"},[i("div",{staticClass:"next_btn",on:{click:function(s){return t.onConfirm()}}},[t._v("成为新主人")])])])},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"item_1_box"},[s("div",{staticClass:"item_box_center"},[s("div",{staticClass:"rectangle"}),this._v(" "),s("div",{staticClass:"item_1"},[this._v("犬只信息")])])])}]};var _=i("VU/8")(c,n,!1,function(t){i("t7fM")},"data-v-483e24ea",null);s.default=_.exports},t7fM:function(t,s){}});
//# sourceMappingURL=57.b4c21af648b370e35116.js.map