index-aac94ff2.js 4.6 KB

1
  1. var x=(a,h,o)=>new Promise((u,l)=>{var c=t=>{try{i(o.next(t))}catch(d){l(d)}},m=t=>{try{i(o.throw(t))}catch(d){l(d)}},i=t=>t.done?u(t.value):Promise.resolve(t.value).then(c,m);i((o=o.apply(a,h)).next())});import{u as C,_ as B}from"./useTable-98d6d579.js";import"./FormItem.vue_vue_type_script_lang-39d09a3e.js";import"./index-a4e1ec38.js";import{T as N}from"./TimeLine-d96fa105.js";import{u as v}from"./index-4f5bc708.js";import{g as U,h as V}from"./patientBasicApi-2879cdeb.js";import L from"./ShortcutModal-a6b8435b.js";import{B as I}from"./antd-f259b82a.js";import{d as R,f as y,o as A,Y as b,Z as g,_ as e,l as n,a7 as s,u as r,a9 as E,E as w,a1 as H,a2 as z}from"./vue-aed314e3.js";import{_ as D}from"./index.js";import"./useForm-c7f42ee0.js";import"./componentMap-175d8229.js";import"./uuid-31b8b5a4.js";import"./useWindowSizeFn-6e9d633b.js";import"./onMountedOrActivated-d9097634.js";import"./sortable.esm-4ae27e0b.js";import"./useFormItem-421691fe.js";import"./useSortable-7d2b6665.js";import"./download-2ecc6b15.js";import"./index-7fe9c1e2.js";import"./copyTextToClipboard-328ee3b1.js";import"./index-6811a03f.js";import"./TextEditor-4892fcd0.js";import"./DescCard-1c793023.js";/* empty css */const F=[{title:"名称",dataIndex:"name",width:100,edit:!0,editable:!0,editComponent:"Input"},{title:"类型",dataIndex:"type",width:150},{title:"联系人",dataIndex:"contractUser",width:150},{title:"联系人电话",dataIndex:"contactMobile",width:150},{title:"名称",dataIndex:"name",width:100},{title:"类型",dataIndex:"type",width:150},{title:"联系人",dataIndex:"contractUser",width:150},{title:"联系人电话",dataIndex:"contactMobile",width:150},{title:"管理账号",dataIndex:"username",width:150},{title:"套餐名称",dataIndex:"packageName",width:150},{title:"联系人",dataIndex:"contractUser",width:150},{title:"联系人电话",dataIndex:"contactMobile",width:150},{title:"管理账号",dataIndex:"username",width:150},{title:"套餐名称",dataIndex:"packageName",width:150,fixed:"right"},{title:"状态",dataIndex:"disable",fixed:"right"}],p=a=>(H("data-v-c2f5e619"),a=a(),z(),a),P={class:"m-4"},j=p(()=>e("span",null,"headerTop",-1)),G=p(()=>e("span",null,"toolbar",-1)),O={class:"mx-6 my-2"},Y={class:"animate__animated animate__slideInLeft"},Z={key:0,class:"timeline-outer"},$=p(()=>e("div",{class:"timeline-outer_item"},"AVH",-1)),q=p(()=>e("div",{class:"timeline-outer_item"},"TCG",-1)),J={class:"mx-6 my-4"},K={class:"mx-6 my-4"},Q=R({__name:"index",setup(a){const[h,{openModal:o}]=v(),[u,{openModal:l}]=v(),c=y([]),m=[{label:"诊断名称/病史/状态",value:"乙肝 / 2022-01-19 ~",tags:[{id:"12",label:"活动中",type:"error"}]},{label:"备注",value:"药物治疗或其他治疗"},{label:"测试",value:"药物治疗或其他治疗"},{label:"诊断名称/病史/状态备份",value:"结核 / 2022-02-10 ~ 20",tags:[{id:"1",label:"未活动",type:"muted"},{id:"2",label:"未活动1",type:"primary"}]}],i=[{id:"1",dot:"王医生",date:"2023-05-20",cnt:{title:"测试"+Math.round(Math.random()*1e3),id:"123",type:"123",data:m}},{id:"12",dot:"范医生",date:"2023-03-20",cnt:{title:"测试"+Math.round(Math.random()*1e3),id:"123",type:"123",data:m}}],t=y(!1);A(()=>x(this,null,function*(){for(let _=0;_<10;_++){const f={createTime:"2023-05-23 10:09:48",updateTime:"2023-05-23 19:00:32",id:"1660830352886149125"+Math.round(Math.random()*1e4),name:"驼人",packageId:"1655202440997244930",packageName:"测试套餐",username:"tuoren",type:"custom",contractUser:"Lf",contactMobile:"18339543638",remark:null,disable:0};c.value.push(f)}}));const[d]=C({id:"sys_config",title:"参数列表2121",columns:F,dataSource:c,useSearchForm:!1,titleStyle:{fontSize:"14px",color:"#000a18",cursor:"default"},titleLined:!0,bordered:!1,showIndexColumn:!1,pagination:!1,canResize:!1});function M(){t.value=!1}function k(){o(!0,{title:"导入数据111",importUrl:U,exportUrl:V})}function S(){console.log("显示快捷方式"),l(!0,{title:"导入数据111"})}function T(){t.value=!0}return(_,f)=>(b(),g("div",P,[e("div",null,[n(r(B),{onRegister:r(d)},{headerTop:s(()=>[j]),toolbar:s(()=>[G]),_:1},8,["onRegister"])]),e("div",O,[n(N,{data:i,onHover:T},{head:s(()=>[e("div",Y,[t.value?(b(),g("div",Z,[e("div",{class:"timeline-outer_item",onClick:M},"AVF"),$,q])):E("",!0)])]),_:1})]),e("div",J,[n(r(I),{type:"primary",onClick:k},{default:s(()=>[w(" 显示导入")]),_:1})]),e("div",K,[n(r(I),{type:"primary",onClick:S},{default:s(()=>[w(" 显示快捷方式")]),_:1})]),n(L,{onRegister:r(u)},null,8,["onRegister"])]))}});const Mt=D(Q,[["__scopeId","data-v-c2f5e619"]]);export{Mt as default};