"use strict";const o=require("../../common/vendor.js");if(!Array){(o.resolveComponent("hs-button")+o.resolveComponent("uni-icons")+o.resolveComponent("hs-popup"))()}Math||((()=>"../../components/hs-button/hs-button.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-popup/hs-popup.js"))();const e=o.defineComponent({__name:"index",setup(e){const t=o.ref(!1),n=o.ref(""),p=()=>{o.index.navigateTo({url:"/WORKORDER/list/index"})},a=()=>{t.value=!1},s=[{label:"报修类",des:"设备、设施等出现故障，需维修处理",type:"Repair",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84V91E3TZ6BPP6VH3MV0A2C.png"},{label:"报事类",des:"噪音/公共卫生等事件需物业处理",type:"Incident",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84V9RGS3HS1G43RWFFTC4FZ.png"},{label:"投诉类",des:"对物业服务等不满，想反馈",type:"Complaint",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84VAB5R7KC5G1EE369G5TDT.png"}],l=[{label:"公共区域报修",type:"CommonArea",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84WNKS9GNHQEV2EQ3N3HWW8.png"},{label:"房屋区域报修",type:"MyHome",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84XQQGNN7B30Q8S6RJMJGPS.png"}];return o.onHide((()=>{t.value=!1})),(e,i)=>({a:o.o(p),b:o.p({size:"md",type:"primary",label:"我的提报记录"}),c:o.f(s,((e,p,a)=>({a:e.icon,b:o.t(e.label),c:o.t(e.des),d:"af3492ce-1-"+a,e:`item_${p}`,f:o.o((p=>{return a=e,n.value=(null==a?void 0:a.type)||"",void("报修类"!==(null==a?void 0:a.label)?o.index.navigateTo({url:`/WORKORDER/add/index?type=${null==a?void 0:a.type}&location=`}):t.value=!0);var a}),`item_${p}`)}))),d:o.p({type:"right",color:"#999",size:"16"}),e:o.f(l,((e,t,p)=>({a:e.icon,b:o.t(e.label),c:"af3492ce-3-"+p+",af3492ce-2",d:`item_${t}`,e:o.o((t=>{return p=e,void o.index.navigateTo({url:`/WORKORDER/add/index?type=${n.value}&location=${null==p?void 0:p.type}`});var p}),`item_${t}`)}))),f:o.p({type:"right",color:"#999",size:"16"}),g:o.o(a),h:o.p({show:t.value,mode:"bottom",closeable:!0,round:20})})}});wx.createPage(e);
