AiPublicRiskDialog.vue 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <template>
  2. <div class="ai-public-risk">
  3. <div class="ai-public-header">
  4. <div class="brid-box"></div>
  5. <div class="close-box" @click="handleClose"></div>
  6. AI应急助手
  7. </div>
  8. <el-scrollbar class="ai-public-content">
  9. <div class="title-box">
  10. <div class="content">疾病判断</div>
  11. </div>
  12. <div class="content-box">
  13. <div class="text-content">
  14. <span>根据病例的临床表现和检测结果,初步排除了常见的呼吸道传染病病原体,考虑不明原因肺炎的可能性大,包括:</span>
  15. </div>
  16. <div class="show-content">
  17. <span class="content">1.罕见或新发的病原体感染:如SARS、人感染动物源性流感、MERS等</span>
  18. </div>
  19. <div class="show-content">
  20. <span class="content">2.细菌性或真菌性肺炎:如肺炎克雷伯菌感染、肺炎链球菌感染、肺孢子菌感染等</span>
  21. </div>
  22. </div>
  23. <div class="title-box">
  24. <div class="content">疾病概述</div>
  25. </div>
  26. <div class="content-box">
  27. <div class="show-content" @click="showContent = !showContent">
  28. <span class="content">1.罕见或新发的病原体感染:如SARS、人感染动物源性流感、MERS等</span>
  29. <div class="arrow-box">
  30. <el-icon v-if="showContent"><CaretTop /></el-icon>
  31. <el-icon v-else><CaretBottom /></el-icon>
  32. </div>
  33. </div>
  34. <transition name="fade">
  35. <div class="bottom-content-box" v-if="showContent">
  36. SARS(传染性非典型肺炎)是由SARS冠状病毒(SARS-CoV)引起的一种急性呼吸道传染病。
  37. <br />
  38. (1) 法定传染病:乙类传染病,按照甲类传染病管理。 (2)
  39. <br />
  40. 病原体:SARS冠状病毒,属于冠状病毒科,是一种单链RNA病毒。 (3) 流行病学
  41. <br />
  42. · 传染源:病人是最主要的传染源。
  43. <br />
  44. · 传播途径:近距离呼吸道飞沫传播、密切接触传播。
  45. <br />
  46. · 易感人群:青壮年、医护人员、免疫力低下者。 (4) 临床表现:
  47. <br />
  48. · 潜伏期:1-16天,常见为3-5天。
  49. <br />
  50. · 症状:起病急,以高热(体温常超过38℃)为首发症状,可伴有头痛、肌肉酸痛、乏力、腹泻等。发病3-7天后出现干咳、少痰,部分患者有血丝痰。重症患者可出现呼吸窘迫综合征(ARDS)、休克和多器官功能衰竭。
  51. <br />
  52. (5) 流行特征
  53. <br />
  54. · 地区分布:2002年11月至2003年7月全球首次SARS流行中,全球共报告SARS临床诊断病例8096例,死亡774例,发病波及29个国家和地区。病例主要分布于亚洲、欧洲、美洲等地区。中国内地总发病数达5327例,死亡349例,病死率为6.6%,病例主要集中在北京、广东、山西、内蒙古、河北、天津等地。
  55. <br />
  56. · 时间分布:发病主要集中在2003年3月中旬至5月中。
  57. <br />
  58. · 人群分布:主要发病年龄
  59. <br />
  60. 在20~60岁之间。男女性别间发病无显著差异。人群职业分布有医务人员明显高发的特点。
  61. <br />
  62. </div>
  63. </transition>
  64. <div class="show-content">
  65. <span class="content">2.细菌性或真菌性肺炎:如肺炎克雷伯菌感染、肺炎链球菌感染、肺孢子菌感染等</span>
  66. </div>
  67. </div>
  68. </el-scrollbar>
  69. </div>
  70. </template>
  71. <script setup>
  72. import { ref } from 'vue'
  73. import { CaretTop, CaretBottom } from '@element-plus/icons-vue'
  74. import { useDialogStore } from '@/store/dialog'
  75. let dialogStore = useDialogStore()
  76. import { right } from "@antv/x6/lib/registry/port-layout/line";
  77. const emit = defineEmits(['closeClick'])
  78. const handleClose = () => {
  79. dialogStore.setRiskAIDialogOpen(false)
  80. }
  81. const showContent = ref(false)
  82. </script>
  83. <style lang="scss" scoped>
  84. .ai-public-risk {
  85. position: absolute;
  86. right: -1420px;
  87. top: 30px;
  88. background-image: url('@/assets/img/ai-bg.png');
  89. background-size: 100% 100%;
  90. width: 790px;
  91. height: 547px;
  92. z-index: 29;
  93. overflow: hidden;
  94. .ai-public-header {
  95. position: relative;
  96. display: flex;
  97. align-items: center;
  98. padding-top: 15px;
  99. padding-left: 65px;
  100. box-sizing: border-box;
  101. width: 100%;
  102. height: 57px;
  103. font-family: YouSheBiaoTiHei;
  104. font-weight: 400;
  105. font-size: 24px;
  106. line-height: 30px;
  107. text-shadow: 0px 3px 4px rgba(0, 40, 62, 0.25);
  108. text-align: left;
  109. font-style: normal;
  110. text-transform: none;
  111. background: linear-gradient(89.99999804120293deg, #ffffff 0%, #a4e9ff 100%);
  112. -webkit-background-clip: text;
  113. -webkit-text-fill-color: transparent;
  114. .brid-box {
  115. position: absolute;
  116. top: 0px;
  117. left: 0;
  118. width: 75px;
  119. height: 60px;
  120. background-image: url('@/assets/img/brid-icon.png');
  121. background-size: 100% 100%;
  122. }
  123. .close-box {
  124. position: absolute;
  125. top: 0px;
  126. right: 0;
  127. width: 75px;
  128. height: 60px;
  129. cursor: pointer;
  130. }
  131. }
  132. .ai-public-content {
  133. height: calc(100% - 90px);
  134. padding: 10px 30px;
  135. box-sizing: border-box;
  136. .title-box {
  137. position: relative;
  138. height: 32px;
  139. margin-top: 15px;
  140. background: linear-gradient(to right, rgba(60, 161, 255, 0.1) 0%, rgba(60, 161, 255, 0) 50%);
  141. padding-left: 15px;
  142. border-bottom: 1px solid;
  143. border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(0, 240, 255, 0) 47%) 2 2;
  144. .content {
  145. border-radius: 0px 0px 0px 0px;
  146. height: 100%;
  147. font-family: Alibaba PuHuiTi 3, Alibaba PuHuiTi 30;
  148. font-weight: normal;
  149. font-size: 18px;
  150. color: #ffffff;
  151. text-shadow: 0px 0px 9px #158eff;
  152. font-style: normal;
  153. text-transform: none;
  154. }
  155. &::after {
  156. content: '';
  157. position: absolute;
  158. width: 7px;
  159. height: 7px;
  160. left: 0;
  161. top: 50%;
  162. transform: translateY(-55%);
  163. background-color: rgba(33, 231, 251, 1);
  164. }
  165. }
  166. .content-box {
  167. background: rgba(60, 161, 255, 0.15);
  168. border-radius: 0px 0px 0px 0px;
  169. padding: 10px;
  170. margin-top: 10px;
  171. .text-content {
  172. font-family: Alibaba PuHuiTi;
  173. font-weight: normal;
  174. font-size: 14px;
  175. color: #a4deff;
  176. line-height: 16px;
  177. text-align: left;
  178. font-style: normal;
  179. text-transform: none;
  180. }
  181. .show-content {
  182. position: relative;
  183. display: flex;
  184. align-items: center;
  185. height: 32px;
  186. padding-left: 15px;
  187. margin-top: 10px;
  188. background: linear-gradient(to right, rgba(0, 178, 255, 0.4) 0%, rgba(0, 178, 255, 0.1) 100%);
  189. border-radius: 0px 0px 0px 0px;
  190. border-bottom: 1px solid;
  191. border-image: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 240, 255, 0) 20%) 2 2;
  192. .arrow-box {
  193. position: absolute;
  194. right: 0;
  195. top: 50%;
  196. transform: translateY(-50%);
  197. color: rgba(0, 209, 255, 1);
  198. }
  199. &::after {
  200. box-sizing: border-box;
  201. position: absolute;
  202. content: '';
  203. top: 0;
  204. left: 0;
  205. // background: #25D8FF;
  206. border-top: 4px solid #25d8ff;
  207. border-bottom: 4px solid transparent;
  208. border-left: 4px solid #25d8ff;
  209. border-right: 4px solid transparent;
  210. }
  211. .content {
  212. font-family: Alibaba PuHuiTi;
  213. font-weight: normal;
  214. font-size: 14px;
  215. color: #ffffff;
  216. line-height: 16px;
  217. text-align: left;
  218. font-style: normal;
  219. text-transform: none;
  220. }
  221. }
  222. .bottom-content-box {
  223. padding: 5px 15px;
  224. font-family: Alibaba PuHuiTi;
  225. font-weight: normal;
  226. font-size: 14px;
  227. color: #ffffff;
  228. line-height: 16px;
  229. text-align: left;
  230. font-style: normal;
  231. text-transform: none;
  232. line-height: 1.5;
  233. background: linear-gradient(90deg, rgba(0, 133, 255, 0) 0%, rgba(0, 163, 255, 0.5) 16%, rgba(0, 117, 255, 0.1) 100%);
  234. border-radius: 0px 0px 0px 0px;
  235. }
  236. }
  237. }
  238. .fade-evnter-active,
  239. .fade-leave-active {
  240. transition: all 0.3s;
  241. max-height: 300px;
  242. }
  243. .fade-enter,
  244. .fade-leave-to {
  245. max-height: 0px;
  246. opacity: 0;
  247. }
  248. }
  249. </style>