1 |
- !function(){var e=document.createElement("style");e.innerHTML='html{font-size:10px}body.pc{font-size:14px;min-width:1140px}body.pc .wrap{width:1024px;padding:64px 0;margin:auto;display:flex;flex-direction:column;position:relative}body.pc .build-report{position:fixed;width:1024px;text-align:right;z-index:100}body.pc .build-report span{cursor:pointer;background-color:#39caaf;color:#fff;padding:10px;width:60px;height:60px;text-align:center;border-radius:4px;font-weight:500;position:absolute}body.pc .build-report2{position:fixed;width:950px;text-align:right;z-index:100}body.pc .build-report2 span{cursor:pointer;background-color:#39caaf;color:#fff;padding:10px;width:60px;height:60px;text-align:center;border-radius:4px;font-weight:500;position:absolute}body.pc .btmpoint{font-size:1.7rem;line-height:2;width:100%;text-align:center;font-weight:600}body.pc .btmbutton{width:20%;padding:10px;background-color:#39caaf;color:#fff;font-size:20px;text-align:center;border-radius:50px;position:fixed;left:43%;bottom:30px}body.pc .mai-item{letter-spacing:1px}body.pc .mai-item.device-info{border-top:2px solid #e5e9f2;padding:8px;margin-top:12px}body.pc .mai-item h1.title{font-size:26px;color:#39caaf;border-left:40px solid #39caaf;padding-left:12px;line-height:40px;font-weight:500}body.pc .mai-item h1.title.yellow{border-color:#f5b52a;color:#f5b52a}body.pc .mai-item h1.title.blue{border-color:#2291fb;color:#2291fb}body.pc .mai-item h2.sub-title{font-size:20px;font-weight:900}body.pc .item-border-top{border-top:2px solid #e5e9f2;margin-top:16px;padding-top:36px}body.pc .mai{font-size:24px;line-height:2;padding-left:53px}body.pc .legend{border:1px solid #eff2f7;background-color:#fbfbfb;border-radius:6px;padding:10px 10px 10px 0;display:flex;justify-content:space-between;align-items:center;text-align:center;color:#475669;font-size:12px;min-height:60px}body.pc .legend>.title{border-right:1px solid #e5e9f2;width:52px;color:#8492a6}body.pc .legend .item{border-radius:1px}body.pc .legend-mai{width:280px;margin-left:53px}body.pc .legend-mai .item{background-image:url(//taiyi.oss-accelerate.aliyuncs.com/website/hybrid-app/report/3d_unhealthy.png?v=2.25.2);background-position:top;background-size:80px 25px;background-repeat:no-repeat;padding-top:30px;width:80px}body.pc .legend-mai .item2{background-image:url(//taiyi.oss-accelerate.aliyuncs.com/website/hybrid-app/report/3d_healthy.png?v=2.25.2)}body.pc .hand-branch_legend{margin-left:53px;display:flex;flex-direction:column;align-items:center}body.pc .legend-branch .title{margin-right:12px}body.pc .legend-branch .item{border-left:#f7f3e9 solid 20px;padding-left:8px;font-weight:400;line-height:1}body.pc .legend-branch .item2{border-color:#a3e5d9;margin-top:10px}body.pc .paragraph-wrap{padding-left:52px;padding-top:12px;margin-bottom:20px}body.pc .paragraph{padding-top:12px}body.pc .paragraph h3{font-weight:400;font-size:18px}body.pc .paragraph-p{margin-bottom:16px;text-align:justify;font-size:18px}body.pc .paragraph-p:last-child{margin-bottom:0}body.pc .legend-channel{width:260px;margin-bottom:4px}body.pc .legend-channel .item{position:relative;line-height:16px}body.pc .legend-channel .item:before{position:absolute;content:"";width:24px;height:16px;background-color:#c23534;left:0}body.pc .legend-channel .item2:before{background-color:#fff;border:1px solid #f1b5b7}body.pc .legend-dialectical{width:260px}body.pc .legend-dialectical>div>div{text-align:left}body.pc .legend-dialectical .dialectical{display:flex;flex-wrap:wrap;width:180px}body.pc .legend-dialectical .dialectical .item{width:50%;border-left:#3bdcc9 solid 24px;padding-left:8px;font-weight:400;line-height:16px;margin-top:8px}body.pc .legend-dialectical .dialectical .item2{border-color:#fbb74a}body.pc .legend-dialectical .dialectical .item3{border-color:#fee273}body.pc .legend-dialectical .dialectical .item4{border-color:#de4d56}body.pc .user-info{margin-bottom:40px;width:360px;display:flex;justify-content:space-between;text-align:center}body.pc .user-info .user{width:220px}body.pc .user-info .user p{color:#99a9bf}body.pc .user-info .name{font-size:22px;padding:6px 0;line-height:1.5;min-height:45px}body.pc .user-info .name span{font-size:10px;padding-left:10px}body.pc .user-info .portrait{margin:auto;width:94px;height:94px;border:1px solid #eff2f7;border-radius:10px;background-size:cover;background-position:center}body.pc .mai-hand{width:100px;height:180px}body.pc .mai-total h1.title{margin-bottom:20px}body.pc .mai-desc{padding-top:0}body.pc .heart-rate{background-position:left;background-size:30px;padding-left:52px;font-size:16px;font-weight:bolder;line-height:2.5}body.pc .user-desc-three{display:flex;justify-content:space-between;align-items:center}body.pc .user-desc-three .user-desc{width:380px}body.pc .user-desc-three .three{width:640px}body.pc .user-desc-three .three .loading-component{height:512px}body.pc .stability .paragraph{padding-top:0}body.pc .stability .paragraph p{margin-bottom:0;font-size:12px;letter-spacing:0;color:#99a9bf}body.pc .stability .num{font-size:40px;font-weight:bolder;padding-right:50px}body.pc .stability .num i{font-size:24px;font-style:normal}body.pc .pc-branch-warp{min-height:444px;display:flex;align-items:center;justify-content:space-between}body.pc .pc-branch-warp .loading-component{height:444px;width:780px}body.pc .pc-branch{width:780px;display:flex;justify-content:space-between;text-align:center}body.pc .pc-branch .branch-canvas-wrap{margin:auto}body.pc .mai-channel{display:flex;flex-direction:column;justify-content:space-between}body.pc .mai-channel .channel-content{padding-left:52px;width:100%}body.pc .mai-channel .chart-channel{margin:0;height:900px}body.pc .mai-qxjy{display:flex;flex-direction:column;justify-content:space-between}body.pc .mai-qxjy .qxjy-content{padding-left:52px;width:100%;display:flex;align-items:center;justify-content:space-between}body.pc .mai-qxjy .chart-qxjy{width:540px}body.pc .mai-qxjy .chart-qxjy .column{width:280px;height:320px}body.pc .mai-qxjy .chart-qxjy .icon{background-size:35px;padding-top:36px}body.pc .mai-heresy{display:flex}body.pc .mai-heresy .desc-heresy{width:100%}body.pc .mai-heresy .chart-heresy{align-items:center}body.pc .mai-heresy .chart-heresy .item{width:132px;background-size:60%;padding-top:80px}\n',document.head.appendChild(e),System.register(["./preload-helper-legacy.2e08847a.js","./vendor-legacy.ab945ac3.js","./Loading-legacy.9c349192.js","./maiResult-legacy.6117e652.js","./Chart.vue_vue_type_style_index_0_lang-legacy.7bf9c6e2.js","./Paragraph.vue_vue_type_script_lang-legacy.80e6aab1.js","./DeviceInfo.vue_vue_type_style_index_0_lang-legacy.02b816d2.js","./HealthAdvice.vue_vue_type_script_lang-legacy.bc9559d3.js","./Chart.vue_vue_type_style_index_0_lang-legacy.28c7bfd5.js","./LoadingComponent-legacy.9f93946b.js","./QxjyLegend-legacy.caf8f45a.js","./Stability.vue_vue_type_script_lang-legacy.b479801f.js","./useMaiResult-legacy.78b810a4.js","./index-legacy.3f143d64.js","./service-legacy.395b8fc2.js","./index-legacy.c1916c65.js","./ChannelBgPc.vue_vue_type_script_lang-legacy.96525cc0.js","./Item.vue_vue_type_script_lang-legacy.3ffa22da.js","./plugin-vue_export-helper-legacy.d48ec26d.js"],(function(e,t){"use strict";var a,i,l,n,c,o,d,p,r,s,u,h,b,g,y,f,m,x,v,w,_,j,k,z,q,C,R,T,I,L,B,S,F,K,P,D,E,M,$,A;return{setters:[function(e){a=e.a},function(e){i=e.d,l=e.y,n=e.x,c=e.h,o=e.B,d=e.j,p=e.o,r=e.c,s=e.m,u=e.k,h=e.v,b=e.l,g=e.e,y=e.t,f=e.p,m=e.F,x=e.C,v=e.D,w=e.b},function(e){_=e.L},function(e){j=e.T},function(e){k=e._},function(e){z=e._,q=e.a,C=e.b},function(e){R=e._},function(e){T=e._},function(e){I=e._,L=e.a},function(e){B=e.L},function(e){S=e._,F=e.B,K=e.C,P=e.Q},function(e){D=e._},function(e){E=e.u},function(e){M=e.s,$=e.C},function(e){A=e.f},function(){},function(){},function(){},function(){}],execute:function(){const H={class:"build-report"},Q={class:"build-report2"},G={class:"user-desc-three"},X={class:"user-desc"},J={class:"mai-item mai-total"},N={class:"title"},O={class:"heart-rate img-heart-rate"},U={key:0,class:"mai"},V={class:"three"},W={class:"paragraph-wrap mai-desc"},Y={class:"item-border-top"},Z={class:"mai-item"},ee=s("h1",{class:"title"},"分部脉象",-1),te={key:0,class:"pc-branch-warp"},ae={class:"hand-branch_legend"},ie={class:"pc-branch"},le={key:1,class:"pc-branch-warp"},ne={class:"hand-branch_legend"},ce=s("div",{class:"mai-hand img-hand"},null,-1),oe={class:"pc-branch"},de={key:2,class:"pc-branch-warp",style:{"margin-top":"70px"}},pe={class:"hand-branch_legend"},re=s("div",{class:"mai-hand img-hand left"},null,-1),se={class:"pc-branch"},ue={class:"item-border-top"},he={class:"mai-item mai-channel"},be=s("h1",{class:"title yellow"},"六经辨证",-1),ge={class:"channel-content"},ye={class:"mai-item mai-channel"},fe={class:"desc-channel"},me={class:"item-border-top"},xe={class:"mai-item mai-qxjy"},ve=s("h1",{class:"title yellow"},"气血津液",-1),we={class:"qxjy-content"},_e={class:"mai-item mai-qxjy"},je={class:"desc-qxjy"},ke={class:"item-border-top"},ze={class:"mai-item mai-heresy"},qe={class:"desc-heresy"},Ce=s("h1",{class:"title yellow"},"邪性",-1),Re={class:"item-border-top"},Te={class:"mai-item"},Ie=s("h1",{class:"title blue"},"养生建议",-1),Le=s("div",{class:"btmpoint"},"(以上分析结果为大数据分析所得,请结合临床)",-1);e("default",i({setup(e){const i=l({loader:()=>a((()=>t.import("./Group-legacy.aee9512e.js")),void 0),loadingComponent:B}),Be=l({loader:()=>a((()=>t.import("./Total3d-legacy.349d19d7.js")),void 0),loadingComponent:B});M("pc");const Se=n().query,Fe=c(),Ke=c(),Pe=c(),De=c(""),Ee=Se.appId||"",Me=c(!(!$||!$.showKaiFang||"True"!==$.showKaiFang()));if(Ee){(async e=>{const t=await A(e);"000000"===t.code&&(De.value=t.data||"")})({appId:Ee,access_session:Se.access_session,X_SDKClient_API_Key:"e517ed538290423083825f6078985c9b"})}const $e=c(!0),Ae=c(!0),He=c(!0),Qe=c(!0),Ge=c(!0),{loading:Xe,branchResult:Je,channelReault:Ne,createTime:Oe,deviceInfo:Ue,hand:Ve,handText:We,heartrate:Ye,heresyResult:Ze,proposeResult:et,qxjyResult:tt,feature:at,summary:it,symptomsResult:lt,totalMai:nt,score:ct}=E(Se.mid,Se.access_session,!1,Ee),ot=()=>{try{$.runReturn()}catch(e){j.fail("返回错误")}},dt=()=>{try{$.buildReport(`/print.html#/print?mid=${Se.mid}&uid=${Se.uid}&access_session=${Se.access_session}`)}catch(e){j.fail("报告生成失败")}};function pt(e,t){try{const a=document.getElementById(e),i=getComputedStyle(a).background;const l=/url\((['"])?(.*?)\1\)/gi.exec(i)[2],n=document.createElement("img");n.src=l,n.onload=()=>{console.log(e,"加载成功"),t()},n.onerror=()=>{console.log(e,"加载失败")}}catch(a){console.log(e,"加载失败"),console.log(a)}}const rt=c(!1),st=c(0),ut=c(0);function ht(){0==$e.value&&pt("mailegenditem1",(()=>{$e.value=!0})),0==Ae.value&&pt("mailegenditem2",(()=>{Ae.value=!0})),0==He.value&&pt("channelchartbg",(()=>{He.value=!0})),0==Qe.value&&pt("handLeftImg",(()=>{Qe.value=!0})),0==Ge.value&&pt("handRightImg",(()=>{Ge.value=!0})),0==$e.value||0==Ae.value||0==He.value||0==Qe.value||0==Ge.value?setTimeout(ht,1e3):setTimeout(bt,3e3)}const bt=()=>{try{$.buildPdf(Se.mid,Ve.value)}catch(e){console.log(e)}};return o([Xe,$e,Ae,He,rt,st,ut,Qe,Ge],(()=>{$e.value&&Ae.value&&He.value&&rt.value&&st.value&&ut.value&&(9==st.value&&3==ut.value||2==Ve.value)&&(18==st.value&&6==ut.value||2!==Ve.value)&&(Qe.value||0!==Ve.value)&&(Ge.value||1!==Ve.value)&&(Qe.value&&Ge.value||2!==Ve.value)&&setTimeout(bt,3e3)})),d((()=>{ht(),$e.value=!1,Ae.value=!1,He.value=!1,Qe.value=!1,Ge.value=!1,Fe.value.onclick=dt,Ke.value.onclick=ot})),(e,t)=>(p(),r(m,null,[s("div",H,[u(s("span",{ref_key:"refBuildReport",ref:Fe},"生 成报 告",512),[[h,!b(Ee)]])]),u(s("div",Q,[s("span",{ref_key:"refBack",ref:Ke},"返 回测 脉",512)],512),[[h,"True"===b(Se).showreturn]]),s("div",G,[s("div",X,[u(s("div",null,[g(D,{pc:"",num:b(ct)},null,8,["num"])],512),[[h,!b(Ee)||De.value.includes("0")]]),u(s("div",J,[s("h1",N,y(b(We))+"脉象",1),g(S),s("div",O,"心率:"+y(b(Ye))+"次/分钟",1),b(nt).title.length>0?(p(),r("h1",U,y(b(nt).title.join(" ")),1)):f("",!0)],512),[[h,!b(Ee)||De.value.includes("2")]])]),s("div",V,[g(b(Be),{feature:b(at).left||b(at).right,"auto-rotate":"",width:640,"total-mai":b(nt).title},null,8,["feature","total-mai"])])]),s("div",W,[(p(!0),r(m,null,x(b(nt).desc,((e,t)=>(p(),r("p",{style:{"font-size":"18px"},key:t},y(e),1)))),128))]),u(s("div",Y,null,512),[[h,!b(Ee)||De.value.includes("3")]]),u(s("div",Z,[ee,2!==b(Ve)?(p(),r("div",te,[s("div",ae,[s("div",{class:v("mai-hand img-hand "+(0===b(Ve)?"left":""))},null,2),g(F)]),s("div",ie,[g(b(i),{"branch-result":0===b(Ve)?b(Je).left:b(Je).right,feature:b(at).left||b(at).right},null,8,["branch-result","feature"])])])):f("",!0),2===b(Ve)?(p(),r("div",le,[s("div",ne,[ce,g(F)]),s("div",oe,[g(b(i),{"branch-result":b(Je).right,feature:b(at).right},null,8,["branch-result","feature"])])])):f("",!0),2===b(Ve)?(p(),r("div",de,[s("div",pe,[re,g(F)]),s("div",se,[g(b(i),{"branch-result":b(Je).left,feature:b(at).left},null,8,["branch-result","feature"])])])):f("",!0)],512),[[h,!b(Ee)||De.value.includes("3")]]),u(s("div",ue,null,512),[[h,!b(Ee)||De.value.includes("4")]]),u(s("div",null,[s("div",he,[be,s("div",ge,[s("div",null,[g(K)]),g(k,{channels:b(Ne),heartrate:b(Ye),summary:b(it),width:540},null,8,["channels","heartrate","summary"])])]),s("div",ye,[s("div",fe,[g(z,{channels:b(Ne),symptoms:b(lt)},null,8,["channels","symptoms"])])])],512),[[h,!b(Ee)||De.value.includes("4")]]),u(s("div",me,null,512),[[h,!b(Ee)||De.value.includes("5")]]),u(s("div",null,[s("div",xe,[ve,s("div",we,[g(P),g(I,{value:b(tt).level},null,8,["value"])])]),s("div",_e,[s("div",je,[g(q,{qxjy:b(tt)},null,8,["qxjy"])])])],512),[[h,!b(Ee)||De.value.includes("5")]]),u(s("div",ke,null,512),[[h,!b(Ee)||De.value.includes("6")]]),u(s("div",ze,[s("div",qe,[Ce,g(L,{value:b(Ze).value},null,8,["value"]),g(C,{heresy:b(Ze)},null,8,["heresy"])])],512),[[h,!b(Ee)||De.value.includes("6")]]),u(s("div",Re,null,512),[[h,!b(Ee)||De.value.includes("7")]]),u(s("div",Te,[Ie,g(T,{propose:b(et)},null,8,["propose"])],512),[[h,!b(Ee)||De.value.includes("7")]]),Le,b(Ue)?(p(),w(R,{key:0,info:b(Ue),class:"mai-item"},null,8,["info"])):f("",!0),u(s("div",{class:"btmbutton",id:"id_ShowFang",ref_key:"refShowFang",ref:Pe},"查看建议方",512),[[h,Me.value&&2===b(Ve)]]),g(b(_),{message:"加载中...",visible:b(Xe)},null,8,["visible"])],64))}}))}}}))}();
|