You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
import{r as t,e as a,o as e,c as s,w as r,i as p,a as _,u as l,b as o,j as n,f as u,g as i,F as c,v as d,n as f,d as m,k as w,t as b}from"./index-38c98e7a.js";import{_ as g,R as h,a as x,H as v,$ as y}from"./_plugin-vue_export-helper.1c48f778.js";const k=g({__name:"list",props:{id_number:{type:String,default:""},hospital:{type:String,default:""}},setup(g){const k=g,$=t([]),C=t=>{f({url:`/pages/main/${t}/${t}?hospital=${k.hospital}&id_number=${k.id_number}`})},j=t(!1);return a((()=>{(async()=>{const t=await h({id_number:k.id_number});x(t,(()=>{$.value=t.data.list}))})(),(async()=>{const t=await v();x(t,(()=>{j.value=1===t.data.info.open}))})()})),(t,a)=>{const g=m,h=p,x=w;return e(),s(h,null,{default:r((()=>[j.value?(e(),s(h,{key:0,class:"top_button_group_wrapper"},{default:r((()=>[_(h,{onClick:a[0]||(a[0]=t=>C("choose")),class:"top_button_wrapper top_button1_wrapper"},{default:r((()=>[_(h,{class:"top_button_icon_wrapper"},{default:r((()=>[_(g,{src:l(y)("/storage/assets/report/home/报告对比@2x.png")},null,8,["src"])])),_:1}),_(h,{class:"top_button_text_wrapper"},{default:r((()=>[o("报告对比")])),_:1})])),_:1}),_(h,{onClick:a[1]||(a[1]=t=>C("analysis")),class:"top_button_wrapper top_button2_wrapper"},{default:r((()=>[_(h,{class:"top_button_icon_wrapper"},{default:r((()=>[_(g,{src:l(y)("/storage/assets/report/home/趋势分析@2x.png")},null,8,["src"])])),_:1}),_(h,{class:"top_button_text_wrapper"},{default:r((()=>[o("趋势分析")])),_:1})])),_:1})])),_:1})):n("",!0),_(h,{class:"tip_wrapper"},{default:r((()=>[_(x,{class:"tip_title_wrapper"},{default:r((()=>[o("温馨提示:")])),_:1}),_(x,{class:"tip_text_wrapper"},{default:r((()=>[o("如电子报告与纸质报告不相符,请以纸质版报告为准")])),_:1})])),_:1}),_(h,{class:"report_list_wrapper",style:d({top:j.value?"222rpx":"85rpx"})},{default:r((()=>[(e(!0),u(c,null,i($.value,((t,a)=>(e(),s(h,{onClick:a=>{return e=t.id,void f({url:`/pages/main/report/report?hospital=${k.hospital}&type=1&id=${e}`});var e},class:"report_item_wrapper",key:a},{default:r((()=>[_(h,{class:"report_item_icon_wrapper"},{default:r((()=>[_(g,{src:l(y)("/storage/assets/report/home/报告@2x.png")},null,8,["src"])])),_:1}),_(h,{class:"report_item_content_wrapper"},{default:r((()=>[_(h,{class:"report_item_content_title_wrapper"},{default:r((()=>[o(b(t.title),1)])),_:2},1024),_(h,{class:"report_item_content_desc_wrapper"},{default:r((()=>[o(b(t.desc),1)])),_:2},1024)])),_:2},1024),_(h,{class:"report_item_right_wrapper"},{default:r((()=>[_(g,{src:l(y)("/storage/assets/report/home/右箭头@2x.png")},null,8,["src"])])),_:1})])),_:2},1032,["onClick"])))),128))])),_:1},8,["style"])])),_:1})}}},[["__scopeId","data-v-1a009be9"]]);export{k as default};
|