"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const t=e.defineComponent({__name:"index",setup:t=>(e.onLoad(e=>{var r;null==(r=o.method)||r.init(e)}),(t,a)=>{var s,n,u;return e.e({a:"RenovationAcceptance"===e.unref(r.useModel).formData.value.type},"RenovationAcceptance"===e.unref(r.useModel).formData.value.type?{b:e.o(o=>e.unref(r.useModel).formData.value.is_passed=o),c:e.p({Enums:null==(n=null==(s=e.unref(r.useModel))?void 0:s.HouseWorkOrdersStatusItemEnum)?void 0:n.value,valueModel:e.unref(r.useModel).formData.value.is_passed}),d:e.p({title:"验收结果",borderTop:!0,required:!0})}:{},{e:e.o(o=>e.unref(r.useModel).formData.value.description=o),f:e.p({title:"RenovationInspection"===e.unref(r.useModel).formData.value.type?"巡检备注":"验收说明",required:"RenovationAcceptance"===e.unref(r.useModel).formData.value.type,placeholder:"请详细描述情况，包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.description}),g:e.o(o=>e.unref(r.useModel).formData.value.attachments=o),h:e.p({borderTop:!0,title:"上传图片",required:!0,count:6,valueModel:e.unref(r.useModel).formData.value.attachments}),i:e.o(null==(u=e.unref(o.method))?void 0:u.handleSubmit),j:e.p({btnParimaryName:"提交"})})})});wx.createPage(t);
