1 |
- import{l as y}from"./localSearch.2afd966f.js";import{t as h}from"./tableList.2ebcdca2.js";import{r as b}from"./register.5e2b1950.js";import{h as _,_ as D}from"./index.d8dd5fc3.js";import{J as f,b as c,a1 as k,ay as v,p as Q,q as w,Y as o,R as u,a5 as m}from"./@vueup/vue-quill.21cd2cdd.js";import"./portrait.cf4d213b.js";import"./examStatus.bac6ea12.js";import"./axios.ea4db374.js";import"./moment.9709ab41.js";import"./dayjs.a1cdcf75.js";import"./zh_CN.8f2c1c90.js";import"./element-plus.f81624fb.js";import"./UserOutlined.394ff61d.js";import"./btnPermission.c67b81eb.js";import"./studyurl.dcdb7760.js";import"./dict.1a8db14e.js";import"./js-md5.b1820eba.js";import"./recordrtc.23a12127.js";import"./ali-oss.30ce4767.js";import"./nprogress.136ad679.js";import"./v-viewer.c3762968.js";const I=()=>{const{t}=_();return[{title:t("template.case"),dataIndex:"patient_num",key:"patient_num",width:"120px"},{title:t("template.checkNo"),dataIndex:"accession_num",key:"accession_num",width:"160px"},{title:t("template.name"),dataIndex:"name",key:"name",width:"80px"},{title:t("template.sex"),dataIndex:"sex",key:"sex",width:"60px"},{title:t("template.age"),dataIndex:"age",key:"age",width:"70px"},{title:t("template.categories"),dataIndex:"exam_class",key:"exam_class",width:"80px"},{title:t("template.status"),dataIndex:"exam_status",key:"exam_status",width:"120px"},{title:t("template.time"),dataIndex:"exam_datetime",key:"exam_datetime",width:"120px"},{title:t("template.registerDoctor"),dataIndex:"register_name",key:"register_name",width:"80px"},{title:t("template.operation"),dataIndex:"operation",key:"operation",width:"200px",fixed:"right"}]};const L=f({name:"register",components:{localSearch:y,tableList:h},setup(t,d){const g=c("1"),s=new Date,p=s.getFullYear()+""+(s.getMonth()+1<10?"0"+(s.getMonth()+1):s.getMonth()+1)+(s.getDate()<10?"0"+s.getDate():s.getDate()),a=k({listQuery:{fuzzy_search:"",page:1,num:10,status:1,more_search:{exam_datetime:{type:"datetime",value:[p,p]}}},columns:I(),localHeaders:[],tableData:[],total:0,loading:!1}),n=e=>{a.loading=!0,e&&(a.listQuery.page=e.current,a.listQuery.num=e.pageSize),b(a.listQuery).then(r=>{a.loading=!1,a.tableData=r.list,a.total=r.total})};return n(),v(()=>{n()}),{activeKey:g,data:a,tabEvent:e=>{a.listQuery.status=e,a.listQuery.page=1,a.listQuery.num=10,n()},goSearch:e=>{a.listQuery.more_search=e,a.listQuery.page=1,a.listQuery.num=10,n()},status:c(1),getRegisterList:n}}}),x={class:"mainContent"};function C(t,d,g,s,p,a){const n=m("local-search"),i=m("table-list"),l=m("a-tab-pane"),e=m("a-tabs");return Q(),w("div",x,[o(n,{status:t.status,onGoSearch:t.goSearch},null,8,["status","onGoSearch"]),o(e,{class:"tabsBox",activeKey:t.activeKey,"onUpdate:activeKey":d[0]||(d[0]=r=>t.activeKey=r),onTabClick:t.tabEvent},{default:u(()=>[o(l,{key:"1",tab:"\u5168\u90E8"},{default:u(()=>[o(i,{columns:t.data.columns,tableData:t.data.tableData,total:t.data.total,loading:t.data.loading,status:t.status,page:t.data.listQuery.page,num:t.data.listQuery.num,onGetDataList:t.getRegisterList},null,8,["columns","tableData","total","loading","status","page","num","onGetDataList"])]),_:1}),o(l,{key:"2",tab:"\u5F85\u68C0\u67E5"},{default:u(()=>[o(i,{columns:t.data.columns,tableData:t.data.tableData,total:t.data.total,loading:t.data.loading,status:t.status,page:t.data.listQuery.page,num:t.data.listQuery.num,onGetDataList:t.getRegisterList},null,8,["columns","tableData","total","loading","status","page","num","onGetDataList"])]),_:1}),o(l,{key:"3",tab:"\u5DF2\u68C0\u67E5"},{default:u(()=>[o(i,{columns:t.data.columns,tableData:t.data.tableData,total:t.data.total,loading:t.data.loading,status:t.status,page:t.data.listQuery.page,num:t.data.listQuery.num,onGetDataList:t.getRegisterList},null,8,["columns","tableData","total","loading","status","page","num","onGetDataList"])]),_:1})]),_:1},8,["activeKey","onTabClick"])])}const P=D(L,[["render",C],["__scopeId","data-v-79978d32"]]);export{P as default};
|