"use strict";const o=require("../../common/vendor.js");if(!Array){(o.resolveComponent("uni-icons")+o.resolveComponent("hs-popup"))()}Math||((()=>"../../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 n=o.ref(!1),t=o.ref(""),p=e=>{o.index.navigateTo({url:e})},a=()=>{n.value=!1},i=[{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"}],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(()=>{n.value=!1}),(e,s)=>({a:o.o(o=>p("/WORKORDER/list_log/index")),b:o.o(o=>p("/WORKORDER/list/index")),c:o.f(i,(e,p,a)=>({a:e.icon,b:o.t(e.label),c:o.t(e.des),d:"090f2c6e-0-"+a,e:`item_${p}`,f:o.o(p=>{return a=e,t.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=CommonArea`}):n.value=!0);var a},`item_${p}`)})),d:o.p({type:"right",color:"#999",size:"16"}),e:o.f(l,(e,n,p)=>({a:e.icon,b:o.t(e.label),c:"090f2c6e-2-"+p+",090f2c6e-1",d:`item_${n}`,e:o.o(n=>{return p=e,void o.index.navigateTo({url:`/WORKORDER/add/index?type=${t.value}&location=${null==p?void 0:p.type}`});var p},`item_${n}`)})),f:o.p({type:"right",color:"#999",size:"16"}),g:o.o(a),h:o.p({show:n.value,mode:"bottom",closeable:!0,round:20})})}});wx.createPage(e);
