"use strict";const e=require("../../common/vendor.js"),l=require("./method.js"),o=require("./model.js");if(require("../../common/libraries/day.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+n)();const n=()=>"./components/PopupSubmitTemplate.js",u=e.defineComponent({__name:"index",setup:n=>(e.onShow(()=>{var e;null==(e=l.method)||e.handleInit()}),e.onLoad(e=>{o.useModel.formData.value={houses:(null==e?void 0:e.data)?JSON.parse(null==e?void 0:e.data):[]}}),(n,u)=>{var i,d,s,t,r,a,v,c,m,p,f,b;return e.e({a:e.p({name:"error-circle",size:"19",color:"#2d75ff"}),b:e.f(null==(d=null==(i=e.unref(o.useModel))?void 0:i.selectType)?void 0:d.value,(o,n,u)=>e.e({a:e.t(null==o?void 0:o.label),b:null==o?void 0:o.tab},(null==o?void 0:o.tab)?{c:e.t(null==o?void 0:o.tab)}:{},{d:null==o?void 0:o.is_select},(null==o?void 0:o.is_select)?{e:"57161569-1-"+u,f:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{g:"57161569-2-"+u,h:e.p({type:"circle",size:"20",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:null==o?void 0:o.subDes},(null==o?void 0:o.subDes)?{k:e.t(null==o?void 0:o.subDes)}:{},{l:`items_${n}`,m:e.o(u=>{var i;return null==(i=e.unref(l.method))?void 0:i.handleSelect(n,o)},`items_${n}`)})),c:null==(r=null==(t=null==(s=e.unref(o.useModel))?void 0:s.selectEdType)?void 0:t.value)?void 0:r.length},(null==(c=null==(v=null==(a=e.unref(o.useModel))?void 0:a.selectEdType)?void 0:v.value)||c.length,{}),{d:e.p({formData:null==(p=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:p.value,type:null==(b=null==(f=e.unref(o.useModel))?void 0:f.selectEdType)?void 0:b.value})})})});wx.createPage(u);
