"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-cell-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-radio-picker-accounts")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-radio-picker-accounts/hs-radio-picker-accounts.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad(e=>{var r;null==(r=o.method)||r.init(e)}),(a,u)=>{var t,s,l,n,m;return e.e({a:e.o(o=>e.unref(r.useModel).formData.value.status=o),b:e.p({Enums:null==(s=null==(t=e.unref(r.useModel))?void 0:t.HouseWorkOrdersStatusItemEnum)?void 0:s.value,title:"工单状态",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.status}),c:e.o(o=>e.unref(r.useModel).formData.value.description=o),d:e.p({borderTop:!0,title:"Completed"===e.unref(r.useModel).formData.value.status?"备注说明":"进度说明",required:!0,placeholder:"Completed"===e.unref(r.useModel).formData.value.status?"请详细描述情况，包括具体位置现象等":"请输入进度说明",valueModel:e.unref(r.useModel).formData.value.description}),e:e.o(o=>e.unref(r.useModel).formData.value.attachments=o),f:e.p({borderTop:!0,title:"Completed"===e.unref(r.useModel).formData.value.status?"完工图片":"上传图片",required:"Completed"===e.unref(r.useModel).formData.value.status,count:6,valueModel:e.unref(r.useModel).formData.value.attachments}),g:"Completed"===e.unref(r.useModel).formData.value.status&&"MyHome"===e.unref(r.useModel).formData.value.location},"Completed"===e.unref(r.useModel).formData.value.status&&"MyHome"===e.unref(r.useModel).formData.value.location?e.e({h:e.o(o=>e.unref(r.useModel).formData.value.is_fee=o),i:e.p({Enums:null==(n=null==(l=e.unref(r.useModel))?void 0:l.HouseWorkOrdersCostEnum)?void 0:n.value,valueModel:e.unref(r.useModel).formData.value.is_fee}),j:e.p({title:"是否产生费用",required:!0}),k:"1"===e.unref(r.useModel).formData.value.is_fee},"1"===e.unref(r.useModel).formData.value.is_fee?{l:e.o(o=>e.unref(r.useModel).formData.value.amount=o),m:e.p({type:"number",placeholder:"请输入费用金额",textAlign:"right",suffix:"元",valueModel:e.unref(r.useModel).formData.value.amount}),n:e.p({title:"费用金额",required:!0,borderTop:!0}),o:e.o(o=>e.unref(r.useModel).formData.value.company_project_receipt_accounts_id=o),p:e.p({title:"收款账号",required:!0,borderTop:!0,params:e.unref(r.useModel).formData.value,valueModel:e.unref(r.useModel).formData.value.company_project_receipt_accounts_id})}:{}):{},{q:e.o(null==(m=e.unref(o.method))?void 0:m.handleSubmit),r:e.p({btnParimaryName:"提交"})})})});wx.createPage(a);
