(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16346a39"],{"2ce9":function(e,t,i){},"66ba":function(e,t,i){"use strict";i("96cf");var s=i("1da1"),r=(i("6b54"),i("c3f6")),n=i("eb7c"),a={getCertificateResult:function(e,t,i,s,a){var l={"x-gisq-deviceId":a.toString()};return r["a"].request({url:n["a"].microPubQuery+"query/certiCheck?qlrmc="+e+"&zjh="+t+"&fzbm="+i+"&imageCode="+s,method:"post",responseType:"json",header:l})},queryProvinceSimpleName:function(){return r["a"].request({url:n["a"].microPubQuery+"query/queryProvinceSimpleName",method:"post",responseType:"json"})},queryDefaultQueryArea:function(){return r["a"].request({url:n["a"].microPubQuery+"query/queryDefaultQueryArea",method:"post",responseType:"json"})},checkElectronicLicense:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t,i,s,a){var l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l={"x-gisq-deviceId":a.toString()},e.next=3,r["a"].request({url:n["a"].microPubQuery+"myCertificate/checkElectronicLicense?certTypeCode="+i+"&imageCode="+s,method:"post",data:t,responseType:"json",header:l});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));function t(t,i,s,r){return e.apply(this,arguments)}return t}()};t["a"]=a},b04a:function(e,t,i){"use strict";i("2ce9")},ca82:function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"search-info pub-content",on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.queryUnitInfo()}}},[t("div",{staticClass:"query-conditions"},[t("el-form",{ref:"queryConditionsList",staticClass:"demo-ruleForm",attrs:{model:e.queryConditionsList,"label-width":"100px",size:"small"}},[t("div",{staticClass:"ywlx-con"},[t("el-form-item",{attrs:{label:"业务类型",prop:"ywlx"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择业务类型"},model:{value:e.queryConditionsList.ywlx,callback:function(t){e.$set(e.queryConditionsList,"ywlx",t)},expression:"queryConditionsList.ywlx"}},e._l(e.ywlxList,(function(e){return t("el-option",{key:e.djxlname,attrs:{label:""===e.djxlbm?e.djxlname:e.djxlbm,value:e.djxlname}})})),1)],1),t("receiving-materials",{attrs:{ywlx:e.queryConditionsList.ywlx,"ywlx-list":e.ywlxList}})],1),t("el-form-item",{staticStyle:{flex:"1"},attrs:{label:"坐落：",prop:"zjh"}},[t("el-input",{attrs:{placeholder:"请输入坐落"},model:{value:e.queryConditionsList.zl,callback:function(t){e.$set(e.queryConditionsList,"zl","string"===typeof t?t.trim():t)},expression:"queryConditionsList.zl"}})],1),e.cxlxShow?t("el-form-item",{staticStyle:{flex:"1"},attrs:{label:"查询类型：",prop:"cxlx"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择业务类型"},model:{value:e.queryConditionsList.cxlx,callback:function(t){e.$set(e.queryConditionsList,"cxlx",t)},expression:"queryConditionsList.cxlx"}},e._l(e.cxlxList,(function(e){return t("el-option",{key:e.mjz,attrs:{label:e.mjmc,value:e.mjz}})})),1)],1):e._e(),t("el-form-item",{attrs:{label:"证书类型",prop:"zslx"}},[t("el-radio-group",{on:{change:e.changeZslx},model:{value:e.queryConditionsList.zslx,callback:function(t){e.$set(e.queryConditionsList,"zslx",t)},expression:"queryConditionsList.zslx"}},[t("el-radio",{attrs:{label:"1"}},[e._v("不动产权证号")]),t("el-radio",{attrs:{label:"2"}},[e._v("旧证书号")])],1)],1),e.zslxShow?t("el-form-item",{attrs:{label:"证 书 号 ",prop:"zsh"}},[t("div",{staticClass:"warrant-num"},[t("div",{staticClass:"warrant-num-first"},[t("div",{staticClass:"first-left"},[t("span",{staticClass:"province"},[e._v(e._s(e.provinceSimpleName)+"(")]),t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.bdcqzYear,callback:function(t){e.bdcqzYear="string"===typeof t?t.trim():t},expression:"bdcqzYear"}},e._l(e.yearList,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1),e._v("\n                             )\n                            "),t("el-input",{attrs:{placeholder:"XX市/县"},model:{value:e.bdcqzCity,callback:function(t){e.bdcqzCity="string"===typeof t?t.trim():t},expression:"bdcqzCity"}})],1),t("div",{staticClass:"warrant-num-last"},[e._v("\n                            不动产权第\n                            "),t("el-input",{attrs:{placeholder:"0000001"},model:{value:e.bdcqzNum,callback:function(t){e.bdcqzNum="string"===typeof t?t.trim():t},expression:"bdcqzNum"}}),e._v("\n                            号\n                        ")],1)])])]):e._e(),e.zslxShow?e._e():t("el-form-item",{attrs:{label:"产权证号",prop:"bdcqzh"}},[t("el-input",{attrs:{placeholder:"请输入产权证号"},model:{value:e.queryConditionsList.bdcqzh,callback:function(t){e.$set(e.queryConditionsList,"bdcqzh","string"===typeof t?t.trim():t)},expression:"queryConditionsList.bdcqzh"}})],1),t("div",{staticStyle:{display:"flex"}},[t("el-form-item",{staticStyle:{flex:"1"},attrs:{label:"不动产单元号：",prop:"qlr"}},[t("el-input",{attrs:{placeholder:"请输入不动产单元号"},model:{value:e.queryConditionsList.bdcdyh,callback:function(t){e.$set(e.queryConditionsList,"bdcdyh","string"===typeof t?t.trim():t)},expression:"queryConditionsList.bdcdyh"}})],1)],1),t("el-form-item",{staticClass:"form-button"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.queryUnitInfo()}}},[e._v("查询")]),t("el-button",{on:{click:function(t){return e.resetSearch()}}},[e._v("重置")])],1)],1)],1),e.houseList.length>0?t("div",[t("div",{staticClass:"query-result"},[t("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.houseList,"tooltip-effect":"dark","max-height":"250"},on:{"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{type:"selection",selectable:e.checkboxT}}),t("el-table-column",{attrs:{label:"序号",width:"50",type:"index"}}),t("el-table-column",{attrs:{label:"限制状态"},scopedSlots:e._u([{key:"default",fn:function(i){return[t("span",{class:{success:!0,error:!0===i.row.restrict}},[e._v(e._s(i.row.zszt))])]}}],null,!1,248614606)}),t("el-table-column",{attrs:{prop:"bdcqzh",label:"产权证号"}}),t("el-table-column",{attrs:{prop:"zl",label:"坐落"}}),t("el-table-column",{attrs:{prop:"mj",label:"面积(m²)",width:"100"}}),t("el-table-column",{attrs:{prop:"yt",label:"用途",width:"100"}})],1)],1),t("div",{staticClass:"steps-button pub-content"},[t("el-button",{staticClass:"button",attrs:{type:"primary",loading:e.nextLoading},on:{click:function(t){return e.toNext()}}},[e._v("下一步")])],1)]):e._e()])},r=[],n=(i("ac6a"),i("96cf"),i("1da1")),a=(i("c5f6"),i("66ba")),l=i("6a9e"),o=i("5bd7"),c=i("a48b"),u=i("5ef6"),d={name:"realEstateGlobalQuerySearch",components:{ReceivingMaterials:u["a"]},props:{routerList:Array,stepActive:Number},data:function(){return{nextLoading:!1,provinceSimpleName:"",bdcqzYear:null,bdcqzCity:"",bdcqzNum:"",yearList:[],queryConditionsList:{bdcdyh:"",zh:"",bdcqzh:"",qlr:"",zjh:"",zl:"",sbh:"",islike:"0",zt:"1",userid:"",lcdm:"",cxlx:"FDCQ",isRegion:"",ywlx:"",zslx:"1"},zslxShow:!0,ywlxList:[],houseList:[],kjkey:"",datumTypeGuid:"",bizDefGuid:"",lcdm:"",certiBracketsIsCHN:!1,checkedData:[],ydmq:"",cxlxList:[{mjz:"FDCQ",mjmc:"房地产权"},{mjz:"JSYDSYQ",mjmc:"建设用地使用权"},{mjz:"ZD_NYDSYQ",mjmc:"农用地使用权（农经权）"}],cxlxShow:!1}},created:function(){this.lcdm=this.$route.query.lcdm,this.queryProvinceSimpleName(),this.getDjxlName(),this.disabledDjxlSelect=!l["a"].isNull(this.$route.query.disabled),this.certiBracketsIsCHN=l["a"].certiBracketsIsCHN(),this.getYear(),this.ydmq=this.$route.query.ydmq,l["a"].isNull(this.ydmq)&&(this.ydmq="0"),this.cxlxShow=c["a"].getLocalStorage("cxlxShow").cxlxShow,console.info("this.cxlxShow"+this.cxlxShow)},methods:{changeZslx:function(){this.zslxShow=!0,this.queryConditionsList.bdcqzh="","2"===this.queryConditionsList.zslx&&(this.zslxShow=!1,this.bdcqzCity="",this.bdcqzNum="")},getYear:function(){this.yearList=l["a"].getYear()},queryProvinceSimpleName:function(){var e=this;a["a"].queryProvinceSimpleName().then((function(t){e.provinceSimpleName=t.data.data})),a["a"].queryDefaultQueryArea().then((function(t){e.bdcqzCity=t.data.data}))},queryUnitInfo:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!l["a"].isNull(this.queryConditionsList.zl)){e.next=3;break}return this.$message.warning({message:"请输入坐落！",duration:3e3}),e.abrupt("return");case 3:if("1"!==this.queryConditionsList.zslx){e.next=12;break}if(!(l["a"].isNull(this.bdcqzYear)||l["a"].isNull(this.bdcqzCity)||l["a"].isNull(this.bdcqzNum))){e.next=9;break}return this.$message.warning({message:"请填写完整权证信息！",duration:3e3}),e.abrupt("return");case 9:this.certiBracketsIsCHN?this.queryConditionsList.bdcqzh=this.provinceSimpleName+"（"+this.bdcqzYear+"）"+this.bdcqzCity+"不动产权第"+this.bdcqzNum+"号":this.queryConditionsList.bdcqzh=this.provinceSimpleName+"("+this.bdcqzYear+")"+this.bdcqzCity+"不动产权第"+this.bdcqzNum+"号";case 10:e.next=16;break;case 12:if("2"!==this.queryConditionsList.zslx){e.next=16;break}if(!l["a"].isNull(this.queryConditionsList.bdcqzh)){e.next=16;break}return this.$message.warning({message:"请填写完整权证信息！",duration:3e3}),e.abrupt("return");case 16:return t=this.$loading({lock:!0,text:"努力加载中...",background:"rgba(255, 255, 255, 0.7)"}),this.queryConditionsList.lcdm="9801",i={bdcRequestQueryview:this.queryConditionsList,dataSourceVoList:[]},s=[],e.prev=20,e.next=23,o["a"].findBdcInfoByConditions(i);case 23:s=e.sent,t.close(),e.next=31;break;case 27:e.prev=27,e.t0=e["catch"](20),t.close(),this.$message.warning({message:e.t0,duration:3e3});case 31:this.houseList=[],!l["a"].isNull(s)&&s.length>0?this.houseList=s:this.$message.warning({message:"未查询到数据!",duration:3e3});case 33:case"end":return e.stop()}}),e,this,[[20,27]])})));function t(){return e.apply(this,arguments)}return t}(),getDjxlName:function(){var e=this,t={lcdm:this.lcdm,lckey:this.$route.query.lckey};o["a"].getYwlcList(t).then((function(t){var i=t.data;if(200===i.status){e.ywlxList=i.data,1===e.ywlxList.length&&(e.queryConditionsList.ywlx=e.ywlxList[0].djxlname);var s=e.$route.query.datumTypeGuid;l["a"].isNull(s)||(e.datumTypeGuid=s,e.ywlxList.forEach((function(t){t.djxlid===e.datumTypeGuid&&(e.queryConditionsList.ywlx=t.djxlname)})))}else e.$message.error({message:"业务类型获取失败!",duration:3e3})}))},toNext:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,i,s,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!l["a"].isNull(this.queryConditionsList.ywlx)){e.next=3;break}return this.$message.warning({message:"请选择业务类型!",duration:3e3}),e.abrupt("return");case 3:if(0!==this.checkedData.length){e.next=6;break}return this.$message.warning({message:"请勾选不动产单元!",duration:3e3}),e.abrupt("return");case 6:return this.ywlxList.forEach((function(e){e.djxlname===r.queryConditionsList.ywlx&&(r.datumTypeGuid=e.djxlid,r.bizDefGuid=e.bizDefGuid)})),t={ywh:"",kjkey:this.$route.query.lckey,datumtypeguid:this.datumTypeGuid,bizdefguid:this.bizDefGuid,zllb:this.queryConditionsList.ywlx,ywlx:this.lcdm,blrlx:"100",clientType:"pc",zl:this.checkedData[0].zl,ydmq:this.ydmq,appcode:this.$route.query.appcode},this.nextLoading=!0,i="",e.prev=10,e.next=13,o["a"].creatPreApplyInfoAsync(t);case 13:if(o["a"].ywzbData=e.sent,i=o["a"].ywzbData.ywh,!l["a"].isNull(i)){e.next=18;break}return this.$message.error({message:"生成业务号失败！",duration:3e3}),e.abrupt("return");case 18:return e.next=20,o["a"].saveCdjgByConditions(i,!0,this.checkedData);case 20:this.nextLoading=!1,e.next=29;break;case 23:return e.prev=23,e.t0=e["catch"](10),this.nextLoading=!1,this.stopApplyInfo(),this.$message.warning({message:e.t0,duration:3e3}),e.abrupt("return");case 29:o["a"].saveOffline(this.lcdm,i),s=this.stepActive+1,this.$router.push({path:this.routerList[s].tachePath,query:{index:s,ywh:i,lcdm:this.lcdm}});case 32:case"end":return e.stop()}}),e,this,[[10,23]])})));function t(){return e.apply(this,arguments)}return t}(),resetSearch:function(){this.queryConditionsList.bdcqzh="",this.queryConditionsList.zl="",this.queryConditionsList.bdcdyh="",this.bdcqzNum=""},handleSelectionChange:function(e){this.checkedData=e},checkboxT:function(e){return!0!==e.restrict},stopApplyInfo:function(){o["a"].stopApplyInfo(o["a"].ywzbData.uuid)}}},h=d,y=(i("b04a"),i("2877")),m=Object(y["a"])(h,s,r,!1,null,null,null);t["default"]=m.exports}}]);