Browse Source

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

xiaoming_global 5 years ago
parent
commit
3f6e80a656
40 changed files with 2194 additions and 745 deletions
  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 View File

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

+ 0 - 4
.idea/encodings.xml View File

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 View File

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 View File

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 View File

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 View File

6
 module.exports = {
6
 module.exports = {
7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
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
   SRCM_HOST: '"http://test1.sgjyun.com"',
12
   SRCM_HOST: '"http://test1.sgjyun.com"',
12
   XT_HOST: '"http://xt.test.sgjyun.com"',
13
   XT_HOST: '"http://xt.test.sgjyun.com"',
13
   MIRCO_MALL_HOST: '"http://mall.test.sgjyun.com"',
14
   MIRCO_MALL_HOST: '"http://mall.test.sgjyun.com"',

+ 4 - 5
config/index.js View File

11
     assetsSubDirectory: 'static',
11
     assetsSubDirectory: 'static',
12
     assetsPublicPath: '/',
12
     assetsPublicPath: '/',
13
     proxyTable: {},
13
     proxyTable: {},
14
-
15
     // Various Dev Server settings
14
     // Various Dev Server settings
16
 
15
 
17
     // can be overwritten by process.env.HOST
16
     // can be overwritten by process.env.HOST
18
     // if you want dev by ip, please set host: '0.0.0.0'
17
     // if you want dev by ip, please set host: '0.0.0.0'
19
-
20
-    // host: 'xt.test.sgjyun.com',
21
     // host: 'xt.kuyicloud.com',
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
     autoOpenBrowser: true,
23
     autoOpenBrowser: true,
25
     errorOverlay: true,
24
     errorOverlay: true,
26
     notifyOnErrors: false,
25
     notifyOnErrors: false,

+ 2 - 0
src/api/advice.js View File

299
 
299
 
300
 
300
 
301
 
301
 
302
+
303
+

+ 8 - 0
src/api/dialysis.js View File

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 View File

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
   var params = {
47
   var params = {
48
     patient_id: patient_id,
48
     patient_id: patient_id,
49
     date: schedule_date,
49
     date: schedule_date,
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 View File

22
 
22
 
23
   xt_permission: state => state.xt_permission,
23
   xt_permission: state => state.xt_permission,
24
   xt_user: state => state.xt_user,
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
   xt_role_temps: state => state.xt_role_temps,
28
   xt_role_temps: state => state.xt_role_temps,
27
 
29
 

+ 14 - 0
src/store/modules/xt_user.js View File

14
 const xt_user = {
14
 const xt_user = {
15
   state: {
15
   state: {
16
     org_id: 0,
16
     org_id: 0,
17
+    schedule_type_selected: 0,
18
+    zone_selected: 0,
17
     app_id: 0,
19
     app_id: 0,
18
     user: {
20
     user: {
19
       id: 0,
21
       id: 0,
59
   },
61
   },
60
 
62
 
61
   mutations: {
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
     SET_FILEDS_LIST: (state, configlist) => {
70
     SET_FILEDS_LIST: (state, configlist) => {
63
       state.fileds = configlist
71
       state.fileds = configlist
64
     },
72
     },
172
   },
180
   },
173
 
181
 
174
   actions: {
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
     SetSubscibePatients({
189
     SetSubscibePatients({
176
       commit,
190
       commit,
177
       state
191
       state

+ 22 - 18
src/xt_pages/data/druguseTemplate.vue View File

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

+ 3 - 1
src/xt_pages/dialysis/batch_print/batch_print_order.vue View File

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

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_five.vue View File

99
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
99
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
100
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
100
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
101
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
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
                     </div>
104
                     </div>
103
                     <div class="inline_block"  style="margin-left: 5px;">
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 View File

99
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
99
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
100
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
100
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
101
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
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
                     </div>
104
                     </div>
103
                     <div class="inline_block"  style="margin-left: 5px;">
105
                     <div class="inline_block"  style="margin-left: 5px;">
104
                      活动性出血:
106
                      活动性出血:

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_four.vue View File

79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
80
                       <check-box text="昏迷"
80
                       <check-box text="昏迷"
81
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
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
                     </div>
84
                     </div>
83
                     <div class="inline_block" style="margin-left: 30px;">
85
                     <div class="inline_block" style="margin-left: 30px;">
84
                       体温:
86
                       体温:

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue View File

87
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
87
                       <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
88
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
88
                       <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
89
                       <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
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
                     </div>
92
                     </div>
91
                     <div class="inline_block"  style="margin-left: 5px;">
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 View File

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

+ 149 - 86
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

13
                 <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">血液净化治疗记录单</div>
13
                 <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">血液净化治疗记录单</div>
14
             </div>
14
             </div>
15
             <div class="row">
15
             <div class="row">
16
-                <div class="inline_block" >
16
+              <div class="inline_block" >
17
                 姓名:
17
                 姓名:
18
                 <div class="under_line" style="width: 50px;text-align: center;">{{record.patient.name}}</div>
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
                 <div class="under_line" style="width: 30px;text-align: center;">{{record.patient.gender == 1?"男":"女"}}</div>
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
                 <div class="under_line" style="width: 30px;text-align: center;">{{getAge(record.patient)}}</div>
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
                 <div class="under_line" style="width: 70px;text-align: left" v-if="record.patient.admission_number">
55
                 <div class="under_line" style="width: 70px;text-align: left" v-if="record.patient.admission_number">
56
                     {{record.patient.admission_number}}
56
                     {{record.patient.admission_number}}
58
                 <div class="under_line" style="width: 70px;text-align: left" v-else>
58
                 <div class="under_line" style="width: 70px;text-align: left" v-else>
59
                     {{'/'}}
59
                     {{'/'}}
60
                 </div>
60
                 </div>
61
-                </div>
62
-                
61
+              </div>
63
             </div>
62
             </div>
64
             <div class="row" >
63
             <div class="row" >
65
                 <div class="inline_block" >
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
                 </div>
71
                 </div>
73
                 <div class="inline_block" style="margin-left: 10px;">
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
                 </div>
75
                 </div>
77
             </div>
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
                 <table class="proj_table">
79
                 <table class="proj_table">
81
                     <tbody>
80
                     <tbody>
82
                         <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>
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
                                     <div class="inline_block" style="margin-left:10px;">
138
                                     <div class="inline_block" style="margin-left:10px;">
140
                                     血管通路:
139
                                     血管通路:
141
                                     <div class="under_line" style="width: 200px;text-align: center;">
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
                                     </div>
142
                                     </div>
144
                                     </div>
143
                                     </div>
145
                                 </div>
144
                                 </div>
160
                                     <div class="inline_block" style="margin-left:10px;flex:1;">
159
                                     <div class="inline_block" style="margin-left:10px;flex:1;">
161
                                       穿刺方式:
160
                                       穿刺方式:
162
                                       <div class="under_line" style="width: 100px;text-align: center" v-if="!record.assessment_before_dislysis">
161
                                       <div class="under_line" style="width: 100px;text-align: center" v-if="!record.assessment_before_dislysis">
163
-                                            
162
+
164
                                       </div>
163
                                       </div>
165
                                       <div v-if="record.assessment_before_dislysis" style="display: inline-block;">
164
                                       <div v-if="record.assessment_before_dislysis" style="display: inline-block;">
166
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 0">
165
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 0">
167
-                                            
166
+
168
                                         </div>
167
                                         </div>
169
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 1">
168
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 1">
170
                                             绳梯
169
                                             绳梯
188
                                     <div class="inline_block" style="flex:1;">
187
                                     <div class="inline_block" style="flex:1;">
189
                                       透析方式:
188
                                       透析方式:
190
                                       <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription">
189
                                       <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription">
191
-                                          
190
+
192
                                       </div>
191
                                       </div>
193
                                       <div v-if="record.prescription" style="display: inline-block;">
192
                                       <div v-if="record.prescription" style="display: inline-block;">
194
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription.mode_id">
193
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription.mode_id">
195
-                                            
194
+
196
                                         </div>
195
                                         </div>
197
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id==1">
196
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id==1">
198
                                             HD
197
                                             HD
338
                                     </div>
337
                                     </div>
339
                                     <div class="inline_block" style="margin-left:20px;">
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
                                         {{record.prescription&&record.prescription.anticoagulant_weichi?record.prescription.anticoagulant_weichi:0}}
344
                                         {{record.prescription&&record.prescription.anticoagulant_weichi?record.prescription.anticoagulant_weichi:0}}
343
                                     </div>
345
                                     </div>
344
                                     lu
346
                                     lu
376
                                             <td width="60">透析液温度(°C)</td>
378
                                             <td width="60">透析液温度(°C)</td>
377
                                             <td width="50">电导度<br/>(ms/cm)</td>
379
                                             <td width="50">电导度<br/>(ms/cm)</td>
378
                                             <td width="50">超滤量<br/>(ml)</td>
380
                                             <td width="50">超滤量<br/>(ml)</td>
379
-                                            <td width="200">病情变化及处理</td>                                 
381
+                                            <td width="200">病情变化及处理</td>
380
                                         </tr>
382
                                         </tr>
381
                                         <tr v-for="(monitor_record,index) in record.monitor_records" :key="index">
383
                                         <tr v-for="(monitor_record,index) in record.monitor_records" :key="index">
382
                                             <td>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
384
                                             <td>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
389
                                             <td>{{monitor_record.dialysate_temperature?monitor_record.dialysate_temperature:''}}</td>
391
                                             <td>{{monitor_record.dialysate_temperature?monitor_record.dialysate_temperature:''}}</td>
390
                                             <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
392
                                             <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
391
                                             <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:0}}</td>
393
                                             <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:0}}</td>
392
-                                          
394
+
393
                                             <td style="line-height:16px;padding:0px;">
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
                                                 <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;">
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
                                                   <template v-if="index == 0">【开始透析】</template>
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
                                               </div>
402
                                               </div>
401
-                                            </td>                                      
403
+                                            </td>
402
                                         </tr>
404
                                         </tr>
403
                                         <tr v-for="(monitor_record,index) in record.monitor_records2" :key="index">
405
                                         <tr v-for="(monitor_record,index) in record.monitor_records2" :key="index">
404
                                             <td> </td>
406
                                             <td> </td>
414
                                             <td style="line-height:16px;padding:0px;">
416
                                             <td style="line-height:16px;padding:0px;">
415
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
417
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
416
                                                 <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;">
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
                                               </div>
421
                                               </div>
420
-                                            </td>                                      
422
+                                            </td>
421
                                         </tr>
423
                                         </tr>
422
                                     </tbody>
424
                                     </tbody>
423
                                 </table>
425
                                 </table>
453
                                             <td height="35px" colspan="2" class="advice-name" style="padding-left:7px;" >
455
                                             <td height="35px" colspan="2" class="advice-name" style="padding-left:7px;" >
454
                                                 <span v-if="advice.parent_id > 0">---></span>
456
                                                 <span v-if="advice.parent_id > 0">---></span>
455
                                                 <span >{{advice.advice_name }}</span>
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
                                                 <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
461
                                                 <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.delivery_way}}</span>
460
                                                 <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
462
                                                 <span v-if="advice.parent_id == 0  && advice.children.length == 0">{{advice.execution_frequency}}</span>
461
                                                 <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
463
                                                 <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
530
                   <div class="inline_block">
532
                   <div class="inline_block">
531
                   透析号:
533
                   透析号:
532
                       <div class="under_line" style="width: 70px;text-align: center;">
534
                       <div class="under_line" style="width: 70px;text-align: center;">
533
-                          {{'/'}}
535
+                        {{record.patient.dialysis_no}}
534
                       </div>
536
                       </div>
535
                   </div>
537
                   </div>
536
                   <div class="inline_block" style="margin-left: 5px;">
538
                   <div class="inline_block" style="margin-left: 5px;">
542
                       {{'/'}}
544
                       {{'/'}}
543
                   </div>
545
                   </div>
544
                   </div>
546
                   </div>
545
-                  
547
+
546
               </div>
548
               </div>
547
               <div class="row" >
549
               <div class="row" >
548
                   <div class="inline_block" >
550
                   <div class="inline_block" >
618
                                     {{record.assessment_after_dislysis&&record.assessment_after_dislysis.catheter?record.assessment_after_dislysis.catheter:'/'}}
620
                                     {{record.assessment_after_dislysis&&record.assessment_after_dislysis.catheter?record.assessment_after_dislysis.catheter:'/'}}
619
                                 </div>
621
                                 </div>
620
                                 </div>
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
                                 </div>
627
                                 </div>
629
                                 h
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
                                 </div>
631
                                 </div>
633
                                 min
632
                                 min
634
-                                </div>
633
+                              </div>
634
+                            </div>
635
+
636
+                            <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
637
+
635
                                 <div class="inline_block" style="flex:1;">
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
                                 <div class="under_line" style="width: 70px;text-align: center">
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
                                 <div class="inline_block" style="flex:1;">
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
                                     {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:'/'}}
664
                                     {{record.assessment_after_dislysis&&record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:'/'}}
645
                                 </div>ml
665
                                 </div>ml
646
                                 </div>
666
                                 </div>
647
                             </div>
667
                             </div>
648
 
668
 
669
+
649
                             <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
670
                             <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
650
                                 <div class="inline_block" style="flex:1;">
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
                                 </div>
674
                                 </div>
656
                             </div>
675
                             </div>
657
                             </td>
676
                             </td>
663
                                     穿刺护士:
682
                                     穿刺护士:
664
                                     <div class="under_line" style="width: 80px;text-align: center">
683
                                     <div class="under_line" style="width: 80px;text-align: center">
665
                                         <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>
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
                                     </div>
686
                                     </div>
668
                                 </div>
687
                                 </div>
669
                                 <div class="inline_block" style="flex:1;">
688
                                 <div class="inline_block" style="flex:1;">
691
                                       </div>
710
                                       </div>
692
                                     </div>
711
                                     </div>
693
                                     <div class="under_line" style="width: 80px;text-align: left" v-if="!record.check">
712
                                     <div class="under_line" style="width: 80px;text-align: left" v-if="!record.check">
694
-                                       
713
+
695
                                     </div>
714
                                     </div>
696
                                 </div>
715
                                 </div>
697
                                 <div class="inline_block" style="flex:1;">
716
                                 <div class="inline_block" style="flex:1;">
715
                         </tr>
734
                         </tr>
716
                     </tbody>
735
                     </tbody>
717
                 </table>
736
                 </table>
718
-           
719
-            
737
+              </div>
738
+            </div>
720
           </div>
739
           </div>
721
         </div>
740
         </div>
722
       </div>
741
       </div>
723
-    </div>
724
-  </div>
725
 </template>
742
 </template>
726
 
743
 
727
 <script>
744
 <script>
846
             if(recordIndex == (this.records.length - 1)){
863
             if(recordIndex == (this.records.length - 1)){
847
               this.records[recordIndex].classname = ' '
864
               this.records[recordIndex].classname = ' '
848
             }
865
             }
849
-            
866
+
850
 
867
 
851
             this.records[recordIndex].monitor_records2 = []
868
             this.records[recordIndex].monitor_records2 = []
852
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 7) {
869
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 7) {
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
             this.monitor_records = this.records[recordIndex].monitor_records
900
             this.monitor_records = this.records[recordIndex].monitor_records
868
 
901
 
869
             // this.records[recordIndex].monitor_records2 = []
902
             // this.records[recordIndex].monitor_records2 = []
912
               this.doctor_advices[index]['isShow'] = 2
945
               this.doctor_advices[index]['isShow'] = 2
913
             }
946
             }
914
 
947
 
915
-            
948
+
916
 
949
 
917
             // if (this.doctor_advices.length > 0) {
950
             // if (this.doctor_advices.length > 0) {
918
             //   var group = this.newAdviceGroupObject()
951
             //   var group = this.newAdviceGroupObject()
1051
             //     }
1084
             //     }
1052
             //   }
1085
             //   }
1053
             // }
1086
             // }
1054
-   
1087
+
1055
             if (this.doctor_advices.length <= 6) {
1088
             if (this.doctor_advices.length <= 6) {
1056
                 var nl = 6
1089
                 var nl = 6
1057
                 this.print_length = 6
1090
                 this.print_length = 6
1058
-                
1091
+
1059
                 for (let index = 0; index < nl; index++) {
1092
                 for (let index = 0; index < nl; index++) {
1060
                 if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1093
                 if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1061
                     this.doctor_advices.push([])
1094
                     this.doctor_advices.push([])
1071
 
1104
 
1072
             this.records[recordIndex].totallength= this.doctor_advices.length + this.monitor_records.length
1105
             this.records[recordIndex].totallength= this.doctor_advices.length + this.monitor_records.length
1073
           }
1106
           }
1074
-          
1107
+
1075
 
1108
 
1076
           this.operators = resp.data.medical_staffs
1109
           this.operators = resp.data.medical_staffs
1077
           if (this.operators.length > 0) {
1110
           if (this.operators.length > 0) {
1092
       })
1125
       })
1093
     },
1126
     },
1094
     methods: {
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
       printAction: function() {
1158
       printAction: function() {
1096
         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;}'
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 View File

79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
79
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
80
                       <check-box text="昏迷"
80
                       <check-box text="昏迷"
81
                                  :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
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
                     </div>
84
                     </div>
83
                     <div class="inline_block" style="margin-left: 30px;">
85
                     <div class="inline_block" style="margin-left: 30px;">
84
                       体温:
86
                       体温:

+ 8 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue View File

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

+ 8 - 4
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

10
         <li v-if="isShow('目标超滤量')">
10
         <li v-if="isShow('目标超滤量')">
11
           <label>目标超滤量 : </label>
11
           <label>目标超滤量 : </label>
12
           <span class="content">{{target_ultrafiltration != '0'?target_ultrafiltration:''}}</span>
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
         </li>
16
         </li>
15
         <li v-if="isShow('首剂')">
17
         <li v-if="isShow('首剂')">
16
           <label>首剂 : </label>
18
           <label>首剂 : </label>
47
           <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
49
           <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
48
         </li>
50
         </li>
49
       </ul>
51
       </ul>
50
-      <ul>  
52
+      <ul>
51
         <li v-if="isShow('钾')">
53
         <li v-if="isShow('钾')">
52
           <label>钾 : </label>
54
           <label>钾 : </label>
53
           <span class="content">{{kalium != '0'?kalium:""}}</span>
55
           <span class="content">{{kalium != '0'?kalium:""}}</span>
99
         </li>
101
         </li>
100
       </ul>
102
       </ul>
101
       <ul>
103
       <ul>
102
-      
104
+
103
         <li v-if="isShow('透析器/灌流器')">
105
         <li v-if="isShow('透析器/灌流器')">
104
           <label>透析器/灌流器 : </label>
106
           <label>透析器/灌流器 : </label>
105
           <span class="content">{{dialyzer_perfusion_apparatus}}</span>
107
           <span class="content">{{dialyzer_perfusion_apparatus}}</span>
127
           <span class="unit"></span>
129
           <span class="unit"></span>
128
         </li>
130
         </li>
129
         <li v-if="isShow('置换液')">
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
           <span class="content">{{displace_liqui}}</span>
135
           <span class="content">{{displace_liqui}}</span>
132
           <span class="unit"></span>
136
           <span class="unit"></span>
133
         </li>
137
         </li>

+ 26 - 4
src/xt_pages/dialysis/details/NavIgation.vue View File

53
 
53
 
54
         <div class="middleLine"></div>
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
                                       :niprocart_info="niprocart_info" :jms_info="jms_info" :fistula_needle_set_info="fistula_needle_set_info"
57
                                       :niprocart_info="niprocart_info" :jms_info="jms_info" :fistula_needle_set_info="fistula_needle_set_info"
58
         :fistula_needle_set_16_info="fistula_needle_set_16_info"  :hemoperfusion_info="hemoperfusion_info" :dialyser_sterilised_info="dialyser_sterilised_info"
58
         :fistula_needle_set_16_info="fistula_needle_set_16_info"  :hemoperfusion_info="hemoperfusion_info" :dialyser_sterilised_info="dialyser_sterilised_info"
59
         :filtryzer_info="filtryzer_info" :dialyzers_info="dialyzers_info" :injector_info="injector_info" :bloodlines_info="bloodlines_info"  :tubingHemodialysis_info="tubingHemodialysis_info"
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
         ></dialysis-prescription-dialog>
63
         ></dialysis-prescription-dialog>
63
 
64
 
69
 
70
 
70
         <treatment-summary-dialog title="治疗小结" ref="treatmentSummary" :patient="patient" :treatment_summary="treatment_summary"></treatment-summary-dialog>
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
         <computer-dialog title="透析上机" ref="computer_dialog" :dialysis_order="dialysis_order" :schedule="schedual" :admins="admin_users" :device_numbers="device_numbers"></computer-dialog>
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
   },
110
   },
110
   data() {
111
   data() {
111
     return {
112
     return {
112
-
113
     }
113
     }
114
   },
114
   },
115
   props: {
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
     patient: { // 患者信息
134
     patient: { // 患者信息
117
       type: Object,
135
       type: Object,
118
       default: () => {
136
       default: () => {
316
     }
334
     }
317
   },
335
   },
318
   methods: {
336
   methods: {
337
+    adviceFunc:function(){
338
+
339
+      this.$emit("advice")
340
+    },
319
     showMonitorDialog: function() {
341
     showMonitorDialog: function() {
320
       this.$refs.monitor_dialog.show()
342
       this.$refs.monitor_dialog.show()
321
     },
343
     },

+ 3 - 1
src/xt_pages/dialysis/details/acceptsAssessment.vue View File

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

+ 34 - 29
src/xt_pages/dialysis/details/assessmentAfter.vue View File

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

+ 22 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

100
               <el-input v-model="form.dialysis_intakes"></el-input>
100
               <el-input v-model="form.dialysis_intakes"></el-input>
101
             </el-form-item>
101
             </el-form-item>
102
           </el-col>
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
         <!-- </el-row>
115
         <!-- </el-row>
104
 
116
 
105
         <el-row :gutter="20"> -->
117
         <el-row :gutter="20"> -->
417
         symptomsOptions: [],
429
         symptomsOptions: [],
418
         internalFistulaOptions: [],
430
         internalFistulaOptions: [],
419
         vascularAccessOptions: [],
431
         vascularAccessOptions: [],
432
+        unit: [
433
+          {id: 1, name: 'g'},
434
+          {id: 2, name: 'ml'},
435
+        ],
420
         vascularAccessDescOptions: [],
436
         vascularAccessDescOptions: [],
421
         catheterOptions: [],
437
         catheterOptions: [],
422
         complicationOptions: [],
438
         complicationOptions: [],
477
           arterial_tube: '',
493
           arterial_tube: '',
478
           intravenous_tube: '',
494
           intravenous_tube: '',
479
           dialyzer: '',
495
           dialyzer: '',
480
-          breathing_rate: ''
496
+          breathing_rate: '',
497
+          dialysis_intakes_unit:0,
481
 
498
 
482
         }
499
         }
483
       }
500
       }
568
         data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
585
         data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
569
         data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
586
         data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
570
         data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
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
         data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
589
         data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
572
         data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
590
         data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
573
         data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
591
         data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
603
         data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
621
         data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
604
         data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
622
         data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
605
         data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
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
         data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
626
         data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
607
 
627
 
608
         data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
628
         data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
765
       this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
785
       this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
766
       this.patientGoseOptions = this.$store.getters.patient_gose
786
       this.patientGoseOptions = this.$store.getters.patient_gose
767
       this.observationContentOptions = this.$store.getters.observation_content
787
       this.observationContentOptions = this.$store.getters.observation_content
768
-  
788
+
769
       console.log(this.patient)
789
       console.log(this.patient)
770
 
790
 
771
       var date = this.$route.query && this.$route.query.date
791
       var date = this.$route.query && this.$route.query.date

+ 2 - 0
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

16
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
16
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
17
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
17
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
18
         <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
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
       </el-form-item>
22
       </el-form-item>
21
       <el-form-item label="病人食欲 : " v-if="isShow('病人食欲')">
23
       <el-form-item label="病人食欲 : " v-if="isShow('病人食欲')">

+ 0 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

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

File diff suppressed because it is too large
+ 1587 - 492
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue


+ 78 - 8
src/xt_pages/dialysis/details/index.vue View File

3
     <div class="position">
3
     <div class="position">
4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5
       <div class="print" style="float:left;">
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
         <el-button size="small" type="primary" @click="printOrder" icon="el-icon-printer">打印</el-button>
6
         <el-button size="small" type="primary" @click="printOrder" icon="el-icon-printer">打印</el-button>
9
       </div>
7
       </div>
10
     </div>
8
     </div>
11
     <div class="details-bg" v-loading.fullscreen.lock="loading">
9
     <div class="details-bg" v-loading.fullscreen.lock="loading">
12
       <nav-igation
10
       <nav-igation
13
         title="弹窗导航"
11
         title="弹窗导航"
12
+        @advice="adviceFunc"
14
         :patient="patient"
13
         :patient="patient"
15
         :schedual="schedual"
14
         :schedual="schedual"
16
         :prescription="prescription"
15
         :prescription="prescription"
43
         :safe_package_info="safe_package_info"
42
         :safe_package_info="safe_package_info"
44
         :aliquid_info="aliquid_info"
43
         :aliquid_info="aliquid_info"
45
         :config = "config"
44
         :config = "config"
46
-
47
-
48
-
45
+        :longAdvices="longAdvices"
46
+        :waitUploadAdvices="waitUploadAdvices"
47
+        :is_open="is_open"
49
       >
48
       >
50
       </nav-igation>
49
       </nav-igation>
51
 
50
 
249
   import AssessmentAfter from './assessmentAfter'
248
   import AssessmentAfter from './assessmentAfter'
250
   import TreatmentOf from './treatmentOf'
249
   import TreatmentOf from './treatmentOf'
251
   import OperationStaff from './operationStaff'
250
   import OperationStaff from './operationStaff'
252
-  import { getDialysisScheduleDetail } from '@/api/dialysis_record'
251
+  import { getDialysisScheduleDetail,getLongAdvice } from '@/api/dialysis_record'
253
   import { parseTime } from '@/utils'
252
   import { parseTime } from '@/utils'
254
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
253
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
255
 
254
 
285
         patient_id: 0,
284
         patient_id: 0,
286
         date: 0,
285
         date: 0,
287
 
286
 
287
+        longAdvices: [],
288
+        waitUploadAdvices: [],
289
+        is_open: 0,
290
+        targetAdvices: [],
291
+
288
         patient: { id: 0 }, // 患者信息
292
         patient: { id: 0 }, // 患者信息
289
         schedual: { id: 0 }, // 患者排班信息
293
         schedual: { id: 0 }, // 患者排班信息
290
         prescription: { id: 0 }, // 透析处方
294
         prescription: { id: 0 }, // 透析处方
327
       this.patient_id = patient_id
331
       this.patient_id = patient_id
328
       this.date = date
332
       this.date = date
329
       this.getScheduleDetail()
333
       this.getScheduleDetail()
334
+      this.getLongAdvice()
330
     },
335
     },
331
     computed: {
336
     computed: {
332
       steps: function() {
337
       steps: function() {
343
           { title: '治疗小结', finish: false }
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
         steps[1].finish = this.receiver_treatment_access.id > 0
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
         steps[3].finish = this.doctor_advices.length > 0
354
         steps[3].finish = this.doctor_advices.length > 0
350
         steps[5].finish = this.dialysis_order.id > 0
355
         steps[5].finish = this.dialysis_order.id > 0
351
         steps[7].finish =
356
         steps[7].finish =
360
       }
365
       }
361
     },
366
     },
362
     methods: {
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
       didDelMonitor(record_id) {
432
       didDelMonitor(record_id) {
364
         var mrl = this.monitor_records.length
433
         var mrl = this.monitor_records.length
365
         for (let index = 0; index < mrl; index++) {
434
         for (let index = 0; index < mrl; index++) {
372
       getScheduleDetail: function() {
441
       getScheduleDetail: function() {
373
         this.loading = true
442
         this.loading = true
374
         var dateStr = parseTime(this.date, '{y}-{m}-{d}')
443
         var dateStr = parseTime(this.date, '{y}-{m}-{d}')
444
+        this.doctor_advices = []
375
         getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
445
         getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
376
           var resp = rs.data
446
           var resp = rs.data
377
           if (resp.state == 1) {
447
           if (resp.state == 1) {

+ 5 - 3
src/xt_pages/dialysis/dialysisPage.vue View File

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

+ 10 - 0
src/xt_pages/dialysis/schedualPatient.vue View File

185
       }
185
       }
186
     },
186
     },
187
     created() {
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
       this.getInitData()
196
       this.getInitData()
189
     },
197
     },
190
     methods: {
198
     methods: {
191
       handletimeType: function(index) {
199
       handletimeType: function(index) {
192
         this.schedule_type_selected = index
200
         this.schedule_type_selected = index
201
+        this.$store.dispatch("SetScheduleTypeSelected",{schedule_type_selected:index})
193
         this.search_keyword = this.search_input = ''
202
         this.search_keyword = this.search_input = ''
194
         // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
203
         // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
195
         //   zone: this.zone_selected,
204
         //   zone: this.zone_selected,
199
       },
208
       },
200
       handleZoneChange: function(index) {
209
       handleZoneChange: function(index) {
201
         this.zone_selected = index
210
         this.zone_selected = index
211
+        this.$store.dispatch("SetZoneSelected",{zone_selected:index})
202
         this.search_keyword = this.search_input = ''
212
         this.search_keyword = this.search_input = ''
203
         // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
213
         // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
204
         //   zone: this.zone_selected,
214
         //   zone: this.zone_selected,

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue View File

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

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

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

+ 124 - 42
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

40
         <div class="inline_block">
40
         <div class="inline_block">
41
           透析号:
41
           透析号:
42
             <div class="under_line" style="width: 70px;text-align: center;">
42
             <div class="under_line" style="width: 70px;text-align: center;">
43
-                {{'/'}}
43
+              {{patientInfo.dialysis_no}}
44
             </div>
44
             </div>
45
         </div>
45
         </div>
46
         <div class="inline_block" style="margin-left: 5px;">
46
         <div class="inline_block" style="margin-left: 5px;">
52
             {{'/'}}
52
             {{'/'}}
53
           </div>
53
           </div>
54
         </div>
54
         </div>
55
-        
55
+
56
       </div>
56
       </div>
57
       <div class="row" >
57
       <div class="row" >
58
         <div class="inline_block" >
58
         <div class="inline_block" >
70
       </div>
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
         <table class="proj_table" >
74
         <table class="proj_table" >
75
           <tbody>
75
           <tbody>
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>
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
                   <div class="inline_block" style="margin-left:10px;">
133
                   <div class="inline_block" style="margin-left:10px;">
134
                     血管通路:
134
                     血管通路:
135
                     <div class="under_line" style="width: 200px;text-align: center;">
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
                     </div>
137
                     </div>
138
                   </div>
138
                   </div>
139
                 </div>
139
                 </div>
199
                   <div class="inline_block" style="margin-left:10px;flex:1;">
199
                   <div class="inline_block" style="margin-left:10px;flex:1;">
200
                     置换方式:
200
                     置换方式:
201
                     <div class="under_line" style="width: 100px;text-align: center">
201
                     <div class="under_line" style="width: 100px;text-align: center">
202
-                      /
202
+                      {{getDisplaceLiquiPart(prescription.displace_liqui_part)}}
203
                     </div>
203
                     </div>
204
                   </div>
204
                   </div>
205
                   <div class="inline_block" style="margin-left:10px;flex:1;">
205
                   <div class="inline_block" style="margin-left:10px;flex:1;">
322
                   </div>
322
                   </div>
323
                   <div class="inline_block" style="margin-left:20px;">
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
                     </div>
330
                     </div>
328
                     lu
331
                     lu
329
                   </div>
332
                   </div>
360
                       <td width="50">电导度<br/>(ms/cm)</td>
363
                       <td width="50">电导度<br/>(ms/cm)</td>
361
                       <td width="50">超滤量<br/>(ml)</td>
364
                       <td width="50">超滤量<br/>(ml)</td>
362
                       <td width="200">病情变化及处理</td>
365
                       <td width="200">病情变化及处理</td>
363
-        
366
+
364
                       <!-- <td width="100">时间</td>
367
                       <!-- <td width="100">时间</td>
365
                       <td width="30">T<br>C°</td>
368
                       <td width="30">T<br>C°</td>
366
                       <td width="30">P<br/>次/分</td>
369
                       <td width="30">P<br/>次/分</td>
384
                       <td>{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
387
                       <td>{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
385
                       <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
388
                       <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
386
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
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
                       <td style="line-height:16px;padding:0px;">
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
                           <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;">
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
                             <template v-if="monindex == 0">【开始透析】</template>
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
                         </div>
398
                         </div>
397
                       </td>
399
                       </td>
398
                     </tr>
400
                     </tr>
444
                           <span v-if="advice.parent_id > 0">---></span>
446
                           <span v-if="advice.parent_id > 0">---></span>
445
                           <span >{{advice.advice_name }}</span>
447
                           <span >{{advice.advice_name }}</span>
446
                           <span>{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
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
                         </td>
454
                         </td>
453
                         <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
455
                         <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
454
                           <span>{{advice.delivery_way}}</span>
456
                           <span>{{advice.delivery_way}}</span>
480
           </tbody>
482
           </tbody>
481
         </table>
483
         </table>
482
       </div>
484
       </div>
483
-      <template v-if="this.totollength > 14">
485
+      <template v-if="this.totollength > 13">
484
         <div style="display:inline-block;width:100%;text-align:center;">
486
         <div style="display:inline-block;width:100%;text-align:center;">
485
           <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
487
           <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
486
           <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">血液净化治疗记录单</div>
488
           <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">血液净化治疗记录单</div>
520
           <div class="inline_block">
522
           <div class="inline_block">
521
             透析号:
523
             透析号:
522
               <div class="under_line" style="width: 70px;text-align: center;">
524
               <div class="under_line" style="width: 70px;text-align: center;">
523
-                  {{'/'}}
525
+                {{patientInfo.dialysis_no}}
524
               </div>
526
               </div>
525
           </div>
527
           </div>
526
           <div class="inline_block" style="margin-left: 5px;">
528
           <div class="inline_block" style="margin-left: 5px;">
591
                 </div>
593
                 </div>
592
               </div>
594
               </div>
593
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
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
                     {{afterdialysis.cruor?afterdialysis.cruor:'/'}}
599
                     {{afterdialysis.cruor?afterdialysis.cruor:'/'}}
598
                   </div>
600
                   </div>
599
                 </div>
601
                 </div>
605
                 </div>
607
                 </div>
606
                 <div class="inline_block" style="flex:1;">
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
                     {{afterdialysis.catheter?afterdialysis.catheter:'/'}}
611
                     {{afterdialysis.catheter?afterdialysis.catheter:'/'}}
610
                   </div>
612
                   </div>
611
                 </div>
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
                     {{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:'/'}}
617
                     {{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:'/'}}
619
                   </div>
618
                   </div>
620
                   h
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
                     {{afterdialysis.actual_treatment_minute?afterdialysis.actual_treatment_minute:0}}
621
                     {{afterdialysis.actual_treatment_minute?afterdialysis.actual_treatment_minute:0}}
623
                   </div>
622
                   </div>
624
                   min
623
                   min
625
                 </div>
624
                 </div>
625
+              </div>
626
+
627
+              <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
628
+
626
                 <div class="inline_block" style="flex:1;">
629
                 <div class="inline_block" style="flex:1;">
627
                   透后体重:
630
                   透后体重:
628
                   <div class="under_line" style="width: 70px;text-align: center">
631
                   <div class="under_line" style="width: 70px;text-align: center">
629
                     {{afterdialysis.weight_after?afterdialysis.weight_after:'/'}}
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
                 </div>
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
                 <div class="inline_block" style="flex:1;">
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
                     {{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:'/'}}
653
                     {{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:'/'}}
636
                   </div>ml
654
                   </div>ml
637
                 </div>
655
                 </div>
638
               </div>
656
               </div>
639
 
657
 
658
+
640
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
659
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
641
                 <div class="inline_block" style="flex:1;">
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
                 </div>
664
                 </div>
647
               </div>
665
               </div>
666
+
648
             </td>
667
             </td>
649
           </tr>
668
           </tr>
650
           <tr>
669
           <tr>
706
       </div>
725
       </div>
707
     </div>
726
     </div>
708
 
727
 
709
-   
728
+
710
   </div>
729
   </div>
711
 
730
 
712
 </template>
731
 </template>
746
         dialysisOrder: {
765
         dialysisOrder: {
747
           DeviceNumber: []
766
           DeviceNumber: []
748
         },
767
         },
768
+        displaceLiquiPartOptions: [],
749
         operatorMaps: {},
769
         operatorMaps: {},
750
         complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛'],
770
         complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛'],
751
         jilurow: 0,
771
         jilurow: 0,
824
       }
844
       }
825
     },
845
     },
826
     methods: {
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
       getAdminUser(id) {
881
       getAdminUser(id) {
828
         if (id == 0) {
882
         if (id == 0) {
829
           return ''
883
           return ''
846
         }
900
         }
847
         return ''
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
       printThisPage() {
914
       printThisPage() {
850
         var ptime = Math.round(new Date().getTime() / 1000)
915
         var ptime = Math.round(new Date().getTime() / 1000)
851
         this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
916
         this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
1007
           if (this.monitors.length <= 6) {
1072
           if (this.monitors.length <= 6) {
1008
             var nl = 6
1073
             var nl = 6
1009
             this.print_length = 6
1074
             this.print_length = 6
1010
-            
1075
+
1011
             for (let index = 0; index < nl; index++) {
1076
             for (let index = 0; index < nl; index++) {
1012
               if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
1077
               if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
1013
                 this.monitors2.push([])
1078
                 this.monitors2.push([])
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
           this.jilurow = this.monitors.length + 1
1102
           this.jilurow = this.monitors.length + 1
1022
 
1103
 
1023
           this.advice_jilurow = this.advices.length + 1
1104
           this.advice_jilurow = this.advices.length + 1
1081
           for (let index = 0; index < this.doctor_advices.length; index++) {
1162
           for (let index = 0; index < this.doctor_advices.length; index++) {
1082
             this.doctor_advices[index]['isShow'] = 2
1163
             this.doctor_advices[index]['isShow'] = 2
1083
           }
1164
           }
1084
-          
1165
+
1085
           // if (this.doctor_advices.length > 0) {
1166
           // if (this.doctor_advices.length > 0) {
1086
           //   var group = this.newAdviceGroupObject()
1167
           //   var group = this.newAdviceGroupObject()
1087
           //   var initGroupBlock = function(group, advice) {
1168
           //   var initGroupBlock = function(group, advice) {
1112
           //       // this.doctor_advices.push(doctor_advice)
1193
           //       // this.doctor_advices.push(doctor_advice)
1113
           //     }
1194
           //     }
1114
           //   }
1195
           //   }
1115
-            
1196
+
1116
           //   for (let index = 0; index < this.doctor_advices.length; index++) {
1197
           //   for (let index = 0; index < this.doctor_advices.length; index++) {
1117
           //     const advice = this.doctor_advices[index]
1198
           //     const advice = this.doctor_advices[index]
1118
           //     if (advice.groupno == 0) {
1199
           //     if (advice.groupno == 0) {
1160
           //    this.advice_groups.push(group)
1241
           //    this.advice_groups.push(group)
1161
           //   }
1242
           //   }
1162
           // }
1243
           // }
1163
-    
1244
+
1164
           if (this.doctor_advices.length <= 6) {
1245
           if (this.doctor_advices.length <= 6) {
1165
             var nl = 6
1246
             var nl = 6
1166
             this.print_length = 6
1247
             this.print_length = 6
1167
-            
1248
+
1168
             for (let index = 0; index < nl; index++) {
1249
             for (let index = 0; index < nl; index++) {
1169
               if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1250
               if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1170
                 this.doctor_advices.push([])
1251
                 this.doctor_advices.push([])
1272
       this.replacementWays = this.$store.getters.replacement_ways
1353
       this.replacementWays = this.$store.getters.replacement_ways
1273
       this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1354
       this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1274
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1355
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1356
+      this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
1275
 
1357
 
1276
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
1358
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
1277
       this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')
1359
       this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue View File

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

+ 2 - 0
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue View File

87
                   <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
87
                   <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
88
                   <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
88
                   <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
89
                   <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
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
                 </div>
92
                 </div>
91
                 <div class="inline_block"  style="margin-left: 5px;">
93
                 <div class="inline_block"  style="margin-left: 5px;">
92
                   活动性出血:
94
                   活动性出血:

+ 4 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

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

+ 38 - 10
src/xt_pages/user/doctorAdvice.vue View File

396
         <div slot="footer" class="dialog-footer">
396
         <div slot="footer" class="dialog-footer">
397
           <el-button
397
           <el-button
398
             :disabled="$store.getters.xt_user.subscibe.state==3 || groupForm.adviceNames.length == 0?true:false"
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
           </el-button>
400
           </el-button>
401
         </div>
401
         </div>
402
       </el-dialog>
402
       </el-dialog>
1176
     EditDoctorAdvice,
1176
     EditDoctorAdvice,
1177
     ExecGroupAdvice,
1177
     ExecGroupAdvice,
1178
     getAdviceConfig,
1178
     getAdviceConfig,
1179
+    getAllAdviceConfig,
1179
     getDoctorAdviceList,
1180
     getDoctorAdviceList,
1180
     StopDoctorAdvice,
1181
     StopDoctorAdvice,
1181
     StopGroupAdvice
1182
     StopGroupAdvice
1370
           keywords: '',
1371
           keywords: '',
1371
           id: 0
1372
           id: 0
1372
         },
1373
         },
1374
+        addLoading:false,
1373
         lstableData: [],
1375
         lstableData: [],
1374
         cqtableData: [],
1376
         cqtableData: [],
1375
         groupSelectRow: null,
1377
         groupSelectRow: null,
1449
         })
1451
         })
1450
       },
1452
       },
1451
       submitgroupAdvice(formName) {
1453
       submitgroupAdvice(formName) {
1454
+        this.addLoading = true
1452
         this.$refs[formName].validate(valid => {
1455
         this.$refs[formName].validate(valid => {
1453
           if (valid) {
1456
           if (valid) {
1454
             var submitForm = {
1457
             var submitForm = {
1470
             CreateGroupAdvice(this.patientID, 0, submitForm).then(response => {
1473
             CreateGroupAdvice(this.patientID, 0, submitForm).then(response => {
1471
               if (response.data.state == 0) {
1474
               if (response.data.state == 0) {
1472
                 this.$message.error(response.data.msg)
1475
                 this.$message.error(response.data.msg)
1476
+                this.addLoading = false
1477
+
1473
                 return false
1478
                 return false
1479
+
1474
               } else {
1480
               } else {
1481
+                this.addLoading = false
1482
+
1475
                 this.$notify({
1483
                 this.$notify({
1476
                   title: '成功',
1484
                   title: '成功',
1477
                   message: '新增成功',
1485
                   message: '新增成功',
1592
       submitStopAdvice(formName) {
1600
       submitStopAdvice(formName) {
1593
         this.$refs[formName].validate(valid => {
1601
         this.$refs[formName].validate(valid => {
1594
           if (valid) {
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
               response => {
1604
               response => {
1598
                 if (response.data.state == 0) {
1605
                 if (response.data.state == 0) {
1599
                   this.$message.error(response.data.msg)
1606
                   this.$message.error(response.data.msg)
1607
                   })
1614
                   })
1608
                   // this.stopResetData(this.stopForm.id);
1615
                   // this.stopResetData(this.stopForm.id);
1609
                   var atlen = this.adviceTableData.length
1616
                   var atlen = this.adviceTableData.length
1617
+                  var _this = this
1610
                   for (let index = atlen - 1; index >= 0; index--) {
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
                   this.dialogStopFormVisible = false
1633
                   this.dialogStopFormVisible = false
3254
         if (
3270
         if (
3255
           columnIndex === 0 ||
3271
           columnIndex === 0 ||
3256
           columnIndex === 1 ||
3272
           columnIndex === 1 ||
3257
-          columnIndex === 2 ||
3258
-          columnIndex >= 9
3273
+          columnIndex === 2
3259
         ) {
3274
         ) {
3260
           const _row = this.tempArr[rowIndex]
3275
           const _row = this.tempArr[rowIndex]
3261
           const _col = _row > 0 ? 1 : 0
3276
           const _col = _row > 0 ? 1 : 0
3311
           value = value + charactors.charAt(i)
3326
           value = value + charactors.charAt(i)
3312
         }
3327
         }
3313
         return value
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
     watch: {
3344
     watch: {
3363
 
3391
 
3364
       // this.fetchAllDoctorAndNurse();
3392
       // this.fetchAllDoctorAndNurse();
3365
       this.fetchAllAdminUsers()
3393
       this.fetchAllAdminUsers()
3366
-      // this.getAdviceConfig()
3394
+      this.getAllAdviceConfig()
3367
       this.getList()
3395
       this.getList()
3368
       const params = {
3396
       const params = {
3369
         id: this.patientID
3397
         id: this.patientID