血透系统PC前端

NavIgation.vue 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. <template>
  2. <div>
  3. <div class="grid">
  4. <div class="list">
  5. <ul>
  6. <li @click="showPrescription">
  7. <img src="@/assets/record/1.png">
  8. <p>透析处方</p>
  9. </li>
  10. <li @click="showAccepts">
  11. <img src="@/assets/record/2.png">
  12. <p>接诊评估</p>
  13. </li>
  14. <li @click="showAssessmentBefore">
  15. <img src="@/assets/record/3.png">
  16. <p>透前评估</p>
  17. </li>
  18. <li @click="showDoctorAdviceDialog">
  19. <img src="@/assets/record/4.png">
  20. <p>临时医嘱</p>
  21. </li>
  22. <li @click="showDoubleCheck">
  23. <img src="@/assets/record/5.png">
  24. <p>双人核对</p>
  25. </li>
  26. </ul>
  27. </div>
  28. <div class="list">
  29. <ul>
  30. <li @click="showComputerDialog">
  31. <img src="@/assets/record/6.png" >
  32. <p>透析上机</p>
  33. </li>
  34. <li @click="showMonitorDialog">
  35. <img src="@/assets/record/7.png" >
  36. <p>透析监测</p>
  37. </li>
  38. <li @click="showFinishDialog">
  39. <img src="@/assets/record/8.png" >
  40. <p>透析下机</p>
  41. </li>
  42. <li @click="showAssessmentAfterDialog">
  43. <img src="@/assets/record/9.png" >
  44. <p>透后评估</p>
  45. </li>
  46. <li @click="showrTeatmentSummary" >
  47. <img src="@/assets/record/10.png" >
  48. <p>治疗小结</p>
  49. </li>
  50. </ul>
  51. </div>
  52. </div>
  53. <div class="middleLine"></div>
  54. <dialysis-prescription-dialog title="透析处方" ref="prescription" :patient="patient" :prescription="prescription" :solution="solution"
  55. :niprocart_info="niprocart_info" :jms_info="jms_info" :fistula_needle_set_info="fistula_needle_set_info"
  56. :fistula_needle_set_16_info="fistula_needle_set_16_info" :hemoperfusion_info="hemoperfusion_info" :dialyser_sterilised_info="dialyser_sterilised_info"
  57. :filtryzer_info="filtryzer_info" :dialyzers_info="dialyzers_info" :injector_info="injector_info" :bloodlines_info="bloodlines_info" :tubingHemodialysis_info="tubingHemodialysis_info"
  58. :safe_package_info="safe_package_info" :aliquid_info="aliquid_info" :config="config"
  59. ></dialysis-prescription-dialog>
  60. <double-check-dialog title="双人核对" ref="doubleCheck" :patient="patient" :double_check="double_check" :admin_users="admin_users" ></double-check-dialog>
  61. <accepts-treatment-dialog title="接诊评估" ref="accepts" :patient="patient" :receiver_treatment_access="receiver_treatment_access"></accepts-treatment-dialog>
  62. <assessment-before-dislysis-dialog title="透前评估" ref="assessmentBefore" :patient="patient" :predialysis_evaluation="predialysis_evaluation"></assessment-before-dislysis-dialog>
  63. <treatment-summary-dialog title="治疗小结" ref="treatmentSummary" :patient="patient" :treatment_summary="treatment_summary"></treatment-summary-dialog>
  64. <doctor-advice-dialog title="临时医嘱" ref="doctor_advice" :doctor_advices="doctor_advices" :patient="patient" :admin_users="admin_users" :dialysis_order="dialysis_order"></doctor-advice-dialog>
  65. <computer-dialog title="透析上机" ref="computer_dialog" :dialysis_order="dialysis_order" :schedule="schedual" :admins="admin_users" :device_numbers="device_numbers"></computer-dialog>
  66. <monitor-dialog title="透析监测" ref="monitor_dialog" :monitors="monitor_records"></monitor-dialog>
  67. <finish-dialog title="透析下机" ref="finish_dialog" :dialysis_order="dialysis_order" :schedule="schedual" :admins="admin_users"></finish-dialog>
  68. <assessment-after-dislysis title="透后评估" ref="assessment_after_dislysis" :assessment_after_dislysis="assessment_after_dislysis" :patient="patient" :dialysis_order="dialysis_order"></assessment-after-dislysis>
  69. </div>
  70. </template>
  71. <script>
  72. import dialysisPrescriptionDialog from './dialog/dialysisPrescriptionDialog'
  73. import doubleCheckDialog from './dialog/doubleCheckDialog'
  74. import AssessmentAfterDislysis from './dialog/AssessmentAfterDislysis'
  75. import acceptsTreatmentDialog from './dialog/acceptsTreatmentDialog'
  76. import assessmentBeforeDislysisDialog from './dialog/assessmentBeforeDislysisDialog'
  77. import MonitorDialog from './dialog/monitor_dialog'
  78. import DoctorAdviceDialog from './dialog/DoctorAdviceDialog'
  79. import treatmentSummaryDialog from './dialog/treatmentSummaryDialog'
  80. import ComputerDialog from './dialog/computer_dialog'
  81. import FinishDialog from './dialog/finish_dialog'
  82. export default {
  83. name: 'NavIgation',
  84. components: {
  85. dialysisPrescriptionDialog,
  86. doubleCheckDialog,
  87. AssessmentAfterDislysis,
  88. acceptsTreatmentDialog,
  89. assessmentBeforeDislysisDialog,
  90. treatmentSummaryDialog,
  91. MonitorDialog,
  92. DoctorAdviceDialog,
  93. ComputerDialog,
  94. FinishDialog
  95. },
  96. data() {
  97. return {
  98. }
  99. },
  100. props: {
  101. patient: { // 患者信息
  102. type: Object,
  103. default: () => {
  104. return { id: 0 }
  105. }
  106. },
  107. schedual: { // 患者排班信息
  108. type: Object,
  109. default: () => {
  110. return { id: 0 }
  111. }
  112. },
  113. prescription: { // 透析处方
  114. type: Object,
  115. default: () => {
  116. return { id: 0 }
  117. }
  118. },
  119. solution: { // 透析方案
  120. type: Object,
  121. default: () => {
  122. return { id: 0 }
  123. }
  124. },
  125. receiver_treatment_access: { // 接诊评估
  126. type: Object,
  127. default: () => {
  128. return { id: 0 }
  129. }
  130. },
  131. predialysis_evaluation: { // 透前评估
  132. type: Object,
  133. default: () => {
  134. return { id: 0 }
  135. }
  136. },
  137. doctor_advices: { // 临时医嘱
  138. type: Array,
  139. default: () => {
  140. return []
  141. }
  142. },
  143. double_check: { // 双人核对
  144. type: Object,
  145. default: () => {
  146. return { id: 0 }
  147. }
  148. },
  149. assessment_after_dislysis: { // 透后评估
  150. type: Object,
  151. default: () => {
  152. return { id: 0 }
  153. }
  154. },
  155. treatment_summary: { // 治疗小结
  156. type: Object,
  157. default: () => {
  158. return { id: 0 }
  159. }
  160. },
  161. monitor_records: { // 透析监测
  162. type: Array,
  163. default: () => {
  164. return []
  165. }
  166. },
  167. dialysis_order: { // 透析记录
  168. type: Object,
  169. default: () => {
  170. return { id: 0 }
  171. }
  172. },
  173. admin_users: { // 系统用户列表
  174. type: Array,
  175. default: () => {
  176. return []
  177. }
  178. },
  179. devices: { // 设备
  180. type: Array,
  181. default: () => {
  182. return []
  183. }
  184. },
  185. device_numbers: { // 床位
  186. type: Array,
  187. default: () => {
  188. return []
  189. }
  190. },
  191. niprocart_info: {
  192. type: Array,
  193. default: () => {
  194. return []
  195. }
  196. },
  197. jms_info: {
  198. type: Array,
  199. default: () => {
  200. return []
  201. }
  202. },
  203. fistula_needle_set_info: {
  204. type: Array,
  205. default: () => {
  206. return []
  207. }
  208. },
  209. fistula_needle_set_16_info: {
  210. type: Array,
  211. default: () => {
  212. return []
  213. }
  214. },
  215. hemoperfusion_info: {
  216. type: Array,
  217. default: () => {
  218. return []
  219. }
  220. },
  221. dialyser_sterilised_info: {
  222. type: Array,
  223. default: () => {
  224. return []
  225. }
  226. },
  227. filtryzer_info: {
  228. type: Array,
  229. default: () => {
  230. return []
  231. }
  232. },
  233. dialyzers_info: {
  234. type: Array,
  235. default: () => {
  236. return []
  237. }
  238. },
  239. injector_info: {
  240. type: Array,
  241. default: () => {
  242. return []
  243. }
  244. },
  245. bloodlines_info: {
  246. type: Array,
  247. default: () => {
  248. return []
  249. }
  250. },
  251. tubingHemodialysis_info: {
  252. type: Array,
  253. default: () => {
  254. return []
  255. }
  256. },
  257. safe_package_info: {
  258. type: Array,
  259. default: () => {
  260. return []
  261. }
  262. },
  263. aliquid_info: {
  264. type: Array,
  265. default: () => {
  266. return []
  267. }
  268. },
  269. config: {
  270. type: Object,
  271. default: () => {
  272. return { id: 0 }
  273. }
  274. },
  275. admin_user_map: { // {user_id: admin_user object}
  276. type: Object,
  277. default: () => {
  278. return {}
  279. }
  280. },
  281. device_map: { // {device_id: device object}
  282. type: Object,
  283. default: () => {
  284. return {}
  285. }
  286. },
  287. device_number_map: { // {device_number_id: device_number object}
  288. type: Object,
  289. default: () => {
  290. return {}
  291. }
  292. }
  293. },
  294. methods: {
  295. showMonitorDialog: function() {
  296. this.$refs.monitor_dialog.show()
  297. },
  298. showAssessmentAfterDialog: function() {
  299. this.$refs.assessment_after_dislysis.show()
  300. },
  301. showDoctorAdviceDialog: function() {
  302. this.$refs.doctor_advice.show()
  303. },
  304. showComputerDialog: function() {
  305. this.$refs.computer_dialog.show()
  306. },
  307. showFinishDialog: function() {
  308. this.$refs.finish_dialog.show()
  309. },
  310. showPrescription: function() {
  311. this.$refs.prescription.show()
  312. },
  313. showAccepts: function() {
  314. this.$refs.accepts.show()
  315. },
  316. showAssessmentBefore: function() {
  317. this.$refs.assessmentBefore.show()
  318. },
  319. showDoubleCheck: function() {
  320. this.$refs.doubleCheck.show()
  321. },
  322. showrTeatmentSummary: function() {
  323. this.$refs.treatmentSummary.show()
  324. }
  325. }
  326. }
  327. </script>
  328. <style style="stylesheet/scss" lang="scss" scoped>
  329. .grid {
  330. padding: 10px 0 20px 0;
  331. .list {
  332. ul {
  333. @include display-flex;
  334. @include align-items-center;
  335. @include text-align;
  336. @include justify-content-around;
  337. cursor: pointer;
  338. li {
  339. font-size: 12px;
  340. color: #5d6b7a;
  341. margin-top: 20px;
  342. p {
  343. height: 30px;
  344. line-height: 30px;
  345. color: #34495e;
  346. font-size: 14px;
  347. }
  348. img {
  349. width: 50px;
  350. height: 50px;
  351. }
  352. }
  353. }
  354. }
  355. }
  356. .txsj{
  357. text-align: center;
  358. margin-bottom: 20px;
  359. }
  360. </style>