"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Apis.js"),s=require("../../../common/libraries/apiLoading.js"),r=require("../../../common/libraries/naviHelper.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("hs-popup-custom"))()}Math||((()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../components/hs-popup-custom/hs-popup-custom.js"))();const t=e.defineComponent({__name:"unBindpopup",props:["data"],emits:["success"],setup(t,{emit:n}){const u=t,i=e.ref(!1),a=()=>{var e,t;s.getApiLoading(o.Apis.Archive.HouseRegisters.Unbind,{external_userid:null==(e=null==u?void 0:u.data)?void 0:e.external_userid,asset_houses_id:null==(t=null==u?void 0:u.data)?void 0:t.asset_houses_id}).then(e=>{r.showToast("解除成功！"),n("success"),console.log(e)})};return(o,s)=>{var r,t;return{a:e.o(e=>i.value=!0),b:e.t(null==(t=null==(r=null==u?void 0:u.data)?void 0:r.asset_house)?void 0:t.full_name),c:e.o(a),d:e.p({label:"确认解绑",type:"primary",size:"md"}),e:e.o(e=>i.value=!1),f:e.p({label:"点错了，返回",size:"md"}),g:e.o(e=>i.value=!1),h:e.p({show:i.value,mode:"center",title:"再次确认"})}}}}),n=e._export_sfc(t,[["__scopeId","data-v-131c3109"]]);wx.createComponent(n);
