(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25c326c8"],{"10cb":function(t,e,r){"use strict";r("96cf");var n=r("1da1"),a=r("c3f6"),s=r("eb7c"),i=r("6a9e"),c={querySellerByYwh:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"seller/querySpfSellerByYwh/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("查询出卖人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),querySellerByBsm:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"seller/querySpfSellerByBsm/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("查询出卖人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),queryBuyerDlrByBsm:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"buyerDlr/queryBuyerDlrByBsm/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("查询代理人或监护人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),queryBuyerDlrListByBsmcode:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"buyerDlr/queryBuyerDlrListByBsmcode/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=9;break}return console.log(n.data),t.abrupt("return",n.data);case 9:throw new Error("查询代理人或监护人信息失败！"+n.msg);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveOrUpdateBuyerDlr:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"buyerDlr/saveOrUpdateBuyerDlr",method:"post",data:e,responseType:"json"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("保存或者更新监护人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteBuyerDlrByBsm:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"buyerDlr/deleteBuyerDlrByBsm/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("删除监护人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveOrUpdateSeller:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"seller/saveOrUpdateSeller",method:"post",data:e,responseType:"json"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("保存或者更新出卖人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),queryBuyerByBsm:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"buyer/queryBuyerByBsm/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("查询购房人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),queryBuyersByYwh:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microContract+"buyer/queryBuyerListByYwh/"+e,method:"get"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("查询买受人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),queryClfBuyersByYwh:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTrans+"applicant/findByYwhAndType?ywh="+e+"&type="+r,method:"get"});case 2:if(n=t.sent,i=n.data,200!==i.status){t.next=8;break}return t.abrupt("return",i.data);case 8:throw new Error("查询申请人失败！"+i.msg);case 9:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}(),queryBuyersTransactByYwh:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTransact3+"onLineSign/queryOnLineSignByBusinessKey/"+e,method:"get"});case 2:if(n=t.sent,i=n.data,200!==i.status){t.next=8;break}return t.abrupt("return",i.data.applicantList.filter((function(t){return t.sqrlb===r})));case 8:throw new Error("查询申请人失败！"+i.msg);case 9:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}(),initPublicSignAttribute:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTrans+"salePubContract/initAttribute/"+e,method:"POST",responseType:"json"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("初始化网签数据失败！"+(i["a"].isNull(n.msg)?"":n.msg));case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),initPublicSignAttributeNew:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTransact3+"onLineSign/initAttribute/",method:"POST",data:e,responseType:"json"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("初始化网签数据失败！"+(i["a"].isNull(n.msg)?"":n.msg));case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),extractPublicApplicantInfo:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTrans+"applicant/extractPublicApplicantInfo",method:"post",data:e,responseType:"json"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("查询申请人失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveOrUpdateBuyer:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTrans+"applicant/merge",method:"post",data:e,responseType:"json"});case 2:if(r=t.sent,n=r.data,200!==n.status){t.next=8;break}return t.abrupt("return",n.data);case 8:throw new Error("保存或者更新购房人信息失败！"+n.msg);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteBuyersByBsm:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].request({url:s["a"].microTrans+"applicant/deleteById/"+e,method:"post"});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),querySignUnitListByYwh:function(t){return a["a"].request({url:s["a"].microContract+"spfContractUnit/querySignUnitListByYwh/"+t,responseType:"json"})}};e["a"]=c},"1b1f":function(t,e,r){},2115:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"human-face"},[e("div",{staticClass:"face-title"},["face"==t.type?e("p",[t._v("身份核验")]):t._e(),"sign"==t.type?e("p",[t._v("电子签名")]):t._e(),"ask"==t.type?e("p",[t._v("询问笔录")]):t._e(),"cns"==t.type?e("p",[t._v("承诺书")]):t._e()]),e("div",{staticClass:"face-info"},[e("div",{staticClass:"face-identity card-shadow"},[e("div",{staticClass:"identity-name"},[t.isEquityReplace?t._e():e("p",[t._v("单元信息")]),t.isEquityReplace?e("p",[t._v("安置区")]):t._e(),e("span",[t._v(t._s(t.ywh))])]),e("div",{staticClass:"identity-located"},[e("img",{attrs:{src:r("a2f4")}}),t.isEquityReplace?t._e():e("p",[t._v(t._s(t.house.zl))]),t.isEquityReplace?e("p",[t._v(t._s(t.azqkmc))]):t._e()])])]),t.faceRiskWarningInfo&&"face"==t.type?e("div",[e("scroll-tip",{attrs:{title:t.faceRiskWarningInfo}})],1):t._e(),t.playing?e("div",[e("audio",{staticClass:"audio-player",attrs:{controls:"controls",id:"audioTest"}},[e("source",{attrs:{src:t.nowWarningVoice}})])]):t._e(),"face"==t.type?e("div",{staticClass:"face-spot card-shadow"},t._l(t.sqrList,(function(n,a){return e("div",{key:a,staticClass:"spot-id",on:{click:function(e){return t.identityAuthCheck(n)}}},[0==n.rzzt?e("img",{attrs:{src:r("a7c8")}}):t._e(),1==n.rzzt?e("img",{attrs:{src:r("f51b")}}):t._e(),0==n.rzzt?e("p",{staticClass:"id-veri"},[t._v("人脸验证")]):t._e(),1==n.rzzt?e("p",{staticClass:"id-veri"},[t._v("验证成功")]):t._e(),e("p",{staticClass:"id-name"},[t._v(t._s(n.sqrmc)+"\n                "),2!=n.sqrlb||null!=n.smsfyz&&"1"!=n.smsfyz?t._e():e("span",[t._v("\n               "+t._s("contractBuyer"!==t.$route.query.page?"转出方":"出卖人")+"\n            ")]),2==n.sqrlb&&"2"==n.smsfyz?e("span",[t._v("\n               "+t._s("contractBuyer"!==t.$route.query.page?"转出方代理人":"出卖人代理人")+"\n               ")]):t._e(),1!=n.sqrlb||null!=n.smsfyz&&"1"!=n.smsfyz?t._e():e("span",[t._v("\n             "+t._s("contractBuyer"!==t.$route.query.page?"转入方":"购买方")+"\n            ")]),1==n.sqrlb&&"2"==n.smsfyz?e("span",[t._v("\n             "+t._s("contractBuyer"!==t.$route.query.page?"转入方代理人":"购买方代理人")+"\n               ")]):t._e()]),e("p",{staticClass:"id-phone"},[t._v(t._s(n.sqryddh))])])})),0):t._e(),"sign"==t.type?e("div",{staticClass:"face-spot card-shadow"},t._l(t.sqrList,(function(n,a){return e("div",{key:a,staticClass:"spot-id",on:{click:function(e){return t.sign(n.signExecuteUrl,n.signStatus)}}},[2!=n.signStatus?e("img",{attrs:{src:r("6c97")}}):t._e(),2==n.signStatus?e("img",{attrs:{src:r("1eb9")}}):t._e(),2!=n.signStatus?e("p",{staticClass:"id-veri"},[t._v("电子签名")]):t._e(),2==n.signStatus?e("p",{staticClass:"id-veri"},[t._v("签署成功")]):t._e(),e("p",{staticClass:"id-name"},[t._v(t._s(n.sqrmc)+"\n                "),2==n.sqrlb?e("span",[t._v("转出方")]):t._e(),1==n.sqrlb?e("span",[t._v("转入方")]):t._e()]),e("p",{staticClass:"id-phone"},[t._v(t._s(n.sqryddh))])])})),0):t._e(),"ask"==t.type?e("div",{staticClass:"face-spot card-shadow"},t._l(t.sqrList,(function(n,a){return e("div",{key:a,staticClass:"spot-id",on:{click:function(e){return t.write(n.bsm)}}},[1!=n.xwblzt?e("img",{attrs:{src:r("6c97")}}):t._e(),1==n.xwblzt?e("img",{attrs:{src:r("1eb9")}}):t._e(),1!=n.xwblzt?e("p",{staticClass:"id-veri"},[t._v("待填写")]):t._e(),1==n.xwblzt?e("p",{staticClass:"id-veri"},[t._v("填写完成")]):t._e(),e("p",{staticClass:"id-name"},[t._v(t._s(n.sqrmc)+"\n                "),2==n.sqrlb?e("span",[t._v("转出方")]):t._e(),1==n.sqrlb?e("span",[t._v("转入方")]):t._e()]),e("p",{staticClass:"id-phone"},[t._v(t._s(n.sqryddh))])])})),0):t._e(),"cns"==t.type?e("div",{staticClass:"face-spot card-shadow"},t._l(t.sqrList,(function(n,a){return e("div",{key:a,staticClass:"spot-id",on:{click:function(e){return t.fillIn(n.bsm,n.sqrmc)}}},[1!=n.cnszt?e("img",{attrs:{src:r("6c97")}}):t._e(),1==n.cnszt?e("img",{attrs:{src:r("1eb9")}}):t._e(),1!=n.cnszt?e("p",{staticClass:"id-veri"},[t._v("待填写")]):t._e(),1==n.cnszt?e("p",{staticClass:"id-veri"},[t._v("填写完成")]):t._e(),e("p",{staticClass:"id-name"},[t._v(t._s(n.sqrmc)+"\n                "),2==n.sqrlb?e("span",[t._v("转出方")]):t._e(),1==n.sqrlb?e("span",[t._v("转入方")]):t._e()]),e("p",{staticClass:"id-phone"},[t._v(t._s(n.sqryddh))])])})),0):t._e(),e("div",{staticClass:"prom"},[e("span",[t._v("注：请点击您的身份信息进行\n            "),"face"==t.type?e("span",{staticClass:"tip"},[t._v("身份验证")]):t._e(),"sign"==t.type?e("span",{staticClass:"tip"},[t._v("电子签名")]):t._e(),"ask"==t.type?e("span",{staticClass:"tip"},[t._v("询问笔录"),e("span",{staticStyle:{color:"#666666","font-weight":"normal"}},[t._v(" 填写")])]):t._e(),"cns"==t.type?e("span",{staticClass:"tip"},[t._v("承诺书"),e("span",{staticStyle:{color:"#666666","font-weight":"normal"}},[t._v(" 填写")])]):t._e(),t._v("。\n        ")]),"cxht"==t.rzbz?e("p",{staticClass:"tip"},[t._v("\n            申请人同意身份核验并通过后，经办人将可以直接撤销上述不动产的登记申请。\n        ")]):t._e()])])},a=[],s=(r("8e6e"),r("456d"),r("ade3")),i=r("2909"),c=(r("ac6a"),r("7514"),r("96cf"),r("1da1")),u=r("5bd7"),o=r("6a9e"),l=r("10cb"),p=r("c3f6"),h=r("eb7c"),f={getApplicantInfos:function(t,e,r){return p["a"].request({url:h["a"].microContract+"identity/ignoreOuth/getAndInitBuyerInfos?ywh="+t+"&rzbz="+e+"&businessType="+r,responseType:"json"})},pushSfrzData:function(t,e){return p["a"].request({url:h["a"].microContract+"identity/ignoreOuth/pushSfrzData?ywh="+t,method:"post",data:e,responseType:"json"})}},d=f,g=r("e8bf"),y=r.n(g),m=r("c1da"),v=r("bd69"),b=function(){var t=this,e=t._self._c;return e("div",{staticClass:"scroll-tip"},[e("div",{staticClass:"notice-bar",attrs:{role:"alert"}},[e("i",{staticClass:"el-icon-chat-dot-square"}),e("div",{staticClass:"notice-bar__wrap",attrs:{role:"marquee"}},[e("div",{ref:"tip",staticClass:"notice-bar__content",on:{click:t.bt}},[t._v("\n                "+t._s(t.msg)+"\n            ")])])])])},w=[],q={name:"scroll-tip",props:{title:String},data:function(){return{msg:"",intervarID:null}},created:function(){this.msg=this.title,this.scrollflyTip()},methods:{bt:function(){console.log(this.$refs.tip.innerHTML)},scrollflyTip:function(){var t=this;null==t.intervarID&&(t.intervarID=setInterval((function(){var e=t.msg.substring(0,1),r=t.msg.substring(1);t.msg=r+e}),300))},stop:function(){clearInterval(this.intervarID),this.intervarID=null}}},x=q,_=(r("bc10"),r("2877")),k=Object(_["a"])(x,b,w,!1,null,"eb2a73d6",null),z=k.exports,R=r("7f23");function B(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?B(Object(r),!0).forEach((function(e){Object(s["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var S={name:"facerecognition",data:function(){return{ywh:"",type:"",mark:"",sqlxmc:"",timestamp:"",house:{zl:"~~~~~~~~~"},sqrList:[],qyzhQsList:[],authWay:"0",zlbAppId:"",rzbz:"sq",lcdm:"",isEquityReplace:!1,azqkmc:"",faceRiskWarningInfo:"",faceRiskWarningVoiceList:[],nowVoiceIndex:0,nowWarningVoice:"",playing:!1,qslx:"",singleRegion:""}},components:{ScrollTip:z},created:function(){this.singleRegion=this.$route.query.singleRegion,this.ywh=this.$route.query.ywh,this.qslx=null==this.$route.query.qslx?"esfmm":this.$route.query.qslx,this.$route.query.lcdm&&(this.lcdm=this.$route.query.lcdm,this.isEquityReplace=m["a"].checkEquityReplacementWorkFlow(this.$route.query.lcdm)),this.type=this.$route.query.type,"cns"===this.type?this.mark=this.$route.query.mark:"face"===this.type&&this.getFaceRiskWarningInfo(),this.timestamp=this.$route.query.timestamp,o["a"].isNull(this.$route.query.rzbz)||(this.rzbz=this.$route.query.rzbz),this.isEquityReplace?this.queryResettlementArea():this.getUnitInfoByYwh(),this.checkQrCodeValid()},methods:{getUnitInfoByYwh:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:t.prev=0,t.t0=this.$route.query.page,t.next="contractBuyer"===t.t0?4:"clf"===t.t0?7:10;break;case 4:return t.next=6,this.getSpf();case 6:return t.abrupt("break",13);case 7:return t.next=9,this.getClf();case 9:return t.abrupt("break",13);case 10:return t.next=12,this.getRegister();case 12:return t.abrupt("break",13);case 13:t.next=18;break;case 15:t.prev=15,t.t1=t["catch"](0),console.log(t.t1);case 18:case"end":return t.stop()}}),t,this,[[0,15]])})));function e(){return t.apply(this,arguments)}return e}(),getRegister:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].getUnitInfoByYwh(this.ywh);case 2:e=t.sent,r=e.data,200===r.status?this.house.zl=r.data.zl:y.a.msg("根据ywh获取单元信息失败！");case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getSpf:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e,r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].querySignUnitListByYwh(this.ywh);case 2:e=t.sent,r=e.data,r.data&&1===r.data.length?this.house.zl=r.data[0]&&r.data[0].zl:r.data&&r.data.length>1&&(n=Math.max.apply(Math,r.data.map((function(t){return t.jzmj}))),n&&(this.house.zl="".concat(r.data.find((function(t){return t.jzmj===n})).zl,"等（共").concat(r.data.length,"室）")));case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getClf:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,R["a"].querySaleUnit(this.ywh);case 2:e=t.sent,console.log(e),this.house.zl=e["zl"];case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),queryResettlementArea:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,v["a"].queryAzqmcByYwh(this.ywh);case 3:e=t.sent,r=e.data,r.data&&(this.azqkmc=r.data),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),console.log(t.t0);case 11:case"end":return t.stop()}}),t,this,[[0,8]])})));function e(){return t.apply(this,arguments)}return e}(),checkQrCodeValid:function(){var t=this;u["a"].getQrCodeValidity().then((function(e){var r=e.data;if(200!==r.status)y.a.msg("获取二维码有效期限失败！");else{var n=r.data,a=(new Date).getTime();if(t.timestamp=o["a"].decryptAES(t.timestamp),!(a-t.timestamp<=60*n*1e3))return void y.a.msg("二维码已失效！");"face"==t.type?(t.getApplicantList(),t.getAuthParamsInfo()):"sign"==t.type?t.isEquityReplace?t.querySignflowAndSignersUrl():t.getSignerSignUrlList():"ask"==t.type?t.getApplicantListByType("xwbl"):"cns"==t.type&&t.getApplicantListByType("cns")}}))},getApplicantList:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e,r,n,a,s,c,l,p=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.$loading({lock:!0,background:"rgba(255, 255, 255, 0.7)"}),t.t0=this.$route.query.page,t.next="contractBuyer"===t.t0?4:"clf"===t.t0?19:35;break;case 4:return t.prev=4,t.next=7,d.getApplicantInfos(this.$route.query.ywh,this.rzbz,this.$route.query.page);case 7:r=t.sent,n=r.data,e.close(),a={sfrz:"state",xm:"sqrmc",lxdh:"sqryddh",gfrlx:"sqrlb",zjhm:"sqrzjhm"},this.sqrList=this.translateField(a,n.data),this.sqrList.forEach((function(t){"2"==t.sqrlb&&(p.sqlxmc="contractBuyer"!==p.$route.query.page?"转出方":"出卖人"),"1"==t.sqrlb&&(p.sqlxmc="contractBuyer"!==p.$route.query.page?"转入方":"购买方")})),t.next=18;break;case 15:t.prev=15,t.t1=t["catch"](4),e.close();case 18:return t.abrupt("break",37);case 19:return t.prev=19,t.next=22,d.getApplicantInfos(this.$route.query.ywh,this.rzbz,this.$route.query.page);case 22:s=t.sent,c=s.data,e.close(),l={sfrz:"rzzt",xm:"sqrmc",lxdh:"sqryddh",gfrlx:"sqrlb",zjhm:"sqrzjh"},this.sqrList=this.translateField(l,c.data),this.sqrList.forEach((function(t){"2"==t.sqrlb&&(p.sqlxmc="contractBuyer"!==p.$route.query.page?"转出方":"出卖人"),"1"==t.sqrlb&&(p.sqlxmc="contractBuyer"!==p.$route.query.page?"转入方":"购买方")})),console.log(this.sqrList),t.next=34;break;case 31:t.prev=31,t.t2=t["catch"](19),e.close();case 34:return t.abrupt("break",37);case 35:return u["a"].getApplicantList(this.ywh,this.rzbz).then((function(t){var r=t.data;if(200!==r.status)y.a.msg("获取人脸识别中的申请人列表信息失败！");else{var n=[],a=[];if(r.data.length>1)if(r.data.forEach((function(t){"2"===t.smsfyz?n.push(t):a.push(t)})),2===n.length){var s=[];n[0].sqrdlrmc===n[1].sqrdlrmc&&n[0].sqrdlrzjh===n[1].sqrdlrzjh&&(s=n.filter((function(t){return"2"===t.sqrlb})),p.sqrList=[].concat(a,Object(i["a"])(s))),console.log("去重后核验信息：sqrList"),console.log(p.sqrList)}else p.sqrList=r.data;else p.sqrList=r.data;p.sqrList.forEach((function(t){"2"!=t.sqrlb&&"1"!=t.sqrlb&&"xglzxx"!==p.rzbz||"2"!=t.smsfyz||o["a"].isNull(t.sqrdlrmc)||o["a"].isNull(t.sqrdlrmc)||(t.sqrmc=t.sqrdlrmc,t.sqrzjh=t.sqrdlrzjh,t.sqryddh=t.sqrdlrdh.substr(0,3)+"****"+t.sqrdlrdh.substr(8))})),console.log("最终核验信息：sqrList"),console.log(p.sqrList)}e.close()})).catch((function(){e.close()})),t.abrupt("break",37);case 37:case"end":return t.stop()}}),t,this,[[4,15],[19,31]])})));function e(){return t.apply(this,arguments)}return e}(),translateField:function(t,e){for(var r=e.length,n=0;n<r;n++){var a=e[n];for(var s in a){var i=t[s];i&&(a[i]=a[s],delete a[s])}}return e},getAuthParamsInfo:function(){var t=this;u["a"].getAuthParamsInfo().then((function(e){var r=e.data;200!==r.status?y.a.msg("获取身份核验认证参数信息失败！"):(t.authWay=r.data.authWay,"1"==t.authWay&&(t.zlbAppId=r.data.zlbAppId))}))},identityAuthCheck:function(t){1!=t.rzzt?this.identityAuth(t):y.a.msg("您的身份信息已经核验通过！")},identityAuth:function(t){var e=this,r=C({},t),n=r.bsm,a=r.sqrmc,s=r.sqrzjh;if(null!=a&&""!=a&&void 0!=a)if(null!=s&&""!=s&&void 0!=s){if("0"==this.authWay)this.alipayAuth(n,a,s);else if("1"==this.authWay){var i=this.$loading({lock:!0,background:"rgba(255, 255, 255, 0.7)"});"YW"===this.singleRegion&&1!=t.sqrlx&&"xglzxx"!=this.rzbz&&(s=t.sqrfrzjh,a=t.sqrfrmc),window.ZWJSBridge.zmAuthentication({certNo:s,certName:a}).then((function(t){t.pass?"YW"===e.singleRegion?e.productSfrzDataByYw(n,a,s,t.passId):e.productSfrzData(n,a,s,t.passId):y.a.msg(JSON.stringify(t)),i.close()})).catch((function(t){y.a.msg(JSON.stringify(t)),i.close()}))}}else y.a.msg("身份证号为空，不能进行身份核验！");else y.a.msg("姓名为空，不能进行身份核验！")},alipayAuth:function(t,e,r){var n=this,a=(new Date).getTime();a=o["a"].encryptionAES(a);var s=window.location.origin+"/facerecognition?ywh="+this.ywh+"&type=face&timestamp="+a+"&rzbz="+this.rzbz;"contractBuyer"!==this.$route.query.page&&"clf"!==this.$route.query.page||(s=window.location.origin+"/facerecognition?ywh="+this.ywh+"&type=face&timestamp="+a+"&page="+this.$route.query.page);var i={userName:e,identityCard:r,returnUrl:s};u["a"].identityAuth(i).then((function(a){var s=a.data;if(200!==s.status)y.a.msg("支付宝人脸识别失败！");else{var i=s.data.certifyId;n.productSfrzData(t,e,r,i);var c=s.data.url;window.location.href="alipays://platformapi/startapp?appId=20000067&url="+encodeURIComponent(c)}}))},zlbAuth:function(t,e,r){var n=this;dd.biz.user.realAuthentication({appId:this.zlbAppId,certNo:r,certName:e,extraData:"",onSuccess:function(a){if("1"==a.pass){var s=a.passId;n.productSfrzData(t,e,r,s)}else y.a.msg("身份核验失败！")},OnFail:function(){y.a.msg("浙里办APP系统异常！")}})},productSfrzData:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(e,r,n,a){var s,i,c,o,l,p=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s={bsm:e,name:r,cardId:n,certifyId:a,rzbz:this.rzbz},t.t0=this.$route.query.page,t.next="contractBuyer"===t.t0?4:"clf"===t.t0?16:28;break;case 4:return t.prev=4,t.next=7,d.pushSfrzData(this.ywh,s);case 7:i=t.sent,c=i.data,200!==c.status?y.a.msg("向身份认证表中插入数据失败！"):"1"==this.authWay&&this.getApplicantList(),t.next=15;break;case 12:t.prev=12,t.t1=t["catch"](4),console.log(t.t1);case 15:return t.abrupt("break",30);case 16:return t.prev=16,t.next=19,d.pushSfrzData(this.ywh,s);case 19:o=t.sent,l=o.data,200!==l.status?y.a.msg("向身份认证表中插入数据失败！"):"1"==this.authWay&&this.getApplicantList(),t.next=27;break;case 24:t.prev=24,t.t2=t["catch"](16),console.log(t.t2);case 27:return t.abrupt("break",30);case 28:return u["a"].productSfrzData(this.ywh,s).then((function(t){var e=t.data;200!==e.status?y.a.msg("向身份认证表中插入数据失败！"):(console.log(e.msg),"1"==p.authWay&&p.getApplicantList())})),t.abrupt("break",30);case 30:case"end":return t.stop()}}),t,this,[[4,12],[16,24]])})));function e(e,r,n,a){return t.apply(this,arguments)}return e}(),getSignerSignUrlList:function(){var t=this,e=this.$loading({lock:!0,background:"rgba(255, 255, 255, 0.7)"});u["a"].getSignerSignUrlList(this.ywh,this.qslx).then((function(r){var n=r.data;200!==n.status?y.a.msg("获取签署人签署地址列表信息失败！"):t.sqrList=n.data,e.close()})).catch((function(){e.close()}))},querySignflowAndSignersUrl:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var e,r,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.$loading({lock:!0,background:"rgba(255, 255, 255, 0.7)"}),t.prev=1,r=this.$route.query.filetype,t.next=5,v["a"].querySignflowAndSignersUrl(this.ywh,r,this.lcdm);case 5:n=t.sent,a=n.data,a.data&&(this.sqrList=a.data.signerList),t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](1),console.log(t.t0);case 13:return t.prev=13,e.close(),t.finish(13);case 16:case"end":return t.stop()}}),t,this,[[1,10,13,16]])})));function e(){return t.apply(this,arguments)}return e}(),getApplicantListByType:function(t){var e=this,r=this.$loading({lock:!0,background:"rgba(255, 255, 255, 0.7)"});u["a"].getApplicantListByType(this.ywh,t).then((function(t){var n=t.data;200!==n.status?y.a.msg("获取询问笔录或者承诺书等材料需要填写的申请人信息列表失败！"):e.sqrList=n.data,r.close()})).catch((function(){r.close()}))},sign:function(t,e){"2"!=e?window.location.href=t:y.a.msg("您签署的文件已经签署完成！")},write:function(t){window.location.href=window.location.origin+"/inquiryrecordQZ?ywh="+this.ywh+"&sqrbsm="+t},fillIn:function(t,e){"QK"==this.mark?window.location.href=window.location.origin+"/commitment?ywh="+this.ywh+"&sqrbsm="+t+"&sqrmc="+e:"AJ"==this.mark&&(window.location.href=window.location.origin+"/commitmentMortgage?ywh="+this.ywh+"&sqrbsm="+t+"&sqrmc="+e)},getFaceRiskWarningInfo:function(){var t=this;u["a"].getFaceRiskWarningInfo().then((function(e){var r=e.data;200!==r.status?y.a.msg("获取人脸识别时风险提示信息失败！"):(t.faceRiskWarningInfo=r.data.warningInfo,t.faceRiskWarningVoiceList=r.data.voiceBase64List,!o["a"].isNull(t.faceRiskWarningVoiceList)&&t.faceRiskWarningVoiceList.length>0&&(t.nowWarningVoice=t.faceRiskWarningVoiceList[0],t.playing=!0,t.doPlayAudio()))}))},productSfrzDataByYw:function(t,e,r,n){var a=this,s={bsm:t,name:e,cardId:r,certifyId:n,rzbz:this.rzbz};u["a"].productSfrzDataByYW(this.ywh,s).then((function(t){var e=t.data;200!==e.status?y.a.msg("向身份认证表中插入数据失败！"):(console.log(e.msg),a.getApplicantList())}))},doPlayAudio:function(){var t=this;console.log("调用开始播放---\x3e"),this.nowWarningVoice=this.faceRiskWarningVoiceList[this.nowVoiceIndex],this.playing=!0,setTimeout((function(){var e=document.getElementById("audioTest");t.nowVoiceIndex=t.nowVoiceIndex+1,console.log("开始播放第"+t.nowVoiceIndex+"个音频---\x3e"),e.load(),e.play(),e.addEventListener("ended",(function(){console.log("播放完毕！"),t.nowVoiceIndex<t.faceRiskWarningVoiceList.length&&(console.log("播放下一个---\x3e"),t.playing=!1,t.doPlayAudio())}),!1)}),100)}}},j=S,O=(r("5fc8"),Object(_["a"])(j,n,a,!1,null,null,null));e["default"]=O.exports},"5fc8":function(t,e,r){"use strict";r("70da")},"70da":function(t,e,r){},bc10:function(t,e,r){"use strict";r("1b1f")},c1da:function(t,e,r){"use strict";r("f559"),r("c5f6"),r("28a5"),r("6b54"),r("456d"),r("ac6a"),r("6762");var n=r("5c96"),a=r.n(n),s={getIsSh:function(t){if(!t)return!1;var e=[1,5];return e.includes(t.blzt)},showMessage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warning",r=arguments.length>2?arguments[2]:void 0;console.log(a.a);var n="";t.forEach((function(t){Object.keys(t).map((function(e){return t[e][0].message})).forEach((function(t){n+=t+"<br/>"}))})),r({type:e,showClose:!0,dangerouslyUseHTMLString:!0,message:n})},convertCurrency:function(t){var e,r,n,a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],s=["","拾","佰","仟"],i=["","万","亿","兆"],c=["角","分","毫","厘"],u="整",o="元",l=1e15,p="";if(""===t)return"";if(t=parseFloat(t),t>=l)return"";if(0===t)return p=a[0]+o+u,p;if(t=t.toString(),-1===t.indexOf(".")?(e=t,r=""):(n=t.split("."),e=n[0],r=n[1].substr(0,4)),parseInt(e,10)>0){for(var h=0,f=e.length,d=0;d<f;d++){var g=e.substr(d,1),y=f-d-1,m=y/4,v=y%4;"0"===g?h++:(h>0&&(p+=a[0]),h=0,p+=a[parseInt(g)]+s[v]),0===v&&h<4&&(p+=i[m])}p+=o}if(""!==r)for(var b=r.length,w=0;w<b;w++){var q=r.substr(w,1);"0"!==q&&(p+=a[Number(q)]+c[w])}return""===p?p+=a[0]+o+u:""===r&&(p+=u),p},checkEquityReplacementWorkFlow:function(t){return"number"==typeof t&&(t+=""),t.startsWith("8",0)&&5===t.length},getSum:function(t,e){return Object.keys(t).forEach((function(r){var n=e.filter((function(t){return null!==t[r]})).map((function(t){return Number(t[r])}));n.every((function(t){return isNaN(t)}))?t[r]="":(t[r]=n.reduce((function(t,e){var r=Number(e);return isNaN(r)?t:t+e}),0),t[r]=t[r].toFixed(2),t[r]+="")})),t}};e["a"]=s}}]);