"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.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-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-upload/hs-upload.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad(l=>{o.useModel.formData.value={type:null==l?void 0:l.type,id:null==l?void 0:l.id,emergency_events_id:null==l?void 0:l.id},e.index.setNavigationBarTitle({title:null==l?void 0:l.type})}),e.onShow(()=>{var e;null==(e=l.method)||e.init()}),(r,t)=>{var u,a,n,i,s,d,m,v,p,f,c,h,M;return e.e({a:"申请关闭"===(null==(n=null==(a=null==(u=e.unref(o.useModel))?void 0:u.formData)?void 0:a.value)?void 0:n.type)},"申请关闭"===(null==(d=null==(s=null==(i=e.unref(o.useModel))?void 0:i.formData)?void 0:s.value)?void 0:d.type)?{b:e.o(l=>e.unref(o.useModel).formData.value.handled_result=l),c:e.p({required:!0,title:"处理结果",placeholder:"请输入处理结果",valueModel:e.unref(o.useModel).formData.value.handled_result}),d:e.o(l=>e.unref(o.useModel).formData.value.introspection=l),e:e.p({borderTop:!0,title:"反思与总结",placeholder:"请输入反思与总结",valueModel:e.unref(o.useModel).formData.value.introspection})}:{},{f:"更新进度"===(null==(p=null==(v=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:v.value)?void 0:p.type)},"更新进度"===(null==(h=null==(c=null==(f=e.unref(o.useModel))?void 0:f.formData)?void 0:c.value)?void 0:h.type)?{g:e.o(l=>e.unref(o.useModel).formData.value.content=l),h:e.p({required:!0,title:"跟进内容",placeholder:"请输入跟进内容",valueModel:e.unref(o.useModel).formData.value.content}),i:e.o(l=>e.unref(o.useModel).formData.value.attachments=l),j:e.p({title:"上传图片",count:10,borderTop:!0,valueModel:e.unref(o.useModel).formData.value.attachments})}:{},{k:e.o(null==(M=e.unref(l.method))?void 0:M.handleSubmit),l:e.p({btnParimaryName:"提交"})})})});wx.createPage(r);
