(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[22],{"PkE+":function(e,t,a){"use strict";a.r(t);var n=a("d6i3"),o=a.n(n),d=a("p0pE"),r=a.n(d),c=a("Aeqt"),g=a("t3Un"),i=function(e){return Object(g["a"])({url:c["a"].apis.certificateInfo.certificateInfo,method:"GET",data:e},"nothing")},s=function(e){return Object(g["a"])({url:c["a"].apis.certificateInfo.geneReport,method:"GET",data:e},"nothing")},u=a("9ibs");t["default"]={state:{dog1:{},dog2:{},dog3:{},dog4:{},dog5:{},dog6:{},dog7:{},dog8:{},dog9:{},dog10:{},dog11:{},dog12:{},dog13:{},dog14:{},id:""},reducers:{updateState:function(e,t){var a=t.payload;return r()({},e,a)},clean:function(e,t){t.payload;return{dog1:{},dog2:{},dog3:{},dog4:{},dog5:{},dog6:{},dog7:{},dog8:{},dog9:{},dog10:{},dog11:{},dog12:{},dog13:{},dog14:{}}}},effects:{certificateInfo:o.a.mark(function e(t,a){var n,d,g,s,p,f,l;return o.a.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.payload,d=a.call,g=a.put,u["g"].loading("\u67e5\u8be2\u4e2d",0),e.next=5,d(i,r()({},n));case 5:if(s=e.sent,p=s.rc,f=s.msg,l=s.data,u["g"].hide(),p!==c["a"].constant.codeSuccess){e.next=15;break}return e.next=13,g({type:"updateState",payload:r()({},l)});case 13:e.next=16;break;case 15:u["g"].fail(f);case 16:case"end":return e.stop()}},e)}),geneReport:o.a.mark(function e(t,a){var n,d,g,i,p,f,l;return o.a.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.payload,d=a.call,g=a.put,u["g"].loading("\u67e5\u8be2\u4e2d",0),e.next=5,d(s,r()({},n));case 5:if(i=e.sent,p=i.rc,f=i.msg,l=i.data,u["g"].hide(),p!==c["a"].constant.codeSuccess){e.next=15;break}return e.next=13,g({type:"updateState",payload:r()({},l)});case 13:e.next=16;break;case 15:u["g"].fail(f);case 16:case"end":return e.stop()}},e)})},subscriptions:{}}}}]);