2 lines
2.1 KiB
JavaScript
2 lines
2.1 KiB
JavaScript
import{d as u,S as h,o as f,e as m,w as t,A as e,p as i,t as _,a6 as C,a7 as V,_ as g,R as d,a8 as D,f as E}from"./index-ed90acfe.js";import{M as F,N as S,Z as b,Y as M,X as N,$ as I,P as q,W as B}from"./keywordSearch-97253702.js";const p=s=>(C("data-v-b18111f7"),s=s(),V(),s),T=p(()=>i("span",{style:{width:"200px"}},"位置",-1)),k={class:"spanCl"},R=p(()=>i("span",{style:{width:"200px"}},"设备类型",-1)),A={class:"spanCl"},H=p(()=>i("span",{style:{width:"200px"}},"设备名称",-1)),$={class:"spanCl"},j=u({__name:"headerContent",props:["diagnosticFields"],setup(s){const n=s;return h(()=>{}),(l,c)=>{const o=F,a=S;return f(),m(a,{style:{margin:"20px 0 10px 0"}},{default:t(()=>[e(o,{span:8,style:{display:"flex",height:"40px","line-height":"40px"}},{default:t(()=>[T,i("span",k,_(n.diagnosticFields.position),1)]),_:1}),e(o,{span:8,style:{display:"flex",height:"40px","line-height":"40px"}},{default:t(()=>[R,i("span",A,_(n.diagnosticFields.deviceType),1)]),_:1}),e(o,{span:8,style:{display:"flex",height:"40px","line-height":"40px"}},{default:t(()=>[H,i("span",$,_(n.diagnosticFields.deviceName),1)]),_:1})]),_:1})}}});const O=g(j,[["__scopeId","data-v-b18111f7"]]),P=u({__name:"main",setup(s){const n=d({itemData:{}}),l=d({filterValue:""});let c=d({position:"",deviceType:"",deviceName:"",equipmentManufacturer:"",accessTime:"",batchNumber:""});const o=a=>{n.itemData=a};return h(()=>{const a=D();c=Object.assign(c,a.query),l.filterValue=a.query.filterValue?a.query.filterValue:"",console.log("filter.filterValue",l.filterValue)}),(a,x)=>{const y=I,v=q,w=B,r=b;return f(),m(r,{style:{height:"100%"}},{default:t(()=>[e(y,{style:{height:"60px","line-height":"60px"}},{default:t(()=>[e(O,{diagnosticFields:E(c)},null,8,["diagnosticFields"])]),_:1}),e(r,{style:{padding:"8px",height:"calc(100% - 60px)"}},{default:t(()=>[e(v,null,{default:t(()=>[e(M,{filter:l.filterValue,isSearchQuery:!1,onTreeData:o},null,8,["filter"])]),_:1}),e(w,{class:"elMain"},{default:t(()=>[e(N,{itemData:n.itemData,isMovBtn:!1,wangEditorHeight:"300px"},null,8,["itemData"])]),_:1})]),_:1})]),_:1})}}});const X=g(P,[["__scopeId","data-v-d0c77c53"]]);export{X as default};
|