Browse Source

Merge branch 'master' of http://git.shengws.com:3000/zhangbj/xt_vue

zhengchengwu 5 years ago
parent
commit
f21d788c07
68 changed files with 1479 additions and 580 deletions
  1. 0 0
      .travis.yml
  2. 1 1
      config/dev.env.js
  3. 2 2
      config/index.js
  4. 11 0
      src/api/print_data.js
  5. 0 0
      src/components/ImageCropper/utils/data2blob.js
  6. 0 0
      src/components/ImageCropper/utils/effectRipple.js
  7. 0 0
      src/components/ImageCropper/utils/language.js
  8. 0 0
      src/components/ImageCropper/utils/mimes.js
  9. 1 0
      src/lang/en.js
  10. 1 0
      src/lang/zh.js
  11. 18 2
      src/router/index.js
  12. 2 0
      src/store/getters.js
  13. 3 1
      src/store/index.js
  14. 26 0
      src/store/modules/temp_params.js
  15. 1 0
      src/xt_pages/data/druguseTemplate.vue
  16. 573 0
      src/xt_pages/dialysis/batch_print/batch_print_order.vue
  17. 52 0
      src/xt_pages/dialysis/batch_print/option_check_box.vue
  18. 414 438
      src/xt_pages/dialysis/bloodPresssWatch.vue
  19. 42 32
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  20. 19 18
      src/xt_pages/dialysis/details/assessmentAfter.vue
  21. 16 16
      src/xt_pages/dialysis/details/assessmentBefore.vue
  22. 28 3
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  23. 3 3
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  24. 3 3
      src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue
  25. 3 3
      src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue
  26. 21 4
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  27. 157 2
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  28. 45 15
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  29. 11 11
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  30. 24 24
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  31. 2 2
      src/xt_pages/dialysis/schedualPatient.vue
  32. 0 0
      static/tinymce4.7.5/langs/zh_CN.js
  33. 0 0
      static/tinymce4.7.5/plugins/codesample/css/prism.css
  34. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-cool.gif
  35. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-cry.gif
  36. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-embarassed.gif
  37. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-foot-in-mouth.gif
  38. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-frown.gif
  39. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-innocent.gif
  40. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-kiss.gif
  41. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-laughing.gif
  42. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-money-mouth.gif
  43. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-sealed.gif
  44. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-smile.gif
  45. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-surprised.gif
  46. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-tongue-out.gif
  47. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-undecided.gif
  48. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-wink.gif
  49. 0 0
      static/tinymce4.7.5/plugins/emoticons/img/smiley-yell.gif
  50. 0 0
      static/tinymce4.7.5/plugins/visualblocks/css/visualblocks.css
  51. 0 0
      static/tinymce4.7.5/skins/lightgray/content.inline.min.css
  52. 0 0
      static/tinymce4.7.5/skins/lightgray/content.min.css
  53. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff
  54. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot
  55. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.svg
  56. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf
  57. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff
  58. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot
  59. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce.svg
  60. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf
  61. 0 0
      static/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff
  62. 0 0
      static/tinymce4.7.5/skins/lightgray/img/anchor.gif
  63. 0 0
      static/tinymce4.7.5/skins/lightgray/img/loader.gif
  64. 0 0
      static/tinymce4.7.5/skins/lightgray/img/object.gif
  65. 0 0
      static/tinymce4.7.5/skins/lightgray/img/trans.gif
  66. 0 0
      static/tinymce4.7.5/skins/lightgray/skin.min.css
  67. 0 0
      static/tinymce4.7.5/skins/lightgray/skin.min.css.map
  68. 0 0
      static/tinymce4.7.5/tinymce.min.js

+ 0 - 0
.travis.yml View File


+ 1 - 1
config/dev.env.js View File

@@ -6,7 +6,7 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9
-  BASE_API: '"http://localhost:9529"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com
9
+  BASE_API: '"http://api.xt.test.sgjyun.com"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com
10 10
   PATIENT_SIT: '"http://test1.sgjyun.com"',
11 11
   MIRCOMALL_SIT: '"http://mall.test.sgjyun.com"'
12 12
 }

+ 2 - 2
config/index.js View File

@@ -17,9 +17,9 @@ module.exports = {
17 17
     // can be overwritten by process.env.HOST
18 18
     // if you want dev by ip, please set host: '0.0.0.0'
19 19
 
20
-  //  host: 'xt.test.sgjyun.com',
20
+    host: 'xt.test.sgjyun.com',
21 21
     // host: 'xt.kuyicloud.com',
22
-    host: 'localhost',
22
+    // host: 'localhost',
23 23
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
24 24
     autoOpenBrowser: true,
25 25
     errorOverlay: true,

+ 11 - 0
src/api/print_data.js View File

@@ -0,0 +1,11 @@
1
+import request from "@/utils/request"
2
+
3
+export function GetBatchPrintDialysisData(sch_ids){
4
+    return request({
5
+        url: '/api/print/schedule/dialysis',
6
+        method: 'get',
7
+        params: {
8
+            ids: sch_ids,
9
+        },
10
+    })
11
+}

+ 0 - 0
src/components/ImageCropper/utils/data2blob.js View File


+ 0 - 0
src/components/ImageCropper/utils/effectRipple.js View File


+ 0 - 0
src/components/ImageCropper/utils/language.js View File


+ 0 - 0
src/components/ImageCropper/utils/mimes.js View File


+ 1 - 0
src/lang/en.js View File

@@ -110,6 +110,7 @@ export default {
110 110
     RescueRecord: "Rescue Record",
111 111
     special_permission_manage: "Special Permission Manage",
112 112
     schedule_print: "Print Schudule",
113
+    dialysis_batch_print: "Batch Print Order",
113 114
   },
114 115
   navbar: {
115 116
     logOut: 'Log Out',

+ 1 - 0
src/lang/zh.js View File

@@ -135,6 +135,7 @@ export default {
135 135
     RescueRecord: "抢救记录",
136 136
     special_permission_manage: "特殊权限管理",
137 137
     schedule_print: "排班打印",
138
+    dialysis_batch_print: "批量打印",
138 139
   },
139 140
   navbar: {
140 141
     logOut: '退出登录',

+ 18 - 2
src/router/index.js View File

@@ -336,7 +336,15 @@ export const xt_constantRouterMap = [
336 336
   //     // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
337 337
   //     // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
338 338
   //     { path: '/dialysis/watch', component: () => import('@/xt_pages/dialysis/bloodPresssWatch'), name: 'watch', meta: { title: 'watch' }},
339
-  //     { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }}
339
+  //     { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }},
340
+  //     {
341
+  //       path: '/dialysis/print/batch',
342
+  //       component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
343
+  //       hidden: true,
344
+  //       is_menu: false,
345
+  //       name: 'dialysis_batch_print',
346
+  //       meta: { title: 'dialysis_batch_print', noCache: true }
347
+  //     },
340 348
   //   ]
341 349
   // },
342 350
   // {
@@ -688,7 +696,15 @@ export const xt_asyncRouterMap = [
688 696
       // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
689 697
       // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
690 698
       { path: '/dialysis/watch', component: () => import('@/xt_pages/dialysis/bloodPresssWatch'), name: 'watch', meta: { title: 'watch' }},
691
-      { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }, is_menu: false,}
699
+      { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }, is_menu: false,},
700
+      {
701
+        path: '/dialysis/print/batch',
702
+        component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
703
+        hidden: true,
704
+        is_menu: false,
705
+        name: 'dialysis_batch_print',
706
+        meta: { title: 'dialysis_batch_print', noCache: true }
707
+      },
692 708
     ]
693 709
   },
694 710
   {

+ 2 - 0
src/store/getters.js View File

@@ -62,5 +62,7 @@ const getters = {
62 62
   observation_content: state => state.global_config.observation_content,
63 63
   units: state => state.global_config.units,
64 64
   good_unit:state => state.global_config.good_unit,
65
+
66
+  temp_params: state => state.temp_params
65 67
 }
66 68
 export default getters

+ 3 - 1
src/store/index.js View File

@@ -12,6 +12,7 @@ import global_config from './modules/globalConfig'
12 12
 
13 13
 import getters from './getters'
14 14
 import data from './modules/data'
15
+import temp_params from './modules/temp_params'
15 16
 
16 17
 Vue.use(Vuex)
17 18
 
@@ -26,7 +27,8 @@ const store = new Vuex.Store({
26 27
     data,
27 28
     xt_permission,
28 29
     xt_role_temps,
29
-    global_config
30
+    global_config,
31
+    temp_params,
30 32
   },
31 33
   getters
32 34
 })

+ 26 - 0
src/store/modules/temp_params.js View File

@@ -0,0 +1,26 @@
1
+const temp_params = {
2
+    state: {
3
+        batch_print_dialysis_record_ids: [],
4
+    },
5
+    mutations: {
6
+        SET_BATCH_PRINT_DIALYSIS_RECORD_IDS: (state, record_ids) => {
7
+            state.batch_print_dialysis_record_ids = record_ids == null || record_ids == undefined ? [] : record_ids;
8
+        }
9
+    },
10
+    actions: {
11
+        SetBatchPrintDialysisRecordIDs({commit, state}, record_ids) {
12
+            return new Promise((resolve, reject) => {
13
+                commit("SET_BATCH_PRINT_DIALYSIS_RECORD_IDS", record_ids)
14
+                resolve()
15
+            })
16
+        },
17
+        ClearBatchPrintDialysisRecordIDs({commit, state}) {
18
+            return new Promise((resolve, reject) => {
19
+                commit("SET_BATCH_PRINT_DIALYSIS_RECORD_IDS", null)
20
+                resolve()
21
+            })
22
+        }
23
+    },
24
+}
25
+
26
+export default temp_params

+ 1 - 0
src/xt_pages/data/druguseTemplate.vue View File

@@ -1168,6 +1168,7 @@
1168 1168
         this.drugdicFormVisible = true;
1169 1169
         this.dialogTitle = "新增医嘱模版";
1170 1170
         this.isEdit = false;
1171
+        this.form.name="";
1171 1172
       },
1172 1173
       cancelHandle(formName) {
1173 1174
         this.table_current_index = -1

+ 573 - 0
src/xt_pages/dialysis/batch_print/batch_print_order.vue View File

@@ -0,0 +1,573 @@
1
+<template>
2
+    <div class="app-container">
3
+        <el-row style="padding-bottom: 15px;">
4
+            <el-col :span="24">
5
+                <el-button type="primary" @click="printAction">打印</el-button>
6
+            </el-col>
7
+        </el-row>
8
+        <div id="print_content">
9
+            <div v-for="(record, index) in records" :key="index" class="print_page_main_content">
10
+                <div class="order_title">
11
+                    血液净化治疗记录单
12
+                </div>
13
+                <div class="row" style="margin-top: 15px;">
14
+                    <div class="inline_block">
15
+                        姓名:<div class="under_line" style="width: 120px;">{{ record.patient.name }}</div>
16
+                    </div>
17
+                    <div class="inline_block" style="margin-left: 20px;">
18
+                        性别:
19
+                        <check-box text="男" :checked="record.patient.gender == 1"></check-box>
20
+                        <check-box text="女" :checked="record.patient.gender == 2"></check-box>
21
+                    </div>
22
+                    <div class="inline_block" style="margin-left: 15px;">
23
+                        年龄:<div class="under_line" style="width: 50px;">TODO</div>岁
24
+                    </div>
25
+                    <div class="inline_block" style="float: right;">
26
+                        科室:
27
+                        <check-box text="门诊透析" :checked="false"></check-box>
28
+                        <check-box text="住院" :checked="true"></check-box>
29
+                        <!-- TODO -->
30
+                    </div>
31
+                </div>
32
+                <div class="row flex">
33
+                    <div class="inline_block">
34
+                        住院号/透析卡号:<div class="under_line" style="width: 100px;">TODO/{{ record.patient.dialysis_no }}</div>
35
+                    </div>
36
+                    <div class="inline_block">
37
+                        诊断:<div class="under_line" style="width: 500px;">TODO</div>
38
+                    </div>
39
+                    <div class="inline_block">
40
+                        治疗日期:<div class="under_line" style="width: 100px;">TODO</div>
41
+                    </div>
42
+                </div>
43
+                <div class="row">
44
+                    <table class="proj_table">
45
+                        <tbody>
46
+                            <tr>
47
+                                <td width="25px">
48
+                                    透<br/>前<br/>评<br/>估
49
+                                </td>
50
+                                <td>
51
+                                    <div class="row" style="padding: 2px 0;">
52
+                                        <div class="inline_block">
53
+                                            入院方式:
54
+                                            <check-box text="步行" :checked="isCheckBoxChecked(record.receive_assessment, 'way', 1)"></check-box>
55
+                                            <check-box text="扶行" :checked="isCheckBoxChecked(record.receive_assessment, 'way', 2)"></check-box>
56
+                                            <check-box text="轮椅" :checked="isCheckBoxChecked(record.receive_assessment, 'way', 3)"></check-box>
57
+                                            <check-box text="平车" :checked="isCheckBoxChecked(record.receive_assessment, 'way', 4)"></check-box>
58
+                                        </div>
59
+                                        <div class="inline_block" style="margin-left: 30px;">
60
+                                            意识:
61
+                                            <check-box text="清醒" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 1)"></check-box>
62
+                                            <check-box text="嗜睡" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 2)"></check-box>
63
+                                            <check-box text="昏迷" :checked="isCheckBoxChecked(record.receive_assessment, 'consciousness', 3)"></check-box>
64
+                                        </div>
65
+                                        <div class="inline_block" style="margin-left: 30px;">
66
+                                            体温:<div class="under_line" style="width: 60px;"></div>℃
67
+                                        </div>
68
+                                    </div>
69
+                                    <div class="row" style="padding: 2px 0;">
70
+                                        <div class="inline_block">
71
+                                            体位:
72
+                                            <check-box text="自动体位" :checked="false"></check-box>
73
+                                            <check-box text="平卧位" :checked="false"></check-box>
74
+                                            <check-box text="半卧位" :checked="false"></check-box>
75
+                                            <check-box text="端坐位" :checked="false"></check-box>
76
+                                            <check-box text="躁动不安" :checked="false"></check-box>
77
+                                        </div>
78
+                                    </div>
79
+                                    <div class="row" style="padding: 2px 0;">
80
+                                        <div class="inline_block">
81
+                                            出血:
82
+                                            <check-box text="无" :checked="false"></check-box>
83
+                                            <check-box text="有" :checked="false"></check-box>
84
+                                            (&nbsp;
85
+                                            <check-box text="穿刺点渗血" :checked="false"></check-box>
86
+                                            <check-box text="牙龈出血" :checked="false"></check-box>
87
+                                            <check-box text="消化道出血" :checked="false"></check-box>
88
+                                            <check-box text="女性经期" :checked="false"></check-box>
89
+                                            其他:<div class="under_line" style="width: 300px;"></div>
90
+                                            &nbsp;)
91
+                                        </div>
92
+                                    </div>
93
+                                    <div class="row" style="padding: 2px 0;">
94
+                                        <div class="inline_block">
95
+                                            血管通路:
96
+                                            <check-box text="自体内瘘" :checked="false"></check-box>
97
+                                            <check-box text="人造血管" :checked="false"></check-box>
98
+                                            <check-box text="直穿" :checked="false"></check-box>
99
+                                            <check-box text="颈内静脉" :checked="false"></check-box>
100
+                                            <check-box text="股静脉" :checked="false"></check-box>
101
+                                        </div>
102
+                                    </div>
103
+                                    <div class="row" style="padding: 2px 0;">
104
+                                        <div class="inline_block">
105
+                                            内瘘:
106
+                                            <check-box text="震颤" :checked="false"></check-box>
107
+                                            (&nbsp;
108
+                                            <check-box text="存在" :checked="false"></check-box>
109
+                                            <check-box text="减弱" :checked="false"></check-box>
110
+                                            <check-box text="无" :checked="false"></check-box>
111
+                                            <check-box text="股静脉" :checked="false"></check-box>
112
+                                            )
113
+                                            内瘘皮肤情况:(&nbsp;
114
+                                            <check-box text="正常" :checked="false"></check-box>
115
+                                            <check-box text="瘀斑" :checked="false"></check-box>
116
+                                            <check-box text="红" :checked="false"></check-box>
117
+                                            <check-box text="肿" :checked="false"></check-box>
118
+                                            )
119
+                                        </div>
120
+                                    </div>
121
+                                    <div class="row" style="padding: 2px 0;">
122
+                                        <div class="inline_block">
123
+                                            导管:穿刺口
124
+                                            (&nbsp;
125
+                                            <check-box text="干洁" :checked="false"></check-box>
126
+                                            <check-box text="红肿" :checked="false"></check-box>
127
+                                            <check-box text="分泌物" :checked="false"></check-box>
128
+                                            <check-box text="渗血" :checked="false"></check-box>
129
+                                            )
130
+                                            导管打折:(&nbsp;
131
+                                            <check-box text="有" :checked="false"></check-box>
132
+                                            <check-box text="无" :checked="false"></check-box>
133
+                                            )
134
+                                        </div>
135
+                                    </div>
136
+                                </td>
137
+                            </tr>
138
+                            <tr>
139
+                                <td width="25px">
140
+                                    透<br/>析<br/>处<br/>方
141
+                                </td>
142
+                                <td>
143
+                                    <div class="row" style="padding: 2px 0;">
144
+                                        <div class="inline_block">
145
+                                            透析时间:
146
+                                            <div class="under_line" style="width: 30px;"></div>h
147
+                                            <div class="under_line" style="width: 30px;"></div>min
148
+                                        </div>
149
+                                        <div class="inline_block" style="margin-left: 30px;">
150
+                                            血流量:
151
+                                            <div class="under_line" style="width: 50px;"></div>ml/min
152
+                                        </div>
153
+                                        <div class="inline_block" style="margin-left: 30px;">
154
+                                            体重:
155
+                                            透前 <div class="under_line" style="width: 50px;"></div>kg&nbsp;
156
+                                            干体重 <div class="under_line" style="width: 50px;"></div>kg
157
+                                        </div>
158
+                                        <div class="inline_block" style="margin-left: 30px;">
159
+                                            目标超滤量:
160
+                                            <div class="under_line" style="width: 80px;"></div>ml
161
+                                        </div>
162
+                                    </div>
163
+                                    <div class="row" style="padding: 2px 0;">
164
+                                        <div class="inline_block">
165
+                                            抗凝方式:
166
+                                            <check-box text="普通肝素" :checked="false"></check-box>(
167
+                                            首剂 <div class="under_line" style="width: 40px;"></div>mg&nbsp;
168
+                                            维持 <div class="under_line" style="width: 40px;"></div>mg/h
169
+                                            )
170
+
171
+                                            <check-box text="低分子肝素" :checked="false"></check-box>
172
+                                            <div class="under_line" style="width: 50px;"></div>UI
173
+
174
+                                            <check-box text="无肝素" :checked="false" style="margin-left: 10px;"></check-box>
175
+                                            其他方式:<div class="under_line" style="width: 170px;"></div>
176
+                                        </div>
177
+                                    </div>
178
+                                    <div class="row" style="padding: 2px 0;">
179
+                                        <div class="inline_block">
180
+                                            透析液配方:
181
+                                            <check-box text="常规" :checked="false"></check-box>
182
+                                            <check-box text="低钙" :checked="false"></check-box>(1.25mmol/L)&nbsp;
183
+                                            <check-box text="高钙" :checked="false"></check-box>(1.75mmol/L)&nbsp;
184
+                                            <check-box text="低钠" :checked="false"></check-box>(135mmol/L)&nbsp;
185
+                                            <check-box text="高钠" :checked="false"></check-box>(145mmol/L)&nbsp;
186
+                                        </div>
187
+                                    </div>
188
+                                    <div class="row" style="padding: 2px 0;">
189
+                                        <div class="inline_block">
190
+                                            置换量:
191
+                                            <div class="under_line" style="width: 40px;"></div> L
192
+                                        </div>
193
+                                        <div class="inline_block" style="margin-left: 10px;">
194
+                                            治疗方式:
195
+                                            <check-box text="HD" :checked="false"></check-box>
196
+                                            <check-box text="HDF" :checked="false"></check-box>
197
+                                            <check-box text="HF" :checked="false"></check-box>
198
+                                            <check-box text="HP" :checked="false"></check-box>
199
+                                            <check-box text="HD+HP" :checked="false"></check-box>
200
+                                            其他 <div class="under_line" style="width: 100px;"></div>
201
+                                        </div>
202
+                                        <div class="inline_block" style="margin-left: 10px;">
203
+                                            透析器/灌流器型号:
204
+                                            <div class="under_line" style="width: 130px;"></div>
205
+                                        </div>
206
+                                    </div>
207
+                                    <div class="row" style="padding: 2px 0;">
208
+                                        <div class="inline_block">
209
+                                            透析机号:
210
+                                            <div class="under_line" style="width: 150px;"></div>
211
+                                        </div>
212
+                                        <div class="inline_block" style="float: right;">
213
+                                            医生签名:
214
+                                            <div class="under_line" style="width: 100px;">
215
+                                                <img style="height: 20px;" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1552901663505&di=bf12bd343b552c6ccfb2ed12343a3141&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fe61190ef76c6a7ef7d58560df3faaf51f3de669b.jpg" />
216
+                                            </div>
217
+                                            &nbsp;上机护士:
218
+                                            <div class="under_line" style="width: 100px;"></div>
219
+                                        </div>
220
+                                    </div>
221
+                                </td>
222
+                            </tr>
223
+                            <tr>
224
+                                <td width="25px">
225
+                                    透<br/>析<br/>中<br/>记<br/>录
226
+                                </td>
227
+                                <td style="padding: 0;">
228
+                                    <table class="inside_table">
229
+                                        <thead>
230
+                                            <tr>
231
+                                                <td width="100">时间</td>
232
+                                                <td width="80">血压<br/>mmHg</td>
233
+                                                <td width="60">脉率<br/>次/分</td>
234
+                                                <td width="60">呼吸<br/>次/分</td>
235
+                                                <td width="60">血流量<br/>ml/min</td>
236
+                                                <td width="60">超滤量<br/>L</td>
237
+                                                <td width="60">置换量<br/>L</td>
238
+                                                <td width="60">静脉压<br/>mmHg</td>
239
+                                                <td width="60">跨膜压<br/>mmHg</td>
240
+                                                <td>备注</td>
241
+                                            </tr>
242
+                                        </thead>
243
+                                        <tbody>
244
+                                            <tr v-for="(monitor_record, index) in record.monitor_records" :key="index">
245
+                                                <td></td>
246
+                                                <td>100/80</td>
247
+                                                <td></td>
248
+                                                <td></td>
249
+                                                <td></td>
250
+                                                <td></td>
251
+                                                <td></td>
252
+                                                <td></td>
253
+                                                <td></td>
254
+                                                <td></td>
255
+                                            </tr>
256
+                                            <!-- 使整个表有7行以上 -->
257
+                                            <template v-if="record.monitor_records.length < 7">
258
+                                            <tr v-for="(num) in (7 - record.monitor_records.length)" :key="'7_' + num">
259
+                                                <td></td>
260
+                                                <td>/</td>
261
+                                                <td></td>
262
+                                                <td></td>
263
+                                                <td></td>
264
+                                                <td></td>
265
+                                                <td></td>
266
+                                                <td></td>
267
+                                                <td></td>
268
+                                                <td></td>
269
+                                            </tr>
270
+                                            </template>
271
+                                        </tbody>
272
+                                    </table>
273
+                                </td>
274
+                            </tr>
275
+                            <tr>
276
+                                <td width="25px">
277
+                                    透<br/>后<br/>评<br/>估
278
+                                </td>
279
+                                <td>
280
+                                    <div class="row" style="padding: 2px 0;">
281
+                                        <div class="inline_block">
282
+                                            实际治疗时间:
283
+                                            <div class="under_line" style="width: 30px;"></div>h
284
+                                            <div class="under_line" style="width: 30px;"></div>min
285
+                                        </div>
286
+                                        <div class="inline_block" style="margin-left: 25px;">
287
+                                            实际超滤量:
288
+                                            <div class="under_line" style="width: 50px;"></div>ml
289
+                                        </div>
290
+                                        <div class="inline_block" style="margin-left: 25px;">
291
+                                            透后体重:
292
+                                            <div class="under_line" style="width: 50px;"></div>kg
293
+                                        </div>
294
+                                        <div class="inline_block" style="margin-left: 25px;">
295
+                                            透析器凝血:
296
+                                            <check-box text="0级" :checked="false"></check-box>
297
+                                            <check-box text="Ⅰ级" :checked="false"></check-box>
298
+                                            <check-box text="Ⅱ级" :checked="false"></check-box>
299
+                                            <check-box text="Ⅲ级" :checked="false"></check-box>
300
+                                        </div>
301
+                                    </div>
302
+                                    <div class="row" style="padding: 2px 0;">
303
+                                        <div class="inline_block">
304
+                                            拔针后穿刺点渗血:
305
+                                            <check-box text="有" :checked="false"></check-box>
306
+                                            <check-box text="无" :checked="false"></check-box>
307
+                                        </div>
308
+                                        <div class="inline_block" style="margin-left: 40px;">
309
+                                            穿刺点血肿:
310
+                                            <check-box text="有" :checked="false"></check-box>
311
+                                            <check-box text="无" :checked="false"></check-box>
312
+                                        </div>
313
+                                        <div class="inline_block" style="margin-left: 40px;">
314
+                                            压迫后内瘘震颤:
315
+                                            <check-box text="存在" :checked="false"></check-box>
316
+                                            <check-box text="减弱" :checked="false"></check-box>
317
+                                            <check-box text="无" :checked="false"></check-box>
318
+                                        </div>
319
+                                    </div>
320
+                                    <div class="row" style="padding: 2px 0;">
321
+                                        <div class="inline_block">
322
+                                            并发症:
323
+                                            <check-box text="低血压" :checked="false"></check-box>
324
+                                            <check-box text="高血压" :checked="false"></check-box>
325
+                                            <check-box text="心律失常" :checked="false"></check-box>
326
+                                            <check-box text="头晕" :checked="false"></check-box>
327
+                                            <check-box text="头痛" :checked="false"></check-box>
328
+                                            <check-box text="呕吐" :checked="false"></check-box>
329
+                                            <check-box text="抽搐" :checked="false"></check-box>
330
+                                            <check-box text="出血" :checked="false"></check-box>
331
+                                            <check-box text="心衰" :checked="false"></check-box>
332
+                                            <check-box text="腹痛" :checked="false"></check-box>
333
+                                        </div>
334
+                                    </div>
335
+                                    <div class="row" style="padding: 2px 0;">
336
+                                        其他记录:<div class="under_line" style="width: 830px;"></div>
337
+                                    </div>
338
+                                    <div class="row" style="padding: 2px 0;"><!-- 同属“其他记录” -->
339
+                                        <div class="under_line" style="width: 900px;"></div>
340
+                                    </div>
341
+                                    <div class="row" style="padding: 2px 0;">
342
+                                        患者去向:
343
+                                        <check-box text="离院" :checked="false"></check-box>
344
+                                        <check-box text="留观" :checked="false"></check-box>
345
+                                        <check-box text="住院" :checked="false"></check-box>
346
+                                        (
347
+                                        科室 <div class="under_line" style="width: 200px;"></div>
348
+                                        交待病房护士/患者/陪人观察内容:
349
+                                        <check-box text="意识状态" :checked="false"></check-box>
350
+                                        <check-box text="生命体征" :checked="false"></check-box>
351
+                                    </div>
352
+                                    <!-- 接“交待病房护士/患者/陪人观察内容” -->
353
+                                    <div class="row" style="padding: 2px 0;">
354
+                                        <check-box text="内瘘搏动/渗血" :checked="false"></check-box>
355
+                                        <check-box text="导管固定/穿刺口渗血" :checked="false"></check-box>
356
+                                        <check-box text="动静脉直接穿刺口渗血/肢端循环情况" :checked="false"></check-box>
357
+                                        &nbsp;其他:
358
+                                        <div class="under_line" style="width: 290px;"></div>
359
+                                        )
360
+                                    </div>
361
+                                    <div class="row" style="padding: 2px 0;">
362
+                                        <div class="inline_block" style="float: left;">
363
+                                            当班责任(核对)护士:
364
+                                            <div class="under_line" style="width: 100px;">
365
+                                                哈护士
366
+                                            </div>
367
+                                        </div>
368
+                                        <div class="inline_block" style="float: right;">
369
+                                            下机护士:
370
+                                            <div class="under_line" style="width: 100px;">
371
+                                                <img style="height: 20px;" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1552901663505&di=bf12bd343b552c6ccfb2ed12343a3141&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2Fe61190ef76c6a7ef7d58560df3faaf51f3de669b.jpg" />
372
+                                            </div>
373
+                                        </div>
374
+                                    </div>
375
+                                </td>
376
+                            </tr>
377
+                            <tr>
378
+                                <td colspan="2" style="padding: 0;">
379
+                                    <table class="inside_table">
380
+                                        <thead>
381
+                                            <tr>
382
+                                                <td width="100">时间</td>
383
+                                                <td>医嘱内容</td>
384
+                                                <td width="120">医生签名</td>
385
+                                                <td width="120">执行护士</td>
386
+                                                <td width="100">执行时间</td>
387
+                                                <td width="120">核对护士</td>
388
+                                            </tr>
389
+                                        </thead>
390
+                                        <tbody>
391
+                                            <tr v-for="(advice, index) in record.advices" :key="index">
392
+                                                <td>&nbsp;</td>
393
+                                                <td></td>
394
+                                                <td></td>
395
+                                                <td></td>
396
+                                                <td></td>
397
+                                                <td></td>
398
+                                            </tr>
399
+                                            <!-- 使整个表有5行以上 -->
400
+                                            <template v-if="record.advices.length < 5">
401
+                                            <tr v-for="(num) in (5 - record.advices.length)" :key="'5_' + num">
402
+                                                <td>&nbsp;</td>
403
+                                                <td></td>
404
+                                                <td></td>
405
+                                                <td></td>
406
+                                                <td></td>
407
+                                                <td></td>
408
+                                            </tr>
409
+                                            </template>
410
+                                        </tbody>
411
+                                    </table>
412
+                                </td>
413
+                            </tr>
414
+                        </tbody>
415
+                    </table>
416
+                </div>
417
+                <div class="row">
418
+                    注:透析器凝血评价标准:“0 级” 无凝血或数条纤维束凝血,“Ⅰ 级” 少于10%纤维凝血,“Ⅱ 级” 少于50%纤维凝血,“Ⅲ 级” 大于50%纤维凝血。
419
+                </div>
420
+            </div>
421
+        </div>
422
+    </div>
423
+</template>
424
+
425
+<script>
426
+import CheckBox from "./option_check_box"
427
+import print from "print-js"
428
+import { GetBatchPrintDialysisData } from "@/api/print_data"
429
+
430
+export default {
431
+    name: "BatchPrintOrder",
432
+    components: {
433
+        CheckBox,
434
+    },
435
+    data() {
436
+        return {
437
+            records: [ // 模拟有多条数据
438
+                // { 
439
+                //     monitor_records: [ {},{},{},{},{},{},{},{},{},{},{}, ],
440
+                //     advices: [ {},{},{},{},{},{},{}, ],
441
+                // },
442
+                // { 
443
+                //     monitor_records: [],
444
+                //     advices: [],
445
+                // },
446
+            ],
447
+        }
448
+    },
449
+    mounted() {
450
+        var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids
451
+        if (ids.length == 0) {
452
+            this.$router.back(-1)
453
+            return
454
+        }
455
+        GetBatchPrintDialysisData(ids.join(",")).then(rs => {
456
+            var resp = rs.data
457
+            if (resp.state == 1) {
458
+                console.log(resp)
459
+                resp.data.schedules.forEach(schedule => {
460
+                    schedule.advices = []
461
+                });
462
+                this.records = this.records.concat(resp.data.schedules)
463
+            } else {
464
+                this.$message.error(resp.msg)
465
+            }
466
+        }).catch(err => {
467
+            this.$message.error(err)
468
+        })
469
+    },
470
+    methods: {
471
+        printAction: function() {
472
+            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; } .option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 14px; 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; padding: 0 0 0 0; page-break-after: always; } .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 { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .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: 10px 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: 8px 5px; line-height: 25px; } }';
473
+            
474
+            printJS({
475
+                printable: "print_content",
476
+                type: "html",
477
+                documentTitle: "  ",
478
+                style: style,
479
+                scanStyles: false,
480
+            });
481
+        },
482
+
483
+        // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
484
+        // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
485
+        isCheckBoxChecked: function(record, key, target_value) {
486
+            if (record == null || record == undefined) {
487
+                return false
488
+            } else {
489
+                return record[key] == target_value
490
+            }
491
+        }
492
+    },
493
+}
494
+</script>
495
+
496
+<style scoped>
497
+.print_page_main_content {
498
+    background-color: white;
499
+    width:960px; 
500
+    margin:0 auto 50px;
501
+    padding: 0 0 0 0;
502
+    page-break-after: always;
503
+}
504
+.print_page_main_content .order_title {
505
+    text-align: center;
506
+    font-size: 23px;
507
+    line-height: 50px;
508
+    font-weight: 500;
509
+}
510
+.row {
511
+    font-size: 14px;
512
+    line-height: 20px;
513
+    padding: 5px 0;
514
+}
515
+.inline_block {
516
+    display: inline-block;
517
+}
518
+.under_line {
519
+    display: inline-block;
520
+    border-bottom: 1px solid #999;
521
+    text-align: center;
522
+    white-space: nowrap; 
523
+}
524
+.under_line::before {
525
+    content: "\00A0";
526
+}
527
+.under_line::after {
528
+    content: "\00A0";
529
+}
530
+.flex {
531
+    display: -webkit-box;
532
+    display: -moz-box;
533
+    display: -ms-flexbox;
534
+    display: -webkit-flex;
535
+    display: flex;
536
+    align-items: center;
537
+    -webkit-align-items: center;
538
+    box-align: center;
539
+    -moz-box-align: center;
540
+    -webkit-box-align: center;
541
+    text-align: center;
542
+    -webkit-justify-content: space-between;
543
+    justify-content: space-between;
544
+    -moz-box-pack: space-between;
545
+    -webkit--moz-box-pack: space-between;
546
+    box-pack: space-between;
547
+}
548
+.print_page_main_content .proj_table {
549
+    width: 100%;
550
+    border: 1px solid;
551
+    border-collapse: collapse;
552
+    padding: 2px;
553
+}
554
+.print_page_main_content .proj_table tbody tr td {
555
+    border: 1px solid;
556
+    /* text-align: center; */
557
+    font-size: 16px;
558
+    padding: 10px 8px;
559
+    line-height: 30px;
560
+}
561
+.print_page_main_content .proj_table .inside_table {
562
+    width: 100%; 
563
+    border: hidden; /* 解决边框冲突 */
564
+    border-collapse: collapse;
565
+}
566
+.print_page_main_content .proj_table .inside_table tr td {
567
+    border: 1px solid;
568
+    text-align: center;
569
+    font-size: 14px;
570
+    padding: 8px 5px;
571
+    line-height: 25px;
572
+}
573
+</style>

+ 52 - 0
src/xt_pages/dialysis/batch_print/option_check_box.vue View File

@@ -0,0 +1,52 @@
1
+<template>
2
+    <label class="option_panel">
3
+        <span class="check_box_panel">
4
+            <span class="check_box" :class="{ 'did_checked': checked, }"></span>
5
+        </span>
6
+        <span>{{ text }}</span>
7
+    </label>
8
+</template>
9
+
10
+<script>
11
+export default {
12
+    name: "OptionCheckBox",
13
+    props: {
14
+        text: {
15
+            type: String,
16
+        },
17
+        checked: {
18
+            type: Boolean,
19
+            default: false,
20
+        }
21
+    }
22
+}
23
+</script>
24
+
25
+
26
+<style scoped>
27
+.option_panel {
28
+    margin: 0 5px 0 0;
29
+    /* font-size: 16px; */
30
+}
31
+.option_panel .check_box_panel {
32
+    white-space: nowrap; 
33
+    outline: none; 
34
+    display: inline-block; 
35
+    line-height: 1; 
36
+    position: relative; 
37
+    vertical-align: middle;
38
+}
39
+.option_panel .check_box_panel .check_box {
40
+    display: inline-block; 
41
+    position: relative; 
42
+    border: 1px solid #000; 
43
+    box-sizing: border-box; 
44
+    width: 14px; 
45
+    height: 14px; 
46
+    background-color: #fff;
47
+}
48
+.check_box_panel .did_checked::after {
49
+    content: "√";
50
+    font-size: 15px;
51
+}
52
+</style>

+ 414 - 438
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -3,132 +3,104 @@
3 3
     <!-- <div class="filter-container">
4 4
       <el-input style="width: 400px;" v-model="searchKey" class="filter-item"/>
5 5
       <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
6
-    </div> -->
6
+    </div>-->
7 7
     <div class="cell">
8
-      <label class="title"><span class="name">{{ search_mode == 1 ? "日期查询" : "病人查询" }}</span> : </label>
9
-      <el-date-picker v-show="search_mode == 1" v-model="time" prefix-icon="el-icon-date" @change="changeTime" :editable="false"
10
-                      style="width: 250px;" type="date" placeholder="选择日期时间" align="right"
11
-                      :picker-options="pickerOptions1" format="yyyy-MM-dd"
12
-                      value-format="timestamp"></el-date-picker>
13
-      <el-input v-show="search_mode == 2" v-model="patient_search_keyword" style="width: 250px;" placeholder="病人名字、透析号">
14
-        <el-button slot="append" style="background-color: #409EFF; color: white; border-radius: 0;" icon="el-icon-search" @click="searchPatientAction"></el-button>
8
+      <label class="title">
9
+        <span class="name">{{ search_mode == 1 ? "日期查询" : "病人查询" }}</span> :
10
+      </label>
11
+      <el-date-picker
12
+        v-show="search_mode == 1"
13
+        v-model="time"
14
+        prefix-icon="el-icon-date"
15
+        @change="changeTime"
16
+        :editable="false"
17
+        style="width: 250px;"
18
+        type="date"
19
+        placeholder="选择日期时间"
20
+        align="right"
21
+        :picker-options="pickerOptions1"
22
+        format="yyyy-MM-dd"
23
+        value-format="timestamp"
24
+      ></el-date-picker>
25
+      <el-input
26
+        v-show="search_mode == 2"
27
+        v-model="patient_search_keyword"
28
+        style="width: 250px;"
29
+        placeholder="病人名字、透析号"
30
+      >
31
+        <el-button
32
+          slot="append"
33
+          style="background-color: #409EFF; color: white; border-radius: 0;"
34
+          icon="el-icon-search"
35
+          @click="searchPatientAction"
36
+        ></el-button>
15 37
       </el-input>
16
-      <el-button type="primary" @click="changeSearchMode">{{ search_mode == 1 ? "改为病人查询" : "改为日期查询" }}</el-button>
38
+      <el-button
39
+        type="primary"
40
+        @click="changeSearchMode"
41
+      >{{ search_mode == 1 ? "改为病人查询" : "改为日期查询" }}</el-button>
42
+
43
+      <el-button type="primary" :disabled="selecting_schs.length == 0" @click="batchPrintAction">打印</el-button>
17 44
     </div>
18 45
     <div class="cell clearfix">
19
-      <label class="title"><span class="name">排班班次</span> : </label>
20
-      <div class="time ">
21
-        <ul class="">
22
-          <li :class="item.value==schedulType?'active':''" @click='selectSchedulType(item.value)'
23
-              v-for="item in schedulArr" :key="item.value">{{item.label}}
24
-          </li>
46
+      <label class="title">
47
+        <span class="name">排班班次</span> :
48
+      </label>
49
+      <div class="time">
50
+        <ul class>
51
+          <li
52
+            :class="item.value==schedulType?'active':''"
53
+            @click="selectSchedulType(item.value)"
54
+            v-for="item in schedulArr"
55
+            :key="item.value"
56
+          >{{item.label}}</li>
25 57
         </ul>
26 58
       </div>
27 59
     </div>
28
-    <!--<div class="cell clearfix">-->
29
-      <!--<label class="title"><span class="name">预警类型</span> : </label>-->
30
-      <!--<div class="time ">-->
31
-        <!--<ul class="">-->
32
-          <!--<li :class="item.id==partitionType?'active':''" @click='selectPartitionType(item.id)'-->
33
-              <!--v-for="item in warnArr" :key="item.id">{{item.label}}-->
34
-          <!--</li>-->
35
-        <!--</ul>-->
36
-      <!--</div>-->
37
-    <!--</div>-->
38
-    <!--<div class="cell clearfix">-->
39
-      <!--<label class="title"><span class="name">病人来源</span> : </label>-->
40
-      <!--<div class="time ">-->
41
-        <!--<ul class="">-->
42
-          <!--<li :class="item.id==partitionType?'active':''" @click='selectPartitionType(item.id)'-->
43
-              <!--v-for="item in sourceArr" :key="item.id">{{item.label}}-->
44
-          <!--</li>-->
45
-        <!--</ul>-->
46
-      <!--</div>-->
47
-    <!--</div>-->
48 60
     <div class="cell clearfix">
49
-      <label class="title"><span class="name">分区</span> : </label>
50
-      <div class="time ">
51
-        <ul class="">
52
-          <li :class="item.id==partitionType?'active':''" @click='selectPartitionType(item.id)'
53
-              v-for="item in partitionArr" :key="item.id">{{item.name}}
54
-          </li>
61
+      <label class="title">
62
+        <span class="name">分区</span> :
63
+      </label>
64
+      <div class="time">
65
+        <ul class>
66
+          <li
67
+            :class="item.id==partitionType?'active':''"
68
+            @click="selectPartitionType(item.id)"
69
+            v-for="item in partitionArr"
70
+            :key="item.id"
71
+          >{{item.name}}</li>
55 72
         </ul>
56 73
       </div>
57 74
     </div>
58 75
 
59
-
60 76
     <el-table
61 77
       :data="SchedualPatientsTableData"
62 78
       style="width: 100%"
63 79
       v-loading="loading"
64 80
       @current-change="clickCurrent"
65
-      >
66
-      <el-table-column
67
-        prop="number"
68
-        label="机号"
69
-        align="center"
70
-       >
71
-      </el-table-column>
72
-      <el-table-column 
73
-        label="排班日期"
74
-        prop="sch_time"
75
-        align="center"
76
-        width="120"
77
-      >
78
-      </el-table-column>
79
-      <el-table-column
80
-        prop="dialysis_no"
81
-        label="透析号"
82
-        align="center"
83
-
84
-     >
85
-      </el-table-column>
86
-      <el-table-column
87
-        prop="name"
88
-        label="姓名"
89
-        align="center"
90
-
91
-        >
92
-      </el-table-column>
93
-
94
-      <el-table-column
95
-        prop="mode_name"
96
-        label="透析模式"
97
-        align="center"
98
-
99
-        >
100
-      </el-table-column>
101
-
102
-      <el-table-column
103
-        prop="dialysis_before_weight"
104
-        label="透前体重 (kg)"
105
-        align="center"
106
-
107
-       >
108
-      </el-table-column>
109
-      <el-table-column
110
-        prop="dialysis_after_weight"
111
-        label="透后体重 (kg)"
112
-        align="center"
113
-
114
-      >
115
-      </el-table-column>
81
+      @selection-change="handleSelectionChange"
82
+    >
83
+      <el-table-column type="selection" width="45" align="center"></el-table-column>
84
+      <el-table-column prop="number" label="机号" align="center"></el-table-column>
85
+      <el-table-column label="排班日期" prop="sch_time" align="center" width="120"></el-table-column>
86
+      <el-table-column prop="dialysis_no" label="透析号" align="center"></el-table-column>
87
+      <el-table-column prop="name" label="姓名" align="center"></el-table-column>
88
+
89
+      <el-table-column prop="mode_name" label="透析模式" align="center"></el-table-column>
90
+
91
+      <el-table-column prop="dialysis_before_weight" label="透前体重 (kg)" align="center"></el-table-column>
92
+      <el-table-column prop="dialysis_after_weight" label="透后体重 (kg)" align="center"></el-table-column>
116 93
       <el-table-column label="透中血压">
117
-
118
-        <el-table-column v-for="(item, index) in labelArr" :key="index" :label="item" >
94
+        <el-table-column v-for="(item, index) in labelArr" :key="index" :label="item">
119 95
           <!-- 数据的遍历  scope.row就代表数据的每一个对象-->
120 96
           <template slot-scope="scope">
121 97
             <!--<span>{{scope.row.bp[index].value}}</span>-->
122 98
             <span>{{getValue(scope.row.bp[index])}}</span>
123
-
124 99
           </template>
125 100
         </el-table-column>
126
-
127 101
       </el-table-column>
128
-
129 102
     </el-table>
130 103
 
131
-
132 104
     <el-pagination
133 105
       @current-change="handleCurrentChange"
134 106
       :page-sizes="[10]"
@@ -136,379 +108,383 @@
136 108
       background
137 109
       style="margin-top:20px;"
138 110
       layout="total, sizes, prev, pager, next, jumper"
139
-      :total="total">
140
-    </el-pagination>
141
-
142
-
111
+      :total="total"
112
+    ></el-pagination>
143 113
   </div>
144
-
145 114
 </template>
146 115
 
147 116
 
148 117
 <script>
149
-  import {
150
-    getSchedualPatient,
151
-    GetAllZone,
152
-  } from "@/api/dialysis"
153
-  import { parseTime } from '@/utils'
154
-
155
-  export default {
156
-    name: "Patient",
157
-    data() {
158
-      return {
159
-        loading: false,
160
-        time: '',
161
-
162
-        search_mode: 1, // 搜索模式 1.日期搜索 2.病人搜索
163
-        patient_search_keyword: "",
164
-
165
-        // checkAll: false,
166
-        // isIndeterminate: true,
167
-        // wechatbindimg: "",
168
-        SchedualPatientsTableData:[],
169
-        active: true,
170
-        schedulType: 0,
171
-        schedulArr: [
172
-          {value: 0, label: "全部"},
173
-          {value: 1, label: "上午"},
174
-          {value: 2, label: "下午"},
175
-          {value: 3, label: "晚上"}
176
-        ],
177
-
178
-        partitionType: 0,
179
-        // sourceType: 0,
180
-        // sourceID: 0,
181
-        // lapsetoType: 0,
182
-        // sourceArr: [
183
-        //   {value: 0, label: "全部", source: 0, lapseto: 0},
184
-        //   {value: 1, label: "门诊", source: 0, lapseto: 0},
185
-        //   {value: 2, label: "住院", source: 0, lapseto: 0}
186
-        // ],
187
-
188
-        // warnArr: [
189
-        //   {value: 0, label: "全部", source: 0, lapseto: 0},
190
-        //   {value: 1, label: "正常", source: 0, lapseto: 0},
191
-        //   {value: 2, label: "异常", source: 0, lapseto: 0}
192
-        // ],
118
+import { getSchedualPatient, GetAllZone } from "@/api/dialysis";
119
+import { parseTime } from "@/utils";
120
+
121
+export default {
122
+  name: "Patient",
123
+  data() {
124
+    return {
125
+      loading: false,
126
+      time: "",
127
+
128
+      search_mode: 1, // 搜索模式 1.日期搜索 2.病人搜索
129
+      patient_search_keyword: "",
130
+
131
+      SchedualPatientsTableData: [],
132
+      active: true,
133
+      schedulType: 0,
134
+      schedulArr: [
135
+        { value: 0, label: "全部" },
136
+        { value: 1, label: "上午" },
137
+        { value: 2, label: "下午" },
138
+        { value: 3, label: "晚上" }
139
+      ],
140
+
141
+      partitionType: 0,
142
+
143
+      labelArr: ["第1次", "第2次", "第3次", "第4次", "第5次", "第6次", "第7次"],
144
+
145
+      pickerOptions1: {
146
+        shortcuts: [
147
+          {
148
+            text: "今天",
149
+            onClick(picker) {
150
+              picker.$emit("pick", new Date());
151
+            }
152
+          },
153
+          {
154
+            text: "昨天",
155
+            onClick(picker) {
156
+              const date = new Date();
157
+              date.setTime(date.getTime() - 3600 * 1000 * 24);
158
+              picker.$emit("pick", date);
159
+            }
160
+          },
161
+          {
162
+            text: "一周前",
163
+            onClick(picker) {
164
+              const date = new Date();
165
+              date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
166
+              picker.$emit("pick", date);
167
+            }
168
+          },
169
+          {
170
+            text: "清空",
171
+            onClick(picker) {
172
+              picker.$emit("pick");
173
+            }
174
+          }
175
+        ]
176
+      },
193 177
 
194
-        labelArr: ['第1次','第2次','第3次','第4次','第5次','第6次','第7次'],
178
+      total: 0,
179
+      listQuery: {
180
+        page: 1,
181
+        limit: 10,
182
+        schedul_type: 0,
183
+        partition_type: 0,
184
+        schedul_time: "",
185
+        keywords: ""
186
+      },
187
+      selecting_schs: [],
188
+      partitionArr: []
189
+    };
190
+  },
191
+  created() {
192
+    var date = new Date();
193
+    this.time = date;
194
+    var year = date.getFullYear();
195
+    var month = date.getMonth() + 1;
196
+    var day = date.getDate();
197
+    if (month < 10) {
198
+      month = "0" + month;
199
+    }
200
+    if (day < 10) {
201
+      day = "0" + day;
202
+    }
203
+    var nowDate = year + "-" + month + "-" + day;
204
+    var date = new Date(nowDate + " 00:00:00");
205
+    this.listQuery.schedul_time = date.getTime();
206
+    this.getAllZone();
207
+    this.getSchedualPatientList();
208
+  },
209
+  methods: {
210
+    clickCurrent(val) {
211
+      console.log(val);
212
+      this.$router.push({
213
+        path: "/dialysis/details",
214
+        query: { patient_id: val.patient_id, date: val.sch_time_int }
215
+      });
216
+    },
217
+    handleSelectionChange(val) {
218
+      this.selecting_schs = val;
219
+    },
195 220
 
196
-        // tableData: null,
197
-        pickerOptions1: {
198
-          shortcuts: [
199
-            {
200
-              text: "今天",
201
-              onClick(picker) {
202
-                picker.$emit("pick", new Date());
203
-              }
204
-            },
205
-            {
206
-              text: "昨天",
207
-              onClick(picker) {
208
-                const date = new Date();
209
-                date.setTime(date.getTime() - 3600 * 1000 * 24);
210
-                picker.$emit("pick", date);
211
-              }
212
-            },
213
-            {
214
-              text: "一周前",
215
-              onClick(picker) {
216
-                const date = new Date();
217
-                date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
218
-                picker.$emit("pick", date);
219
-              }
220
-            },
221
-            {
222
-              text: "清空",
223
-              onClick(picker) {
224
-                picker.$emit("pick");
225
-              }
226
-            }
227
-          ]
228
-        },
229
-        // searchKey: "",
230
-        total: 0,
231
-        listQuery: {
232
-          page: 1,
233
-          limit: 10,
234
-          schedul_type: 0,
235
-          partition_type: 0,
236
-          schedul_time: "",
237
-          keywords: "",
238
-        },
239
-        multipleSelection: [],
240
-        partitionArr: [],
241
-      };
221
+    selectSchedulType(scheduleType) {
222
+      // alert(scheduleType);/
223
+      this.schedulType = scheduleType;
224
+      this.listQuery.schedul_type = scheduleType;
225
+      this.getSchedualPatientList();
242 226
     },
243
-    created() {
244
-      var date = new Date()
245
-      this.time = date
246
-      var year = date.getFullYear()
247
-      var month = date.getMonth() + 1
248
-      var day = date.getDate()
249
-      if (month < 10) {
250
-        month = "0" + month
251
-      }
252
-      if (day < 10) {
253
-        day = "0" + day
254
-      }
255
-      var nowDate = year + "-" + month + "-" + day
256
-      var date = new Date(nowDate + " 00:00:00")
257
-      this.listQuery.schedul_time = date.getTime()
258
-      this.getAllZone()
227
+    selectPartitionType(partitionType) {
228
+      this.partitionType = partitionType;
229
+      this.listQuery.partition_type = partitionType;
259 230
       this.getSchedualPatientList();
260 231
     },
261
-    methods: {
262
-
263
-      clickCurrent(val){
264
-        console.log(val)
265
-        this.$router.push({ path: "/dialysis/details", query: {patient_id: val.patient_id, date: val.sch_time_int}})
266
-      },
267
-      handleSelectionChange(val) {
268
-        this.multipleSelection = val;
269
-        this.pageSelect = this.multipleSelection.length;
270
-      },
271 232
 
272
-      selectSchedulType(scheduleType) {
273
-        // alert(scheduleType);/
274
-        this.schedulType = scheduleType;
275
-        this.listQuery.schedul_type = scheduleType;
276
-        this.getSchedualPatientList();
277
-      },
278
-      selectPartitionType(partitionType) {
279
-        this.partitionType = partitionType;
280
-        this.listQuery.partition_type = partitionType;
281
-        this.getSchedualPatientList();
282
-      },
283
-
284
-      changeTime() {
285
-        console.log(this.time)
286
-        this.listQuery.schedul_time = this.time;
287
-        this.getSchedualPatientList();
288
-      },
289
-      // search() {
290
-      //   this.listQuery.keywords = this.searchKey;
291
-      //   this.getSchedualPatientList();
292
-      // },
293
-      // changeOtherSearch() {
294
-      //   this.getList();
295
-      // }, 
296
-      getAllZone: function () {
297
-        GetAllZone().then(response => {
298
-          if (response.data.state == 0) {
299
-            this.$message.error(response.data.msg);
300
-            return false;
301
-          } else {
302
-            this.partitionArr = response.data.data.zone
303
-            this.partitionArr.unshift({"id": 0, "name": '全部'})
304
-          }
305
-        });
306
-      }, 
307
-      getSchedualPatientList: function () {
308
-        this.loading = true
309
-        if (this.search_mode == 1) {
310
-          this.listQuery.keywords = ""
233
+    changeTime() {
234
+      console.log(this.time);
235
+      this.listQuery.schedul_time = this.time;
236
+      this.getSchedualPatientList();
237
+    },
238
+    getAllZone: function() {
239
+      GetAllZone().then(response => {
240
+        if (response.data.state == 0) {
241
+          this.$message.error(response.data.msg);
242
+          return false;
311 243
         } else {
312
-          this.listQuery.schedul_time = ""
244
+          this.partitionArr = response.data.data.zone;
245
+          this.partitionArr.unshift({ id: 0, name: "全部" });
313 246
         }
314
-        this.SchedualPatientsTableData = []
315
-        getSchedualPatient(this.listQuery).then(response => {
316
-          if (response.data.state == 0) {
317
-            this.loading = false
318
-            this.$message.error(response.data.msg);
319
-            return false;
320
-          } else {
321
-            this.loading = false
322
-            this.total =  response.data.data.total
323
-            // console.log(response.data.data)
324
-            for (let i = 0; i < response.data.data.schedule.length; i++) {
325
-              if (response.data.data.schedule[i].patient.id > 0) {
326
-                let SchedualPatientsTable = {
327
-                  bp: []
328
-                }
329
-
330
-                SchedualPatientsTable['sch_time_int'] = response.data.data.schedule[i].schedule_date
331
-                SchedualPatientsTable['sch_time'] = parseTime(response.data.data.schedule[i].schedule_date, "{y}-{m}-{d}")
332
-                SchedualPatientsTable['dialysis_no'] = response.data.data.schedule[i].patient.dialysis_no
333
-                SchedualPatientsTable['name'] = response.data.data.schedule[i].patient.name
334
-                SchedualPatientsTable['number'] = response.data.data.schedule[i].device_number.number
335
-                SchedualPatientsTable['gender'] = response.data.data.schedule[i].patient.gender
336
-                SchedualPatientsTable['source'] = response.data.data.schedule[i].patient.source
337
-                SchedualPatientsTable['patient_id'] = response.data.data.schedule[i].patient_id
338
-                SchedualPatientsTable['mode_name'] =  response.data.data.schedule[i].treatment_mode.name
339
-                if(response.data.data.schedule[i].assessment_before_dislysis.id > 0) {
340
-                  SchedualPatientsTable['dialysis_before_weight'] = response.data.data.schedule[i].assessment_before_dislysis.weight_before
341
-                }
342
-                if(response.data.data.schedule[i].assessment_after_dislysis.id > 0) {
343
-                  SchedualPatientsTable['dialysis_after_weight'] = response.data.data.schedule[i].assessment_after_dislysis.weight_after
344
-                }
345
-
346
-                SchedualPatientsTable.bp=[]
347
-                for (let a = 0; a < response.data.data.schedule[i].monitoring_record.length; a++) {
348
-                  let bp = {}
349
-                  bp['value'] = response.data.data.schedule[i].monitoring_record[a].systolic_blood_pressure.toString()
350
-                      +"/"+response.data.data.schedule[i].monitoring_record[a].diastolic_blood_pressure.toString()
351
-
352
-                  SchedualPatientsTable.bp.unshift(bp)
353
-                }
354
-
355
-                this.SchedualPatientsTableData.push(SchedualPatientsTable)
247
+      });
248
+    },
249
+    getSchedualPatientList: function() {
250
+      this.loading = true;
251
+      if (this.search_mode == 1) {
252
+        this.listQuery.keywords = "";
253
+      } else {
254
+        this.listQuery.schedul_time = "";
255
+      }
256
+      this.SchedualPatientsTableData = [];
257
+      getSchedualPatient(this.listQuery).then(response => {
258
+        if (response.data.state == 0) {
259
+          this.loading = false;
260
+          this.$message.error(response.data.msg);
261
+          return false;
262
+        } else {
263
+          this.loading = false;
264
+          this.total = response.data.data.total;
265
+          // console.log(response.data.data)
266
+          for (let i = 0; i < response.data.data.schedule.length; i++) {
267
+            if (response.data.data.schedule[i].patient.id > 0) {
268
+              let SchedualPatientsTable = {
269
+                bp: []
270
+              };
271
+
272
+              SchedualPatientsTable["sch_id"] = response.data.data.schedule[i].id
273
+              SchedualPatientsTable["sch_time_int"] =
274
+                response.data.data.schedule[i].schedule_date;
275
+              SchedualPatientsTable["sch_time"] = parseTime(
276
+                response.data.data.schedule[i].schedule_date,
277
+                "{y}-{m}-{d}"
278
+              );
279
+              SchedualPatientsTable["dialysis_no"] =
280
+                response.data.data.schedule[i].patient.dialysis_no;
281
+              SchedualPatientsTable["name"] =
282
+                response.data.data.schedule[i].patient.name;
283
+              SchedualPatientsTable["number"] =
284
+                response.data.data.schedule[i].device_number.number;
285
+              SchedualPatientsTable["gender"] =
286
+                response.data.data.schedule[i].patient.gender;
287
+              SchedualPatientsTable["source"] =
288
+                response.data.data.schedule[i].patient.source;
289
+              SchedualPatientsTable["patient_id"] =
290
+                response.data.data.schedule[i].patient_id;
291
+              SchedualPatientsTable["mode_name"] =
292
+                response.data.data.schedule[i].treatment_mode.name;
293
+              if (
294
+                response.data.data.schedule[i].assessment_before_dislysis.id > 0
295
+              ) {
296
+                SchedualPatientsTable["dialysis_before_weight"] =
297
+                  response.data.data.schedule[
298
+                    i
299
+                  ].assessment_before_dislysis.weight_before;
300
+              }
301
+              if (
302
+                response.data.data.schedule[i].assessment_after_dislysis.id > 0
303
+              ) {
304
+                SchedualPatientsTable["dialysis_after_weight"] =
305
+                  response.data.data.schedule[
306
+                    i
307
+                  ].assessment_after_dislysis.weight_after;
308
+              }
356 309
 
310
+              SchedualPatientsTable.bp = [];
311
+              for (
312
+                let a = 0;
313
+                a < response.data.data.schedule[i].monitoring_record.length;
314
+                a++
315
+              ) {
316
+                let bp = {};
317
+                bp["value"] =
318
+                  response.data.data.schedule[i].monitoring_record[
319
+                    a
320
+                  ].systolic_blood_pressure.toString() +
321
+                  "/" +
322
+                  response.data.data.schedule[i].monitoring_record[
323
+                    a
324
+                  ].diastolic_blood_pressure.toString();
325
+
326
+                SchedualPatientsTable.bp.unshift(bp);
357 327
               }
328
+
329
+              this.SchedualPatientsTableData.push(SchedualPatientsTable);
358 330
             }
359 331
           }
360
-        });
361
-
362
-
363
-      },getValue:function (val) {
364
-        if(val != undefined){
365
-          return val.value
366
-        }else{
367
-          return ''
368 332
         }
369
-      }, 
370
-      handleCurrentChange(val) {
371
-        this.listQuery.page = val;
372
-        this.getSchedualPatientList();
373
-      },
374
-      changeSearchMode: function() {
375
-        if (this.search_mode == 1) {
376
-          this.search_mode = 2
377
-        } else {
378
-          this.search_mode = 1
379
-        }
380
-      },
381
-      searchPatientAction: function() {
382
-        this.listQuery.keywords = this.patient_search_keyword
383
-        console.log(this.patient_search_keyword)
384
-        if (this.patient_search_keyword.length == 0) {
385
-          return
386
-        }
387
-        this.getSchedualPatientList()
388
-      },
389
-
390
-      //  components:{
391
-      //    pagiNation
392
-      //  }
333
+      });
334
+    },
335
+    getValue: function(val) {
336
+      if (val != undefined) {
337
+        return val.value;
338
+      } else {
339
+        return "";
340
+      }
341
+    },
342
+    handleCurrentChange(val) {
343
+      this.listQuery.page = val;
344
+      this.getSchedualPatientList();
345
+    },
346
+    changeSearchMode: function() {
347
+      if (this.search_mode == 1) {
348
+        this.search_mode = 2;
349
+      } else {
350
+        this.search_mode = 1;
351
+      }
352
+    },
353
+    searchPatientAction: function() {
354
+      this.listQuery.keywords = this.patient_search_keyword;
355
+      console.log(this.patient_search_keyword);
356
+      if (this.patient_search_keyword.length == 0) {
357
+        return;
358
+      }
359
+      this.getSchedualPatientList();
360
+    },
361
+    batchPrintAction: function() {
362
+      var sch_ids = []
363
+      for (let index = 0; index < this.selecting_schs.length; index++) {
364
+        sch_ids.push(this.selecting_schs[index].sch_id)
365
+      }
366
+      this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids)
367
+      this.$router.push({ path: "/dialysis/print/batch" });
393 368
     }
394 369
   }
370
+};
395 371
 </script>
396 372
 
397 373
 <style rel="stylesheet/scss" lang="scss" scoped>
398
-  .app-container {
399
-    // margin: 20px;
400
-    font-size: 15px;
401
-    .filter-container {
402
-      padding-bottom: 5px;
374
+.app-container {
375
+  // margin: 20px;
376
+  font-size: 15px;
377
+  .filter-container {
378
+    padding-bottom: 5px;
379
+  }
380
+  .search-component {
381
+    width: 500px;
382
+    .searchBox {
383
+      width: 300px;
384
+      height: 36px;
385
+      line-height: 36px;
386
+      padding-left: 15px;
387
+      border: 1px #dcdfe6 solid;
388
+      border-right: none;
389
+      outline: none;
390
+      float: left;
391
+      border-radius: 6px 0 0 6px;
392
+      font-size: 14px;
393
+      color: #333;
394
+      background: #fff;
395
+      box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
403 396
     }
404
-    .search-component {
405
-      width: 500px;
406
-      .searchBox {
407
-        width: 300px;
408
-        height: 36px;
409
-        line-height: 36px;
410
-        padding-left: 15px;
411
-        border: 1px #dcdfe6 solid;
412
-        border-right: none;
413
-        outline: none;
414
-        float: left;
415
-        border-radius: 6px 0 0 6px;
416
-        font-size: 14px;
417
-        color: #333;
418
-        background: #fff;
419
-        box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
420
-      }
421
-      .searchBtn {
422
-        background-color: #409eff;
423
-        color: #fff;
424
-        font-size: 15px;
425
-        text-align: center;
426
-        height: 36px;
427
-        line-height: 36px;
428
-        float: left;
429
-        outline: none;
430
-        width: 70px;
431
-        border: none;
432
-        border-radius: 0 6px 6px 0;
433
-        font-family: "Microsoft Yahei";
434
-        cursor: pointer;
435
-      }
397
+    .searchBtn {
398
+      background-color: #409eff;
399
+      color: #fff;
400
+      font-size: 15px;
401
+      text-align: center;
402
+      height: 36px;
403
+      line-height: 36px;
404
+      float: left;
405
+      outline: none;
406
+      width: 70px;
407
+      border: none;
408
+      border-radius: 0 6px 6px 0;
409
+      font-family: "Microsoft Yahei";
410
+      cursor: pointer;
436 411
     }
437
-    .cell {
438
-      margin: 0px 0 15px 0;
439
-      -moz-box-sizing: border-box;
440
-      -webkit-box-sizing: border-box;
441
-      -o-box-sizing: border-box;
442
-      -ms-box-sizing: border-box;
443
-      box-sizing: border-box;
444
-      display: -webkit-box;
445
-      display: -ms-flexbox;
446
-      // display: flex;
447
-      -webkit-box-align: flex-start;
448
-      -ms-flex-align: flex-start;
449
-      align-items: flex-start;
450
-      text-align: left;
451
-      justify-content: flex-start;
452
-      color: #333;
453
-      .title {
454
-        width: 80px;
412
+  }
413
+  .cell {
414
+    margin: 0px 0 15px 0;
415
+    -moz-box-sizing: border-box;
416
+    -webkit-box-sizing: border-box;
417
+    -o-box-sizing: border-box;
418
+    -ms-box-sizing: border-box;
419
+    box-sizing: border-box;
420
+    display: -webkit-box;
421
+    display: -ms-flexbox;
422
+    // display: flex;
423
+    -webkit-box-align: flex-start;
424
+    -ms-flex-align: flex-start;
425
+    align-items: flex-start;
426
+    text-align: left;
427
+    justify-content: flex-start;
428
+    color: #333;
429
+    .title {
430
+      width: 80px;
431
+      display: inline-block;
432
+      font-weight: normal;
433
+      color: #909399;
434
+      padding: 6px 0;
435
+      font-weight: 700;
436
+      .name {
437
+        width: 60px;
438
+        text-align: justify;
439
+        text-justify: distribute-all-lines;
440
+        text-align-last: justify;
441
+        -moz-text-align-last: justify;
442
+        -webkit-text-align-last: justify;
455 443
         display: inline-block;
456
-        font-weight: normal;
457
-        color: #909399;
458
-        padding: 6px 0;
459
-        font-weight: 700;
460
-        .name {
461
-          width: 60px;
462
-          text-align: justify;
463
-          text-justify: distribute-all-lines;
464
-          text-align-last: justify;
465
-          -moz-text-align-last: justify;
466
-          -webkit-text-align-last: justify;
467
-          display: inline-block;
468
-        }
469 444
       }
470
-      .time {
471
-        -webkit-box-flex: 1;
472
-        -ms-flex: 1;
473
-        flex: 1;
474
-        ul {
475
-          padding: 0;
476
-          margin: 0;
477
-          li {
478
-            float: left;
479
-            list-style: none;
480
-            cursor: pointer;
481
-            padding: 3px 0;
482
-            width: 70px;
483
-            color: #606266;
484
-            border-radius: 4px;
485
-            margin: 0 10px 0 0;
486
-            color: #409eff;
487
-            border: 1px #409eff solid;
488
-            text-align: center;
489
-            &:hover {
490
-              background: #409eff;
491
-              color: #fff;
492
-            }
493
-          }
494
-          .active {
445
+    }
446
+    .time {
447
+      -webkit-box-flex: 1;
448
+      -ms-flex: 1;
449
+      flex: 1;
450
+      ul {
451
+        padding: 0;
452
+        margin: 0;
453
+        li {
454
+          float: left;
455
+          list-style: none;
456
+          cursor: pointer;
457
+          padding: 3px 0;
458
+          width: 70px;
459
+          color: #606266;
460
+          border-radius: 4px;
461
+          margin: 0 10px 0 0;
462
+          color: #409eff;
463
+          border: 1px #409eff solid;
464
+          text-align: center;
465
+          &:hover {
495 466
             background: #409eff;
496 467
             color: #fff;
497 468
           }
498 469
         }
470
+        .active {
471
+          background: #409eff;
472
+          color: #fff;
473
+        }
499 474
       }
500 475
     }
501
-    .amount {
502
-      font-weight: normal;
503
-      padding: 10px 0 0 0;
504
-      color: #606266;
505
-      font-size: 14px;
506
-      span {
507
-        color: #ef2525;
508
-        font-family: "Arial";
509
-        padding: 0 2px;
510
-      }
476
+  }
477
+  .amount {
478
+    font-weight: normal;
479
+    padding: 10px 0 0 0;
480
+    color: #606266;
481
+    font-size: 14px;
482
+    span {
483
+      color: #ef2525;
484
+      font-family: "Arial";
485
+      padding: 0 2px;
511 486
     }
512 487
   }
488
+}
513 489
 </style>
514 490
 

+ 42 - 32
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -13,40 +13,42 @@
13 13
         </li> -->
14 14
         <li>
15 15
           <label>置换量 : </label>
16
-          <span class="content">{{ replacement_total }}</span>
17
-          <span class="unit">L</span>
16
+          <span class="content" v-if="replacement_total!='0'">{{replacement_total}}</span>
17
+          <span class="unit" v-if="replacement_total!='0'">L</span>
18 18
         </li>
19 19
         <li>
20 20
           <label>首剂 : </label>
21
-          <span class="content">{{ anticoagulant_shouji }}</span>
22
-          <span class="unit">mg</span>
21
+          <span class="content" v-if="anticoagulant_shouji!='0'">{{ anticoagulant_shouji }}</span>
22
+          <span class="unit" v-if="anticoagulant_shouji!='0'">mg</span>
23 23
         </li>
24 24
         <li>
25 25
           <label>钾 : </label>
26
-          <span class="content">{{ kalium }}</span>
27
-          <span class="unit">mmol/L</span>
26
+          <span class="content" v-if="kalium!='0'">{{ kalium }}</span>
27
+          <span class="unit" v-if="kalium!='0'">mmol/L</span>
28 28
         </li>
29 29
         <li>
30 30
           <label>碳酸氢盐 : </label>
31
-          <span class="content">{{ bicarbonate }}</span>
32
-          <span class="unit">mmol/l</span>
31
+          <span class="content" v-if="bicarbonate!='0'">{{ bicarbonate }}</span>
32
+          <span class="unit" v-if="bicarbonate!='0'">mmol/l</span>
33 33
         </li>
34 34
         <li>
35 35
           <label>透析液流量 : </label>
36
-          <span class="content">{{ dialysate_flow }}</span>
37
-          <span class="unit">ml/min</span>
36
+          <span class="content" v-if="dialysate_flow!='0'">{{ dialysate_flow }}</span>
37
+          <span class="unit" v-if="dialysate_flow!='0'">ml/min</span>
38 38
         </li>
39 39
       </ul>
40 40
       <ul>
41 41
         <li>
42 42
           <label>透析时长 : </label>
43
-          <span class="content">{{ dialysis_duration }}</span>
44
-          <span class="unit">h</span>
43
+          <span class="content" v-if="dialysis_duration_hour!='0'">{{ dialysis_duration_hour }}</span>
44
+          <span class="unit" v-if="dialysis_duration_hour!='0'">h</span>
45
+          <span class="content" v-if="dialysis_duration_minute!='0'">{{ dialysis_duration_minute }}</span>
46
+          <span class="unit" v-if="dialysis_duration_minute!='0'">min</span>
45 47
         </li>
46 48
         <li>
47 49
           <label>血流量 : </label>
48
-          <span class="content">{{ blood_flow_volume }}</span>
49
-          <span class="unit">ml/min</span>
50
+          <span class="content" v-if="blood_flow_volume!='0'">{{ blood_flow_volume }}</span>
51
+          <span class="unit" v-if="blood_flow_volume!='0'">ml/min</span>
50 52
         </li>
51 53
         <!-- <li>
52 54
           <label>置换方式 : </label>
@@ -54,23 +56,23 @@
54 56
         </li> -->
55 57
         <li>
56 58
           <label>维持 : </label>
57
-          <span class="content">{{ anticoagulant_weichi }}</span>
58
-          <span class="unit">mg/h</span>
59
+          <span class="content" v-if="anticoagulant_weichi!='0'">{{ anticoagulant_weichi }}</span>
60
+          <span class="unit" v-if="anticoagulant_weichi!='0'">mg/h</span>
59 61
         </li>
60 62
         <li>
61 63
           <label>钠 : </label>
62
-          <span class="content">{{ sodium }}</span>
63
-          <span class="unit">mmol/l</span>
64
+          <span class="content" v-if="sodium!='0'">{{ sodium }}</span>
65
+          <span class="unit" v-if="sodium!='0'">mmol/l</span>
64 66
         </li>
65 67
         <li>
66 68
           <label>葡萄糖 : </label>
67
-          <span class="content">{{ glucose }}</span>
68
-          <span class="unit">mmol/l</span>
69
+          <span class="content" v-if="glucose!='0'">{{ glucose }}</span>
70
+          <span class="unit" v-if="glucose!='0'">mmol/l</span>
69 71
         </li>
70 72
         <li>
71 73
           <label>透析液温度 : </label>
72
-          <span class="content">{{ dialysate_temperature }}</span>
73
-          <span class="unit">℃</span>
74
+          <span class="content" v-if="dialysate_temperature!='0'">{{ dialysate_temperature }}</span>
75
+          <span class="unit" v-if="dialysate_temperature!='0'">℃</span>
74 76
         </li>
75 77
       </ul>
76 78
       <ul>
@@ -80,8 +82,8 @@
80 82
         </li> -->
81 83
         <li>
82 84
           <label>脱水量 : </label>
83
-          <span class="content">{{ prescription_dewatering }}</span>
84
-          <span class="unit">L</span>
85
+          <span class="content" v-if="prescription_dewatering!='0'">{{ prescription_dewatering }}</span>
86
+          <span class="unit" v-if="prescription_dewatering!='0'">L</span>
85 87
         </li>
86 88
         <li>
87 89
           <label>抗疑剂 : </label>
@@ -89,23 +91,23 @@
89 91
         </li>
90 92
         <li>
91 93
           <label>总量: </label>
92
-          <span class="content">{{ anticoagulant_zongliang }}</span>
93
-          <span class="unit">mg</span>
94
+          <span class="content" v-if="anticoagulant_zongliang!='0'">{{ anticoagulant_zongliang }}</span>
95
+          <span class="unit" v-if="anticoagulant_zongliang!='0'">mg</span>
94 96
         </li>
95 97
         <li>
96 98
           <label>钙: </label>
97
-          <span class="content">{{ calcium }}</span>
98
-          <span class="unit">mmol/l</span>
99
+          <span class="content" v-if="calcium!='0'">{{ calcium }}</span>
100
+          <span class="unit" v-if="calcium!='0'">mmol/l</span>
99 101
         </li>
100 102
         <li>
101 103
           <label>干体重 : </label>
102
-          <span class="content">{{ dry_weight }}</span>
103
-          <span class="unit">kg</span>
104
+          <span class="content" v-if="dry_weight!='0'">{{ dry_weight }}</span>
105
+          <span class="unit" v-if="dry_weight!='0'">kg</span>
104 106
         </li>
105 107
         <li>
106 108
           <label>电导率 : </label>
107
-          <span class="content">{{ conductivity }}</span>
108
-          <span class="unit">mS/cm</span>
109
+          <span class="content" v-if="conductivity!='0'">{{ conductivity }}</span>
110
+          <span class="unit" v-if="conductivity!='0'">mS/cm</span>
109 111
         </li>
110 112
 
111 113
         <li>
@@ -188,6 +190,14 @@ export default {
188 190
       var v = this.getValueStr("dialysis_duration", "dialysis_duration")
189 191
       return v.length == 0 ? "0" : v
190 192
     },
193
+    dialysis_duration_hour:function(){
194
+      var v = this.getValueStr("dialysis_duration_hour", "dialysis_duration_hour")
195
+      return v.length == 0 ? "0" : v
196
+    },
197
+    dialysis_duration_minute:function(){
198
+      var v = this.getValueStr("dialysis_duration_minute", "dialysis_duration_minute")
199
+      return v.length == 0 ? "0" : v
200
+    },
191 201
     blood_flow_volume: function() {
192 202
       var v = this.getValueStr("blood_flow_volume", "blood_flow_volume")
193 203
       return v.length == 0 ? "0" : v

+ 19 - 18
src/xt_pages/dialysis/details/assessmentAfter.vue View File

@@ -5,18 +5,18 @@
5 5
       <ul>
6 6
         <li>
7 7
           <label>透后体重 : </label>
8
-          <span class="content">{{ weight_after }}</span>
9
-          <span class="unit">kg</span>
8
+          <span class="content" v-if="weight_after!='0'">{{ weight_after }}</span>
9
+          <span class="unit" v-if="weight_after!='0'">kg</span>
10 10
         </li>
11 11
         <li>
12 12
           <label>收缩压 : </label>
13
-          <span class="content">{{ systolic_blood_pressure }}</span>
14
-          <span class="unit">mmhg</span>
13
+          <span class="content" v-if="systolic_blood_pressure!='0'">{{ systolic_blood_pressure }}</span>
14
+          <span class="unit" v-if="systolic_blood_pressure!='0'">mmhg</span>
15 15
         </li>
16 16
         <li>
17 17
           <label>实际超滤量: </label>
18
-          <span class="content">{{ actual_ultrafiltration }}</span>
19
-          <span class="unit">ml</span>
18
+          <span class="content" v-if="actual_ultrafiltration!='0'">{{ actual_ultrafiltration }}</span>
19
+          <span class="unit" v-if="actual_ultrafiltration!='0'">ml</span>
20 20
         </li>
21 21
         <li>
22 22
           <label>疑血 : </label>
@@ -46,18 +46,18 @@
46 46
       <ul>
47 47
         <li>
48 48
           <label>体重减少 : </label>
49
-          <span class="content">{{ weight_loss }}</span>
50
-          <span class="unit">kg</span>
49
+          <span class="content"  v-if="weight_loss!='0'">{{ weight_loss }}</span>
50
+          <span class="unit" v-if="weight_loss!='0'">kg</span>
51 51
         </li>
52 52
         <li>
53 53
           <label>舒张压 : </label>
54
-          <span class="content">{{ diastolic_blood_pressure }}</span>
55
-          <span class="unit">mmhg</span>
54
+          <span class="content" v-if="diastolic_blood_pressure!='0'">{{ diastolic_blood_pressure }}</span>
55
+          <span class="unit" v-if="diastolic_blood_pressure!='0'">mmhg</span>
56 56
         </li>
57 57
         <li>
58 58
           <label>实际置换量 : </label>
59
-          <span class="content">{{ actual_displacement }}</span>
60
-          <span class="unit">ml</span>
59
+          <span class="content" v-if="actual_displacement!='0'">{{ actual_displacement }}</span>
60
+          <span class="unit" v-if="actual_displacement!='0'">ml</span>
61 61
         </li>
62 62
         <li>
63 63
           <label>透后症状 : </label>
@@ -84,21 +84,22 @@
84 84
       <ul>
85 85
         <li>
86 86
           <label>体温 : </label>
87
-          <span class="content">{{ temperature }}</span>
88
-          <span class="unit">℃</span>
87
+          <span class="content" v-if="temperature!='0'">{{ temperature }}</span>
88
+          <span class="unit" v-if="temperature!='0'">℃</span>
89 89
         </li>
90 90
         <li>
91 91
           <label>脉率 : </label>
92
-          <span class="content">{{ pulse_frequency }}</span>
93
-          <span class="unit">次/分</span>
92
+          <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
93
+          <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
94 94
         </li>
95 95
         <li>
96 96
           <label>实际治疗时长 : </label>
97
-          <span class="content">{{ actual_treatment_hour }}时{{ actual_treatment_minute }}分</span>
97
+          <span class="content" v-if="actual_treatment_hour!='0'">{{ actual_treatment_hour }}时</span>
98
+          <span class="content" v-if="actual_treatment_minute!='0'">{{ actual_treatment_minute }}分</span>
98 99
         </li>
99 100
         <li>
100 101
           <label>透析中入量: </label>
101
-          <span class="content">{{ dialysis_intakes_feed }}</span>
102
+          <span class="content" v-if="dialysis_intakes_feed!='0'">{{ dialysis_intakes_feed }}</span>
102 103
         </li>
103 104
         <li>
104 105
           <label>血管通路操作: </label>

+ 16 - 16
src/xt_pages/dialysis/details/assessmentBefore.vue View File

@@ -5,18 +5,18 @@
5 5
       <ul>
6 6
         <li>
7 7
           <label>透前体重 : </label>
8
-          <span class="content">{{ weight_before }}</span>
9
-          <span class="unit">kg</span>
8
+          <span class="content" v-if="weight_before!='0'">{{ weight_before }}</span>
9
+          <span class="unit" v-if="weight_before!='0'">kg</span>
10 10
         </li>
11 11
         <li>
12 12
           <label>收缩压 : </label>
13
-          <span class="content">{{ systolic_blood_pressure }}</span>
14
-          <span class="unit">mmhg</span>
13
+          <span class="content" v-if="systolic_blood_pressure!='0'">{{ systolic_blood_pressure }}</span>
14
+          <span class="unit" v-if="systolic_blood_pressure!='0'">mmhg</span>
15 15
         </li>
16 16
         <li>
17 17
           <label>前次透析后: </label>
18
-          <span class="content">{{ last_post_dialysis }}</span>
19
-          <span class="unit"></span>
18
+          <span class="content" v-if="last_post_dialysis!='0'">{{ last_post_dialysis }}</span>
19
+          <span class="unit" v-if="last_post_dialysis!='0'"></span>
20 20
         </li>
21 21
         <li>
22 22
           <label>导管 : </label>
@@ -27,18 +27,18 @@
27 27
       <ul>
28 28
         <li>
29 29
           <label>干体重 : </label>
30
-          <span class="content">{{ dry_weight }}</span>
31
-          <span class="unit">kg</span>
30
+          <span class="content" v-if="dry_weight!='0'">{{ dry_weight }}</span>
31
+          <span class="unit" v-if="dry_weight!='0'">kg</span>
32 32
         </li>
33 33
         <li>
34 34
           <label>舒张压 : </label>
35
-          <span class="content">{{ diastolic_blood_pressure }}</span>
36
-          <span class="unit">mmhg</span>
35
+          <span class="content" v-if="diastolic_blood_pressure!='0'">{{ diastolic_blood_pressure }}</span>
36
+          <span class="unit" v-if="diastolic_blood_pressure!='0'">mmhg</span>
37 37
         </li>
38 38
         <li>
39 39
           <label>透析期间 : </label>
40
-          <span class="content">{{ dialysis_interphase }}</span>
41
-          <span class="unit"></span>
40
+          <span class="content" v-if="dialysis_interphase!='0'">{{ dialysis_interphase }}</span>
41
+          <span class="unit" v-if="dialysis_interphase!='0'"></span>
42 42
         </li>
43 43
         <li>
44 44
           <label>合并症: </label>
@@ -49,13 +49,13 @@
49 49
       <ul>
50 50
         <li>
51 51
           <label>体温 : </label>
52
-          <span class="content">{{ temperature }}</span>
53
-          <span class="unit">℃</span>
52
+          <span class="content" v-if="temperature!='0'">{{ temperature }}</span>
53
+          <span class="unit" v-if="temperature!='0'">℃</span>
54 54
         </li>
55 55
         <li>
56 56
           <label>心率 : </label>
57
-          <span class="content">{{ pulse_frequency }}</span>
58
-          <span class="unit">次/分</span>
57
+          <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
58
+          <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
59 59
         </li>
60 60
         <li>
61 61
           <label>透析前症状 : </label>

+ 28 - 3
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -318,13 +318,38 @@ export default {
318 318
           }
319 319
           if(this.assessment_after_dislysis['internal_fistula_tremor_ac'] == 0){
320 320
             this.form['internal_fistula_tremor_ac'] = ''
321
-
322 321
           }
323 322
           if(this.assessment_after_dislysis['patient_gose'] == 0){
324 323
             this.form['patient_gose'] = ''
325
-
326
-
327 324
           }
325
+          if(this.assessment_after_dislysis['weight_after'] == 0){
326
+            this.form['weight_after'] = ''
327
+          }
328
+          if(this.assessment_after_dislysis['weight_loss'] == 0){
329
+            this.form['weight_loss'] = ''
330
+          }
331
+          if(this.assessment_after_dislysis['temperature'] == 0){
332
+            this.form['temperature'] = ''
333
+          }
334
+          if(this.assessment_after_dislysis['systolic_blood_pressure'] == 0){
335
+            this.form['systolic_blood_pressure'] = ''
336
+          }
337
+          if(this.assessment_after_dislysis['diastolic_blood_pressure'] == 0){
338
+            this.form['diastolic_blood_pressure'] = ''
339
+          }
340
+          if(this.assessment_after_dislysis['pulse_frequency'] == 0){
341
+            this.form['pulse_frequency'] = ''
342
+          }
343
+          if(this.assessment_after_dislysis['actual_ultrafiltration'] == 0){
344
+            this.form['actual_ultrafiltration'] = ''
345
+          }
346
+          if(this.assessment_after_dislysis['actual_displacement'] == 0){
347
+            this.form['actual_displacement'] = ''
348
+          }
349
+          if(this.assessment_after_dislysis['dialysis_intakes'] == 0){
350
+            this.form['dialysis_intakes'] = ''
351
+          }
352
+          this.actualTreatmentHourShow = new Date(2018, 1, 1, this.assessment_after_dislysis['actual_treatment_hour'], this.assessment_after_dislysis['actual_treatment_minute'])
328 353
 
329 354
         }
330 355
     },

+ 3 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

@@ -857,11 +857,11 @@
857 857
             "{y}-{m}-{d} {h}:{i}:{s}"
858 858
           ),
859 859
           advice_name: row.advice_name,
860
-          drug_spec: '' + row.drug_spec,
860
+          drug_spec: row.drug_spec!=0 ? '' + row.drug_spec : '',
861 861
           drug_spec_unit: row.drug_spec_unit,
862
-          single_dose: '' + row.single_dose,
862
+          single_dose: row.single_dose!=0 ? '' + row.single_dose : '',
863 863
           single_dose_unit: row.single_dose_unit,
864
-          prescribing_number: '' + row.prescribing_number,
864
+          prescribing_number: row.prescribing_number!=0 ? '' + row.prescribing_number : '',
865 865
           prescribing_number_unit: row.prescribing_number_unit,
866 866
           delivery_way: row.delivery_way,
867 867
           execution_frequency: row.execution_frequency,

+ 3 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -821,11 +821,11 @@
821 821
           this.nameForm = {
822 822
             advice_name: this.groupSelectRow.advice_name,
823 823
             advice_desc: this.groupSelectRow.advice_desc,
824
-            single_dose: this.groupSelectRow.single_dose,
824
+            single_dose: this.groupSelectRow.single_dose!=0?this.groupSelectRow.single_dose:'',
825 825
             single_dose_unit: this.groupSelectRow.single_dose_unit,
826
-            drug_spec: this.groupSelectRow.drug_spec,
826
+            drug_spec: this.groupSelectRow.drug_spec!=0?this.groupSelectRow.drug_spec:'',
827 827
             drug_spec_unit: this.groupSelectRow.drug_spec_unit,
828
-            prescribing_number: this.groupSelectRow.prescribing_number,
828
+            prescribing_number: this.groupSelectRow.prescribing_number!=0?this.groupSelectRow.prescribing_number:'',
829 829
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
830 830
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
831 831
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,

+ 3 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue View File

@@ -1049,11 +1049,11 @@
1049 1049
           this.nameForm = {
1050 1050
             advice_name: this.groupSelectRow.advice_name,
1051 1051
             advice_desc: this.groupSelectRow.advice_desc,
1052
-            single_dose: this.groupSelectRow.single_dose,
1052
+            single_dose: this.groupSelectRow.single_dose!=0? this.groupSelectRow.single_dose:'',
1053 1053
             single_dose_unit: this.groupSelectRow.single_dose_unit,
1054
-            drug_spec: this.groupSelectRow.drug_spec,
1054
+            drug_spec: this.groupSelectRow.drug_spec!=0? this.groupSelectRow.drug_spec:'',
1055 1055
             drug_spec_unit: this.groupSelectRow.drug_spec_unit,
1056
-            prescribing_number: this.groupSelectRow.prescribing_number,
1056
+            prescribing_number: this.groupSelectRow.prescribing_number!=0? this.groupSelectRow.prescribing_number:'',
1057 1057
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
1058 1058
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
1059 1059
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,

+ 21 - 4
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -489,15 +489,11 @@
489 489
             this.assessmentBeforeDislysis['catheter_bend'] = ''
490 490
           }else{
491 491
             this.assessmentBeforeDislysis['catheter_bend']  = this.predialysis_evaluation['catheter_bend']+''
492
-
493
-
494 492
           }
495 493
           if(this.predialysis_evaluation['is_hemorrhage'] == 0){
496 494
             this.assessmentBeforeDislysis['is_hemorrhage'] = ''
497 495
           }else{
498
-
499 496
             this.assessmentBeforeDislysis['is_hemorrhage']  = this.predialysis_evaluation['is_hemorrhage']+''
500
-
501 497
           }
502 498
           if(this.predialysis_evaluation['blood_access_part_id'] == 0){
503 499
             this.assessmentBeforeDislysis['blood_access_part_id'] = ''
@@ -505,6 +501,27 @@
505 501
           if(this.predialysis_evaluation['blood_access_part_opera_id'] == 0){
506 502
             this.assessmentBeforeDislysis['blood_access_part_opera_id'] = ''
507 503
           }
504
+          if(this.predialysis_evaluation['weight_before'] == 0){
505
+            this.assessmentBeforeDislysis['weight_before'] = ''
506
+          }
507
+          if(this.predialysis_evaluation['dry_weight'] == 0){
508
+            this.assessmentBeforeDislysis['dry_weight'] = ''
509
+          }
510
+          if(this.predialysis_evaluation['temperature'] == 0){
511
+            this.assessmentBeforeDislysis['temperature'] = ''
512
+          }
513
+          if(this.predialysis_evaluation['systolic_blood_pressure'] == 0){
514
+            this.assessmentBeforeDislysis['systolic_blood_pressure'] = ''
515
+          }
516
+          if(this.predialysis_evaluation['diastolic_blood_pressure'] == 0){
517
+            this.assessmentBeforeDislysis['diastolic_blood_pressure'] = ''
518
+          }
519
+          if(this.predialysis_evaluation['pulse_frequency'] == 0){
520
+            this.assessmentBeforeDislysis['pulse_frequency'] = ''
521
+          }
522
+          if(this.predialysis_evaluation['pulse_frequency'] == 0){
523
+            this.assessmentBeforeDislysis['pulse_frequency'] = ''
524
+          }
508 525
         }
509 526
       },
510 527
     }

+ 157 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -513,6 +513,59 @@
513 513
           //
514 514
           // }
515 515
 
516
+          
517
+          if(this.prescription['dialysis_duration_hour'] == 0){
518
+            this.dialysisPrescription['dialysis_duration_hour'] = ''
519
+          }
520
+          if(this.prescription['dialysis_duration_minute'] == 0){
521
+            this.dialysisPrescription['dialysis_duration_minute'] = ''
522
+          }
523
+          if(this.prescription['blood_flow_volume'] == 0){
524
+            this.dialysisPrescription['blood_flow_volume'] = ''
525
+          }
526
+          if(this.prescription['target_ultrafiltration'] == 0){
527
+            this.dialysisPrescription['target_ultrafiltration'] = ''
528
+          }
529
+          if(this.prescription['dialysate_temperature'] == 0){
530
+            this.dialysisPrescription['dialysate_temperature'] = ''
531
+          }
532
+          if(this.prescription['anticoagulant_shouji'] == 0){
533
+            this.dialysisPrescription['anticoagulant_shouji'] = ''
534
+          }
535
+          if(this.prescription['anticoagulant_weichi'] == 0){
536
+            this.dialysisPrescription['anticoagulant_weichi'] = ''
537
+          }
538
+          if(this.prescription['anticoagulant_zongliang'] == 0){
539
+            this.dialysisPrescription['anticoagulant_zongliang'] = ''
540
+          }
541
+          if(this.prescription['anticoagulant_gaijiliang'] == 0){
542
+            this.dialysisPrescription['anticoagulant_gaijiliang'] = ''
543
+          }
544
+          if(this.prescription['kalium'] == 0){
545
+            this.dialysisPrescription['kalium'] = ''
546
+          }
547
+          if(this.prescription['sodium'] == 0){
548
+            this.dialysisPrescription['sodium'] = ''
549
+          }
550
+          if(this.prescription['calcium'] == 0){
551
+            this.dialysisPrescription['calcium'] = ''
552
+          }
553
+          if(this.prescription['bicarbonate'] == 0){
554
+            this.dialysisPrescription['bicarbonate'] = ''
555
+          }
556
+          if(this.prescription['glucose'] == 0){
557
+            this.dialysisPrescription['glucose'] = ''
558
+          }
559
+          if(this.prescription['dialysate_flow'] == 0){
560
+            this.dialysisPrescription['dialysate_flow'] = ''
561
+          }
562
+          if(this.prescription['conductivity'] == 0){
563
+            this.dialysisPrescription['conductivity'] = ''
564
+          }
565
+          if(this.prescription['replacement_total'] == 0){
566
+            this.dialysisPrescription['replacement_total'] = ''
567
+          }
568
+
516 569
         }
517 570
       },
518 571
       "solution.id": function () {
@@ -539,6 +592,58 @@
539 592
             //   this.dialysisPrescription['anticoagulant']  = this.prescription['anticoagulant']+''
540 593
             //
541 594
             // }
595
+            
596
+            if(this.prescription['dialysis_duration_hour'] == 0){
597
+              this.dialysisPrescription['dialysis_duration_hour'] = ''
598
+            }
599
+            if(this.prescription['dialysis_duration_minute'] == 0){
600
+              this.dialysisPrescription['dialysis_duration_minute'] = ''
601
+            }
602
+            if(this.prescription['blood_flow_volume'] == 0){
603
+              this.dialysisPrescription['blood_flow_volume'] = ''
604
+            }
605
+            if(this.prescription['target_ultrafiltration'] == 0){
606
+              this.dialysisPrescription['target_ultrafiltration'] = ''
607
+            }
608
+            if(this.prescription['dialysate_temperature'] == 0){
609
+              this.dialysisPrescription['dialysate_temperature'] = ''
610
+            }
611
+            if(this.prescription['anticoagulant_shouji'] == 0){
612
+              this.dialysisPrescription['anticoagulant_shouji'] = ''
613
+            }
614
+            if(this.prescription['anticoagulant_weichi'] == 0){
615
+              this.dialysisPrescription['anticoagulant_weichi'] = ''
616
+            }
617
+            if(this.prescription['anticoagulant_zongliang'] == 0){
618
+              this.dialysisPrescription['anticoagulant_zongliang'] = ''
619
+            }
620
+            if(this.prescription['anticoagulant_gaijiliang'] == 0){
621
+              this.dialysisPrescription['anticoagulant_gaijiliang'] = ''
622
+            }
623
+            if(this.prescription['kalium'] == 0){
624
+              this.dialysisPrescription['kalium'] = ''
625
+            }
626
+            if(this.prescription['sodium'] == 0){
627
+              this.dialysisPrescription['sodium'] = ''
628
+            }
629
+            if(this.prescription['calcium'] == 0){
630
+              this.dialysisPrescription['calcium'] = ''
631
+            }
632
+            if(this.prescription['bicarbonate'] == 0){
633
+              this.dialysisPrescription['bicarbonate'] = ''
634
+            }
635
+            if(this.prescription['glucose'] == 0){
636
+              this.dialysisPrescription['glucose'] = ''
637
+            }
638
+            if(this.prescription['dialysate_flow'] == 0){
639
+              this.dialysisPrescription['dialysate_flow'] = ''
640
+            }
641
+            if(this.prescription['conductivity'] == 0){
642
+              this.dialysisPrescription['conductivity'] = ''
643
+            }
644
+            if(this.prescription['replacement_total'] == 0){
645
+              this.dialysisPrescription['replacement_total'] = ''
646
+            }
542 647
 
543 648
           } else if (this.solution != null && typeof this.solution.id != 'undefined' && this.solution.id) {
544 649
             for (const key in this.solution) {
@@ -556,8 +661,58 @@
556 661
             if(this.solution['anticoagulant'] == 0){
557 662
               this.dialysisPrescription['anticoagulant'] = ''
558 663
             }
559
-
560
-
664
+            
665
+            if(this.solution['dialysis_duration_hour'] == 0){
666
+              this.dialysisPrescription['dialysis_duration_hour'] = ''
667
+            }
668
+            if(this.solution['dialysis_duration_minute'] == 0){
669
+              this.dialysisPrescription['dialysis_duration_minute'] = ''
670
+            }
671
+            if(this.solution['blood_flow_volume'] == 0){
672
+              this.dialysisPrescription['blood_flow_volume'] = ''
673
+            }
674
+            if(this.solution['target_ultrafiltration'] == 0){
675
+              this.dialysisPrescription['target_ultrafiltration'] = ''
676
+            }
677
+            if(this.solution['dialysate_temperature'] == 0){
678
+              this.dialysisPrescription['dialysate_temperature'] = ''
679
+            }
680
+            if(this.solution['anticoagulant_shouji'] == 0){
681
+              this.dialysisPrescription['anticoagulant_shouji'] = ''
682
+            }
683
+            if(this.solution['anticoagulant_weichi'] == 0){
684
+              this.dialysisPrescription['anticoagulant_weichi'] = ''
685
+            }
686
+            if(this.solution['anticoagulant_zongliang'] == 0){
687
+              this.dialysisPrescription['anticoagulant_zongliang'] = ''
688
+            }
689
+            if(this.solution['anticoagulant_gaijiliang'] == 0){
690
+              this.dialysisPrescription['anticoagulant_gaijiliang'] = ''
691
+            }
692
+            if(this.solution['kalium'] == 0){
693
+              this.dialysisPrescription['kalium'] = ''
694
+            }
695
+            if(this.solution['sodium'] == 0){
696
+              this.dialysisPrescription['sodium'] = ''
697
+            }
698
+            if(this.solution['calcium'] == 0){
699
+              this.dialysisPrescription['calcium'] = ''
700
+            }
701
+            if(this.solution['bicarbonate'] == 0){
702
+              this.dialysisPrescription['bicarbonate'] = ''
703
+            }
704
+            if(this.solution['glucose'] == 0){
705
+              this.dialysisPrescription['glucose'] = ''
706
+            }
707
+            if(this.solution['dialysate_flow'] == 0){
708
+              this.dialysisPrescription['dialysate_flow'] = ''
709
+            }
710
+            if(this.solution['conductivity'] == 0){
711
+              this.dialysisPrescription['conductivity'] = ''
712
+            }
713
+            if(this.solution['replacement_total'] == 0){
714
+              this.dialysisPrescription['replacement_total'] = ''
715
+            }
561 716
 
562 717
           }
563 718
         }

+ 45 - 15
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -17,28 +17,58 @@
17 17
           </el-table-column>
18 18
           <el-table-column align="center" label="血压(mmhg)" width="110">
19 19
             <template slot-scope="scope">
20
-              {{scope.row.systolic_blood_pressure}}/{{scope.row.diastolic_blood_pressure}}
20
+              {{scope.row.systolic_blood_pressure?scope.row.systolic_blood_pressure:''}}/{{scope.row.diastolic_blood_pressure?scope.row.diastolic_blood_pressure:''}}
21 21
             </template>
22 22
           </el-table-column>
23 23
           <el-table-column prop="pulse_frequency" align="center" width="100" label="心率(次/分)">
24
+            <template slot-scope="scope">
25
+              {{scope.row.pulse_frequency?scope.row.pulse_frequency:''}}
26
+            </template>
24 27
           </el-table-column>
25 28
           <el-table-column prop="breathing_rate" align="center" label="呼吸(次/分)" width="100">
29
+            <template slot-scope="scope">
30
+              {{scope.row.breathing_rate?scope.row.breathing_rate:''}}
31
+            </template>
26 32
           </el-table-column>
27 33
           <el-table-column prop="blood_flow_volume" align="center" label="血流量(ml/min)" width="120">
34
+            <template slot-scope="scope">
35
+              {{scope.row.blood_flow_volume?scope.row.blood_flow_volume:''}}
36
+            </template>
28 37
           </el-table-column>
29 38
           <el-table-column prop="venous_pressure" align="center" label="静脉压(mmhg)" width="120">
39
+            <template slot-scope="scope">
40
+              {{scope.row.venous_pressure?scope.row.venous_pressure:''}}
41
+            </template>
30 42
           </el-table-column>
31 43
           <el-table-column prop="transmembrane_pressure" align="center" label="跨膜压(mmhg)" width="120">
44
+            <template slot-scope="scope">
45
+              {{scope.row.transmembrane_pressure?scope.row.transmembrane_pressure:''}}
46
+            </template>
32 47
           </el-table-column>
33 48
           <el-table-column prop="ultrafiltration_volume" align="center" label="超滤量(L)" width="110">
49
+            <template slot-scope="scope">
50
+              {{scope.row.ultrafiltration_volume?scope.row.ultrafiltration_volume:''}}
51
+            </template>
34 52
           </el-table-column>
35 53
           <el-table-column prop="sodium_concentration" align="center" label="钠浓度(mmol/L)" width="126">
54
+            <template slot-scope="scope">
55
+              {{scope.row.sodium_concentration?scope.row.sodium_concentration:''}}
56
+            </template>
36 57
           </el-table-column>
37 58
           <el-table-column prop="dialysate_temperature" align="center" label="透析液温度(℃)" width="120">
59
+            <template slot-scope="scope">
60
+              {{scope.row.dialysate_temperature?scope.row.dialysate_temperature:''}}
61
+            </template>
38 62
           </el-table-column>
39 63
           <el-table-column prop="replacement_rate" align="center" label="置换率(L/h)" width="120">
64
+            <template slot-scope="scope">
65
+              {{scope.row.replacement_rate?scope.row.replacement_rate:''}}
66
+            </template>
40 67
           </el-table-column>
41 68
           <el-table-column prop="displacement_quantity" align="center" label="置换量(L)" width="100">
69
+            <template slot-scope="scope">
70
+              {{scope.row.displacement_quantity?scope.row.displacement_quantity:''}}
71
+            </template>
42 72
           </el-table-column>
43 73
           <el-table-column prop="symptom" align="center" label="病情变化" width="130">
44 74
           </el-table-column>
@@ -368,20 +398,20 @@
368 398
             // this.form.operate_date = monitor.operate_date
369 399
             // this.form.monitoring_time = monitor.monitoring_time
370 400
             this.form.operate_time = monitor.operate_time * 1000
371
-          this.form.systolic_bp = monitor.systolic_blood_pressure
372
-          this.form.diastolic_bp = monitor.diastolic_blood_pressure
373
-          this.form.pulse_frequency = monitor.pulse_frequency
374
-          this.form.breathing_rated = monitor.breathing_rate
375
-          this.form.blood_flow_volume = monitor.blood_flow_volume
376
-          this.form.venous_pressure = monitor.venous_pressure
377
-          this.form.transmembrane_pressure = monitor.transmembrane_pressure
378
-          this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
379
-          this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
380
-          this.form.arterial_pressure = monitor.arterial_pressure
381
-          this.form.sodium_concentration = monitor.sodium_concentration
382
-          this.form.dialysate_temperature = monitor.dialysate_temperature
383
-          this.form.replacement_rate = monitor.replacement_rate
384
-          this.form.displacement_quantity = monitor.displacement_quantity
401
+          this.form.systolic_bp = monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''
402
+          this.form.diastolic_bp = monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''
403
+          this.form.pulse_frequency = monitor.pulse_frequency?monitor.pulse_frequency:''
404
+          this.form.breathing_rated = monitor.breathing_rate?monitor.breathing_rate:''
405
+          this.form.blood_flow_volume = monitor.blood_flow_volume?monitor.blood_flow_volume:''
406
+          this.form.venous_pressure = monitor.venous_pressure?monitor.venous_pressure:''
407
+          this.form.transmembrane_pressure = monitor.transmembrane_pressure?monitor.transmembrane_pressure:''
408
+          this.form.ultrafiltration_volume = monitor.transmembrane_pressure?monitor.transmembrane_pressure:''
409
+          this.form.ultrafiltration_rate = monitor.ultrafiltration_rate?monitor.ultrafiltration_rate:''
410
+          this.form.arterial_pressure = monitor.arterial_pressure?monitor.arterial_pressure:''
411
+          this.form.sodium_concentration = monitor.sodium_concentration?monitor.sodium_concentration:''
412
+          this.form.dialysate_temperature = monitor.dialysate_temperature?monitor.dialysate_temperature:''
413
+          this.form.replacement_rate = monitor.replacement_rate?monitor.replacement_rate:''
414
+          this.form.displacement_quantity = monitor.displacement_quantity?monitor.displacement_quantity:''
385 415
           this.form.ktv = monitor.ktv
386 416
           this.form.symptom = monitor.symptom
387 417
           this.form.dispose = monitor.dispose

+ 11 - 11
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -22,17 +22,17 @@
22 22
       </tr>
23 23
       <tr v-for="(monitor, index) in monitores" :key="index">
24 24
         <td>{{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
25
-        <td>{{ monitor.systolic_blood_pressure }}/{{ monitor.diastolic_blood_pressure }}</td>
26
-        <td>{{ monitor.pulse_frequency }}</td>
27
-        <td>{{ monitor.breathing_rate }}</td>
28
-        <td>{{ monitor.blood_flow_volume }}</td>
29
-        <td>{{ monitor.venous_pressure }}</td>
30
-        <td>{{ monitor.transmembrane_pressure }}</td>
31
-        <td>{{ monitor.ultrafiltration_volume }}</td>
32
-        <td>{{ monitor.sodium_concentration }}</td>
33
-        <td>{{ monitor.dialysate_temperature }}</td>
34
-        <td>{{ monitor.replacement_rate }}</td>
35
-        <td>{{ monitor.displacement_quantity }}</td>        
25
+        <td>{{ monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:'' }}/{{ monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:'' }}</td>
26
+        <td>{{ monitor.pulse_frequency?monitor.pulse_frequency:'' }}</td>
27
+        <td>{{ monitor.breathing_rate?monitor.breathing_rate:'' }}</td>
28
+        <td>{{ monitor.blood_flow_volume?monitor.blood_flow_volume:'' }}</td>
29
+        <td>{{ monitor.venous_pressure?monitor.venous_pressure:'' }}</td>
30
+        <td>{{ monitor.transmembrane_pressure?monitor.transmembrane_pressure:'' }}</td>
31
+        <td>{{ monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'' }}</td>
32
+        <td>{{ monitor.sodium_concentration?monitor.sodium_concentration:'' }}</td>
33
+        <td>{{ monitor.dialysate_temperature?monitor.dialysate_temperature:'' }}</td>
34
+        <td>{{ monitor.replacement_rate?monitor.replacement_rate:'' }}</td>
35
+        <td>{{ monitor.displacement_quantity?monitor.displacement_quantity:'' }}</td>        
36 36
         <td>{{ monitor.symptom }}</td>
37 37
         <td>{{ monitor.dispose }}</td>
38 38
         <td>{{ monitor.result }}</td>

+ 24 - 24
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -107,7 +107,7 @@
107 107
                   <td></td>
108 108
                   <td width="50">体温:</td>
109 109
                   <td width="100">
110
-                    <div class="under-line">&nbsp;{{predialysis.temperature}}</div>
110
+                    <div class="under-line">&nbsp;{{predialysis.temperature?predialysis.temperature:''}}</div>
111 111
                   </td>
112 112
                   <td width="35">℃</td>
113 113
                 </tr>
@@ -304,35 +304,35 @@
304 304
                 <tr>
305 305
                   <td width="70">透析时间:</td>
306 306
                   <td width="40">
307
-                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_hour}}</div>
307
+                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_hour?prescription.dialysis_duration_hour:''}}</div>
308 308
                   </td>
309 309
                   <td width="10">h</td>
310 310
                   <td width="40">
311
-                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_minute}}</div>
311
+                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_minute?prescription.dialysis_duration_minute:''}}</div>
312 312
                   </td>
313 313
                   <td width="35">min</td>
314 314
                   <td></td>
315 315
                   <td width="55">血流量:</td>
316 316
                   <td width="60">
317
-                    <div class="under-line">&nbsp;{{prescription.blood_flow_volume}}</div>
317
+                    <div class="under-line">&nbsp;{{prescription.blood_flow_volume?prescription.blood_flow_volume:''}}</div>
318 318
                   </td>
319 319
                   <td width="60">ml/min</td>
320 320
                   <td></td>
321 321
                   <td width="40">体重:</td>
322 322
                   <td width="35">透前</td>
323 323
                   <td width="50">
324
-                    <div class="under-line">&nbsp;{{predialysis.weight_before}}</div>
324
+                    <div class="under-line">&nbsp;{{predialysis.weight_before?predialysis.weight_before:''}}</div>
325 325
                   </td>
326 326
                   <td width="20">Kg</td>
327 327
                   <td width="45">干体重</td>
328 328
                   <td width="50">
329
-                    <div class="under-line">&nbsp;{{predialysis.dry_weight}}</div>
329
+                    <div class="under-line">&nbsp;{{predialysis.dry_weight?predialysis.dry_weight:''}}</div>
330 330
                   </td>
331 331
                   <td width="20">Kg</td>
332 332
                   <td></td>
333 333
                   <td width="85">目标超滤量:</td>
334 334
                   <td width="70">
335
-                    <div class="under-line">&nbsp;{{prescription.target_ultrafiltration}}</div>
335
+                    <div class="under-line">&nbsp;{{prescription.target_ultrafiltration?prescription.target_ultrafiltration:''}}</div>
336 336
                   </td>
337 337
                   <td width="20">ml</td>
338 338
                 </tr>
@@ -452,7 +452,7 @@
452 452
                 <tr>
453 453
                   <td width="55">置换量:</td>
454 454
                   <td width="40">
455
-                    <div class="under-line">&nbsp;{{prescription.replacement_total}}</div>
455
+                    <div class="under-line">&nbsp;{{prescription.replacement_total?prescription.replacement_total:''}}</div>
456 456
                   </td>
457 457
                   <td width="10">L</td>
458 458
                   <td width="10"></td>
@@ -557,14 +557,14 @@
557 557
               </template>     -->
558 558
               {{getTime(monitor.operate_time,'{h}:{i}')}}
559 559
             </td>
560
-            <td>&nbsp;{{monitor.systolic_blood_pressure}} / {{monitor.diastolic_blood_pressure}}</td>
561
-            <td>&nbsp;{{monitor.pulse_frequency}}</td>
562
-            <td>&nbsp;{{monitor.breathing_rate}}</td>
563
-            <td>&nbsp;{{monitor.blood_flow_volume}}</td>
564
-            <td>&nbsp;{{monitor.ultrafiltration_volume}}</td>
565
-            <td>&nbsp;{{monitor.displacement_quantity}}</td>
566
-            <td>&nbsp;{{monitor.venous_pressure}}</td>
567
-            <td>&nbsp;{{monitor.transmembrane_pressure}}</td>
560
+            <td>&nbsp;{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}} / {{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
561
+            <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
562
+            <td>&nbsp;{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
563
+            <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
564
+            <td>&nbsp;{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
565
+            <td>&nbsp;{{monitor.displacement_quantity?monitor.displacement_quantity:''}}</td>
566
+            <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
567
+            <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
568 568
             <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
569 569
             <td>&nbsp;{{monitor.dialysate_temperature}}</td>
570 570
             <td>&nbsp;{{monitor.replacement_rate}}</td> -->
@@ -586,23 +586,23 @@
586 586
                 <tr>
587 587
                   <td width="90">实际治疗时间</td>
588 588
                   <td width="40">
589
-                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_hour}}</div>
589
+                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:''}}</div>
590 590
                   </td>
591 591
                   <td width="10">h</td>
592 592
                   <td width="40">
593
-                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_minute}}</div>
593
+                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_minute?fterdialysis.actual_treatment_minute:''}}</div>
594 594
                   </td>
595 595
                   <td width="35">min</td>
596 596
                   <td></td>
597 597
                   <td width="75">实际超滤量</td>
598 598
                   <td width="70">
599
-                    <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration}}</div>
599
+                    <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:''}}</div>
600 600
                   </td>
601 601
                   <td width="20">ml</td>
602 602
                   <td></td>
603 603
                   <td width="60">透后体重</td>
604 604
                   <td width="50">
605
-                    <div class="under-line">&nbsp;{{afterdialysis.weight_after}}</div>
605
+                    <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
606 606
                   </td>
607 607
                   <td width="20">Kg</td>
608 608
                   <td></td>
@@ -827,7 +827,7 @@
827 827
               <span>{{advice[0].advice_desc}}</span>
828 828
               <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
829 829
               <span v-if="advice[0].prescribing_number">* {{advice[0].prescribing_number}}{{advice[0].prescribing_number_unit}}</span>
830
-              <span v-if="advice[0].single_dose">单次用量 {{advice[0].single_dose}}{{advice[0].single_dose_unit}}</span>
830
+              <span v-if="advice[0].single_dose != 0">单次用量 {{advice[0].single_dose}}{{advice[0].single_dose_unit}}</span>
831 831
               <span>{{advice[0].delivery_way}}</span>
832 832
               <span>{{advice[0].execution_frequency}}</span>
833 833
               <div v-for="(child, childindex) in advice[0].children" :key="childindex" class="advice-children">
@@ -838,7 +838,7 @@
838 838
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
839 839
                   <span
840 840
                     v-if="child.prescribing_number">* {{child.prescribing_number}}{{child.prescribing_number_unit}}</span>
841
-                  <span v-if="child.single_dose">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
841
+                  <span v-if="child.single_dose != 0">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
842 842
                 </div>
843 843
               </div>
844 844
 
@@ -892,7 +892,7 @@
892 892
               <span>{{advice[1].advice_desc}}</span>
893 893
               <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
894 894
               <span v-if="advice[1].prescribing_number">* {{advice[1].prescribing_number}}{{advice[1].prescribing_number_unit}}</span>
895
-              <span v-if="advice[1].single_dose">单次用量 {{advice[1].single_dose}}{{advice[1].single_dose_unit}}</span>
895
+              <span v-if="advice[1].single_dose != 0">单次用量 {{advice[1].single_dose}}{{advice[1].single_dose_unit}}</span>
896 896
               <span>{{advice[1].delivery_way}}</span>
897 897
               <span>{{advice[1].execution_frequency}}</span>
898 898
 
@@ -904,7 +904,7 @@
904 904
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
905 905
                   <span
906 906
                     v-if="child.prescribing_number">* {{child.prescribing_number}}{{child.prescribing_number_unit}}</span>
907
-                  <span v-if="child.single_dose">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
907
+                  <span v-if="child.single_dose != 0">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
908 908
                 </div>
909 909
               </div>
910 910
             </td>

+ 2 - 2
src/xt_pages/dialysis/schedualPatient.vue View File

@@ -155,7 +155,7 @@
155 155
           for (let s_i = 0; s_i < originSchedules.length; s_i++) {
156 156
             const schedule = originSchedules[s_i];
157 157
             if (zone_selected != 0) {
158
-              if (zone_selected == schedule.device_zone.id) {
158
+              if (zone_selected == schedule.device_number.zone.id) {
159 159
                 if (timetype_selected == 0 || schedule.schedule_type == timetype_selected) {
160 160
                   filtedSchedules.push(schedule)
161 161
                 }
@@ -255,7 +255,7 @@
255 255
         }
256 256
         for (let index = 0; index < schedules.length; index++) {
257 257
           const schedule = schedules[index]
258
-          scheduleMap[schedule.device_zone.id].push(schedule)
258
+          scheduleMap[schedule.device_number.zone.id].push(schedule)
259 259
         }
260 260
         var zone_schedules = []
261 261
         for (let index = 0; index < zone_options.length; index++) {

+ 0 - 0
static/tinymce4.7.5/langs/zh_CN.js View File


+ 0 - 0
static/tinymce4.7.5/plugins/codesample/css/prism.css View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-cool.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-cry.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-embarassed.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-foot-in-mouth.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-frown.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-innocent.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-kiss.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-laughing.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-money-mouth.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-sealed.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-smile.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-surprised.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-tongue-out.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-undecided.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-wink.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/emoticons/img/smiley-yell.gif View File


+ 0 - 0
static/tinymce4.7.5/plugins/visualblocks/css/visualblocks.css View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/content.inline.min.css View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/content.min.css View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.svg View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce.svg View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/img/anchor.gif View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/img/loader.gif View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/img/object.gif View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/img/trans.gif View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/skin.min.css View File


+ 0 - 0
static/tinymce4.7.5/skins/lightgray/skin.min.css.map View File


+ 0 - 0
static/tinymce4.7.5/tinymce.min.js View File