"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const n=e.defineComponent({__name:"index",setup:n=>(e.onUnload(()=>{o.useModel.formData.value={}}),(n,u)=>{var l;return{a:e.o((...o)=>{var n,u;return(null==(n=e.unref(r.method))?void 0:n.toWorkOrder)&&(null==(u=e.unref(r.method))?void 0:u.toWorkOrder(...o))}),b:e.f(null==(l=e.unref(o.useModel))?void 0:l.typeList,(n,u,l)=>{var t,a,i,s,d,m;return{a:"330eb960-0-"+l,b:e.p({type:null==n?void 0:n.icon,size:"20",color:(null==n?void 0:n.value)===(null==(i=null==(a=null==(t=e.unref(o.useModel))?void 0:t.formData)?void 0:a.value)?void 0:i.type)?"#2a7efb":"#999"}),c:e.t(null==n?void 0:n.label),d:`item_${u}`,e:e.n("feedback_page_type_item_btn "+((null==n?void 0:n.value)===(null==(m=null==(d=null==(s=e.unref(o.useModel))?void 0:s.formData)?void 0:d.value)?void 0:m.type)?"active":"")),f:e.o(o=>e.unref(r.method).handleSelectType(n),`item_${u}`)}}),c:e.unref(o.useModel).formData.value.content,d:e.o(r=>e.unref(o.useModel).formData.value.content=r.detail.value),e:e.o(r=>e.unref(o.useModel).formData.value.images=r),f:e.p({title:"问题页面截图，最多五张（选填）",count:5,size:4,valueModel:e.unref(o.useModel).formData.value.images}),g:e.o(e.unref(r.method).handleSubmit),h:e.p({handleParmaryClick:"提交"})}})});wx.createPage(n);
