See999 3 vuotta sitten
vanhempi
commit
e07ab24633

+ 29 - 50
src/api/dialysis_record.js Näytä tiedosto

30
   })
30
   })
31
 }
31
 }
32
 
32
 
33
-export function editMonitor(patient_id, schedule_date, data,mode) {
33
+export function editMonitor(patient_id, schedule_date, data, mode) {
34
   var params = {
34
   var params = {
35
     patient_id: patient_id,
35
     patient_id: patient_id,
36
     schedule_date: schedule_date,
36
     schedule_date: schedule_date,
37
-    mode:mode
37
+    mode: mode
38
   }
38
   }
39
   return request({
39
   return request({
40
     url: '/api/dislysis/monitor/edit',
40
     url: '/api/dislysis/monitor/edit',
41
     method: 'post',
41
     method: 'post',
42
     params: params,
42
     params: params,
43
     data: data,
43
     data: data,
44
-    headers:{"Permission":2},
44
+    headers: { 'Permission': 2 }
45
 
45
 
46
   })
46
   })
47
 }
47
 }
48
 
48
 
49
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time,schedual_type,mode) {
49
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode) {
50
   var params = {
50
   var params = {
51
     patient_id: patient_id,
51
     patient_id: patient_id,
52
     date: schedule_date,
52
     date: schedule_date,
55
     puncture_nurse: puncture_nurse_id,
55
     puncture_nurse: puncture_nurse_id,
56
     start_time: start_time,
56
     start_time: start_time,
57
     lood_drawing: lood_drawing,
57
     lood_drawing: lood_drawing,
58
-    schedual_type:schedual_type,
59
-    mode:mode,
58
+    schedual_type: schedual_type,
59
+    mode: mode
60
   }
60
   }
61
   return request({
61
   return request({
62
     url: '/api/dialysis/start_record',
62
     url: '/api/dialysis/start_record',
63
     method: 'post',
63
     method: 'post',
64
     params: params,
64
     params: params,
65
-    headers:{"Permission":2},
65
+    headers: { 'Permission': 2 }
66
 
66
 
67
   })
67
   })
68
 }
68
 }
69
 
69
 
70
-export function finishDialysis(patient_id, schedule_date,end_time, nurse_id,mode) {
70
+export function finishDialysis(patient_id, schedule_date, end_time, nurse_id, mode) {
71
   var params = {
71
   var params = {
72
     patient_id: patient_id,
72
     patient_id: patient_id,
73
     date: schedule_date,
73
     date: schedule_date,
74
     nurse: nurse_id,
74
     nurse: nurse_id,
75
-    end_time:end_time,
76
-    mode:mode,
75
+    end_time: end_time,
76
+    mode: mode
77
   }
77
   }
78
   return request({
78
   return request({
79
     url: '/api/dialysis/finish',
79
     url: '/api/dialysis/finish',
80
     method: 'post',
80
     method: 'post',
81
     params: params,
81
     params: params,
82
-    headers:{"Permission":2},
82
+    headers: { 'Permission': 2 }
83
 
83
 
84
   })
84
   })
85
 }
85
 }
89
     url: '/api/dialysis/monitor/del',
89
     url: '/api/dialysis/monitor/del',
90
     method: 'post',
90
     method: 'post',
91
     params: params,
91
     params: params,
92
-    headers:{"Permission":2},
92
+    headers: { 'Permission': 2 }
93
 
93
 
94
   })
94
   })
95
 }
95
 }
96
 
96
 
97
-
98
-
99
-
100
-
101
 export function getLongAdvice(params) {
97
 export function getLongAdvice(params) {
102
   return request({
98
   return request({
103
-    url:'/api/dialysis/advice_remind',
104
-    method:'Get',
105
-    params:params,
99
+    url: '/api/dialysis/advice_remind',
100
+    method: 'Get',
101
+    params: params
106
   })
102
   })
107
 }
103
 }
108
 
104
 
109
-
110
 export function GetSchedualNumber(params) {
105
 export function GetSchedualNumber(params) {
111
   return request({
106
   return request({
112
-    url:'/api/schedule/get',
113
-    method:'Get',
114
-    params:params,
107
+    url: '/api/schedule/get',
108
+    method: 'Get',
109
+    params: params
115
   })
110
   })
116
 }
111
 }
117
 
112
 
118
-
119
-
120
 export function PostModifyStartDialysis(params) {
113
 export function PostModifyStartDialysis(params) {
121
   return request({
114
   return request({
122
-    url:'/api/start_dialysis/modify',
123
-    method:'Post',
124
-    params:params,
125
-    headers:{"Permission":2},
115
+    url: '/api/start_dialysis/modify',
116
+    method: 'Post',
117
+    params: params,
118
+    headers: { 'Permission': 2 }
126
 
119
 
127
   })
120
   })
128
 }
121
 }
129
 
122
 
130
-
131
-
132
-
133
-
134
-
135
-
136
 export function PostModifyFinishDialysis(params) {
123
 export function PostModifyFinishDialysis(params) {
137
   return request({
124
   return request({
138
-    url:'/api/finish_dialysis/modify',
139
-    method:'Post',
140
-    params:params,
141
-    headers:{"Permission":2},
125
+    url: '/api/finish_dialysis/modify',
126
+    method: 'Post',
127
+    params: params,
128
+    headers: { 'Permission': 2 }
142
 
129
 
143
   })
130
   })
144
 }
131
 }
145
 
132
 
146
-
147
-
148
 export function getTodayMonitor(params) {
133
 export function getTodayMonitor(params) {
149
   return request({
134
   return request({
150
-    url:'/api/today_monitor/get',
151
-    method:'Get',
152
-    params:params,
135
+    url: '/api/today_monitor/get',
136
+    method: 'Get',
137
+    params: params
153
   })
138
   })
154
 }
139
 }
155
 
140
 
156
-
157
-
158
-
159
-
160
-
161
-

+ 95 - 95
src/router/modules/dialysis.js Näytä tiedosto

1
-import Layout from "@/views/layout/Layout";
1
+import Layout from '@/views/layout/Layout'
2
 
2
 
3
 export default {
3
 export default {
4
-  path: "/dialysis/",
4
+  path: '/dialysis/',
5
   component: Layout,
5
   component: Layout,
6
-  redirect: "noredirect",
7
-  name: "dialysis",
6
+  redirect: 'noredirect',
7
+  name: 'dialysis',
8
   alwaysShow: true,
8
   alwaysShow: true,
9
   meta: {
9
   meta: {
10
-    title: "dialysis",
11
-    icon: "touxi"
10
+    title: 'dialysis',
11
+    icon: 'touxi'
12
   },
12
   },
13
   children: [
13
   children: [
14
     {
14
     {
15
-      path: "/dialysis/dialysisrecord",
16
-      component: () => import("@/xt_pages/dialysis/schedualPatient"),
17
-      name: "透析记录",
15
+      path: '/dialysis/dialysisrecord',
16
+      component: () => import('@/xt_pages/dialysis/schedualPatient'),
17
+      name: '透析记录',
18
       meta: {
18
       meta: {
19
-        title: "透析记录",
19
+        title: '透析记录',
20
         noCache: true
20
         noCache: true
21
       }
21
       }
22
     },
22
     },
23
     {
23
     {
24
-      path: "/dialysis/watch",
25
-      component: () => import("@/xt_pages/dialysis/bloodPresssWatch"),
26
-      name: "watch",
24
+      path: '/dialysis/watch',
25
+      component: () => import('@/xt_pages/dialysis/bloodPresssWatch'),
26
+      name: 'watch',
27
       meta: {
27
       meta: {
28
-        title: "watch",
28
+        title: 'watch',
29
         noCache: true
29
         noCache: true
30
       }
30
       }
31
     },
31
     },
32
     {
32
     {
33
-      path: "/dialysis/board",
34
-      component: () => import("@/xt_pages/dialysis/bulletinBoard"),
35
-      name: "数据看板",
33
+      path: '/dialysis/board',
34
+      component: () => import('@/xt_pages/dialysis/bulletinBoard'),
35
+      name: '数据看板',
36
       meta: {
36
       meta: {
37
-        title: "数据看板",
37
+        title: '数据看板',
38
         noCache: true
38
         noCache: true
39
       }
39
       }
40
     },
40
     },
41
     {
41
     {
42
-      path: "/dialysis/record/:id",
43
-      component: () => import("@/xt_pages/dialysis/dialysisPage"),
42
+      path: '/dialysis/record/:id',
43
+      component: () => import('@/xt_pages/dialysis/dialysisPage'),
44
       hidden: true,
44
       hidden: true,
45
       is_menu: false,
45
       is_menu: false,
46
-      name: "paper",
46
+      name: 'paper',
47
       meta: {
47
       meta: {
48
-        title: "paper",
48
+        title: 'paper',
49
         noCache: true
49
         noCache: true
50
       }
50
       }
51
     },
51
     },
52
     {
52
     {
53
-      path: "/dialysis/print",
54
-      component: () => import("@/xt_pages/dialysis/dialysisPrintOrder"),
53
+      path: '/dialysis/print',
54
+      component: () => import('@/xt_pages/dialysis/dialysisPrintOrder'),
55
       hidden: true,
55
       hidden: true,
56
       is_menu: false,
56
       is_menu: false,
57
-      name: "dialysisPrintOrder",
57
+      name: 'dialysisPrintOrder',
58
       meta: {
58
       meta: {
59
-        title: "dialysisPrintOrder",
59
+        title: 'dialysisPrintOrder',
60
         noCache: true
60
         noCache: true
61
       }
61
       }
62
     },
62
     },
65
     // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
65
     // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
66
 
66
 
67
     {
67
     {
68
-      path: "/dialysis/details",
69
-      component: () => import("@/xt_pages/dialysis/details"),
70
-      name: "details",
68
+      path: '/dialysis/details',
69
+      component: () => import('@/xt_pages/dialysis/details'),
70
+      name: 'details',
71
       meta: {
71
       meta: {
72
-        title: "details"
72
+        title: 'details'
73
       },
73
       },
74
       hidden: true,
74
       hidden: true,
75
       is_menu: false,
75
       is_menu: false,
76
       noCache: true
76
       noCache: true
77
     },
77
     },
78
     {
78
     {
79
-      path: "/dialysis/print/batch",
79
+      path: '/dialysis/print/batch',
80
       component: () =>
80
       component: () =>
81
-        import("@/xt_pages/dialysis/batch_print/batch_print_order"),
81
+        import('@/xt_pages/dialysis/batch_print/batch_print_order'),
82
       hidden: true,
82
       hidden: true,
83
       is_menu: false,
83
       is_menu: false,
84
-      name: "dialysis_batch_print",
84
+      name: 'dialysis_batch_print',
85
       meta: {
85
       meta: {
86
-        title: "批量打印",
86
+        title: '批量打印',
87
         noCache: true
87
         noCache: true
88
       }
88
       }
89
     },
89
     },
90
     {
90
     {
91
-      path: "/dialysis/print/batch/other",
91
+      path: '/dialysis/print/batch/other',
92
       component: () =>
92
       component: () =>
93
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_other"),
93
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_other'),
94
       hidden: true,
94
       hidden: true,
95
       is_menu: false,
95
       is_menu: false,
96
-      name: "dialysis_batch_print_two",
96
+      name: 'dialysis_batch_print_two',
97
       meta: {
97
       meta: {
98
-        title: "批量打印",
98
+        title: '批量打印',
99
         noCache: true
99
         noCache: true
100
       }
100
       }
101
     },
101
     },
102
     {
102
     {
103
-      path: "/dialysis/print/batch/three",
103
+      path: '/dialysis/print/batch/three',
104
       component: () =>
104
       component: () =>
105
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_three"),
105
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_three'),
106
       hidden: true,
106
       hidden: true,
107
       is_menu: false,
107
       is_menu: false,
108
-      name: "dialysis_batch_print_two_one",
108
+      name: 'dialysis_batch_print_two_one',
109
       meta: {
109
       meta: {
110
-        title: "批量打印",
110
+        title: '批量打印',
111
         noCache: true
111
         noCache: true
112
       }
112
       }
113
     },
113
     },
114
     {
114
     {
115
-      path: "/dialysis/print/batch/four",
115
+      path: '/dialysis/print/batch/four',
116
       component: () =>
116
       component: () =>
117
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_four"),
117
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_four'),
118
       hidden: true,
118
       hidden: true,
119
       is_menu: false,
119
       is_menu: false,
120
-      name: "dialysis_batch_print_two_one",
120
+      name: 'dialysis_batch_print_two_one',
121
       meta: {
121
       meta: {
122
-        title: "批量打印",
122
+        title: '批量打印',
123
         noCache: true
123
         noCache: true
124
       }
124
       }
125
     },
125
     },
126
     {
126
     {
127
-      path: "/dialysis/print/batch/five",
127
+      path: '/dialysis/print/batch/five',
128
       component: () =>
128
       component: () =>
129
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_five"),
129
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_five'),
130
       hidden: true,
130
       hidden: true,
131
       is_menu: false,
131
       is_menu: false,
132
-      name: "dialysis_batch_print_two_one",
132
+      name: 'dialysis_batch_print_two_one',
133
       meta: {
133
       meta: {
134
-        title: "批量打印",
134
+        title: '批量打印',
135
         noCache: true
135
         noCache: true
136
       }
136
       }
137
     },
137
     },
138
     {
138
     {
139
-      path: "/dialysis/print/batch/six",
139
+      path: '/dialysis/print/batch/six',
140
       component: () =>
140
       component: () =>
141
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_six"),
141
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_six'),
142
       hidden: true,
142
       hidden: true,
143
       is_menu: false,
143
       is_menu: false,
144
-      name: "dialysis_batch_six",
144
+      name: 'dialysis_batch_six',
145
       meta: {
145
       meta: {
146
-        title: "批量打印",
146
+        title: '批量打印',
147
         noCache: true
147
         noCache: true
148
       }
148
       }
149
     },
149
     },
150
     {
150
     {
151
-      path: "/dialysis/print/batch/seven",
151
+      path: '/dialysis/print/batch/seven',
152
       component: () =>
152
       component: () =>
153
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_seven"),
153
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_seven'),
154
       hidden: true,
154
       hidden: true,
155
       is_menu: false,
155
       is_menu: false,
156
-      name: "dialysis_batch_seven",
156
+      name: 'dialysis_batch_seven',
157
       meta: {
157
       meta: {
158
-        title: "批量打印",
158
+        title: '批量打印',
159
         noCache: true
159
         noCache: true
160
       }
160
       }
161
     },
161
     },
162
     {
162
     {
163
-      path: "/dialysis/print/batch/eight",
163
+      path: '/dialysis/print/batch/eight',
164
       component: () =>
164
       component: () =>
165
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_eight"),
165
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_eight'),
166
       hidden: true,
166
       hidden: true,
167
       is_menu: false,
167
       is_menu: false,
168
-      name: "dialysis_batch_eight",
168
+      name: 'dialysis_batch_eight',
169
       meta: {
169
       meta: {
170
-        title: "批量打印",
170
+        title: '批量打印',
171
         noCache: true
171
         noCache: true
172
       }
172
       }
173
     },
173
     },
174
     {
174
     {
175
-      path: "/dialysis/print/batch/nine",
175
+      path: '/dialysis/print/batch/nine',
176
       component: () =>
176
       component: () =>
177
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_nine"),
177
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_nine'),
178
       hidden: true,
178
       hidden: true,
179
       is_menu: false,
179
       is_menu: false,
180
-      name: "dialysis_batch_nine",
180
+      name: 'dialysis_batch_nine',
181
       meta: {
181
       meta: {
182
-        title: "批量打印",
182
+        title: '批量打印',
183
         noCache: true
183
         noCache: true
184
       }
184
       }
185
     },
185
     },
186
     {
186
     {
187
-      path: "/dialysis/print/batch/twelve",
187
+      path: '/dialysis/print/batch/twelve',
188
       component: () =>
188
       component: () =>
189
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_twelve"),
189
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_twelve'),
190
       hidden: true,
190
       hidden: true,
191
       is_menu: false,
191
       is_menu: false,
192
-      name: "dialysis_batch_twelve",
192
+      name: 'dialysis_batch_twelve',
193
       meta: {
193
       meta: {
194
-        title: "批量打印",
194
+        title: '批量打印',
195
         noCache: true
195
         noCache: true
196
       }
196
       }
197
     },
197
     },
198
     {
198
     {
199
-      path: "/dialysis/print/batch/thirteen",
199
+      path: '/dialysis/print/batch/thirteen',
200
       component: () =>
200
       component: () =>
201
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_thirteen"),
201
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_thirteen'),
202
       hidden: true,
202
       hidden: true,
203
       is_menu: false,
203
       is_menu: false,
204
-      name: "dialysis_batch_thirteen",
204
+      name: 'dialysis_batch_thirteen',
205
       meta: {
205
       meta: {
206
-        title: "批量打印",
206
+        title: '批量打印',
207
         noCache: true
207
         noCache: true
208
       }
208
       }
209
     },
209
     },
210
     {
210
     {
211
-      path: "/dialysis/print/batch/fifteen",
211
+      path: '/dialysis/print/batch/fifteen',
212
       component: () =>
212
       component: () =>
213
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_fifteen"),
213
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_fifteen'),
214
       hidden: true,
214
       hidden: true,
215
       is_menu: false,
215
       is_menu: false,
216
-      name: "dialysis_batch_fifteen",
216
+      name: 'dialysis_batch_fifteen',
217
       meta: {
217
       meta: {
218
-        title: "批量打印",
218
+        title: '批量打印',
219
         noCache: true
219
         noCache: true
220
       }
220
       }
221
     },
221
     },
222
     {
222
     {
223
-      path: "/dialysis/print/batch/otherone",
223
+      path: '/dialysis/print/batch/otherone',
224
       component: () =>
224
       component: () =>
225
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_other_one"),
225
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_other_one'),
226
       hidden: true,
226
       hidden: true,
227
       is_menu: false,
227
       is_menu: false,
228
-      name: "dialysis_batch_print_two_one",
228
+      name: 'dialysis_batch_print_two_one',
229
       meta: {
229
       meta: {
230
-        title: "批量打印",
230
+        title: '批量打印',
231
         noCache: true
231
         noCache: true
232
       }
232
       }
233
     },
233
     },
234
     {
234
     {
235
-      path: "/dialysis/print/batch/othertwo",
235
+      path: '/dialysis/print/batch/othertwo',
236
       component: () =>
236
       component: () =>
237
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_other_two"),
237
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_other_two'),
238
       hidden: true,
238
       hidden: true,
239
       is_menu: false,
239
       is_menu: false,
240
-      name: "dialysis_batch_print_two_two",
240
+      name: 'dialysis_batch_print_two_two',
241
       meta: {
241
       meta: {
242
-        title: "批量打印",
242
+        title: '批量打印',
243
         noCache: true
243
         noCache: true
244
       }
244
       }
245
     },
245
     },
246
     {
246
     {
247
-      path: "/dialysis/print/batch/fiveone",
247
+      path: '/dialysis/print/batch/fiveone',
248
       component: () =>
248
       component: () =>
249
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_five_one"),
249
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_five_one'),
250
       hidden: true,
250
       hidden: true,
251
       is_menu: false,
251
       is_menu: false,
252
-      name: "dialysis_batch_print_two_two",
252
+      name: 'dialysis_batch_print_two_two',
253
       meta: {
253
       meta: {
254
-        title: "批量打印",
254
+        title: '批量打印',
255
         noCache: true
255
         noCache: true
256
       }
256
       }
257
     },
257
     },
258
     {
258
     {
259
-      path: "/dialysis/print/batch/fivetwo",
259
+      path: '/dialysis/print/batch/fivetwo',
260
       component: () =>
260
       component: () =>
261
-        import("@/xt_pages/dialysis/batch_print/batch_print_order_five_two"),
261
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_five_two'),
262
       hidden: true,
262
       hidden: true,
263
       is_menu: false,
263
       is_menu: false,
264
-      name: "dialysis_batch_print_two_two",
264
+      name: 'dialysis_batch_print_two_two',
265
       meta: {
265
       meta: {
266
-        title: "批量打印",
266
+        title: '批量打印',
267
         noCache: true
267
         noCache: true
268
       }
268
       }
269
     }
269
     }
270
   ]
270
   ]
271
-};
271
+}

File diff suppressed because it is too large
+ 313 - 529
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue


+ 38 - 175
src/xt_pages/dialysis/details/dialysisMonitoring.vue Näytä tiedosto

14
           <th width="76px">静脉压/动脉压(mmHg)</th>
14
           <th width="76px">静脉压/动脉压(mmHg)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
17
-          <th
18
-            v-if="
19
-              isShow('超滤量') &&
20
-                (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13)
21
-            "
22
-            width="76px"
23
-          >
24
-            超滤量(ml)
25
-          </th>
26
-          <th
27
-            v-if="
28
-              isShow('超滤量') &&
29
-                template_id != 6 &&
30
-                template_id != 10 &&
31
-                template_id != 11 &&
32
-                template_id != 13
33
-            "
34
-            width="76px"
35
-          >
36
-            超滤量(L)
37
-          </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 "  width="76px"> 超滤量(L) </th>
38
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
39
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
40
-          <th
41
-            v-if="
42
-              isShow('置换率') &&
43
-                (template_id == 6 || template_id == 10 || template_id == 11)
44
-            "
45
-            width="92px"
46
-          >
47
-            置换率(ml/min)
48
-          </th>
49
-          <th
50
-            v-if="
51
-              isShow('置换率') &&
52
-                template_id != 6 &&
53
-                template_id != 10 &&
54
-                template_id != 11
55
-            "
56
-            width="92px"
57
-          >
58
-            置换率(L/h)
59
-          </th>
60
-
61
-          <th
62
-            v-if="
63
-              isShow('置换量') &&
64
-                (template_id == 6 || template_id == 10 || template_id == 11)
65
-            "
66
-            width="92px"
67
-          >
68
-            置换量(ml)
69
-          </th>
70
-          <th
71
-            v-if="
72
-              isShow('置换量') &&
73
-                template_id != 6 &&
74
-                template_id != 10 &&
75
-                template_id != 10
76
-            "
77
-            width="92px"
78
-          >
79
-            置换量(L)
80
-          </th>
81
-          <th
82
-            v-if="
83
-              isShow('SpO₂') &&
84
-                template_id != 6 &&
85
-                template_id != 10 &&
86
-                template_id != 11
87
-            "
88
-            width="92px"
89
-          >
90
-            SpO₂(%)
91
-          </th>
21
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px" > 置换率(ml/min) </th>
22
+          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 " width="92px" > 置换率(L/h)  </th>
23
+          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px"  > 置换量(ml)  </th>
24
+          <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 10 " width="92px" > 置换量(L) </th>
25
+          <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
92
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
93
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
27
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
28
+          <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
94
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
29
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
95
-
96
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
30
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
97
           <th v-if="isShow('处理')" width="92px">处理</th>
31
           <th v-if="isShow('处理')" width="92px">处理</th>
98
           <th v-if="isShow('结果')" width="92px">结果</th>
32
           <th v-if="isShow('结果')" width="92px">结果</th>
99
         </tr>
33
         </tr>
100
         <tr v-for="(monitor, index) in monitores" :key="index">
34
         <tr v-for="(monitor, index) in monitores" :key="index">
101
-          <td v-if="isShow('监测时间')">
102
-            {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}
103
-          </td>
104
-          <td v-if="isShow('体温')">
105
-            {{ monitor.temperature ? monitor.temperature : "" }}
106
-          </td>
107
-          <td v-if="isShow('血压')">
108
-            {{
109
-              monitor.systolic_blood_pressure
110
-                ? monitor.systolic_blood_pressure
111
-                : ""
112
-            }}/{{
113
-              monitor.diastolic_blood_pressure
114
-                ? monitor.diastolic_blood_pressure
115
-                : ""
116
-            }}
117
-          </td>
118
-          <td v-if="isShow('脉搏')">
119
-            {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
120
-          </td>
121
-          <td v-if="isShow('呼吸频率')">
122
-            {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
123
-          </td>
124
-          <td>
125
-            {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{
126
-              monitor.arterial_pressure ? monitor.arterial_pressure : ""
127
-            }}
128
-          </td>
129
-          <td v-if="isShow('血流量')">
130
-            {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
131
-          </td>
132
-          <td v-if="isShow('跨膜压')">
133
-            {{
134
-              monitor.transmembrane_pressure
135
-                ? monitor.transmembrane_pressure
136
-                : ""
137
-            }}
138
-          </td>
139
-          <td v-if="isShow('超滤量')">
140
-            {{
141
-              monitor.ultrafiltration_volume
142
-                ? monitor.ultrafiltration_volume
143
-                : ""
144
-            }}
145
-          </td>
146
-          <td v-if="isShow('钠浓度')">
147
-            {{
148
-              monitor.sodium_concentration ? monitor.sodium_concentration : ""
149
-            }}
150
-          </td>
151
-          <td v-if="isShow('透析液温度')">
152
-            {{
153
-              monitor.dialysate_temperature ? monitor.dialysate_temperature : ""
154
-            }}
155
-          </td>
156
-          <td v-if="isShow('置换率')">
157
-            {{ monitor.replacement_rate ? monitor.replacement_rate : "" }}
158
-          </td>
159
-          <td v-if="isShow('置换量')">
160
-            {{
161
-              monitor.displacement_quantity ? monitor.displacement_quantity : ""
162
-            }}
163
-          </td>
164
-          <td v-if="isShow('SpO₂')">
165
-            {{
166
-              monitor.blood_oxygen_saturation
167
-                ? monitor.blood_oxygen_saturation
168
-                : ""
169
-            }}
170
-          </td>
171
-          <td v-if="isShow('电导度')">
172
-            {{ monitor.conductivity ? monitor.conductivity : "" }}
173
-          </td>
174
-          <th v-if="isShow('置换液流量')">
175
-            {{
176
-              monitor.displacement_flow_quantity
177
-                ? monitor.displacement_flow_quantity
178
-                : ""
179
-            }}
180
-          </th>
181
-
182
-          <th v-if="isShow('肝素用量余量')">
183
-            {{ monitor.heparin ? monitor.heparin : "" }}
184
-          </th>
185
-
35
+          <td v-if="isShow('监测时间')"> {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }} </td>
36
+          <td v-if="isShow('体温')"> {{ monitor.temperature ? monitor.temperature : "" }} </td>
37
+          <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
38
+          <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
39
+          <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
40
+          <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}  </td>
41
+          <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
42
+          <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
43
+          <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
44
+          <td v-if="isShow('钠浓度')"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }} </td>
45
+          <td v-if="isShow('透析液温度')"> {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }} </td>
46
+          <td v-if="isShow('置换率')"> {{ monitor.replacement_rate ? monitor.replacement_rate : "" }} </td>
47
+          <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
48
+          <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
49
+          <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
50
+          <th v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </th>
51
+          <th v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </th>
52
+          <th v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </th>
186
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
53
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
187
           <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
54
           <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
188
           <td v-if="isShow('结果')">{{ monitor.result }}</td>
55
           <td v-if="isShow('结果')">{{ monitor.result }}</td>
194
 </template>
61
 </template>
195
 
62
 
196
 <script>
63
 <script>
197
-import store from "@/store";
64
+import store from '@/store'
198
 
65
 
199
-import { parseTime } from "@/utils";
66
+import { parseTime } from '@/utils'
200
 
67
 
201
 export default {
68
 export default {
202
-  name: "statOrder",
69
+  name: 'statOrder',
203
   data() {
70
   data() {
204
     return {
71
     return {
205
-      title: "透析监测 ",
72
+      title: '透析监测 ',
206
       template_id: 0
73
       template_id: 0
207
-    };
74
+    }
208
   },
75
   },
209
   props: {
76
   props: {
210
     monitores: {
77
     monitores: {
212
     }
79
     }
213
   },
80
   },
214
   created() {
81
   created() {
215
-    this.template_id = this.$store.getters.xt_user.template_info.template_id;
82
+    this.template_id = this.$store.getters.xt_user.template_info.template_id
216
   },
83
   },
217
   methods: {
84
   methods: {
218
     parseTime(time, layout) {
85
     parseTime(time, layout) {
219
-      return parseTime(time, layout);
86
+      return parseTime(time, layout)
220
     },
87
     },
221
     isShow(name) {
88
     isShow(name) {
222
-      var filedList = store.getters.xt_user.fileds;
89
+      var filedList = store.getters.xt_user.fileds
223
       for (let i = 0; i < filedList.length; i++) {
90
       for (let i = 0; i < filedList.length; i++) {
224
-        if (
225
-          filedList[i].module == 4 &&
226
-          filedList[i].filed_name_cn == name &&
227
-          filedList[i].is_show == 1
228
-        ) {
229
-          return true;
91
+        if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show === 1) {
92
+          return true
230
         }
93
         }
231
       }
94
       }
232
-      return false;
95
+      return false
233
     }
96
     }
234
   }
97
   }
235
-};
98
+}
236
 </script>
99
 </script>
237
 
100
 
238
 <style rel="stylesheet/scss" lang="scss" scoped>
101
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 180 - 180
src/xt_pages/dialysis/details/index.vue Näytä tiedosto

492
 </template>
492
 </template>
493
 
493
 
494
 <script>
494
 <script>
495
-import NavIgation from "./NavIgation";
496
-import BasicInfor from "./BasicInfor";
497
-import DialysisPrescription from "./DialysisPrescription";
498
-import PastData from "./pastData";
499
-import AcceptsAssessment from "./acceptsAssessment";
500
-import AssessmentBefore from "./assessmentBefore";
501
-import StatOrder from "./statOrder";
502
-import DialysisComputer from "./dialysisComputer";
503
-import DoubleCheck from "./doubleCheck";
504
-import DialysisMonitoring from "./dialysisMonitoring";
505
-import DialysisOff from "./dialysisOff";
506
-import AssessmentAfter from "./assessmentAfter";
507
-import TreatmentOf from "./treatmentOf";
508
-import OperationStaff from "./operationStaff";
495
+import NavIgation from './NavIgation'
496
+import BasicInfor from './BasicInfor'
497
+import DialysisPrescription from './DialysisPrescription'
498
+import PastData from './pastData'
499
+import AcceptsAssessment from './acceptsAssessment'
500
+import AssessmentBefore from './assessmentBefore'
501
+import StatOrder from './statOrder'
502
+import DialysisComputer from './dialysisComputer'
503
+import DoubleCheck from './doubleCheck'
504
+import DialysisMonitoring from './dialysisMonitoring'
505
+import DialysisOff from './dialysisOff'
506
+import AssessmentAfter from './assessmentAfter'
507
+import TreatmentOf from './treatmentOf'
508
+import OperationStaff from './operationStaff'
509
 import {
509
 import {
510
   getDialysisScheduleDetail,
510
   getDialysisScheduleDetail,
511
   getLongAdvice,
511
   getLongAdvice,
512
   getDialysisRecordInitData,
512
   getDialysisRecordInitData,
513
   getDialysisSchedules
513
   getDialysisSchedules
514
-} from "@/api/dialysis_record";
515
-import { parseTime } from "@/utils";
516
-import BreadCrumb from "@/xt_pages/components/bread-crumb";
514
+} from '@/api/dialysis_record'
515
+import { parseTime } from '@/utils'
516
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
517
 
517
 
518
 export default {
518
 export default {
519
-  name: "index",
519
+  name: 'index',
520
   components: {
520
   components: {
521
     NavIgation,
521
     NavIgation,
522
     BasicInfor,
522
     BasicInfor,
537
   data() {
537
   data() {
538
     return {
538
     return {
539
       crumbs: [
539
       crumbs: [
540
-        { path: false, name: "透析管理" },
541
-        { path: false, name: "透析记录" },
542
-        { path: false, name: "透析单" }
540
+        { path: false, name: '透析管理' },
541
+        { path: false, name: '透析记录' },
542
+        { path: false, name: '透析单' }
543
       ],
543
       ],
544
       dialogFormVisible: false,
544
       dialogFormVisible: false,
545
       orders: false,
545
       orders: false,
630
       arr:[],
630
       arr:[],
631
       newName:'',
631
       newName:'',
632
       newTime:''
632
       newTime:''
633
-    };
633
+    }
634
   },
634
   },
635
   created() {
635
   created() {
636
     var patient_id = this.$route.query.patient_id;
636
     var patient_id = this.$route.query.patient_id;
674
   computed: {
674
   computed: {
675
     steps: function() {
675
     steps: function() {
676
       var steps = [
676
       var steps = [
677
-        { title: "透析处方", finish: false },
678
-        { title: "接诊评估", finish: false },
679
-        { title: "透前评估", finish: false },
680
-        { title: "临时医嘱", finish: false },
681
-        { title: "双人核对", finish: false },
682
-        { title: "透析上机", finish: false },
683
-        { title: "透析监测", finish: false },
684
-        { title: "透析下机", finish: false },
685
-        { title: "透后评估", finish: false },
686
-        { title: "治疗小结", finish: false }
687
-      ];
677
+        { title: '透析处方', finish: false },
678
+        { title: '接诊评估', finish: false },
679
+        { title: '透前评估', finish: false },
680
+        { title: '临时医嘱', finish: false },
681
+        { title: '双人核对', finish: false },
682
+        { title: '透析上机', finish: false },
683
+        { title: '透析监测', finish: false },
684
+        { title: '透析下机', finish: false },
685
+        { title: '透后评估', finish: false },
686
+        { title: '治疗小结', finish: false }
687
+      ]
688
 
688
 
689
-      steps[0].finish = this.prescription.id && this.prescription.creater > 0;
690
-      steps[1].finish = this.receiver_treatment_access.id > 0;
689
+      steps[0].finish = this.prescription.id && this.prescription.creater > 0
690
+      steps[1].finish = this.receiver_treatment_access.id > 0
691
       steps[2].finish =
691
       steps[2].finish =
692
         this.predialysis_evaluation.id > 0 &&
692
         this.predialysis_evaluation.id > 0 &&
693
-        this.predialysis_evaluation.creater > 0;
694
-      steps[3].finish = this.doctor_advices.length > 0;
695
-      steps[5].finish = this.dialysis_order.id > 0;
693
+        this.predialysis_evaluation.creater > 0
694
+      steps[3].finish = this.doctor_advices.length > 0
695
+      steps[5].finish = this.dialysis_order.id > 0
696
       steps[7].finish =
696
       steps[7].finish =
697
-        this.dialysis_order.id > 0 && this.dialysis_order.stage == 2;
697
+        this.dialysis_order.id > 0 && this.dialysis_order.stage == 2
698
 
698
 
699
       steps[4].finish =
699
       steps[4].finish =
700
         this.double_check.id > 0 &&
700
         this.double_check.id > 0 &&
701
         this.double_check.creater > 0 &&
701
         this.double_check.creater > 0 &&
702
-        this.double_check.modifier > 0;
703
-      steps[6].finish = this.monitor_records.length > 0;
702
+        this.double_check.modifier > 0
703
+      steps[6].finish = this.monitor_records.length > 0
704
       steps[8].finish =
704
       steps[8].finish =
705
         this.assessment_after_dislysis.id > 0 &&
705
         this.assessment_after_dislysis.id > 0 &&
706
-        this.assessment_after_dislysis.creater > 0;
707
-      steps[9].finish = this.treatment_summary.id > 0;
706
+        this.assessment_after_dislysis.creater > 0
707
+      steps[9].finish = this.treatment_summary.id > 0
708
 
708
 
709
-      return steps;
709
+      return steps
710
     },
710
     },
711
     filtedSchedules: function() {
711
     filtedSchedules: function() {
712
       var search_keyword = this.search_keyword
712
       var search_keyword = this.search_keyword
785
   },
785
   },
786
   methods: {
786
   methods: {
787
     adviceFunc() {
787
     adviceFunc() {
788
-      this.getScheduleDetail();
788
+      this.getScheduleDetail()
789
     },
789
     },
790
     getLongAdvice() {
790
     getLongAdvice() {
791
-      let params = {
791
+      const params = {
792
         patient_id: this.patient_id
792
         patient_id: this.patient_id
793
-      };
793
+      }
794
       getLongAdvice(params).then(rs => {
794
       getLongAdvice(params).then(rs => {
795
-        var resp = rs.data;
795
+        var resp = rs.data
796
         if (resp.state == 1) {
796
         if (resp.state == 1) {
797
-          var status = parseInt(resp.data.status);
797
+          var status = parseInt(resp.data.status)
798
 
798
 
799
           switch (status) {
799
           switch (status) {
800
             case 2:
800
             case 2:
801
-              var totalAdvice = resp.data.advices;
802
-              var longAdvicesTwo = resp.data.advices_two;
803
-              var waitUploadAdvices = [];
801
+              var totalAdvice = resp.data.advices
802
+              var longAdvicesTwo = resp.data.advices_two
803
+              var waitUploadAdvices = []
804
               for (let i = 0; i < totalAdvice.length; i++) {
804
               for (let i = 0; i < totalAdvice.length; i++) {
805
-                totalAdvice[i]["isCheck"] = 1;
805
+                totalAdvice[i]['isCheck'] = 1
806
               }
806
               }
807
 
807
 
808
               for (let i = 0; i < totalAdvice.length; i++) {
808
               for (let i = 0; i < totalAdvice.length; i++) {
813
                     totalAdvice[i].frequency_type ==
813
                     totalAdvice[i].frequency_type ==
814
                       longAdvicesTwo[a].frequency_type
814
                       longAdvicesTwo[a].frequency_type
815
                   ) {
815
                   ) {
816
-                    totalAdvice[i]["isCheck"] = 0;
816
+                    totalAdvice[i]['isCheck'] = 0
817
                   }
817
                   }
818
                 }
818
                 }
819
               }
819
               }
820
 
820
 
821
               for (let i = 0; i < totalAdvice.length; i++) {
821
               for (let i = 0; i < totalAdvice.length; i++) {
822
                 if (totalAdvice[i].isCheck == 1) {
822
                 if (totalAdvice[i].isCheck == 1) {
823
-                  waitUploadAdvices.push(totalAdvice[i]);
823
+                  waitUploadAdvices.push(totalAdvice[i])
824
                 }
824
                 }
825
               }
825
               }
826
 
826
 
827
-              this.is_open = resp.data.is_open_remind;
828
-              this.longAdvices = totalAdvice;
829
-              this.waitUploadAdvices = waitUploadAdvices;
830
-              break;
827
+              this.is_open = resp.data.is_open_remind
828
+              this.longAdvices = totalAdvice
829
+              this.waitUploadAdvices = waitUploadAdvices
830
+              break
831
           }
831
           }
832
         } else {
832
         } else {
833
-          this.$message.error(resp.msg);
833
+          this.$message.error(resp.msg)
834
         }
834
         }
835
-      });
835
+      })
836
     },
836
     },
837
     assessmentAfterDislysisFunc: function(val) {
837
     assessmentAfterDislysisFunc: function(val) {
838
       for (var index in val) {
838
       for (var index in val) {
839
-        this.$set(this.assessment_after_dislysis, index, val[index]);
839
+        this.$set(this.assessment_after_dislysis, index, val[index])
840
       }
840
       }
841
     },
841
     },
842
     didDelMonitor(record_id) {
842
     didDelMonitor(record_id) {
843
-      var mrl = this.monitor_records.length;
843
+      var mrl = this.monitor_records.length
844
       for (let index = 0; index < mrl; index++) {
844
       for (let index = 0; index < mrl; index++) {
845
         if (this.monitor_records[index].id == record_id) {
845
         if (this.monitor_records[index].id == record_id) {
846
-          this.monitor_records.splice(index, 1);
847
-          break;
846
+          this.monitor_records.splice(index, 1)
847
+          break
848
         }
848
         }
849
       }
849
       }
850
     },
850
     },
851
     getScheduleDetail: function() {
851
     getScheduleDetail: function() {
852
-      this.loading = true;
853
-      var dateStr = parseTime(this.date, "{y}-{m}-{d}");
854
-      this.doctor_advices = [];
852
+      this.loading = true
853
+      var dateStr = parseTime(this.date, '{y}-{m}-{d}')
854
+      this.doctor_advices = []
855
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
855
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
856
-        var resp = rs.data;
856
+        var resp = rs.data
857
         if (resp.state == 1) {
857
         if (resp.state == 1) {
858
-          var patient = resp.data.patient; // 患者信息
859
-          console.log("患者信息",patient)
860
-          var schedual = resp.data.schedual; // 患者排班信息
861
-          var prescription = resp.data.prescription; // 透析处方
862
-          if(prescription!=null){
863
-              if(prescription.body_fluid == -2 ){
864
-                 prescription.body_fluid = 0
865
-             }
858
+          var patient = resp.data.patient // 患者信息
859
+          var schedual = resp.data.schedual // 患者排班信息
860
+          var prescription = resp.data.prescription // 透析处方
861
+          if (prescription != null) {
862
+            if (prescription.body_fluid == -2) {
863
+              prescription.body_fluid = 0
864
+            }
865
+
866
+          }
867
+          console.log('透析处方', prescription)
868
+          var solution = resp.data.solution // 透析方案
869
+          var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
870
+          console.log('receiver_treatment_access', receiver_treatment_access)
871
+          var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
872
+          console.log('透前评估', predialysis_evaluation)
873
+          if (predialysis_evaluation != null) {
874
+            if (predialysis_evaluation.blood_access_part_id == -2) {
875
+              predialysis_evaluation.blood_access_part_id = 0
876
+            }
866
           }
877
           }
867
-          console.log("透析处方",prescription)
868
-          var solution = resp.data.solution; // 透析方案
869
-          var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
870
-          console.log("receiver_treatment_access",receiver_treatment_access)
871
-          var predialysis_evaluation = resp.data.predialysis_evaluation; // 透前评估
872
-          console.log("透前评估",predialysis_evaluation)
873
-           if(predialysis_evaluation !=null){
874
-             if(predialysis_evaluation.blood_access_part_id == -2){
875
-                predialysis_evaluation.blood_access_part_id = 0
876
-             }
877
-           }
878
-          var doctor_advices = resp.data.doctor_advices; // 临时医嘱
879
-          //console.log("力气-------", doctor_advices);
880
-          var double_check = resp.data.double_check; // 双人核对
881
-          var assessment_after_dislysis = resp.data.assessment_after_dislysis; // 透后评估
882
-          //console.log("透后品谷数", assessment_after_dislysis);
883
-          var treatment_summary = resp.data.treatment_summary; // 治疗小结
884
-          var monitor_records = resp.data.monitor_records; // 透析监测
885
-          var dialysis_order = resp.data.dialysis_order; // 透析记录
878
+          var doctor_advices = resp.data.doctor_advices // 临时医嘱
879
+          // console.log("力气-------", doctor_advices);
880
+          var double_check = resp.data.double_check // 双人核对
881
+          var assessment_after_dislysis = resp.data.assessment_after_dislysis // 透后评估
882
+          // console.log("透后品谷数", assessment_after_dislysis);
883
+          var treatment_summary = resp.data.treatment_summary // 治疗小结
884
+          var monitor_records = resp.data.monitor_records // 透析监测
885
+          var dialysis_order = resp.data.dialysis_order // 透析记录
886
 
886
 
887
-          var niprocart_info = resp.data.niprocart_info;
888
-          var jms_info = resp.data.jms_info;
889
-          var fistula_needle_set_info = resp.data.fistula_needle_set_info;
890
-          var fistula_needle_set_16_info = resp.data.fistula_needle_set_16_info;
891
-          var hemoperfusion_info = resp.data.hemoperfusion_info;
892
-          var dialyser_sterilised_info = resp.data.dialyser_sterilised_info;
893
-          var filtryzer_info = resp.data.filtryzer_info;
894
-          var dialyzers_info = resp.data.dialyzers_info;
895
-          var injector_info = resp.data.injector_info;
896
-          var bloodlines_info = resp.data.bloodlines_info;
897
-          var tubingHemodialysis_info = resp.data.tubingHemodialysis_info;
898
-          var safe_package_info = resp.data.safe_package_info;
899
-          var aliquid_info = resp.data.aliquid_info;
887
+          var niprocart_info = resp.data.niprocart_info
888
+          var jms_info = resp.data.jms_info
889
+          var fistula_needle_set_info = resp.data.fistula_needle_set_info
890
+          var fistula_needle_set_16_info = resp.data.fistula_needle_set_16_info
891
+          var hemoperfusion_info = resp.data.hemoperfusion_info
892
+          var dialyser_sterilised_info = resp.data.dialyser_sterilised_info
893
+          var filtryzer_info = resp.data.filtryzer_info
894
+          var dialyzers_info = resp.data.dialyzers_info
895
+          var injector_info = resp.data.injector_info
896
+          var bloodlines_info = resp.data.bloodlines_info
897
+          var tubingHemodialysis_info = resp.data.tubingHemodialysis_info
898
+          var safe_package_info = resp.data.safe_package_info
899
+          var aliquid_info = resp.data.aliquid_info
900
 
900
 
901
-          var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation;
902
-          console.log("上次透前评估",lastPredialysisEvaluation)
903
-          if(lastPredialysisEvaluation !=null){
904
-             if(lastPredialysisEvaluation.blood_access_part_id == -2){
905
-               lastPredialysisEvaluation.blood_access_part_id = 0
906
-             }
901
+          var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation
902
+          console.log('上次透前评估', lastPredialysisEvaluation)
903
+          if (lastPredialysisEvaluation != null) {
904
+            if (lastPredialysisEvaluation.blood_access_part_id == -2) {
905
+              lastPredialysisEvaluation.blood_access_part_id = 0
906
+            }
907
           }
907
           }
908
-          var lastMonitorRecord = resp.data.lastMonitorRecord;
908
+          var lastMonitorRecord = resp.data.lastMonitorRecord
909
           var lastAssessmentAfterDislysis =
909
           var lastAssessmentAfterDislysis =
910
-            resp.data.lastAssessmentAfterDislysis;
911
-          var lastDialysisPrescribe = resp.data.lastDialysisPrescribe;
912
-          var lastDryWeightDislysis = resp.data.lastDryWeightDislysis;
910
+            resp.data.lastAssessmentAfterDislysis
911
+          var lastDialysisPrescribe = resp.data.lastDialysisPrescribe
912
+          var lastDryWeightDislysis = resp.data.lastDryWeightDislysis
913
 
913
 
914
-          var system_prescribe = resp.data.system_prescribe;
914
+          var system_prescribe = resp.data.system_prescribe
915
 
915
 
916
           this.$refs.nav.setLastRecord(
916
           this.$refs.nav.setLastRecord(
917
             lastPredialysisEvaluation,
917
             lastPredialysisEvaluation,
921
             lastDryWeightDislysis,
921
             lastDryWeightDislysis,
922
             schedual,
922
             schedual,
923
             system_prescribe
923
             system_prescribe
924
-          );
924
+          )
925
           
925
           
926
 
926
 
927
-          var headNurses = resp.data.headNurse;
927
+          var headNurses = resp.data.headNurse
928
 
928
 
929
-          var config = resp.data.config;
930
-          this.lastPredialysisEvaluation = lastPredialysisEvaluation;
931
-          this.lastMonitorRecord = lastMonitorRecord;
932
-          this.lastAssessmentAfterDislysis = lastAssessmentAfterDislysis;
933
-          this.lastDialysisPrescribe = lastDialysisPrescribe;
934
-          this.lastDryWeightDislysis = lastDryWeightDislysis;
935
-          this.headNurses = headNurses;
936
-          this.system_prescribe = system_prescribe;
929
+          var config = resp.data.config
930
+          this.lastPredialysisEvaluation = lastPredialysisEvaluation
931
+          this.lastMonitorRecord = lastMonitorRecord
932
+          this.lastAssessmentAfterDislysis = lastAssessmentAfterDislysis
933
+          this.lastDialysisPrescribe = lastDialysisPrescribe
934
+          this.lastDryWeightDislysis = lastDryWeightDislysis
935
+          this.headNurses = headNurses
936
+          this.system_prescribe = system_prescribe
937
 
937
 
938
-          this.niprocart_info = niprocart_info;
939
-          this.jms_info = jms_info;
940
-          this.fistula_needle_set_info = fistula_needle_set_info;
941
-          this.fistula_needle_set_16_info = fistula_needle_set_16_info;
942
-          this.hemoperfusion_info = hemoperfusion_info;
943
-          this.dialyser_sterilised_info = dialyser_sterilised_info;
944
-          this.filtryzer_info = filtryzer_info;
945
-          this.dialyzers_info = dialyzers_info;
946
-          this.injector_info = injector_info;
947
-          this.bloodlines_info = bloodlines_info;
948
-          this.tubingHemodialysis_info = tubingHemodialysis_info;
949
-          this.safe_package_info = safe_package_info;
950
-          this.aliquid_info = aliquid_info;
951
-          this.config = config;
938
+          this.niprocart_info = niprocart_info
939
+          this.jms_info = jms_info
940
+          this.fistula_needle_set_info = fistula_needle_set_info
941
+          this.fistula_needle_set_16_info = fistula_needle_set_16_info
942
+          this.hemoperfusion_info = hemoperfusion_info
943
+          this.dialyser_sterilised_info = dialyser_sterilised_info
944
+          this.filtryzer_info = filtryzer_info
945
+          this.dialyzers_info = dialyzers_info
946
+          this.injector_info = injector_info
947
+          this.bloodlines_info = bloodlines_info
948
+          this.tubingHemodialysis_info = tubingHemodialysis_info
949
+          this.safe_package_info = safe_package_info
950
+          this.aliquid_info = aliquid_info
951
+          this.config = config
952
 
952
 
953
-          this.patient = patient;
954
-          this.schedual = schedual == null ? { id: 0 } : schedual;
955
-          this.prescription = prescription == null ? { id: 0 } : prescription;
956
-          this.solution = solution == null ? { id: 0 } : solution;
953
+          this.patient = patient
954
+          this.schedual = schedual == null ? { id: 0 } : schedual
955
+          this.prescription = prescription == null ? { id: 0 } : prescription
956
+          this.solution = solution == null ? { id: 0 } : solution
957
           this.receiver_treatment_access =
957
           this.receiver_treatment_access =
958
             receiver_treatment_access == null
958
             receiver_treatment_access == null
959
               ? { id: 0 }
959
               ? { id: 0 }
960
-              : receiver_treatment_access;
960
+              : receiver_treatment_access
961
           this.predialysis_evaluation =
961
           this.predialysis_evaluation =
962
-            predialysis_evaluation == null ? { id: 0 } : predialysis_evaluation;
963
-          this.doctor_advices = doctor_advices == null ? [] : doctor_advices;
964
-          this.double_check = double_check == null ? { id: 0 } : double_check;
962
+            predialysis_evaluation == null ? { id: 0 } : predialysis_evaluation
963
+          this.doctor_advices = doctor_advices == null ? [] : doctor_advices
964
+          this.double_check = double_check == null ? { id: 0 } : double_check
965
           this.assessment_after_dislysis =
965
           this.assessment_after_dislysis =
966
             assessment_after_dislysis == null
966
             assessment_after_dislysis == null
967
               ? { id: 0 }
967
               ? { id: 0 }
968
-              : assessment_after_dislysis;
968
+              : assessment_after_dislysis
969
           this.treatment_summary =
969
           this.treatment_summary =
970
-            treatment_summary == null ? { id: 0 } : treatment_summary;
971
-          this.monitor_records = monitor_records == null ? [] : monitor_records;
970
+            treatment_summary == null ? { id: 0 } : treatment_summary
971
+          this.monitor_records = monitor_records == null ? [] : monitor_records
972
           this.dialysis_order =
972
           this.dialysis_order =
973
-            dialysis_order == null ? { id: 0 } : dialysis_order;
973
+            dialysis_order == null ? { id: 0 } : dialysis_order
974
 
974
 
975
           // this.$refs.stat_order.setAdvices(this.doctor_advices)
975
           // this.$refs.stat_order.setAdvices(this.doctor_advices)
976
           // this.$refs.monitoring.setRecords(this.monitor_records)
976
           // this.$refs.monitoring.setRecords(this.monitor_records)
977
 
977
 
978
-          this.admin_users = resp.data.doctors;
979
-          this.devices = resp.data.devices;
980
-          this.device_numbers = resp.data.device_numbers;
978
+          this.admin_users = resp.data.doctors
979
+          this.devices = resp.data.devices
980
+          this.device_numbers = resp.data.device_numbers
981
 
981
 
982
-          var device_map = {};
982
+          var device_map = {}
983
           for (let index = 0; index < this.devices.length; index++) {
983
           for (let index = 0; index < this.devices.length; index++) {
984
-            const device = this.devices[index];
985
-            device_map[device.id] = device;
984
+            const device = this.devices[index]
985
+            device_map[device.id] = device
986
           }
986
           }
987
-          this.device_map = device_map;
987
+          this.device_map = device_map
988
 
988
 
989
-          var admin_map = {};
989
+          var admin_map = {}
990
           for (let index = 0; index < this.admin_users.length; index++) {
990
           for (let index = 0; index < this.admin_users.length; index++) {
991
-            const admin = this.admin_users[index];
992
-            admin_map[admin.id] = admin;
991
+            const admin = this.admin_users[index]
992
+            admin_map[admin.id] = admin
993
           }
993
           }
994
-          this.admin_user_map = admin_map;
994
+          this.admin_user_map = admin_map
995
 
995
 
996
-          var device_number_map = {};
996
+          var device_number_map = {}
997
           for (let index = 0; index < this.device_numbers.length; index++) {
997
           for (let index = 0; index < this.device_numbers.length; index++) {
998
-            const device_number = this.device_numbers[index];
999
-            device_number_map[device_number.id] = device_number;
998
+            const device_number = this.device_numbers[index]
999
+            device_number_map[device_number.id] = device_number
1000
           }
1000
           }
1001
-          this.device_number_map = device_number_map;
1001
+          this.device_number_map = device_number_map
1002
         } else {
1002
         } else {
1003
-          this.$message.error(resp.msg);
1003
+          this.$message.error(resp.msg)
1004
         }
1004
         }
1005
 
1005
 
1006
         if (this.lastDialysisPrescribe != null) {
1006
         if (this.lastDialysisPrescribe != null) {
1007
-          delete this.lastDialysisPrescribe.target_ultrafiltration;
1007
+          delete this.lastDialysisPrescribe.target_ultrafiltration
1008
         }
1008
         }
1009
         if (this.solution != null) {
1009
         if (this.solution != null) {
1010
-          delete this.solution.target_ultrafiltration;
1010
+          delete this.solution.target_ultrafiltration
1011
         }
1011
         }
1012
-        this.loading = false;
1013
-      });
1012
+        this.loading = false
1013
+      })
1014
     },
1014
     },
1015
     printOrder() {
1015
     printOrder() {
1016
-      var xtdate = parseTime(this.date, "{y}-{m}-{d}");
1016
+      var xtdate = parseTime(this.date, '{y}-{m}-{d}')
1017
       this.$router.push(
1017
       this.$router.push(
1018
-        "/dialysis/print?xtdate=" + xtdate + "&xtno=" + this.patient.dialysis_no
1019
-      );
1018
+        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
1019
+      )
1020
     },
1020
     },
1021
     //日期
1021
     //日期
1022
     handleScheduleDateChange: function() {
1022
     handleScheduleDateChange: function() {
1417
       
1417
       
1418
     }
1418
     }
1419
   },
1419
   },
1420
-};
1420
+}
1421
 </script>
1421
 </script>
1422
 
1422
 
1423
 <style style="stylesheet/scss" lang="scss" scoped>
1423
 <style style="stylesheet/scss" lang="scss" scoped>