Przeglądaj źródła

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

xiaoming_global 5 lat temu
rodzic
commit
3f6e80a656
40 zmienionych plików z 2194 dodań i 745 usunięć
  1. 0 5
      .idea/codeStyles/codeStyleConfig.xml
  2. 0 4
      .idea/encodings.xml
  3. 0 6
      .idea/misc.xml
  4. 0 8
      .idea/modules.xml
  5. 0 8
      .idea/xt_vue.iml
  6. 3 2
      config/dev.env.js
  7. 4 5
      config/index.js
  8. 2 0
      src/api/advice.js
  9. 8 0
      src/api/dialysis.js
  10. 16 1
      src/api/dialysis_record.js
  11. 2 0
      src/store/getters.js
  12. 14 0
      src/store/modules/xt_user.js
  13. 22 18
      src/xt_pages/data/druguseTemplate.vue
  14. 3 1
      src/xt_pages/dialysis/batch_print/batch_print_order.vue
  15. 2 0
      src/xt_pages/dialysis/batch_print/batch_print_order_five.vue
  16. 2 0
      src/xt_pages/dialysis/batch_print/batch_print_order_five_one.vue
  17. 2 0
      src/xt_pages/dialysis/batch_print/batch_print_order_four.vue
  18. 2 0
      src/xt_pages/dialysis/batch_print/batch_print_order_other.vue
  19. 1 0
      src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue
  20. 149 86
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  21. 2 0
      src/xt_pages/dialysis/batch_print/batch_print_order_three.vue
  22. 8 1
      src/xt_pages/dialysis/bloodPresssWatch.vue
  23. 8 4
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  24. 26 4
      src/xt_pages/dialysis/details/NavIgation.vue
  25. 3 1
      src/xt_pages/dialysis/details/acceptsAssessment.vue
  26. 34 29
      src/xt_pages/dialysis/details/assessmentAfter.vue
  27. 22 2
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  28. 2 0
      src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue
  29. 0 1
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  30. 1587 492
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  31. 78 8
      src/xt_pages/dialysis/details/index.vue
  32. 5 3
      src/xt_pages/dialysis/dialysisPage.vue
  33. 10 0
      src/xt_pages/dialysis/schedualPatient.vue
  34. 3 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue
  35. 3 1
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  36. 124 42
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  37. 3 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue
  38. 2 0
      src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue
  39. 4 1
      src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue
  40. 38 10
      src/xt_pages/user/doctorAdvice.vue

+ 0 - 5
.idea/codeStyles/codeStyleConfig.xml Wyświetl plik

@@ -1,5 +0,0 @@
1
-<component name="ProjectCodeStyleConfiguration">
2
-  <state>
3
-    <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
-  </state>
5
-</component>

+ 0 - 4
.idea/encodings.xml Wyświetl plik

@@ -1,4 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="Encoding" addBOMForNewFiles="with NO BOM" />
4
-</project>

+ 0 - 6
.idea/misc.xml Wyświetl plik

@@ -1,6 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="JavaScriptSettings">
4
-    <option name="languageLevel" value="ES6" />
5
-  </component>
6
-</project>

+ 0 - 8
.idea/modules.xml Wyświetl plik

@@ -1,8 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="ProjectModuleManager">
4
-    <modules>
5
-      <module fileurl="file://$PROJECT_DIR$/.idea/xt_vue.iml" filepath="$PROJECT_DIR$/.idea/xt_vue.iml" />
6
-    </modules>
7
-  </component>
8
-</project>

+ 0 - 8
.idea/xt_vue.iml Wyświetl plik

@@ -1,8 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<module type="WEB_MODULE" version="4">
3
-  <component name="NewModuleRootManager">
4
-    <content url="file://$MODULE_DIR$" />
5
-    <orderEntry type="inheritedJdk" />
6
-    <orderEntry type="sourceFolder" forTests="false" />
7
-  </component>
8
-</module>

+ 3 - 2
config/dev.env.js Wyświetl plik

@@ -6,8 +6,9 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9
-  BASE_API: '"http://api.xt.test.sgjyun.com"',//'"http://localhost:9529"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527
10
-  SSO_HOST: '"https://testsso.sgjyun.com"',
9
+  BASE_API:  '"http://api.xt.test.sgjyun.com"',// //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
+  // BASE_API:'"http://localhost:9529"',
11
+  SSO_HOST: '"http://testsso.sgjyun.com"',
11 12
   SRCM_HOST: '"http://test1.sgjyun.com"',
12 13
   XT_HOST: '"http://xt.test.sgjyun.com"',
13 14
   MIRCO_MALL_HOST: '"http://mall.test.sgjyun.com"',

+ 4 - 5
config/index.js Wyświetl plik

@@ -11,16 +11,15 @@ module.exports = {
11 11
     assetsSubDirectory: 'static',
12 12
     assetsPublicPath: '/',
13 13
     proxyTable: {},
14
-
15 14
     // Various Dev Server settings
16 15
 
17 16
     // can be overwritten by process.env.HOST
18 17
     // if you want dev by ip, please set host: '0.0.0.0'
19
-
20
-    // host: 'xt.test.sgjyun.com',
21 18
     // host: 'xt.kuyicloud.com',
22
-    host: 'xt.test.sgjyun.com',
23
-    port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
19
+     host: 'xt.test.sgjyun.com',
20
+    // host:'localhost',
21
+    port:9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
22
+
24 23
     autoOpenBrowser: true,
25 24
     errorOverlay: true,
26 25
     notifyOnErrors: false,

+ 2 - 0
src/api/advice.js Wyświetl plik

@@ -299,3 +299,5 @@ export function postDoctorAdviceConfig(params) {
299 299
 
300 300
 
301 301
 
302
+
303
+

+ 8 - 0
src/api/dialysis.js Wyświetl plik

@@ -239,6 +239,14 @@ export function postDelMonitorInfo(params) {
239 239
 
240 240
 
241 241
 
242
+export function CreateGroupAdvice(id, groupno, advices){
243
+  return request({
244
+    url:'/api/advice_remind/create?id='+id + '&groupno=' + groupno,
245
+    method:'post',
246
+    data:advices,
247
+  })
248
+
249
+}
242 250
 
243 251
 
244 252
 

+ 16 - 1
src/api/dialysis_record.js Wyświetl plik

@@ -43,7 +43,7 @@ export function editMonitor(patient_id, schedule_date, data) {
43 43
   })
44 44
 }
45 45
 
46
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, puncture_nurse_id, start_time, lood_drawing) {
46
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time) {
47 47
   var params = {
48 48
     patient_id: patient_id,
49 49
     date: schedule_date,
@@ -81,3 +81,18 @@ export function postDelMonitorInfo(params) {
81 81
   })
82 82
 }
83 83
 
84
+
85
+
86
+
87
+
88
+export function getLongAdvice(params) {
89
+  return request({
90
+    url:'api/dialysis/advice_remind',
91
+    method:'Get',
92
+    params:params,
93
+  })
94
+}
95
+
96
+
97
+
98
+

+ 2 - 0
src/store/getters.js Wyświetl plik

@@ -22,6 +22,8 @@ const getters = {
22 22
 
23 23
   xt_permission: state => state.xt_permission,
24 24
   xt_user: state => state.xt_user,
25
+  schedule_type_selected: state => state.xt_user.schedule_type_selected,
26
+  zone_selected: state => state.xt_user.zone_selected,
25 27
 
26 28
   xt_role_temps: state => state.xt_role_temps,
27 29
 

+ 14 - 0
src/store/modules/xt_user.js Wyświetl plik

@@ -14,6 +14,8 @@ import { getFiledConfigList, setFiledConfigList } from '@/utils/data_config' //
14 14
 const xt_user = {
15 15
   state: {
16 16
     org_id: 0,
17
+    schedule_type_selected: 0,
18
+    zone_selected: 0,
17 19
     app_id: 0,
18 20
     user: {
19 21
       id: 0,
@@ -59,6 +61,12 @@ const xt_user = {
59 61
   },
60 62
 
61 63
   mutations: {
64
+    SET_SCHEDULE_TYPE_SELECTED: (state, schedule_type_selected) => {
65
+      state.schedule_type_selected = schedule_type_selected
66
+    },
67
+    SET_ZONE_SELECTED: (state, zone_selected) => {
68
+      state.zone_selected = zone_selected
69
+    },
62 70
     SET_FILEDS_LIST: (state, configlist) => {
63 71
       state.fileds = configlist
64 72
     },
@@ -172,6 +180,12 @@ const xt_user = {
172 180
   },
173 181
 
174 182
   actions: {
183
+    SetScheduleTypeSelected({commit }, schedule_type_selected) {
184
+      commit('SET_SCHEDULE_TYPE_SELECTED', schedule_type_selected)
185
+    },
186
+    SetZoneSelected({ commit }, zone_selected) {
187
+      commit('SET_ZONE_SELECTED', zone_selected)
188
+    },
175 189
     SetSubscibePatients({
176 190
       commit,
177 191
       state

+ 22 - 18
src/xt_pages/data/druguseTemplate.vue Wyświetl plik

@@ -324,14 +324,14 @@
324 324
                     </el-form-item>
325 325
                   </el-col>
326 326
                   <el-col :span="12">
327
-                    <el-form-item label="单次用量 :" prop="single_dose">
327
+                    <el-form-item label="开药数量 :" prop="prescribing_number">
328 328
                       <el-col :span="9">
329
-                        <el-input v-model="templateForm.single_dose"></el-input>
329
+                        <el-input v-model="templateForm.prescribing_number"></el-input>
330 330
                       </el-col>
331 331
                       <el-col class="line" :span="1">&nbsp;</el-col>
332 332
                       <el-col :span="14">
333 333
                         <el-select
334
-                          v-model="templateForm.single_dose_unit"
334
+                          v-model="templateForm.prescribing_number_unit"
335 335
                           filterable
336 336
                           clearable
337 337
                           allow-create
@@ -347,15 +347,16 @@
347 347
                       </el-col>
348 348
                     </el-form-item>
349 349
                   </el-col>
350
+
350 351
                   <el-col :span="12">
351
-                    <el-form-item label="开药数量 :" prop="prescribing_number">
352
+                    <el-form-item label="单次用量 :" prop="single_dose">
352 353
                       <el-col :span="9">
353
-                        <el-input v-model="templateForm.prescribing_number"></el-input>
354
+                        <el-input v-model="templateForm.single_dose"></el-input>
354 355
                       </el-col>
355 356
                       <el-col class="line" :span="1">&nbsp;</el-col>
356 357
                       <el-col :span="14">
357 358
                         <el-select
358
-                          v-model="templateForm.prescribing_number_unit"
359
+                          v-model="templateForm.single_dose_unit"
359 360
                           filterable
360 361
                           clearable
361 362
                           allow-create
@@ -491,14 +492,14 @@
491 492
                     </el-form-item>
492 493
                   </el-col>
493 494
                   <el-col :span="12">
494
-                    <el-form-item label="单次用量 :" prop="single_dose">
495
+                    <el-form-item label="开药数量 :" prop="prescribing_number">
495 496
                       <el-col :span="9">
496
-                        <el-input v-model="templateFormEdit.single_dose"></el-input>
497
+                        <el-input v-model="templateFormEdit.prescribing_number"></el-input>
497 498
                       </el-col>
498 499
                       <el-col class="line" :span="1">&nbsp;</el-col>
499 500
                       <el-col :span="14">
500 501
                         <el-select
501
-                          v-model="templateFormEdit.single_dose_unit"
502
+                          v-model="templateFormEdit.prescribing_number_unit"
502 503
                           filterable
503 504
                           clearable
504 505
                           allow-create
@@ -514,15 +515,16 @@
514 515
                       </el-col>
515 516
                     </el-form-item>
516 517
                   </el-col>
518
+
517 519
                   <el-col :span="12">
518
-                    <el-form-item label="开药数量 :" prop="prescribing_number">
520
+                    <el-form-item label="单次用量 :" prop="single_dose">
519 521
                       <el-col :span="9">
520
-                        <el-input v-model="templateFormEdit.prescribing_number"></el-input>
522
+                        <el-input v-model="templateFormEdit.single_dose"></el-input>
521 523
                       </el-col>
522 524
                       <el-col class="line" :span="1">&nbsp;</el-col>
523 525
                       <el-col :span="14">
524 526
                         <el-select
525
-                          v-model="templateFormEdit.prescribing_number_unit"
527
+                          v-model="templateFormEdit.single_dose_unit"
526 528
                           filterable
527 529
                           clearable
528 530
                           allow-create
@@ -730,14 +732,14 @@
730 732
                     </el-form-item>
731 733
                   </el-col>
732 734
                   <el-col :span="12">
733
-                    <el-form-item label="单次用量 :" prop="single_dose">
735
+                    <el-form-item label="开药数量 :" prop="prescribing_number">
734 736
                       <el-col :span="9">
735
-                        <el-input v-model="templateForm.single_dose"></el-input>
737
+                        <el-input v-model="templateForm.prescribing_number"></el-input>
736 738
                       </el-col>
737 739
                       <el-col class="line" :span="1">&nbsp;</el-col>
738 740
                       <el-col :span="14">
739 741
                         <el-select
740
-                          v-model="templateForm.single_dose_unit"
742
+                          v-model="templateForm.prescribing_number_unit"
741 743
                           filterable
742 744
                           clearable
743 745
                           allow-create
@@ -753,15 +755,16 @@
753 755
                       </el-col>
754 756
                     </el-form-item>
755 757
                   </el-col>
758
+
756 759
                   <el-col :span="12">
757
-                    <el-form-item label="开药数量 :" prop="prescribing_number">
760
+                    <el-form-item label="单次用量 :" prop="single_dose">
758 761
                       <el-col :span="9">
759
-                        <el-input v-model="templateForm.prescribing_number"></el-input>
762
+                        <el-input v-model="templateForm.single_dose"></el-input>
760 763
                       </el-col>
761 764
                       <el-col class="line" :span="1">&nbsp;</el-col>
762 765
                       <el-col :span="14">
763 766
                         <el-select
764
-                          v-model="templateForm.prescribing_number_unit"
767
+                          v-model="templateForm.single_dose_unit"
765 768
                           filterable
766 769
                           clearable
767 770
                           allow-create
@@ -1462,6 +1465,7 @@
1462 1465
         const params = {
1463 1466
           'data': this.adviceTableData
1464 1467
         }
1468
+        this.form.name =  encodeURIComponent(this.form.name)
1465 1469
         postAdviceTemplate(params, this.form.name, this.form.advice_type).then(response => {
1466 1470
           if (response.data.state == 0) {
1467 1471
             this.$message.error(response.data.msg)

+ 3 - 1
src/xt_pages/dialysis/batch_print/batch_print_order.vue Wyświetl plik

@@ -71,7 +71,7 @@
71 71
                       <check-box text="平车"
72 72
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'way', 4)"></check-box>
73 73
                     </div>
74
-                    <div class="inline_block" style="margin-left: 30px;">
74
+                    <div class="inline_block" style="margin-left: 15px;">
75 75
                       意识:
76 76
                       <check-box text="清醒"
77 77
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
@@ -79,6 +79,8 @@
79 79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
80 80
                       <check-box text="昏迷"
81 81
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
82
+                      <check-box text="模糊"
83
+                                 :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
82 84
                     </div>
83 85
                     <div class="inline_block" style="margin-left: 30px;">
84 86
                       体温:

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_five.vue Wyświetl plik

@@ -99,6 +99,8 @@
99 99
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
100 100
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
101 101
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
102
+                      <check-box text="模糊" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
103
+
102 104
                     </div>
103 105
                     <div class="inline_block"  style="margin-left: 5px;">
104 106
                      活动性出血:

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_five_one.vue Wyświetl plik

@@ -99,6 +99,8 @@
99 99
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
100 100
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
101 101
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
102
+                      <check-box text="模糊" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
103
+
102 104
                     </div>
103 105
                     <div class="inline_block"  style="margin-left: 5px;">
104 106
                      活动性出血:

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_four.vue Wyświetl plik

@@ -79,6 +79,8 @@
79 79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
80 80
                       <check-box text="昏迷"
81 81
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
82
+                      <check-box text="模糊"
83
+                                 :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
82 84
                     </div>
83 85
                     <div class="inline_block" style="margin-left: 30px;">
84 86
                       体温:

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Wyświetl plik

@@ -87,6 +87,8 @@
87 87
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
88 88
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
89 89
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
90
+                      <check-box text="模糊" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
91
+
90 92
                     </div>
91 93
                     <div class="inline_block"  style="margin-left: 5px;">
92 94
                      活动性出血:

+ 1 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue Wyświetl plik

@@ -84,6 +84,7 @@
84 84
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
85 85
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
86 86
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
87
+                      <check-box text="模糊" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
87 88
                     </div>
88 89
                     <div class="inline_block"  style="margin-left: 5px;">
89 90
                       活动性出血:

+ 149 - 86
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Wyświetl plik

@@ -13,44 +13,44 @@
13 13
                 <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">血液净化治疗记录单</div>
14 14
             </div>
15 15
             <div class="row">
16
-                <div class="inline_block" >
16
+              <div class="inline_block" >
17 17
                 姓名:
18 18
                 <div class="under_line" style="width: 50px;text-align: center;">{{record.patient.name}}</div>
19
-                </div>
20
-                <div class="inline_block" style="margin-left: 10px;">
19
+              </div>
20
+              <div class="inline_block" style="margin-left: 10px;">
21 21
                 性别:
22 22
                 <div class="under_line" style="width: 30px;text-align: center;">{{record.patient.gender == 1?"男":"女"}}</div>
23
-                </div>
24
-                <div class="inline_block" style="margin-left: 10px;">
23
+              </div>
24
+              <div class="inline_block" style="margin-left: 10px;">
25 25
                 年龄:
26 26
                 <div class="under_line" style="width: 30px;text-align: center;">{{getAge(record.patient)}}</div>
27 27
28
-                </div>
29
-                <div class="inline_block">
28
+              </div>
29
+              <div class="inline_block">
30 30
                 门诊:
31
-                    <div class="under_line" style="width: 30px;text-align: center;">
32
-                        <check-box  :checked="record.patient.source == 1 "></check-box>
33
-                    </div>
34
-                </div>
35
-                <div class="inline_block">
31
+                  <div class="under_line" style="width: 30px;text-align: center;">
32
+                      <check-box  :checked="record.patient.source == 1 "></check-box>
33
+                  </div>
34
+              </div>
35
+              <div class="inline_block">
36 36
                 病区:
37
-                    <div class="under_line" style="width: 50px;text-align: center;">
38
-                        {{'/'}}
39
-                    </div>
40
-                </div>
41
-                <div class="inline_block">
37
+                  <div class="under_line" style="width: 50px;text-align: center;">
38
+                      {{'/'}}
39
+                  </div>
40
+              </div>
41
+              <div class="inline_block">
42 42
                 床号:
43
-                    <div class="under_line" style="width: 50px;text-align: center;">
44
-                        {{'/'}}
45
-                    </div>
46
-                </div>
47
-                <div class="inline_block">
43
+                  <div class="under_line" style="width: 50px;text-align: center;">
44
+                      {{'/'}}
45
+                  </div>
46
+              </div>
47
+              <div class="inline_block">
48 48
                 透析号:
49
-                    <div class="under_line" style="width: 70px;text-align: center;">
50
-                        {{'/'}}
51
-                    </div>
52
-                </div>
53
-                <div class="inline_block" style="margin-left: 5px;">
49
+                  <div class="under_line" style="width: 70px;text-align: center;">
50
+                    {{record.patient.dialysis_no}}
51
+                  </div>
52
+              </div>
53
+              <div class="inline_block" style="margin-left: 5px;">
54 54
                 住院号/门诊号:
55 55
                 <div class="under_line" style="width: 70px;text-align: left" v-if="record.patient.admission_number">
56 56
                     {{record.patient.admission_number}}
@@ -58,25 +58,24 @@
58 58
                 <div class="under_line" style="width: 70px;text-align: left" v-else>
59 59
                     {{'/'}}
60 60
                 </div>
61
-                </div>
62
-                
61
+              </div>
63 62
             </div>
64 63
             <div class="row" >
65 64
                 <div class="inline_block" >
66
-                入科方式:
67
-                <div class="under_line" v-if="record.receive_assessment==0" style="width: 180px;text-align: left">  </div>
68
-                <div class="under_line" v-if="record.receive_assessment==1" style="width: 180px;text-align: left">步行 </div>
69
-                <div class="under_line" v-if="record.receive_assessment==2" style="width: 180px;text-align: left">扶行 </div>
70
-                <div class="under_line" v-if="record.receive_assessment==3" style="width: 180px;text-align: left">轮椅 </div>
71
-                <div class="under_line" v-if="record.receive_assessment==4" style="width: 180px;text-align: left">平车 </div>
65
+                  入科方式:
66
+                  <div class="under_line" v-if="record.receive_assessment==0" style="width: 180px;text-align: left">  </div>
67
+                  <div class="under_line" v-if="record.receive_assessment==1" style="width: 180px;text-align: left">步行 </div>
68
+                  <div class="under_line" v-if="record.receive_assessment==2" style="width: 180px;text-align: left">扶行 </div>
69
+                  <div class="under_line" v-if="record.receive_assessment==3" style="width: 180px;text-align: left">轮椅 </div>
70
+                  <div class="under_line" v-if="record.receive_assessment==4" style="width: 180px;text-align: left">平车 </div>
72 71
                 </div>
73 72
                 <div class="inline_block" style="margin-left: 10px;">
74
-                诊断:
75
-                <div class="under_line" style="width: 180px;text-align: left">{{record.patient.diagnose}}</div>
73
+                  诊断:
74
+                  <div class="under_line" style="width: 180px;text-align: left">{{record.patient.diagnose}}</div>
76 75
                 </div>
77 76
             </div>
78 77
 
79
-            <div class="row" :class="record.totallength> 14? 'margin-bottom-300':''"> 
78
+            <div class="row" :class="record.totallength> 14? 'margin-bottom-300':''">
80 79
                 <table class="proj_table">
81 80
                     <tbody>
82 81
                         <tr><td colspan="2" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">透析前情况</td></tr>
@@ -139,7 +138,7 @@
139 138
                                     <div class="inline_block" style="margin-left:10px;">
140 139
                                     血管通路:
141 140
                                     <div class="under_line" style="width: 200px;text-align: center;">
142
-                                        {{record.assessment_before_dislysis&&record.assessment_before_dislysis.blood_access_part_id?blood_access_part[record.assessment_before_dislysis.blood_access_part_id]['name']:'/'}} {{record.assessment_before_dislysis&&record.assessment_before_dislysis.blood_access_part_opera_name?record.assessment_before_dislysis.blood_access_part_opera_name:''}}
141
+                                      {{QueryPartById(record.assessment_before_dislysis&&record.assessment_before_dislysis.blood_access_part_id?record.assessment_before_dislysis.blood_access_part_id:0)}} {{record.assessment_before_dislysis&&record.assessment_before_dislysis.blood_access_part_opera_name?record.assessment_before_dislysis.blood_access_part_opera_name:''}}
143 142
                                     </div>
144 143
                                     </div>
145 144
                                 </div>
@@ -160,11 +159,11 @@
160 159
                                     <div class="inline_block" style="margin-left:10px;flex:1;">
161 160
                                       穿刺方式:
162 161
                                       <div class="under_line" style="width: 100px;text-align: center" v-if="!record.assessment_before_dislysis">
163
-                                            
162
+
164 163
                                       </div>
165 164
                                       <div v-if="record.assessment_before_dislysis" style="display: inline-block;">
166 165
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 0">
167
-                                            
166
+
168 167
                                         </div>
169 168
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 1">
170 169
                                             绳梯
@@ -188,11 +187,11 @@
188 187
                                     <div class="inline_block" style="flex:1;">
189 188
                                       透析方式:
190 189
                                       <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription">
191
-                                          
190
+
192 191
                                       </div>
193 192
                                       <div v-if="record.prescription" style="display: inline-block;">
194 193
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription.mode_id">
195
-                                            
194
+
196 195
                                         </div>
197 196
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id==1">
198 197
                                             HD
@@ -338,7 +337,10 @@
338 337
                                     </div>
339 338
                                     <div class="inline_block" style="margin-left:20px;">
340 339
                                     维持:
341
-                                    <div class="under_line" style="width: 50px;text-align: center;">
340
+                                    <div v-if="record.prescription.anticoagulant == 1" class="under_line" style="width: 50px;text-align: center;">
341
+                                        {{record.prescription&&record.prescription.anticoagulant_weichi?record.prescription.anticoagulant_weichi:'/'}}
342
+                                    </div>
343
+                                    <div v-if="record.prescription.anticoagulant != 1" class="under_line" style="width: 50px;text-align: center;">
342 344
                                         {{record.prescription&&record.prescription.anticoagulant_weichi?record.prescription.anticoagulant_weichi:0}}
343 345
                                     </div>
344 346
                                     lu
@@ -376,7 +378,7 @@
376 378
                                             <td width="60">透析液温度(°C)</td>
377 379
                                             <td width="50">电导度<br/>(ms/cm)</td>
378 380
                                             <td width="50">超滤量<br/>(ml)</td>
379
-                                            <td width="200">病情变化及处理</td>                                 
381
+                                            <td width="200">病情变化及处理</td>
380 382
                                         </tr>
381 383
                                         <tr v-for="(monitor_record,index) in record.monitor_records" :key="index">
382 384
                                             <td>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
@@ -389,16 +391,16 @@
389 391
                                             <td>{{monitor_record.dialysate_temperature?monitor_record.dialysate_temperature:''}}</td>
390 392
                                             <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
391 393
                                             <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:0}}</td>
392
-                                          
394
+
393 395
                                             <td style="line-height:16px;padding:0px;">
394
-                                              <div style="height:40px;line-height:20px; overflow:hidden;">
396
+                                              <div style="min-height:40px;line-height:20px; overflow:hidden;">
395 397
                                                 <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
396 398
                                                   <template v-if="index == 0">【开始透析】</template>
397
-                                                  <template v-if="(index == monitor_record.length - 1) && index > 1">【结束透析】</template>
398
-                                                  {{monitor_record.symptom}}  &nbsp;{{monitor_record.dispose}} &nbsp;{{monitor_record.result}} 
399
-                                                </span> 
399
+                                                  {{monitor_record.end}}
400
+                                                  {{monitor_record.symptom}}  &nbsp;{{monitor_record.dispose}} &nbsp;{{monitor_record.result}}
401
+                                                </span>
400 402
                                               </div>
401
-                                            </td>                                      
403
+                                            </td>
402 404
                                         </tr>
403 405
                                         <tr v-for="(monitor_record,index) in record.monitor_records2" :key="index">
404 406
                                             <td> </td>
@@ -414,10 +416,10 @@
414 416
                                             <td style="line-height:16px;padding:0px;">
415 417
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
416 418
                                                 <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
417
-                                                  
418
-                                                </span> 
419
+
420
+                                                </span>
419 421
                                               </div>
420
-                                            </td>                                      
422
+                                            </td>
421 423
                                         </tr>
422 424
                                     </tbody>
423 425
                                 </table>
@@ -453,9 +455,9 @@
453 455
                                             <td height="35px" colspan="2" class="advice-name" style="padding-left:7px;" >
454 456
                                                 <span v-if="advice.parent_id > 0">---></span>
455 457
                                                 <span >{{advice.advice_name }}</span>
456
-                                                <span>{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
457
-                                                <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
458
-                                                <span  v-if="advice.single_dose != 0"> {{advice.single_dose}}{{advice.single_dose_unit}}</span>
458
+                                                <span v-if="advice.advice_desc != ''" >{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
459
+                                                <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
460
+                                                <!-- <span  v-if="advice.single_dose != 0"> {{advice.single_dose}}{{advice.single_dose_unit}}</span> -->
459 461
                                                 <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
460 462
                                                 <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
461 463
                                                 <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
@@ -530,7 +532,7 @@
530 532
                   <div class="inline_block">
531 533
                   透析号:
532 534
                       <div class="under_line" style="width: 70px;text-align: center;">
533
-                          {{'/'}}
535
+                        {{record.patient.dialysis_no}}
534 536
                       </div>
535 537
                   </div>
536 538
                   <div class="inline_block" style="margin-left: 5px;">
@@ -542,7 +544,7 @@
542 544
                       {{'/'}}
543 545
                   </div>
544 546
                   </div>
545
-                  
547
+
546 548
               </div>
547 549
               <div class="row" >
548 550
                   <div class="inline_block" >
@@ -618,40 +620,57 @@
618 620
                                     {{record.assessment_after_dislysis&&record.assessment_after_dislysis.catheter?record.assessment_after_dislysis.catheter:'/'}}
619 621
                                 </div>
620 622
                                 </div>
621
-                            </div>
622
-
623
-                            <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
624
-                                <div class="inline_block" style="flex:1;">
623
+                              <div class="inline_block" style="flex:1;">
625 624
                                 实际治疗时间:
626
-                                <div class="under_line" style="width: 50px;text-align: center">
627
-                                    {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_treatment_hour?record.assessment_after_dislysis.actual_treatment_hour:'/'}}
625
+                                <div class="under_line" style="width: 30px;text-align: center">
626
+                                  {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_treatment_hour?record.assessment_after_dislysis.actual_treatment_hour:'/'}}
628 627
                                 </div>
629 628
                                 h
630
-                                <div class="under_line" style="width: 50px;text-align: center">
631
-                                    {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_treatment_minute?record.assessment_after_dislysis.actual_treatment_minute:0}}
629
+                                <div class="under_line" style="width: 30px;text-align: center">
630
+                                  {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_treatment_minute?record.assessment_after_dislysis.actual_treatment_minute:0}}
632 631
                                 </div>
633 632
                                 min
634
-                                </div>
633
+                              </div>
634
+                            </div>
635
+
636
+                            <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
637
+
635 638
                                 <div class="inline_block" style="flex:1;">
639
+                              透后体重:
640
+                              <div class="under_line" style="width: 70px;text-align: center">
641
+                                {{record.assessment_after_dislysis&&record.assessment_after_dislysis.weight_after?record.assessment_after_dislysis.weight_after:'/'}}
642
+                              </div>kg
643
+                            </div>
644
+
645
+
646
+                              <div class="inline_block" style="flex:1;">
636 647
                                 透后体重:
637 648
                                 <div class="under_line" style="width: 70px;text-align: center">
638
-                                    {{record.assessment_after_dislysis&&record.assessment_after_dislysis.weight_after?record.assessment_after_dislysis.weight_after:'/'}}
639
-                                </div>
640
-                                </div>
649
+                                  {{record.assessment_after_dislysis&&record.assessment_after_dislysis.weight_loss?record.assessment_after_dislysis.weight_loss:'/'}}
650
+                                </div>kg
651
+                              </div>
652
+
653
+
654
+                              <div class="inline_block" style="flex:1;">
655
+                                透析中入量:
656
+                                <div class="under_line" style="width: 100px;text-align: center">
657
+                                  {{record.assessment_after_dislysis&&record.assessment_after_dislysis.dialysis_intakes?record.assessment_after_dislysis.dialysis_intakes:'/'}}
658
+                                </div> {{getUnit(record)}}
659
+                              </div>
660
+
641 661
                                 <div class="inline_block" style="flex:1;">
642 662
                                 实际超滤量:
643
-                                <div class="under_line" style="width: 150px;text-align: center">
663
+                                <div class="under_line" style="width: 100px;text-align: center">
644 664
                                     {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:'/'}}
645 665
                                 </div>ml
646 666
                                 </div>
647 667
                             </div>
648 668
 
669
+
649 670
                             <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
650 671
                                 <div class="inline_block" style="flex:1;">
651 672
                                 治疗小结:
652
-                                <div class="under_line" style="width: 300px;text-align: center">
653
-                                    {{record.summary&&record.summary.dialysis_summary?record.summary.dialysis_summary:'/'}}
654
-                                </div>
673
+                                  <div style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;"> {{record.summary&&record.summary.dialysis_summary?record.summary.dialysis_summary:'/'}}</div>
655 674
                                 </div>
656 675
                             </div>
657 676
                             </td>
@@ -663,7 +682,7 @@
663 682
                                     穿刺护士:
664 683
                                     <div class="under_line" style="width: 80px;text-align: center">
665 684
                                         <span v-if="setAdminUserES(record.dialysis_order==null?0:record.dialysis_order.puncture_nurse) == ''">{{getAdminUser(record.dialysis_order==null?0:record.dialysis_order.puncture_nurse)}}</span>
666
-                                        <img style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:record.dialysis_order.puncture_nurse)" alt="" srcset="" v-else>
685
+                                        <img style="height:20px;" :src="setAdminUserES(record.dialysis_order==null?0:record.dialysis_order.puncture_nurse)" alt="" srcset="" v-else>
667 686
                                     </div>
668 687
                                 </div>
669 688
                                 <div class="inline_block" style="flex:1;">
@@ -691,7 +710,7 @@
691 710
                                       </div>
692 711
                                     </div>
693 712
                                     <div class="under_line" style="width: 80px;text-align: left" v-if="!record.check">
694
-                                       
713
+
695 714
                                     </div>
696 715
                                 </div>
697 716
                                 <div class="inline_block" style="flex:1;">
@@ -715,13 +734,11 @@
715 734
                         </tr>
716 735
                     </tbody>
717 736
                 </table>
718
-           
719
-            
737
+              </div>
738
+            </div>
720 739
           </div>
721 740
         </div>
722 741
       </div>
723
-    </div>
724
-  </div>
725 742
 </template>
726 743
 
727 744
 <script>
@@ -846,7 +863,7 @@
846 863
             if(recordIndex == (this.records.length - 1)){
847 864
               this.records[recordIndex].classname = ' '
848 865
             }
849
-            
866
+
850 867
 
851 868
             this.records[recordIndex].monitor_records2 = []
852 869
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 7) {
@@ -864,6 +881,22 @@
864 881
               }
865 882
             }
866 883
 
884
+            var tempmonitorflag = true;
885
+            for (let index = 0; index < this.records[recordIndex].monitor_records.length; index++) {
886
+              const monitor = this.records[recordIndex].monitor_records[index];
887
+              this.records[recordIndex].monitor_records[index].end =""
888
+              if(Object.keys(monitor).length > 0 && index > 1){
889
+                if(monitor.operate_time == this.records[recordIndex].dialysis_order.end_time){
890
+                  this.records[recordIndex].monitor_records[index].end ="【结束透析】"
891
+                  tempmonitorflag = false
892
+                }
893
+                if(tempmonitorflag && index == this.records[recordIndex].monitor_records.length-1){
894
+                    this.records[recordIndex].monitor_records[index].end ="【结束透析】"
895
+                }
896
+              }
897
+
898
+            }
899
+
867 900
             this.monitor_records = this.records[recordIndex].monitor_records
868 901
 
869 902
             // this.records[recordIndex].monitor_records2 = []
@@ -912,7 +945,7 @@
912 945
               this.doctor_advices[index]['isShow'] = 2
913 946
             }
914 947
 
915
-            
948
+
916 949
 
917 950
             // if (this.doctor_advices.length > 0) {
918 951
             //   var group = this.newAdviceGroupObject()
@@ -1051,11 +1084,11 @@
1051 1084
             //     }
1052 1085
             //   }
1053 1086
             // }
1054
-   
1087
+
1055 1088
             if (this.doctor_advices.length <= 6) {
1056 1089
                 var nl = 6
1057 1090
                 this.print_length = 6
1058
-                
1091
+
1059 1092
                 for (let index = 0; index < nl; index++) {
1060 1093
                 if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1061 1094
                     this.doctor_advices.push([])
@@ -1071,7 +1104,7 @@
1071 1104
 
1072 1105
             this.records[recordIndex].totallength= this.doctor_advices.length + this.monitor_records.length
1073 1106
           }
1074
-          
1107
+
1075 1108
 
1076 1109
           this.operators = resp.data.medical_staffs
1077 1110
           if (this.operators.length > 0) {
@@ -1092,6 +1125,36 @@
1092 1125
       })
1093 1126
     },
1094 1127
     methods: {
1128
+      getUnit:function(val){
1129
+        if (val.assessment_after_dislysis == null){
1130
+          return ""
1131
+        }else if(val.assessment_after_dislysis != null){
1132
+          switch (val.assessment_after_dislysis.dialysis_intakes_unit) {
1133
+            case 1:
1134
+              return "g"
1135
+              break
1136
+            case 2:
1137
+              return "ml"
1138
+              break
1139
+
1140
+          }
1141
+
1142
+        }
1143
+
1144
+
1145
+      },
1146
+      QueryPartById: function (val) {
1147
+        let vascular_access_part_name = '/'
1148
+        let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
1149
+
1150
+        for (let i = 0; i < vascular_access.length; i++) {
1151
+          if (vascular_access[i].id == val) {
1152
+            vascular_access_part_name = vascular_access[i].name
1153
+          }
1154
+        }
1155
+        return vascular_access_part_name
1156
+
1157
+      },
1095 1158
       printAction: function() {
1096 1159
         const style = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
1097 1160
 

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_three.vue Wyświetl plik

@@ -79,6 +79,8 @@
79 79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
80 80
                       <check-box text="昏迷"
81 81
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
82
+                      <check-box text="模糊"
83
+                                 :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 4)"></check-box>
82 84
                     </div>
83 85
                     <div class="inline_block" style="margin-left: 30px;">
84 86
                       体温:

+ 8 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue Wyświetl plik

@@ -137,8 +137,9 @@
137 137
 
138 138
       <el-pagination
139 139
       align="right"
140
+      @size-change="handleSizeChange"
140 141
         @current-change="handleCurrentChange"
141
-        :page-sizes="[10]"
142
+        :page-sizes="[10,20,30,50]"
142 143
         :page-size="10"
143 144
         background
144 145
         style="margin-top:20px;"
@@ -395,6 +396,7 @@ export default {
395 396
         return "";
396 397
       }
397 398
     },
399
+
398 400
     handleCurrentChange(val) {
399 401
       this.listQuery.page = val;
400 402
       this.getSchedualPatientList();
@@ -414,6 +416,11 @@ export default {
414 416
       }
415 417
       this.getSchedualPatientList();
416 418
     },
419
+    handleSizeChange(val) {
420
+      this.listQuery.limit = val
421
+      this.getSchedualPatientList();
422
+
423
+    },
417 424
     batchPrintAction: function() {
418 425
       var sch_ids = []
419 426
       for (let index = 0; index < this.selecting_schs.length; index++) {

+ 8 - 4
src/xt_pages/dialysis/details/DialysisPrescription.vue Wyświetl plik

@@ -10,7 +10,9 @@
10 10
         <li v-if="isShow('目标超滤量')">
11 11
           <label>目标超滤量 : </label>
12 12
           <span class="content">{{target_ultrafiltration != '0'?target_ultrafiltration:''}}</span>
13
-          <span class="unit">{{target_ultrafiltration != '0'?"L":''}}</span>
13
+          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id != 6">{{target_ultrafiltration != '0'?"L":''}}</span>
14
+          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id == 6">{{target_ultrafiltration != '0'?"ml":''}}</span>
15
+
14 16
         </li>
15 17
         <li v-if="isShow('首剂')">
16 18
           <label>首剂 : </label>
@@ -47,7 +49,7 @@
47 49
           <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
48 50
         </li>
49 51
       </ul>
50
-      <ul>  
52
+      <ul>
51 53
         <li v-if="isShow('钾')">
52 54
           <label>钾 : </label>
53 55
           <span class="content">{{kalium != '0'?kalium:""}}</span>
@@ -99,7 +101,7 @@
99 101
         </li>
100 102
       </ul>
101 103
       <ul>
102
-      
104
+
103 105
         <li v-if="isShow('透析器/灌流器')">
104 106
           <label>透析器/灌流器 : </label>
105 107
           <span class="content">{{dialyzer_perfusion_apparatus}}</span>
@@ -127,7 +129,9 @@
127 129
           <span class="unit"></span>
128 130
         </li>
129 131
         <li v-if="isShow('置换液')">
130
-          <label>置换液: </label>
132
+          <label v-if="this.$store.getters.xt_user.template_info.template_id != 6">置换液: </label>
133
+          <label v-if="this.$store.getters.xt_user.template_info.template_id == 6">置换方式: </label>
134
+
131 135
           <span class="content">{{displace_liqui}}</span>
132 136
           <span class="unit"></span>
133 137
         </li>

+ 26 - 4
src/xt_pages/dialysis/details/NavIgation.vue Wyświetl plik

@@ -53,11 +53,12 @@
53 53
 
54 54
         <div class="middleLine"></div>
55 55
 
56
-        <dialysis-prescription-dialog title="透析处方" ref="prescription" :patient="patient" :prescription="prescription" :solution="solution"
56
+        <dialysis-prescription-dialog title="透析处方" ref="prescription" :patient="patient" :prescription="prescription" :solution="solution" @advice="adviceFunc"
57 57
                                       :niprocart_info="niprocart_info" :jms_info="jms_info" :fistula_needle_set_info="fistula_needle_set_info"
58 58
         :fistula_needle_set_16_info="fistula_needle_set_16_info"  :hemoperfusion_info="hemoperfusion_info" :dialyser_sterilised_info="dialyser_sterilised_info"
59 59
         :filtryzer_info="filtryzer_info" :dialyzers_info="dialyzers_info" :injector_info="injector_info" :bloodlines_info="bloodlines_info"  :tubingHemodialysis_info="tubingHemodialysis_info"
60
-        :safe_package_info="safe_package_info" :aliquid_info="aliquid_info" :config="config"
60
+        :safe_package_info="safe_package_info" :aliquid_info="aliquid_info" :config="config" :admin_users="admin_users"  :targetAdvices="longAdvices"
61
+                                      :waitUploadAdvices="waitUploadAdvices" :is_open="is_open"
61 62
 
62 63
         ></dialysis-prescription-dialog>
63 64
 
@@ -69,7 +70,7 @@
69 70
 
70 71
         <treatment-summary-dialog title="治疗小结" ref="treatmentSummary" :patient="patient" :treatment_summary="treatment_summary"></treatment-summary-dialog>
71 72
 
72
-        <doctor-advice-dialog title="临时医嘱" ref="doctor_advice" :doctor_advices="doctor_advices" :patient="patient" :admin_users="admin_users" :dialysis_order="dialysis_order"></doctor-advice-dialog>
73
+        <doctor-advice-dialog title="临时医嘱" ref="doctor_advice" :doctor_advices="doctor_advices" :patient="patient" :admin_users="admin_users" :dialysis_order="dialysis_order" ></doctor-advice-dialog>
73 74
 
74 75
         <computer-dialog title="透析上机" ref="computer_dialog" :dialysis_order="dialysis_order" :schedule="schedual" :admins="admin_users" :device_numbers="device_numbers"></computer-dialog>
75 76
 
@@ -109,10 +110,27 @@ export default {
109 110
   },
110 111
   data() {
111 112
     return {
112
-
113 113
     }
114 114
   },
115 115
   props: {
116
+    longAdvices: { // 临时医嘱
117
+      type: Array,
118
+      default: () => {
119
+        return []
120
+      }
121
+    },
122
+    waitUploadAdvices: { // 临时医嘱
123
+      type: Array,
124
+      default: () => {
125
+        return []
126
+      }
127
+    },
128
+    is_open: { // 临时医嘱
129
+      type: Number,
130
+      default: () => {
131
+        return 0
132
+      }
133
+    },
116 134
     patient: { // 患者信息
117 135
       type: Object,
118 136
       default: () => {
@@ -316,6 +334,10 @@ export default {
316 334
     }
317 335
   },
318 336
   methods: {
337
+    adviceFunc:function(){
338
+
339
+      this.$emit("advice")
340
+    },
319 341
     showMonitorDialog: function() {
320 342
       this.$refs.monitor_dialog.show()
321 343
     },

+ 3 - 1
src/xt_pages/dialysis/details/acceptsAssessment.vue Wyświetl plik

@@ -107,7 +107,9 @@
107 107
         consciousnesses: {
108 108
           '1': '清醒',
109 109
           '2': '嗜睡',
110
-          '3': '昏迷'
110
+          '3': '昏迷',
111
+          '4': '模糊'
112
+
111 113
         },
112 114
         appetites: {
113 115
           '1': '正常',

+ 34 - 29
src/xt_pages/dialysis/details/assessmentAfter.vue Wyświetl plik

@@ -35,13 +35,13 @@
35 35
           <span class="content">{{ puncture_point_haematoma_name }}</span>
36 36
         </li>
37 37
 
38
-        <li  v-if="isShow('穿刺处血肿')&&patient_gose==3">
38
+        <li v-if="isShow('穿刺处血肿')&&patient_gose==3">
39 39
           <label>科室 : </label>
40 40
           <span class="content">{{ inpatient_department }}</span>
41 41
         </li>
42 42
         <li v-if="isShow('体重减少')">
43 43
           <label>体重减少 : </label>
44
-          <span class="content"  v-if="weight_loss!='0'">{{ weight_loss }}</span>
44
+          <span class="content" v-if="weight_loss!='0'">{{ weight_loss }}</span>
45 45
           <span class="unit" v-if="weight_loss!='0'">kg</span>
46 46
         </li>
47 47
         <li v-if="isShow('舒张压')">
@@ -78,7 +78,7 @@
78 78
           <span class="content">{{ internal_fistula_tremor_ac_name }}</span>
79 79
         </li>
80 80
 
81
-        <li  v-if="isShow('交待病房护士/患者/陪人观察内容')&&patient_gose==3">
81
+        <li v-if="isShow('交待病房护士/患者/陪人观察内容')&&patient_gose==3">
82 82
           <label>交待病房护士/患者/陪人观察内容 : </label>
83 83
           <span class="content">{{ observation_content }}</span>
84 84
         </li>
@@ -105,13 +105,13 @@
105 105
         </li>
106 106
         <li v-if="isShow('透析中入量')">
107 107
           <label>透析中入量: </label>
108
-          <span class="content" v-if="dialysis_intakes_feed!='0'">{{ dialysis_intakes_feed }}</span>
108
+          <span class="content">{{ this.record.dialysis_intakes }}{{getUnit(this.record.dialysis_intakes_unit)}}</span>
109 109
         </li>
110 110
         <li v-if="isShow('血管通路操作')">
111 111
           <label>血管通路操作: </label>
112 112
           <span class="content">{{ blood_access_opera }}</span>
113 113
         </li>
114
-        <li  v-if="isShow('拔针后穿刺点渗血')">
114
+        <li v-if="isShow('拔针后穿刺点渗血')">
115 115
           <label>拔针后穿刺点渗血: </label>
116 116
           <span class="content">{{ puncture_point_oozing_blood_name }}</span>
117 117
         </li>
@@ -119,16 +119,16 @@
119 119
           <label>患者去向: </label>
120 120
           <span class="content">{{ patient_gose_name }}</span>
121 121
         </li>
122
-        <li  v-if="isShow('其他观察内容')&&patient_gose==3">
122
+        <li v-if="isShow('其他观察内容')&&patient_gose==3">
123 123
           <label>其他观察内容 : </label>
124 124
           <span class="content">{{ observation_content_other }}</span>
125 125
         </li>
126
-        <li  v-if="isShow('拔针后穿刺点渗血')">
126
+        <li v-if="isShow('拔针后穿刺点渗血')">
127 127
           <label for="bzh">拔针后穿刺点渗血: </label>
128 128
           <span id="bzh" class="content">{{puncture_point_oozing_blood_name}}</span>
129 129
         </li>
130 130
       </ul>
131
-      <ul >
131
+      <ul>
132 132
         <li v-if="isShow('透析过程')">
133 133
           <label for="tw">透析过程 : </label>
134 134
           <span class="content" id="tw" v-if="this.record.dialysis_process == 1">完成</span>
@@ -136,11 +136,10 @@
136 136
         </li>
137 137
         <li v-if="this.record.dialysis_process == 2&&isShow('透析过程提前原因')">
138 138
           <label for="tw">透析过程提前原因 : </label>
139
-          <span class="content" id="tw" >{{in_advance_reason}}</span>
139
+          <span class="content" id="tw">{{in_advance_reason}}</span>
140 140
         </li>
141 141
 
142 142
 
143
-
144 143
         <li v-if="isShow('内瘘管拔针后压迫止血时间')">
145 144
           <label for="ml">内瘘管拔针后压迫止血时间 : </label>
146 145
           <span id="ml" class="content" v-if="hemostasis_minute">{{hemostasis_minute}}min</span>
@@ -174,7 +173,7 @@
174 173
           <label for="hzqx">透析器: </label>
175 174
           <span id="hzqx" class="content">{{getDialyzer(this.record.dialyzer)}}</span>
176 175
         </li>
177
-        <li  v-if="isShow('透析期间进食')">
176
+        <li v-if="isShow('透析期间进食')">
178 177
           <label for="bzh">透析期间进食: </label>
179 178
           <span id="bzh" class="content">{{eat_name}}</span>
180 179
         </li>
@@ -189,19 +188,19 @@
189 188
 <script>
190 189
   import store from '@/store'
191 190
 
192
-export default {
193
-  name: 'DialysisPrescription',
194
-  data() {
191
+  export default {
192
+    name: 'DialysisPrescription',
193
+    data() {
195 194
       return {
196 195
         title: '透后评估 '
197 196
       }
198
-  },
199
-  props: {
197
+    },
198
+    props: {
200 199
       record: {
201 200
         type: Object
202 201
       }
203
-  },
204
-  computed: {
202
+    },
203
+    computed: {
205 204
       weight_after: function() {
206 205
         if (this.record.id == 0) {
207 206
           return '-'
@@ -358,8 +357,9 @@ export default {
358 357
         return this.record.catheter
359 358
       },
360 359
       puncture_point_haematoma_name: function() {
361
-        if (this.record.id == 0)
362
-          {return}
360
+        if (this.record.id == 0) {
361
+          return
362
+        }
363 363
       }
364 364
     }, breathing_rate: function() {
365 365
       if (this.record.id == 0) {
@@ -391,12 +391,7 @@ export default {
391 391
       }
392 392
       return this.record.actual_treatment_minute
393 393
     },
394
-    dialysis_intakes_feed: function() {
395
-      if (this.record.id == 0) {
396
-        return '-'
397
-      }
398
-      return this.record.dialysis_intakes
399
-    },
394
+
400 395
     observation_content_other: function() {
401 396
       if (this.record.id == 0) {
402 397
         return '-'
@@ -468,7 +463,7 @@ export default {
468 463
       }
469 464
       return this.record.actual_treatment_minute
470 465
     },
471
-    dialysis_intakes_feed: function() {
466
+    dialysis_intakes: function() {
472 467
       if (this.record.id == 0) {
473 468
         return '-'
474 469
       }
@@ -543,7 +538,7 @@ export default {
543 538
       }
544 539
       return this.record.in_advance_reason_other
545 540
     },
546
-  methods: {
541
+    methods: {
547 542
       getOpera: function(id) {
548 543
         var hemostasis_opera = this.$store.getters.hemostasis_opera
549 544
         var hemostasisOperaName = ''
@@ -562,6 +557,16 @@ export default {
562 557
           }
563 558
         }
564 559
         return tremorNoiseName
560
+      }, getUnit: function(val) {
561
+        switch (val) {
562
+          case 1:
563
+            return "g"
564
+            break
565
+          case 2:
566
+            return "ml"
567
+            break
568
+        }
569
+
565 570
       }, getDisequilibriumSyndrome: function(id) {
566 571
         var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
567 572
         var disequilibriumSyndromeName = ''
@@ -616,8 +621,8 @@ export default {
616 621
         }
617 622
         return false
618 623
       }
624
+    }
619 625
   }
620
-}
621 626
 </script>
622 627
 
623 628
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 22 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Wyświetl plik

@@ -100,6 +100,18 @@
100 100
               <el-input v-model="form.dialysis_intakes"></el-input>
101 101
             </el-form-item>
102 102
           </el-col>
103
+
104
+
105
+
106
+          <el-col :span="8"  v-if="isShow('透析中入量单位')">
107
+            <el-form-item label="透析中入量单位: ">
108
+              <el-select v-model="form.dialysis_intakes_unit">
109
+                <el-option :key="0" label="请选择" :value="0"></el-option>
110
+                <el-option v-for="item in unit" :label="item.name" :value="item.id"
111
+                           :key="item.id"></el-option>
112
+              </el-select>
113
+            </el-form-item>
114
+          </el-col>
103 115
         <!-- </el-row>
104 116
 
105 117
         <el-row :gutter="20"> -->
@@ -417,6 +429,10 @@ export default {
417 429
         symptomsOptions: [],
418 430
         internalFistulaOptions: [],
419 431
         vascularAccessOptions: [],
432
+        unit: [
433
+          {id: 1, name: 'g'},
434
+          {id: 2, name: 'ml'},
435
+        ],
420 436
         vascularAccessDescOptions: [],
421 437
         catheterOptions: [],
422 438
         complicationOptions: [],
@@ -477,7 +493,8 @@ export default {
477 493
           arterial_tube: '',
478 494
           intravenous_tube: '',
479 495
           dialyzer: '',
480
-          breathing_rate: ''
496
+          breathing_rate: '',
497
+          dialysis_intakes_unit:0,
481 498
 
482 499
         }
483 500
       }
@@ -568,6 +585,7 @@ export default {
568 585
         data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
569 586
         data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
570 587
         data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
588
+        data['breathing_rate'] = this.form.temperature ? parseFloat(this.form.breathing_rate) : 0
571 589
         data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
572 590
         data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
573 591
         data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
@@ -603,6 +621,8 @@ export default {
603 621
         data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
604 622
         data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
605 623
         data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
624
+        data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
625
+
606 626
         data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
607 627
 
608 628
         data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
@@ -765,7 +785,7 @@ export default {
765 785
       this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
766 786
       this.patientGoseOptions = this.$store.getters.patient_gose
767 787
       this.observationContentOptions = this.$store.getters.observation_content
768
-  
788
+
769 789
       console.log(this.patient)
770 790
 
771 791
       var date = this.$route.query && this.$route.query.date

+ 2 - 0
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Wyświetl plik

@@ -16,6 +16,8 @@
16 16
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
17 17
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
18 18
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
19
+        <el-radio v-model="receiveTreatmentAsses.consciousness" label="4">模糊</el-radio>
20
+
19 21
 
20 22
       </el-form-item>
21 23
       <el-form-item label="病人食欲 : " v-if="isShow('病人食欲')">

+ 0 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Wyświetl plik

@@ -691,7 +691,6 @@ export default {
691 691
         this.InnerDialogProps.visibility = false
692 692
       }, handleComfirm: function() {
693 693
         const ParamsQuery = this.assessmentBeforeDislysis
694
-        console.log('paramsquery是什么', ParamsQuery)
695 694
         ParamsQuery['patient'] = this.patient.id
696 695
         ParamsQuery['record_date'] = this.record_date
697 696
         postAssessmentBeforeDislysis(ParamsQuery).then(response => {

Plik diff jest za duży
+ 1587 - 492
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue


+ 78 - 8
src/xt_pages/dialysis/details/index.vue Wyświetl plik

@@ -3,14 +3,13 @@
3 3
     <div class="position">
4 4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5 5
       <div class="print" style="float:left;">
6
-        <!-- <el-button type="primary" @click="dialogFormVisible = true">长期医嘱</el-button> -->
7
-        <!-- <el-button type="primary" @click="orders = true">临时医嘱</el-button> -->
8 6
         <el-button size="small" type="primary" @click="printOrder" icon="el-icon-printer">打印</el-button>
9 7
       </div>
10 8
     </div>
11 9
     <div class="details-bg" v-loading.fullscreen.lock="loading">
12 10
       <nav-igation
13 11
         title="弹窗导航"
12
+        @advice="adviceFunc"
14 13
         :patient="patient"
15 14
         :schedual="schedual"
16 15
         :prescription="prescription"
@@ -43,9 +42,9 @@
43 42
         :safe_package_info="safe_package_info"
44 43
         :aliquid_info="aliquid_info"
45 44
         :config = "config"
46
-
47
-
48
-
45
+        :longAdvices="longAdvices"
46
+        :waitUploadAdvices="waitUploadAdvices"
47
+        :is_open="is_open"
49 48
       >
50 49
       </nav-igation>
51 50
 
@@ -249,7 +248,7 @@
249 248
   import AssessmentAfter from './assessmentAfter'
250 249
   import TreatmentOf from './treatmentOf'
251 250
   import OperationStaff from './operationStaff'
252
-  import { getDialysisScheduleDetail } from '@/api/dialysis_record'
251
+  import { getDialysisScheduleDetail,getLongAdvice } from '@/api/dialysis_record'
253 252
   import { parseTime } from '@/utils'
254 253
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
255 254
 
@@ -285,6 +284,11 @@
285 284
         patient_id: 0,
286 285
         date: 0,
287 286
 
287
+        longAdvices: [],
288
+        waitUploadAdvices: [],
289
+        is_open: 0,
290
+        targetAdvices: [],
291
+
288 292
         patient: { id: 0 }, // 患者信息
289 293
         schedual: { id: 0 }, // 患者排班信息
290 294
         prescription: { id: 0 }, // 透析处方
@@ -327,6 +331,7 @@
327 331
       this.patient_id = patient_id
328 332
       this.date = date
329 333
       this.getScheduleDetail()
334
+      this.getLongAdvice()
330 335
     },
331 336
     computed: {
332 337
       steps: function() {
@@ -343,9 +348,9 @@
343 348
           { title: '治疗小结', finish: false }
344 349
         ]
345 350
 
346
-        steps[0].finish = this.prescription.id > 0
351
+        steps[0].finish = this.prescription.id && this.prescription.creater > 0
347 352
         steps[1].finish = this.receiver_treatment_access.id > 0
348
-        steps[2].finish = this.predialysis_evaluation.id > 0
353
+        steps[2].finish = this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0
349 354
         steps[3].finish = this.doctor_advices.length > 0
350 355
         steps[5].finish = this.dialysis_order.id > 0
351 356
         steps[7].finish =
@@ -360,6 +365,70 @@
360 365
       }
361 366
     },
362 367
     methods: {
368
+      adviceFunc(){
369
+        this.getScheduleDetail()
370
+
371
+
372
+      },
373
+      getLongAdvice(){
374
+        var dateStr = parseTime(this.date, '{y}-{m}-{d}')
375
+        var myDate = new Date(Date.parse(dateStr));
376
+        var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
377
+        console.log(weekDay[myDate.getDay()])
378
+
379
+        let params = {
380
+          "date":dateStr+" "+"20:00:00",
381
+          "patient_id":this.patient_id,
382
+          "week": weekDay[myDate.getDay()]
383
+        }
384
+        getLongAdvice(params).then(rs => {
385
+          var resp = rs.data
386
+          if (resp.state == 1) {
387
+
388
+            var status = parseInt(resp.data.status)
389
+
390
+            switch (status) {
391
+              case 2:
392
+                var totalAdvice = resp.data.advices
393
+                var longAdvicesTwo = resp.data.advices_two
394
+                var waitUploadAdvices = []
395
+                for (let i = 0; i < totalAdvice.length; i++) {
396
+                  totalAdvice[i]['isCheck'] = 1
397
+
398
+                }
399
+
400
+                for (let i = 0; i < totalAdvice.length; i++) {
401
+                  for (let a = 0; a < longAdvicesTwo.length; a++) {
402
+                    if (totalAdvice[i].template_id == longAdvicesTwo[a].template_id && totalAdvice[i].frequency_type == longAdvicesTwo[a].frequency_type) {
403
+                      totalAdvice[i]['isCheck'] = 0
404
+                    }
405
+                  }
406
+                }
407
+
408
+
409
+                for (let i = 0; i < totalAdvice.length; i++) {
410
+                  if( totalAdvice[i].isCheck == 1){
411
+                    waitUploadAdvices.push(totalAdvice[i])
412
+                  }
413
+                }
414
+
415
+
416
+                this.is_open = resp.data.is_open_remind
417
+                this.longAdvices = totalAdvice
418
+                this.waitUploadAdvices = waitUploadAdvices
419
+                break
420
+
421
+            }
422
+
423
+
424
+
425
+          } else {
426
+            this.$message.error(resp.msg)
427
+          }
428
+          this.loading = false
429
+        })
430
+
431
+      },
363 432
       didDelMonitor(record_id) {
364 433
         var mrl = this.monitor_records.length
365 434
         for (let index = 0; index < mrl; index++) {
@@ -372,6 +441,7 @@
372 441
       getScheduleDetail: function() {
373 442
         this.loading = true
374 443
         var dateStr = parseTime(this.date, '{y}-{m}-{d}')
444
+        this.doctor_advices = []
375 445
         getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
376 446
           var resp = rs.data
377 447
           if (resp.state == 1) {

+ 5 - 3
src/xt_pages/dialysis/dialysisPage.vue Wyświetl plik

@@ -251,11 +251,11 @@
251 251
             </el-form>
252 252
             <div slot="footer" class="dialog-footer">
253 253
               <template v-if="isEdit">
254
-                <el-button type="primary" @click="dialogFormVisible = false">取消</el-button>                
254
+                <el-button type="primary" @click="dialogFormVisible = false">取消</el-button>
255 255
                 <el-button type="primary" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" @click="submitEditAdvice('adviceForm')">保 存</el-button>
256 256
               </template>
257 257
               <template v-else>
258
-                <el-button type="primary" @click="dialogFormVisible = false">取 消</el-button>                
258
+                <el-button type="primary" @click="dialogFormVisible = false">取 消</el-button>
259 259
                 <el-button type="primary" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" @click="submitNewAdvice('adviceForm')">保 存</el-button>
260 260
                 <!--<el-button type="primary" @click="submitNewAdvice('adviceForm', 're')" v-if="adviceForm.parent_id==0">继 续</el-button>-->
261 261
               </template>
@@ -277,7 +277,7 @@
277 277
             </el-form>
278 278
             <div slot="footer" class="dialog-footer">
279 279
               <template>
280
-                <el-button type="primary" @click="dialogFormExecutionVisible = false">取消</el-button>                
280
+                <el-button type="primary" @click="dialogFormExecutionVisible = false">取消</el-button>
281 281
                 <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="submitExecuteAdvice">保 存</el-button>
282 282
               </template>
283 283
             </div>
@@ -975,6 +975,8 @@
975 975
                   <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
976 976
                   <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
977 977
                   <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
978
+                  <el-radio v-model="receiveTreatmentAsses.consciousness" label="4">模糊</el-radio>
979
+
978 980
                 </el-form-item>
979 981
 
980 982
                 <el-form-item label="病人食欲 : ">

+ 10 - 0
src/xt_pages/dialysis/schedualPatient.vue Wyświetl plik

@@ -185,11 +185,20 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
185 185
       }
186 186
     },
187 187
     created() {
188
+      var schedule_type_selected = this.$store.getters.schedule_type_selected
189
+      var zone_selected = this.$store.getters.zone_selected
190
+      if(schedule_type_selected){
191
+        this.schedule_type_selected = schedule_type_selected.schedule_type_selected
192
+      }
193
+      if(zone_selected){
194
+        this.zone_selected = zone_selected.zone_selected
195
+      }
188 196
       this.getInitData()
189 197
     },
190 198
     methods: {
191 199
       handletimeType: function(index) {
192 200
         this.schedule_type_selected = index
201
+        this.$store.dispatch("SetScheduleTypeSelected",{schedule_type_selected:index})
193 202
         this.search_keyword = this.search_input = ''
194 203
         // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
195 204
         //   zone: this.zone_selected,
@@ -199,6 +208,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
199 208
       },
200 209
       handleZoneChange: function(index) {
201 210
         this.zone_selected = index
211
+        this.$store.dispatch("SetZoneSelected",{zone_selected:index})
202 212
         this.search_keyword = this.search_input = ''
203 213
         // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
204 214
         //   zone: this.zone_selected,

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue Wyświetl plik

@@ -84,7 +84,7 @@
84 84
 
85 85
 
86 86
                     <td width="50">意识:</td>
87
-                    <td width="180">
87
+                    <td width="230">
88 88
                       <div>
89 89
                         <label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'
90 90
                                    showValue='清醒'></label-box>
@@ -94,6 +94,8 @@
94 94
                         &nbsp;
95 95
                         <label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'
96 96
                                    showValue='昏迷'></label-box>
97
+                        <label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'
98
+                                   showValue='模糊'></label-box>
97 99
                       </div>
98 100
                     </td>
99 101
 

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Wyświetl plik

@@ -84,7 +84,7 @@
84 84
 
85 85
                     <td></td>
86 86
                     <td width="50">意识:</td>
87
-                    <td width="180">
87
+                    <td width="230">
88 88
                       <div>
89 89
                         <label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'
90 90
                                    showValue='清醒'></label-box>
@@ -94,6 +94,8 @@
94 94
                         &nbsp;
95 95
                         <label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'
96 96
                                    showValue='昏迷'></label-box>
97
+                        <label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'
98
+                                   showValue='模糊'></label-box>
97 99
                       </div>
98 100
                     </td>
99 101
                     <td></td>

+ 124 - 42
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Wyświetl plik

@@ -40,7 +40,7 @@
40 40
         <div class="inline_block">
41 41
           透析号:
42 42
             <div class="under_line" style="width: 70px;text-align: center;">
43
-                {{'/'}}
43
+              {{patientInfo.dialysis_no}}
44 44
             </div>
45 45
         </div>
46 46
         <div class="inline_block" style="margin-left: 5px;">
@@ -52,7 +52,7 @@
52 52
             {{'/'}}
53 53
           </div>
54 54
         </div>
55
-        
55
+
56 56
       </div>
57 57
       <div class="row" >
58 58
         <div class="inline_block" >
@@ -70,7 +70,7 @@
70 70
       </div>
71 71
 
72 72
 
73
-      <div class="row" :style=" this.totollength > 14?'margin-bottom:400px;':''">
73
+      <div class="row" :style=" this.totollength > 13?'margin-bottom:400px;':''">
74 74
         <table class="proj_table" >
75 75
           <tbody>
76 76
             <tr><td colspan="2" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">透析前情况</td></tr>
@@ -133,7 +133,7 @@
133 133
                   <div class="inline_block" style="margin-left:10px;">
134 134
                     血管通路:
135 135
                     <div class="under_line" style="width: 200px;text-align: center;">
136
-                      {{predialysis.blood_access_part_id?blood_access_part[predialysis.blood_access_part_id]['name']:'/'}} {{predialysis.blood_access_part_opera_name}}
136
+                      {{QueryPartById(predialysis.blood_access_part_id)}} {{predialysis.blood_access_part_opera_name}}
137 137
                     </div>
138 138
                   </div>
139 139
                 </div>
@@ -199,7 +199,7 @@
199 199
                   <div class="inline_block" style="margin-left:10px;flex:1;">
200 200
                     置换方式:
201 201
                     <div class="under_line" style="width: 100px;text-align: center">
202
-                      /
202
+                      {{getDisplaceLiquiPart(prescription.displace_liqui_part)}}
203 203
                     </div>
204 204
                   </div>
205 205
                   <div class="inline_block" style="margin-left:10px;flex:1;">
@@ -322,8 +322,11 @@
322 322
                   </div>
323 323
                   <div class="inline_block" style="margin-left:20px;">
324 324
                   维持:
325
-                    <div class="under_line" style="width: 50px;text-align: center;">
326
-                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:0}}
325
+                    <div v-if="prescription.anticoagulant == 1"  class="under_line" style="width: 50px;text-align: center;">
326
+                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:"/"}}
327
+                    </div>
328
+                    <div v-if="prescription.anticoagulant != 1"  class="under_line" style="width: 50px;text-align: center;">
329
+                      {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:"0"}}
327 330
                     </div>
328 331
                     lu
329 332
                   </div>
@@ -360,7 +363,7 @@
360 363
                       <td width="50">电导度<br/>(ms/cm)</td>
361 364
                       <td width="50">超滤量<br/>(ml)</td>
362 365
                       <td width="200">病情变化及处理</td>
363
-        
366
+
364 367
                       <!-- <td width="100">时间</td>
365 368
                       <td width="30">T<br>C°</td>
366 369
                       <td width="30">P<br/>次/分</td>
@@ -384,15 +387,14 @@
384 387
                       <td>{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
385 388
                       <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
386 389
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
387
-                      <td v-if="monitor.systolic_blood_pressure  > 0">{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
388
-                      <td v-else> </td>
390
+                      <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
389 391
                       <td style="line-height:16px;padding:0px;">
390
-                        <div style="height:40px;line-height:40px; overflow:hidden;">
392
+                        <div style="min-height:40px;line-height:40px; overflow:hidden;">
391 393
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
392 394
                             <template v-if="monindex == 0">【开始透析】</template>
393
-                            <template v-if="(monindex == monitors.length - 1) && monindex >= 1">【结束透析】</template>
394
-                            {{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} 
395
-                          </span> 
395
+                            {{monitor.end}}
396
+                            {{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}
397
+                          </span>
396 398
                         </div>
397 399
                       </td>
398 400
                     </tr>
@@ -444,11 +446,11 @@
444 446
                           <span v-if="advice.parent_id > 0">---></span>
445 447
                           <span >{{advice.advice_name }}</span>
446 448
                           <span>{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
447
-                          <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
448
-                          <span  v-if="advice.single_dose != 0"> {{advice.single_dose}}{{advice.single_dose_unit}}</span>
449
-                          <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
450
-                          <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
451
-                          <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
449
+                          <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
450
+                          <!-- <span  v-if="advice.single_dose != 0"> {{advice.single_dose}}{{advice.single_dose_unit}}</span> -->
451
+                          <span v-if="advice.parent_id == 0 ">{{advice.delivery_way}}</span>
452
+                          <span v-if="advice.parent_id == 0  ">{{advice.execution_frequency}}</span>
453
+                          <span v-if="advice.parent_id == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
452 454
                         </td>
453 455
                         <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
454 456
                           <span>{{advice.delivery_way}}</span>
@@ -480,7 +482,7 @@
480 482
           </tbody>
481 483
         </table>
482 484
       </div>
483
-      <template v-if="this.totollength > 14">
485
+      <template v-if="this.totollength > 13">
484 486
         <div style="display:inline-block;width:100%;text-align:center;">
485 487
           <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
486 488
           <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">血液净化治疗记录单</div>
@@ -520,7 +522,7 @@
520 522
           <div class="inline_block">
521 523
             透析号:
522 524
               <div class="under_line" style="width: 70px;text-align: center;">
523
-                  {{'/'}}
525
+                {{patientInfo.dialysis_no}}
524 526
               </div>
525 527
           </div>
526 528
           <div class="inline_block" style="margin-left: 5px;">
@@ -591,9 +593,9 @@
591 593
                 </div>
592 594
               </div>
593 595
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
594
-                <div class="inline_block" style="flex:1;">
596
+                <div class="inline_block" style="flex:2;">
595 597
                   凝血程度:
596
-                  <div class="under_line" style="width: 100px;text-align: center">
598
+                  <div class="under_line" style="width: 200px;text-align: center">
597 599
                     {{afterdialysis.cruor?afterdialysis.cruor:'/'}}
598 600
                   </div>
599 601
                 </div>
@@ -605,46 +607,63 @@
605 607
                 </div>
606 608
                 <div class="inline_block" style="flex:1;">
607 609
                   导管:
608
-                  <div class="under_line" style="width: 150px;text-align: center">
610
+                  <div class="under_line" style="width: 100px;text-align: center">
609 611
                     {{afterdialysis.catheter?afterdialysis.catheter:'/'}}
610 612
                   </div>
611 613
                 </div>
612
-              </div>
613
-
614
-              <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
615
-                <div class="inline_block" style="flex:1;">
614
+                <div class="inline_block" style="flex:1.5;">
616 615
                   实际治疗时间:
617
-                  <div class="under_line" style="width: 50px;text-align: center">
616
+                  <div class="under_line" style="width: 30px;text-align: center">
618 617
                     {{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:'/'}}
619 618
                   </div>
620 619
                   h
621
-                  <div class="under_line" style="width: 50px;text-align: center">
620
+                  <div class="under_line" style="width: 30px;text-align: center">
622 621
                     {{afterdialysis.actual_treatment_minute?afterdialysis.actual_treatment_minute:0}}
623 622
                   </div>
624 623
                   min
625 624
                 </div>
625
+              </div>
626
+
627
+              <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
628
+
626 629
                 <div class="inline_block" style="flex:1;">
627 630
                   透后体重:
628 631
                   <div class="under_line" style="width: 70px;text-align: center">
629 632
                     {{afterdialysis.weight_after?afterdialysis.weight_after:'/'}}
630
-                  </div>
633
+                  </div>kg
634
+                </div>
635
+
636
+                <div class="inline_block" style="flex:1;">
637
+                  体重减少:
638
+                  <div class="under_line" style="width: 70px;text-align: center">
639
+                    {{afterdialysis.weight_loss?afterdialysis.weight_loss:'/'}}
640
+                  </div>kg
631 641
                 </div>
642
+
643
+                <div class="inline_block" style="flex:1;">
644
+                  透析中入量:
645
+                  <div class="under_line" style="width: 70px;text-align: center">
646
+                    {{afterdialysis.dialysis_intakes?afterdialysis.dialysis_intakes:'/'}}
647
+                  </div>{{getUnit(afterdialysis.dialysis_intakes_unit)}}
648
+                </div>
649
+
632 650
                 <div class="inline_block" style="flex:1;">
633 651
                   实际超滤量:
634
-                  <div class="under_line" style="width: 150px;text-align: center">
652
+                  <div class="under_line" style="width: 70px;text-align: center">
635 653
                     {{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:'/'}}
636 654
                   </div>ml
637 655
                 </div>
638 656
               </div>
639 657
 
658
+
640 659
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
641 660
                 <div class="inline_block" style="flex:1;">
642 661
                   治疗小结:
643
-                  <div class="under_line" style="width: 300px;text-align: center">
644
-                    {{summary.dialysis_summary?summary.dialysis_summary:'/'}}
645
-                  </div>
662
+                  <div class="under_line" style="width: 90%;line-height: 25px;text-align: left;margin-left: 2px; display:inline-block;"> {{summary.dialysis_summary?summary.dialysis_summary:'/'}}</div>
663
+
646 664
                 </div>
647 665
               </div>
666
+
648 667
             </td>
649 668
           </tr>
650 669
           <tr>
@@ -706,7 +725,7 @@
706 725
       </div>
707 726
     </div>
708 727
 
709
-   
728
+
710 729
   </div>
711 730
 
712 731
 </template>
@@ -746,6 +765,7 @@
746 765
         dialysisOrder: {
747 766
           DeviceNumber: []
748 767
         },
768
+        displaceLiquiPartOptions: [],
749 769
         operatorMaps: {},
750 770
         complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛'],
751 771
         jilurow: 0,
@@ -824,6 +844,40 @@
824 844
       }
825 845
     },
826 846
     methods: {
847
+       getDisplaceLiquiPart: function (val) {
848
+        let displace_liqui_part_name = '/'
849
+        let displace_liqui_part = this.displaceLiquiPartOptions
850
+        for (let i = 0; i < displace_liqui_part.length; i++) {
851
+          if (displace_liqui_part[i].id == val) {
852
+            displace_liqui_part_name = displace_liqui_part[i].name
853
+          }
854
+        }
855
+        return displace_liqui_part_name
856
+      },
857
+        replacementWaysById: function (val) {
858
+        let replacementWaysname = '/'
859
+        // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
860
+
861
+        for (let i = 0; i < this.replacementWays.length; i++) {
862
+          if (this.replacementWays[i].id == val) {
863
+            replacementWaysname = this.replacementWays[i].name
864
+          }
865
+        }
866
+        return replacementWaysname
867
+
868
+      },
869
+      QueryPartById: function (val) {
870
+        let vascular_access_part_name = '/'
871
+        let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
872
+
873
+        for (let i = 0; i < vascular_access.length; i++) {
874
+          if (vascular_access[i].id == val) {
875
+            vascular_access_part_name = vascular_access[i].name
876
+          }
877
+        }
878
+        return vascular_access_part_name
879
+
880
+      },
827 881
       getAdminUser(id) {
828 882
         if (id == 0) {
829 883
           return ''
@@ -846,6 +900,17 @@
846 900
         }
847 901
         return ''
848 902
       },
903
+      getUnit:function (val) {
904
+        switch (val) {
905
+          case 1:
906
+            return "g"
907
+            break
908
+          case 2:
909
+            return "ml"
910
+            break
911
+
912
+        }
913
+      },
849 914
       printThisPage() {
850 915
         var ptime = Math.round(new Date().getTime() / 1000)
851 916
         this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
@@ -1007,7 +1072,7 @@
1007 1072
           if (this.monitors.length <= 6) {
1008 1073
             var nl = 6
1009 1074
             this.print_length = 6
1010
-            
1075
+
1011 1076
             for (let index = 0; index < nl; index++) {
1012 1077
               if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
1013 1078
                 this.monitors2.push([])
@@ -1017,7 +1082,23 @@
1017 1082
             }
1018 1083
           }
1019 1084
 
1020
-     
1085
+          var tempmonitorflag = true;
1086
+          for (let index = 0; index < this.monitors.length; index++) {
1087
+            const monitor = this.monitors[index];
1088
+            this.monitors[index].end =""
1089
+            if(Object.keys(monitor).length > 0 && index > 1){
1090
+              if(monitor.operate_time == this.dialysisOrder.end_time){
1091
+                this.monitors[index].end ="【结束透析】"
1092
+                tempmonitorflag = false
1093
+              }
1094
+              if(tempmonitorflag && index == this.monitors.length-1){
1095
+                  this.monitors[index].end ="【结束透析】"
1096
+              }
1097
+            }
1098
+
1099
+          }
1100
+
1101
+
1021 1102
           this.jilurow = this.monitors.length + 1
1022 1103
 
1023 1104
           this.advice_jilurow = this.advices.length + 1
@@ -1081,7 +1162,7 @@
1081 1162
           for (let index = 0; index < this.doctor_advices.length; index++) {
1082 1163
             this.doctor_advices[index]['isShow'] = 2
1083 1164
           }
1084
-          
1165
+
1085 1166
           // if (this.doctor_advices.length > 0) {
1086 1167
           //   var group = this.newAdviceGroupObject()
1087 1168
           //   var initGroupBlock = function(group, advice) {
@@ -1112,7 +1193,7 @@
1112 1193
           //       // this.doctor_advices.push(doctor_advice)
1113 1194
           //     }
1114 1195
           //   }
1115
-            
1196
+
1116 1197
           //   for (let index = 0; index < this.doctor_advices.length; index++) {
1117 1198
           //     const advice = this.doctor_advices[index]
1118 1199
           //     if (advice.groupno == 0) {
@@ -1160,11 +1241,11 @@
1160 1241
           //    this.advice_groups.push(group)
1161 1242
           //   }
1162 1243
           // }
1163
-    
1244
+
1164 1245
           if (this.doctor_advices.length <= 6) {
1165 1246
             var nl = 6
1166 1247
             this.print_length = 6
1167
-            
1248
+
1168 1249
             for (let index = 0; index < nl; index++) {
1169 1250
               if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1170 1251
                 this.doctor_advices.push([])
@@ -1272,6 +1353,7 @@
1272 1353
       this.replacementWays = this.$store.getters.replacement_ways
1273 1354
       this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1274 1355
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1356
+      this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
1275 1357
 
1276 1358
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
1277 1359
       this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue Wyświetl plik

@@ -84,7 +84,7 @@
84 84
 
85 85
                     <td></td>
86 86
                     <td width="50">意识:</td>
87
-                    <td width="180">
87
+                    <td width="220">
88 88
                       <div>
89 89
                         <label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'
90 90
                                    showValue='清醒'></label-box>
@@ -94,6 +94,8 @@
94 94
                         &nbsp;
95 95
                         <label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'
96 96
                                    showValue='昏迷'></label-box>
97
+                        <label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'
98
+                                   showValue='模糊'></label-box>
97 99
                       </div>
98 100
                     </td>
99 101
                     <td></td>

+ 2 - 0
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue Wyświetl plik

@@ -87,6 +87,8 @@
87 87
                   <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
88 88
                   <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
89 89
                   <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
90
+                  <check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>
91
+
90 92
                 </div>
91 93
                 <div class="inline_block"  style="margin-left: 5px;">
92 94
                   活动性出血:

+ 4 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Wyświetl plik

@@ -75,8 +75,10 @@
75 75
                   <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
76 76
                   <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
77 77
                   <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
78
+                  <check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>
79
+
78 80
                 </div>
79
-                <div class="inline_block"  style="margin-left: 5px;">
81
+                <div class="inline_block" >
80 82
                   活动性出血:
81 83
                   <check-box text="无" :checked="predialysis.is_hemorrhage==2?true:false"></check-box>
82 84
                   <check-box text="异常" :checked="predialysis.is_hemorrhage==1?true:false"></check-box>
@@ -1624,6 +1626,7 @@
1624 1626
       this.orgname = xtuser.org.org_name
1625 1627
       // this.orgname = "遂溪方济医院";
1626 1628
       this.modeOptions = this.$store.getters.treatment_mode
1629
+
1627 1630
       this.replacementWays = this.$store.getters.replacement_ways
1628 1631
       this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1629 1632
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit

+ 38 - 10
src/xt_pages/user/doctorAdvice.vue Wyświetl plik

@@ -396,7 +396,7 @@
396 396
         <div slot="footer" class="dialog-footer">
397 397
           <el-button
398 398
             :disabled="$store.getters.xt_user.subscibe.state==3 || groupForm.adviceNames.length == 0?true:false"
399
-            type="primary" @click="submitgroupAdvice('groupForm')">保 存
399
+            type="primary" @click="submitgroupAdvice('groupForm')" :loading="addLoading">保 存
400 400
           </el-button>
401 401
         </div>
402 402
       </el-dialog>
@@ -1176,6 +1176,7 @@
1176 1176
     EditDoctorAdvice,
1177 1177
     ExecGroupAdvice,
1178 1178
     getAdviceConfig,
1179
+    getAllAdviceConfig,
1179 1180
     getDoctorAdviceList,
1180 1181
     StopDoctorAdvice,
1181 1182
     StopGroupAdvice
@@ -1370,6 +1371,7 @@
1370 1371
           keywords: '',
1371 1372
           id: 0
1372 1373
         },
1374
+        addLoading:false,
1373 1375
         lstableData: [],
1374 1376
         cqtableData: [],
1375 1377
         groupSelectRow: null,
@@ -1449,6 +1451,7 @@
1449 1451
         })
1450 1452
       },
1451 1453
       submitgroupAdvice(formName) {
1454
+        this.addLoading = true
1452 1455
         this.$refs[formName].validate(valid => {
1453 1456
           if (valid) {
1454 1457
             var submitForm = {
@@ -1470,8 +1473,13 @@
1470 1473
             CreateGroupAdvice(this.patientID, 0, submitForm).then(response => {
1471 1474
               if (response.data.state == 0) {
1472 1475
                 this.$message.error(response.data.msg)
1476
+                this.addLoading = false
1477
+
1473 1478
                 return false
1479
+
1474 1480
               } else {
1481
+                this.addLoading = false
1482
+
1475 1483
                 this.$notify({
1476 1484
                   title: '成功',
1477 1485
                   message: '新增成功',
@@ -1592,8 +1600,7 @@
1592 1600
       submitStopAdvice(formName) {
1593 1601
         this.$refs[formName].validate(valid => {
1594 1602
           if (valid) {
1595
-            // StopDoctorAdvice(this.stopForm.id, this.stopForm).then(response=>{
1596
-            StopGroupAdvice(this.stopForm.groupno, this.stopForm).then(
1603
+            StopDoctorAdvice(this.stopForm.id, this.stopForm).then(
1597 1604
               response => {
1598 1605
                 if (response.data.state == 0) {
1599 1606
                   this.$message.error(response.data.msg)
@@ -1607,11 +1614,20 @@
1607 1614
                   })
1608 1615
                   // this.stopResetData(this.stopForm.id);
1609 1616
                   var atlen = this.adviceTableData.length
1617
+                  var _this = this
1610 1618
                   for (let index = atlen - 1; index >= 0; index--) {
1611
-                    if (
1612
-                      this.adviceTableData[index].groupno == this.stopForm.groupno
1613
-                    ) {
1614
-                      this.adviceTableData.splice(index, 1)
1619
+
1620
+                    if (this.adviceTableData[index].id == this.stopForm.id ||this.adviceTableData[index].parent_id == this.stopForm.id ) {
1621
+
1622
+
1623
+                      if(_this.stopType == 0){
1624
+                        this.adviceTableData[index].stop_state = response.data.data.advice.stop_state
1625
+                        this.adviceTableData[index].stop_doctor =response.data.data.advice.stop_doctor
1626
+                        this.adviceTableData[index].stop_time = response.data.data.advice.stop_time
1627
+                      }else if(_this.stopType == 2){
1628
+                        this.adviceTableData.splice(index, 1)
1629
+                      }
1630
+
1615 1631
                     }
1616 1632
                   }
1617 1633
                   this.dialogStopFormVisible = false
@@ -3254,8 +3270,7 @@
3254 3270
         if (
3255 3271
           columnIndex === 0 ||
3256 3272
           columnIndex === 1 ||
3257
-          columnIndex === 2 ||
3258
-          columnIndex >= 9
3273
+          columnIndex === 2
3259 3274
         ) {
3260 3275
           const _row = this.tempArr[rowIndex]
3261 3276
           const _col = _row > 0 ? 1 : 0
@@ -3311,6 +3326,19 @@
3311 3326
           value = value + charactors.charAt(i)
3312 3327
         }
3313 3328
         return value
3329
+      },getAllAdviceConfig:function() {
3330
+
3331
+        getAllAdviceConfig().then(response => {
3332
+          if (response.data.state == 1) {
3333
+            this.deliveryWayOptions =
3334
+              response.data.data.drugways === null
3335
+                ? []
3336
+                : response.data.data.drugways
3337
+            this.executionFrequencyOptions =
3338
+              response.data.data.efs === null ? [] : response.data.data.efs
3339
+
3340
+          }
3341
+        })
3314 3342
       }
3315 3343
     },
3316 3344
     watch: {
@@ -3363,7 +3391,7 @@
3363 3391
 
3364 3392
       // this.fetchAllDoctorAndNurse();
3365 3393
       this.fetchAllAdminUsers()
3366
-      // this.getAdviceConfig()
3394
+      this.getAllAdviceConfig()
3367 3395
       this.getList()
3368 3396
       const params = {
3369 3397
         id: this.patientID