import{d as c,a as b,b as t,u as e,f as y,t as l,j as d,x as f,F as w,r as k,m as p,z as x,y as A,A as F,s as u,o as m}from"./index-C5t0nGiQ.js";import{A as D}from"./arrow-left-De7UcLOo.js";const C={class:"p-6"},V={class:"mb-6"},h={class:"flex items-center gap-4"},N={class:"text-base",style:{color:"rgba(0,0,0,0.45)"}},R={class:"bg-white p-6 rounded-lg mb-6",style:{"box-shadow":"0 1px 2px rgba(0,0,0,0.05)"}},S={class:"space-y-2 text-sm",style:{color:"rgba(0,0,0,0.65)"}},B={class:"bg-white p-6 rounded-lg mb-6",style:{"box-shadow":"0 1px 2px rgba(0,0,0,0.05)"}},$={class:"space-y-3"},j={class:"bg-white p-6 rounded-lg mb-6",style:{"box-shadow":"0 1px 2px rgba(0,0,0,0.05)"}},z={class:"space-y-3"},G={class:"flex items-center gap-2 cursor-pointer text-sm"},I={class:"flex items-center gap-2 cursor-pointer text-sm",style:{color:"rgba(0,0,0,0.65)"}},L={class:"flex items-center justify-center gap-4 p-4 bg-white rounded-lg sticky bottom-0",style:{"box-shadow":"0 -2px 8px rgba(0,0,0,0.05)"}},T=c({__name:"RepairOrderDetail",setup(O){const r=A(),i=F().params.orderId||"WO-2024-0001",n=u(!0),a=u(!1),v=[{time:"2024-02-25 14:35:00",person:"李工",action:"接单",detail:"开始处理"},{time:"2024-02-25 15:00:00",person:"李工",action:"确认板卡故障,准备更换"},{time:"2024-02-26 09:20:00",person:"李工",action:"更换板卡 AC-2024-0001→AC-2024-0003"},{time:"2024-02-26 10:00:00",person:"李工",action:"板卡更换完成,设备恢复正常"}];return(X,s)=>(m(),b("div",C,[t("div",V,[t("div",h,[t("button",{onClick:s[0]||(s[0]=o=>e(r).go(-1)),class:"p-2 rounded hover:bg-gray-100 transition-colors",style:{color:"rgba(0,0,0,0.65)"}},[y(e(D),{size:20})]),s[5]||(s[5]=t("h2",{class:"text-2xl font-semibold"},"维修工单详情",-1)),t("span",N,l(e(i)),1)])]),t("div",R,[s[11]||(s[11]=t("h3",{class:"text-base font-semibold mb-4"},"工单信息",-1)),t("div",S,[t("div",null,"工单号:"+l(e(i)),1),s[6]||(s[6]=t("div",null,[d(" 状态: "),t("span",{class:"px-2 py-0.5 rounded text-xs",style:{"background-color":"#eef5f0",color:"#4a7c59",border:"1px solid #a3c4ad"}},"🔧 处理中")],-1)),s[7]||(s[7]=t("div",null,[d("优先级:"),t("span",{style:{color:"#FF4D4F"}},"高")],-1)),s[8]||(s[8]=t("div",null,"创建时间:2024-02-25 14:20:00",-1)),s[9]||(s[9]=t("div",null,"维修人员:李工",-1)),s[10]||(s[10]=t("div",null,"预计修复:2024-02-28",-1))])]),s[20]||(s[20]=f('