Informedconsent.vue 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. <!-- 文书管理 -->
  2. <template>
  3. <div class="patient-container">
  4. <patient-sidebar :id="patient_id" defaultActive="6-1"></patient-sidebar>
  5. <div>
  6. <div class="patient-app-container advice-container app-container">
  7. <el-tabs v-model="activeName" @tab-click="handleClick">
  8. <el-tab-pane label="已生成" name="first">
  9. <div style="display: flex;">
  10. <div style="width: 30%;">
  11. <div>
  12. <el-input
  13. placeholder="请输入内容"
  14. prefix-icon="el-icon-search"
  15. v-model="input2" style="width: 200px;">
  16. </el-input>
  17. <!-- <el-button type="primary">查看图片</el-button> -->
  18. </div>
  19. <div>
  20. <el-table
  21. :data="tableData"
  22. stripe
  23. :header-cell-style="{
  24. background:' #409eff',
  25. color: 'white'
  26. }"
  27. border
  28. style="width: 100%">
  29. <el-table-column
  30. prop="num"
  31. label="序号"
  32. width="60">
  33. </el-table-column>
  34. <el-table-column
  35. prop="date"
  36. label="日期"
  37. width="120">
  38. </el-table-column>
  39. <el-table-column
  40. prop="address"
  41. label="知情同意书">
  42. </el-table-column>
  43. </el-table>
  44. </div>
  45. </div>
  46. <div style="width: 68%; margin-left: 10px;">
  47. <div style="height: 100vh; border: 1px solid gainsboro;">
  48. </div>
  49. </div>
  50. </div>
  51. </el-tab-pane>
  52. <el-tab-pane label="模板" name="second">
  53. <div style="display: flex;">
  54. <div style="width: 30%;">
  55. <div>
  56. <el-input
  57. placeholder="请输入内容"
  58. prefix-icon="el-icon-search"
  59. v-model="input2" style="width: 200px;">
  60. </el-input>
  61. <!-- <el-button type="primary">新增</el-button> -->
  62. </div>
  63. <div>
  64. <el-table
  65. :data="templates"
  66. style="width: 100%"
  67. hegint="300"
  68. border
  69. :highlight-current-row="true"
  70. :header-cell-style="{
  71. color: '#409eff',
  72. }"
  73. @row-click="rowClick"
  74. >
  75. <el-table-column
  76. prop="date"
  77. label="知情同意书模板"
  78. align="center"
  79. >
  80. </el-table-column>
  81. </el-table>
  82. </div>
  83. </div>
  84. <div style="width: 67%; margin-left: 10px;">
  85. <div v-if="face_show">
  86. <Falloutbedprint :patient_id ="this.patientID"></Falloutbedprint>
  87. </div>
  88. <div v-if="filter_show">
  89. <!-- filter_show -->
  90. <Filter_informed :patient_id ="this.patientID"></Filter_informed>
  91. </div>
  92. <div v-if="profunda_show">
  93. <profunda_informed :patient_id ="this.patientID"></profunda_informed>
  94. </div>
  95. <div v-if="arteriovenous_show">
  96. <arteriovenous_informed :patient_id ="this.patientID"></arteriovenous_informed>
  97. </div>
  98. <div v-if="Highrisk_show" >
  99. <Highrisk_informed :patient_id ="this.patientID"></Highrisk_informed>
  100. </div>
  101. <div v-if="anticoagulation_show">
  102. <anticoagulation_informed :patient_id ="this.patientID"></anticoagulation_informed>
  103. </div>
  104. <div v-if="critical_show">
  105. <critical_informed :patient_id ="this.patientID"></critical_informed>
  106. </div>
  107. <div v-if="hemoperfusion_show">
  108. <hemoperfusion_informed :patient_id ="this.patientID"></hemoperfusion_informed>
  109. </div>
  110. <div v-if="Bring_show">
  111. <Bring_informed :patient_id ="this.patientID"></Bring_informed>
  112. </div>
  113. <div v-if="catheterization_show">
  114. <catheterization_informed :patient_id ="this.patientID"></catheterization_informed>
  115. </div>
  116. <div v-if="dialyzer_show">
  117. <dialyzer_informed :patient_id ="this.patientID"></dialyzer_informed>
  118. </div>
  119. <div v-if="therapy_show">
  120. <therapy_informed :patient_id ="this.patientID"></therapy_informed>
  121. </div>
  122. </div>
  123. </div>
  124. </el-tab-pane>
  125. </el-tabs>
  126. </div>
  127. </div>
  128. </div>
  129. </template>
  130. <script>
  131. import PatientSidebar from '../components/PatientSidebar'
  132. import Falloutbedprint from './components/Falloutbedprint'
  133. import Filter_informed from './components/Filter_informed'
  134. import profunda_informed from './components/profunda_informed'
  135. import arteriovenous_informed from './components/arteriovenous_informed'
  136. import Highrisk_informed from './components/Highrisk_informed'
  137. import anticoagulation_informed from './components/anticoagulation_informed'
  138. import critical_informed from './components/critical_informed'
  139. import hemoperfusion_informed from './components/hemoperfusion_informed'
  140. import Bring_informed from './components/Bring_informed'//自带药物
  141. import catheterization_informed from './components/catheterization_informed'//深静脉导管置入
  142. import dialyzer_informed from './components/dialyzer_informed'//透析器(滤器)
  143. import therapy_informed from './components/therapy_informed'//透析器(滤过)治疗
  144. import { getPatientDetailInformedconsent, } from '@/api/patient'
  145. export default {
  146. components: {
  147. PatientSidebar,
  148. Falloutbedprint,
  149. Filter_informed,
  150. profunda_informed,
  151. arteriovenous_informed,
  152. Highrisk_informed,
  153. anticoagulation_informed,
  154. critical_informed,
  155. hemoperfusion_informed,
  156. Bring_informed,
  157. catheterization_informed,
  158. dialyzer_informed,
  159. therapy_informed
  160. },
  161. data() {
  162. return {
  163. patient_id:0,
  164. activeName:'first',
  165. templates:[{date:'人脸识别知情同意书',value:1},{date:'血液透析(滤过、灌流)治疗知情同意书',value:2},{date:'深静脉透析导管拔管术知情同意书',value:3},{date:'动静脉内瘘穿刺知情同意书',value:4},
  166. {date:'高危出血患者血液净化抗凝方式选择知情同意书',value:5},{date:'抗凝溶栓治疗知情同意书',value:6},{date:'危重患者接受血液净化治疗知情同意书',value:7},
  167. {date:'血液灌流治疗知情同意书',value:8},{date:'自带药物代为注射告知知情同意书',value:9},{date:'深静脉透析导管置入术知情同意书',value:10},
  168. {date:'透析器(滤器)重复使用知情同意书',value:11},{date:'血液透析(滤过)治疗知情同意书',value:12}],
  169. face_show:true,
  170. filter_show:false,
  171. profunda_show:false,
  172. arteriovenous_show:false,
  173. Highrisk_show:false,
  174. anticoagulation_show:false,
  175. critical_show:false,
  176. hemoperfusion_show:false,
  177. Bring_show:false,
  178. catheterization_show:false,
  179. dialyzer_show:false,
  180. therapy_show:false,
  181. patientID:0,
  182. patient:{},
  183. tableData:[],
  184. }
  185. },
  186. created() {
  187. const id = this.$route.params && this.$route.params.id
  188. this.patientID = parseInt(id)
  189. console.log("病人id",this.patientID)
  190. },
  191. methods: {
  192. getlist(){
  193. getPatientDetailInformedconsent(this.patient_id).then(response=>{
  194. if(response.data.state == 1){
  195. var patient = response.data.data.patients
  196. console.log("patinet",patient)
  197. this.patient =patient
  198. }
  199. })
  200. },
  201. rowClick(row, column, event){
  202. // console.log('1111',row);
  203. // console.log('2222',column);
  204. // console.log('3333',event);
  205. if(row.value==1){
  206. this.face_show=true
  207. this.filter_show=false,
  208. this.profunda_show=false,
  209. this.arteriovenous_show=false,
  210. this.Highrisk_show=false,
  211. this.anticoagulation_show=false,
  212. this.critical_show=false,
  213. this.hemoperfusion_show=false,
  214. this.Bring_show=false,
  215. this.catheterization_show=false,
  216. this.dialyzer_show=false,
  217. this.therapy_show=false
  218. }
  219. if(row.value==2){
  220. this.filter_show=true
  221. this.face_show=false
  222. this.profunda_show=false,
  223. this.arteriovenous_show=false,
  224. this.Highrisk_show=false,
  225. this.anticoagulation_show=false,
  226. this.critical_show=false,
  227. this.hemoperfusion_show=false,
  228. this.Bring_show=false,
  229. this.catheterization_show=false,
  230. this.dialyzer_show=false,
  231. this.therapy_show=false
  232. }
  233. if(row.value==3){
  234. this.face_show=false
  235. this.filter_show=false,
  236. this.profunda_show=true,
  237. this.arteriovenous_show=false,
  238. this.Highrisk_show=false,
  239. this.anticoagulation_show=false,
  240. this.critical_show=false,
  241. this.hemoperfusion_show=false,
  242. this.Bring_show=false,
  243. this.catheterization_show=false,
  244. this.dialyzer_show=false,
  245. this.therapy_show=false
  246. }
  247. if(row.value==4){
  248. this.filter_show=false
  249. this.face_show=false
  250. this.profunda_show=false,
  251. this.arteriovenous_show=true,
  252. this.Highrisk_show=false,
  253. this.anticoagulation_show=false,
  254. this.critical_show=false,
  255. this.hemoperfusion_show=false,
  256. this.Bring_show=false,
  257. this.catheterization_show=false,
  258. this.dialyzer_show=false,
  259. this.therapy_show=false
  260. }
  261. if(row.value==5){
  262. this.face_show=false
  263. this.filter_show=false,
  264. this.profunda_show=false,
  265. this.arteriovenous_show=false,
  266. this.Highrisk_show=true,
  267. this.anticoagulation_show=false,
  268. this.critical_show=false,
  269. this.hemoperfusion_show=false,
  270. this.Bring_show=false,
  271. this.catheterization_show=false,
  272. this.dialyzer_show=false,
  273. this.therapy_show=false
  274. }
  275. if(row.value==6){
  276. this.filter_show=false
  277. this.face_show=false
  278. this.profunda_show=false,
  279. this.arteriovenous_show=false,
  280. this.Highrisk_show=false,
  281. this.anticoagulation_show=true,
  282. this.critical_show=false,
  283. this.hemoperfusion_show=false,
  284. this.Bring_show=false,
  285. this.catheterization_show=false,
  286. this.dialyzer_show=false,
  287. this.therapy_show=false
  288. }
  289. if(row.value==7){
  290. this.face_show=false
  291. this.filter_show=false,
  292. this.profunda_show=false,
  293. this.arteriovenous_show=false,
  294. this.Highrisk_show=false,
  295. this.anticoagulation_show=false,
  296. this.critical_show=true,
  297. this.hemoperfusion_show=false,
  298. this.Bring_show=false,
  299. this.catheterization_show=false,
  300. this.dialyzer_show=false,
  301. this.therapy_show=false
  302. }
  303. if(row.value==8){
  304. this.filter_show=false
  305. this.face_show=false
  306. this.profunda_show=false,
  307. this.arteriovenous_show=false,
  308. this.Highrisk_show=false,
  309. this.anticoagulation_show=false,
  310. this.critical_show=false,
  311. this.hemoperfusion_show=true,
  312. this.Bring_show=false,
  313. this.catheterization_show=false,
  314. this.dialyzer_show=false,
  315. this.therapy_show=false
  316. }
  317. if(row.value==9){
  318. this.face_show=false
  319. this.filter_show=false,
  320. this.profunda_show=false,
  321. this.arteriovenous_show=false,
  322. this.Highrisk_show=false,
  323. this.anticoagulation_show=false,
  324. this.critical_show=false,
  325. this.hemoperfusion_show=false,
  326. this.Bring_show=true,
  327. this.catheterization_show=false,
  328. this.dialyzer_show=false,
  329. this.therapy_show=false
  330. }
  331. if(row.value==10){
  332. this.filter_show=false
  333. this.face_show=false
  334. this.profunda_show=false,
  335. this.arteriovenous_show=false,
  336. this.Highrisk_show=false,
  337. this.anticoagulation_show=false,
  338. this.critical_show=false,
  339. this.hemoperfusion_show=false,
  340. this.Bring_show=false,
  341. this.catheterization_show=true,
  342. this.dialyzer_show=false,
  343. this.therapy_show=false
  344. }
  345. if(row.value==11){
  346. this.face_show=false
  347. this.filter_show=false,
  348. this.profunda_show=false,
  349. this.arteriovenous_show=false,
  350. this.Highrisk_show=false,
  351. this.anticoagulation_show=false,
  352. this.critical_show=false,
  353. this.hemoperfusion_show=false,
  354. this.Bring_show=false,
  355. this.catheterization_show=false,
  356. this.dialyzer_show=true,
  357. this.therapy_show=false
  358. }
  359. if(row.value==12){
  360. this.filter_show=false
  361. this.face_show=false
  362. this.profunda_show=false,
  363. this.arteriovenous_show=false,
  364. this.Highrisk_show=false,
  365. this.anticoagulation_show=false,
  366. this.critical_show=false,
  367. this.hemoperfusion_show=false,
  368. this.Bring_show=false,
  369. this.catheterization_show=false,
  370. this.dialyzer_show=false,
  371. this.therapy_show=true
  372. }
  373. },
  374. }
  375. }
  376. </script>
  377. <style rel="stylesheet/css" lang="scss" scoped>
  378. .content_top{
  379. display: flex;
  380. justify-content: space-between;
  381. }
  382. .table{
  383. border: 1px solid #DCDFE6;
  384. border-collapse:collapse;
  385. border-spacing: 0;
  386. thead th{
  387. background: #0077ff9f;
  388. color: white;
  389. text-align: center;
  390. height: 40px;
  391. }
  392. tbody td{
  393. height: 40px;
  394. padding: 5px;
  395. }
  396. .start{
  397. text-align: center;
  398. }
  399. .bing{
  400. width: 150px;
  401. text-align: center;
  402. }
  403. .bg_color{
  404. background: rgb(243, 240, 240);
  405. }
  406. .jiange{
  407. margin-left: 20px;
  408. // color: black;
  409. }
  410. .xiaojige{
  411. margin-left: 10px;
  412. }
  413. .rightjiange{
  414. margin-right: 40px;
  415. font-size: 15px;
  416. }
  417. .ttbwzz-type-a {
  418. min-width: 80px;
  419. margin-right: 30px;
  420. padding: 5px 0px;
  421. font-size: 15px;
  422. }
  423. input{
  424. -webkit-appearance: checkbox;
  425. }
  426. }
  427. .shuoming p{
  428. margin-top: 5px;
  429. color: rgb(167, 165, 165);
  430. }
  431. .biaotou{
  432. font-size: 18px;
  433. margin-bottom: 10px;
  434. color: #0077ff9f;
  435. // background-color: '#409eff';
  436. }
  437. ::-webkit-scrollbar {
  438. width: 5px;
  439. }
  440. ::-webkit-scrollbar-track {
  441. /*background black*/
  442. border-radius: 5px;
  443. background-color: white;
  444. }
  445. .table2 tr td{
  446. width: 50%;
  447. height: 40px;
  448. padding: 5px;
  449. }
  450. </style>
  451. <style lang="scss">
  452. .status_change{
  453. .el-dialog__header{
  454. background-color:#eff2f5;
  455. .el-dialog__title,.el-dialog__headerbtn i{
  456. color: #666666;
  457. }
  458. }
  459. }
  460. .el-dialog {
  461. left: 50% !important;
  462. position: fixed !important;
  463. top: 40% !important;
  464. transform: translate(-50%, -50%) !important;
  465. margin-top: 0 !important;
  466. }
  467. </style>