1 |
- import{B as _}from"./TableImg.36d2dab8.js";import"./index.bc2ce3a3.js";import{u as F}from"./useTable.2af3fa71.js";import{n as f}from"./index.819b754a.js";import{bR as e,eI as g,a as x,aN as B,o as E,h as D,n as b,i as l}from"./index.f9240906.js";import{A as d}from"./index.e6f3c6c4.js";import"./index.7133fb8f.js";import"./Checkbox.d036b137.js";import"./index.c77d3359.js";import"./index.58e9abd1.js";import"./eagerComputed.938959e2.js";import"./FileOutlined.3b0f12f3.js";import"./BasicForm.77d882bb.js";/* empty css *//* empty css */import"./index.db62f8f7.js";import"./index.fe79a0f6.js";import"./index.14dde92d.js";import"./index.6ebf08b3.js";import"./get.10de1502.js";import"./DeleteOutlined.a5ce7fb8.js";import"./transButton.bc515676.js";import"./index.12dee4f1.js";import"./index.48100a2d.js";import"./Col.46372180.js";import"./useFlexGapSupport.3936e9ba.js";import"./index.4c8ee6bd.js";import"./Form.01cea6c8.js";import"./_baseIteratee.dc5455db.js";import"./useSize.3965ca89.js";import"./uniqBy.8dd4637c.js";import"./index.5dfb37d9.js";import"./useWindowSizeFn.e05ba499.js";import"./FullscreenOutlined.16e551d7.js";import"./useForm.241a9971.js";import"./index.ab16c1d0.js";import"./index.963f7d97.js";import"./useContentViewHeight.51fb01ea.js";import"./ArrowLeftOutlined.8ef55b3d.js";import"./index.ae5f4215.js";import"./FormOutlined.317a5749.js";import"./index.837faab1.js";import"./index.beaefc64.js";import"./useRefs.704645bf.js";import"./sortable.esm.a0907b1f.js";import"./RedoOutlined.74a164b2.js";import"./index.e73b9811.js";import"./fromPairs.84aabb58.js";import"./scrollTo.dad4e7d2.js";import"./index.41b7c2b6.js";import"./Group.1f288892.js";import"./index.4910aef7.js";import"./index.e280a527.js";import"./download.f0b284ec.js";import"./base64Conver.08b9f4ec.js";const I=[{title:"\u4EA7\u54C1",dataIndex:"title",width:150,customRender:({record:t})=>t.relate_1?e("span",[e(d,{src:t.relate_1.logo,style:{marginRight:"5px"}}),e("span",t.relate_1.title)]):e("div","-")},{title:"\u7528\u6237",dataIndex:"en_alias",customRender:({record:t})=>t.relate_0&&t.relate_0.username?e("span",[e(d,{src:t.relate_0.avatar,style:{marginRight:"5px"}}),e("span",t.relate_0.username)]):e("div","-")},{title:"\u5E73\u53F0",dataIndex:"os_platform"},{title:"\u7CFB\u7EDF\u4FE1\u606F",dataIndex:"from",width:300},{title:"\u7C7B\u578B",dataIndex:"type",customRender:({record:t})=>{let i="-";switch(t.type){case 0:i="\u4E0B\u8F7D";break;case 1:i="\u5B89\u88C5";break;case 2:i="\u5378\u8F7D";break;case 3:i="\u542F\u52A8";break;case 4:i="\u64CD\u4F5C";break}return e("div",i)}},{title:"\u529F\u80FD",dataIndex:"tag"},{title:"cpu",dataIndex:"cpu"},{title:"ip",dataIndex:"ip"},{title:"uuid",dataIndex:"windows_uuid"},{title:"\u4EE3\u7406\u5546",dataIndex:"statistics_flag"},{title:"\u6DFB\u52A0\u65F6\u95F4",dataIndex:"created_at",customRender:({record:t})=>e("div",t.created_at?g(t.created_at*1e3):"-")}],c={title:"\u65E5\u5FD7\u5217\u8868",titleHelpMessage:"\u6BD4\u5982:\u540E\u53F0\u7BA1\u7406\u6A21\u5757,\u524D\u53F0\u7BA1\u7406\u6A21\u5757\uFF0C\u547D\u540D\u7A7A\u95F4\u5FC5\u987B\u4E0E\u4EE3\u7801\u6A21\u5757\u4FDD\u6301\u4E00\u81F4\uFF01",api:t=>f("use_log_list",t),columns:I,bordered:!0,showTableSetting:!0,loading:!0,pagination:{defaultPageSize:20,pageSize:50},actionColumn:void 0},A={class:"p-4"},Rt=x({__name:"index",setup(t){var p,m,s,n;const[i]=F(c),u=B(),a=(m=(p=u.query)==null?void 0:p.pmid)!=null?m:"",o=(n=(s=u.query)==null?void 0:s.uid)!=null?n:"";return c.beforeFetch=r=>{a&&(r.pmid=a),o&&(r.user_id=o)},(r,h)=>(E(),D("div",A,[b(l(_),{onRegister:l(i)},null,8,["onRegister"])]))}});export{Rt as default};
|