See999 vor 5 Jahren
Ursprung
Commit
f2a8b6d067

+ 175 - 157
src/api/advice.js Datei anzeigen

@@ -1,44 +1,45 @@
1
-import request from '@/utils/request'
1
+import request from "@/utils/request";
2 2
 
3 3
 export function getAdviceConfig(type) {
4 4
   return request({
5
-    url: '/api/getadviceconfigs?type=' + type,
6
-    method: 'get'
7
-  })
5
+    url: "/api/getadviceconfigs?type=" + type,
6
+    method: "get"
7
+  });
8 8
 }
9 9
 
10 10
 export function getAllAdviceConfig() {
11 11
   return request({
12
-    url: '/api/getalladviceconfig',
13
-    method: 'get'
14
-  })
12
+    url: "/api/getalladviceconfig",
13
+    method: "get"
14
+  });
15 15
 }
16 16
 
17 17
 export function CreateDoctorAdvice(id, advice, mode) {
18 18
   return request({
19
-    url: '/api/patients/advice/create?id=' + id + '&mode=' + mode,
20
-    method: 'post',
19
+    url: "/api/patients/advice/create?id=" + id + "&mode=" + mode,
20
+    method: "post",
21 21
     data: advice,
22 22
     headers: {
23 23
       Permission: 3
24 24
     }
25
-  })
25
+  });
26 26
 }
27 27
 
28 28
 export function EditDoctorAdvice(patient, id, advice, mode) {
29 29
   return request({
30
-    url: '/api/patients/advice/edit?id=' +
30
+    url:
31
+      "/api/patients/advice/edit?id=" +
31 32
       id +
32
-      '&patient=' +
33
+      "&patient=" +
33 34
       patient +
34
-      '&mode=' +
35
+      "&mode=" +
35 36
       mode,
36
-    method: 'Put',
37
+    method: "Put",
37 38
     data: advice,
38 39
     headers: {
39 40
       Permission: 2
40 41
     }
41
-  })
42
+  });
42 43
 }
43 44
 
44 45
 export function ExecDoctorAdvice(patient, id, time, mode) {
@@ -47,15 +48,15 @@ export function ExecDoctorAdvice(patient, id, time, mode) {
47 48
     patient: patient,
48 49
     execution_time: time,
49 50
     mode: mode
50
-  }
51
+  };
51 52
   return request({
52
-    url: '/api/patients/advice/exec',
53
-    method: 'Post',
53
+    url: "/api/patients/advice/exec",
54
+    method: "Post",
54 55
     params: params,
55 56
     headers: {
56 57
       Permission: 2
57 58
     }
58
-  })
59
+  });
59 60
 }
60 61
 export function CheckDoctorAdvice(patient, id, mode) {
61 62
   var params = {
@@ -63,23 +64,23 @@ export function CheckDoctorAdvice(patient, id, mode) {
63 64
     patient: patient,
64 65
     mode: mode
65 66
     // execution_time: time,
66
-  }
67
+  };
67 68
   return request({
68
-    url: '/api/patients/advice/check',
69
-    method: 'Post',
69
+    url: "/api/patients/advice/check",
70
+    method: "Post",
70 71
     params: params,
71 72
     headers: {
72 73
       Permission: 2
73 74
     }
74
-  })
75
+  });
75 76
 }
76 77
 
77 78
 export function getDoctorAdviceList(params) {
78 79
   return request({
79
-    url: '/api/patients/advices',
80
-    method: 'Get',
80
+    url: "/api/patients/advices",
81
+    method: "Get",
81 82
     params: params
82
-  })
83
+  });
83 84
 }
84 85
 
85 86
 // export function StopDoctorAdvice(id, reason,mode) {
@@ -94,368 +95,385 @@ export function getDoctorAdviceList(params) {
94 95
 
95 96
 export function StopGroupAdvice(groupno, reason, mode) {
96 97
   return request({
97
-    url: '/api/patients/advice/stopgroup?groupno=' + groupno + '&mode=' + mode,
98
-    method: 'Post',
98
+    url: "/api/patients/advice/stopgroup?groupno=" + groupno + "&mode=" + mode,
99
+    method: "Post",
99 100
     data: reason,
100 101
     headers: {
101 102
       Permission: 3
102 103
     }
103
-  })
104
+  });
104 105
 }
105 106
 
106 107
 export function DeleteDoctorAdvice(id, mode) {
107 108
   return request({
108
-    url: '/api/patients/advice/delete?id=' + id + '&mode=' + mode,
109
-    method: 'Delete',
109
+    url: "/api/patients/advice/delete?id=" + id + "&mode=" + mode,
110
+    method: "Delete",
110 111
     headers: {
111 112
       Permission: 2
112 113
     }
113
-  })
114
+  });
114 115
 }
115 116
 
116 117
 export function CreateDrugDic(data) {
117 118
   return request({
118
-    url: '/api/drugdic/create',
119
-    method: 'post',
119
+    url: "/api/drugdic/create",
120
+    method: "post",
120 121
     data: data
121
-  })
122
+  });
122 123
 }
123 124
 export function UpdateDrugDic(id, data) {
124 125
   return request({
125
-    url: '/api/drugdic/update?id=' + id,
126
-    method: 'put',
126
+    url: "/api/drugdic/update?id=" + id,
127
+    method: "put",
127 128
     data: data
128
-  })
129
+  });
129 130
 }
130 131
 export function DeleteDrugDic(id) {
131 132
   return request({
132
-    url: '/api/drugdic/delete?id=' + id,
133
-    method: 'delete'
134
-  })
133
+    url: "/api/drugdic/delete?id=" + id,
134
+    method: "delete"
135
+  });
135 136
 }
136 137
 
137 138
 export function CreateDrugWay(data) {
138 139
   return request({
139
-    url: '/api/drugway/create',
140
-    method: 'post',
140
+    url: "/api/drugway/create",
141
+    method: "post",
141 142
     data: data
142
-  })
143
+  });
143 144
 }
144 145
 
145 146
 export function UpdateDrugWay(id, data) {
146 147
   return request({
147
-    url: '/api/drugway/update?id=' + id,
148
-    method: 'put',
148
+    url: "/api/drugway/update?id=" + id,
149
+    method: "put",
149 150
     data: data
150
-  })
151
+  });
151 152
 }
152 153
 export function DeleteDrugWay(id) {
153 154
   return request({
154
-    url: '/api/drugway/delete?id=' + id,
155
-    method: 'delete'
156
-  })
155
+    url: "/api/drugway/delete?id=" + id,
156
+    method: "delete"
157
+  });
157 158
 }
158 159
 
159 160
 export function CreateExecutionFrequency(data) {
160 161
   return request({
161
-    url: '/api/executionfrequency/create',
162
-    method: 'post',
162
+    url: "/api/executionfrequency/create",
163
+    method: "post",
163 164
     data: data
164
-  })
165
+  });
165 166
 }
166 167
 
167 168
 export function UpdateExecutionFrequency(id, data) {
168 169
   return request({
169
-    url: '/api/executionfrequency/update?id=' + id,
170
-    method: 'put',
170
+    url: "/api/executionfrequency/update?id=" + id,
171
+    method: "put",
171 172
     data: data
172
-  })
173
+  });
173 174
 }
174 175
 export function DeleteExecutionFrequency(id) {
175 176
   return request({
176
-    url: '/api/executionfrequency/delete?id=' + id,
177
-    method: 'delete'
178
-  })
177
+    url: "/api/executionfrequency/delete?id=" + id,
178
+    method: "delete"
179
+  });
179 180
 }
180 181
 export function CreateAdviceTemplate(data) {
181 182
   return request({
182
-    url: '/api/advicetemplate/create',
183
-    method: 'post',
183
+    url: "/api/advicetemplate/create",
184
+    method: "post",
184 185
     data: data
185
-  })
186
+  });
186 187
 }
187 188
 
188 189
 export function UpdateAdviceTemplate(id, data) {
189 190
   return request({
190
-    url: '/api/advicetemplate/update?id=' + id,
191
-    method: 'put',
191
+    url: "/api/advicetemplate/update?id=" + id,
192
+    method: "put",
192 193
     data: data
193
-  })
194
+  });
194 195
 }
195 196
 export function DeleteAdviceTemplate(id, template_id, parent_id) {
196 197
   return request({
197
-    url: '/api/advicetemplate/delete?id=' +
198
+    url:
199
+      "/api/advicetemplate/delete?id=" +
198 200
       id +
199
-      '&template_id=' +
201
+      "&template_id=" +
200 202
       template_id +
201
-      '&parent_id=' +
203
+      "&parent_id=" +
202 204
       parent_id,
203
-    method: 'delete'
204
-  })
205
+    method: "delete"
206
+  });
205 207
 }
206 208
 
207 209
 export function postAdviceTemplate(params, name, advice_type) {
208 210
   return request({
209
-    url: '/api/advicetemplate/create?template_name=' +
211
+    url:
212
+      "/api/advicetemplate/create?template_name=" +
210 213
       name +
211
-      '&advice_type=' +
214
+      "&advice_type=" +
212 215
       advice_type,
213
-    method: 'post',
216
+    method: "post",
214 217
     data: params
215
-  })
218
+  });
216 219
 }
217 220
 
218 221
 export function CreateGroupAdvice(id, groupno, advices, mode) {
219 222
   if (advices.remind > 0) {
220 223
     return request({
221
-      url: '/api/patients/advice/creategroup?id=' +
224
+      url:
225
+        "/api/patients/advice/creategroup?id=" +
222 226
         id +
223
-        '&groupno=' +
227
+        "&groupno=" +
224 228
         groupno +
225
-        '&mode=' +
229
+        "&mode=" +
226 230
         mode,
227
-      method: 'post',
231
+      method: "post",
228 232
       data: advices,
229 233
       headers: {
230 234
         Permission: 2
231 235
       }
232
-    })
236
+    });
233 237
   } else {
234 238
     return request({
235
-      url: '/api/patients/advice/creategroup?id=' +
239
+      url:
240
+        "/api/patients/advice/creategroup?id=" +
236 241
         id +
237
-        '&groupno=' +
242
+        "&groupno=" +
238 243
         groupno +
239
-        '&mode=' +
244
+        "&mode=" +
240 245
         mode,
241
-      method: 'post',
246
+      method: "post",
242 247
       data: advices,
243 248
       headers: {
244 249
         Permission: 2
245 250
       }
246
-    })
251
+    });
247 252
   }
248 253
 }
249 254
 export function DeleteGroupAdvice(groupno, mode) {
250 255
   return request({
251
-    url: '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
252
-    method: 'delete',
256
+    url:
257
+      "/api/patients/advice/deletegroup?groupno=" + groupno + "&mode=" + mode,
258
+    method: "delete",
253 259
     headers: {
254 260
       Permission: 3
255 261
     }
256
-  })
262
+  });
257 263
 }
258 264
 
259 265
 export function getAllAdviceTemplate() {
260 266
   return request({
261
-    url: '/api/advicetemplate/list',
262
-    method: 'get'
263
-  })
267
+    url: "/api/advicetemplate/list",
268
+    method: "get"
269
+  });
264 270
 }
265 271
 
266 272
 export function CreateSingleAdviceTemplate(advices) {
267 273
   return request({
268
-    url: '/api/advicetemplate/add',
269
-    method: 'post',
274
+    url: "/api/advicetemplate/add",
275
+    method: "post",
270 276
     params: advices
271
-  })
277
+  });
272 278
 }
273 279
 export function DeleteParentAdviceTemplate(id) {
274 280
   return request({
275
-    url: '/api/adviceparenttemplate/delete?template_id=' + id,
276
-    method: 'delete'
277
-  })
281
+    url: "/api/adviceparenttemplate/delete?template_id=" + id,
282
+    method: "delete"
283
+  });
278 284
 }
279 285
 
280 286
 export function CreateSubAdvice(params) {
281 287
   return request({
282
-    url: '/api/subadvice/create',
283
-    method: 'post',
288
+    url: "/api/subadvice/create",
289
+    method: "post",
284 290
     params: params
285
-  })
291
+  });
286 292
 }
287 293
 
288 294
 export function updateTemplateName(params) {
289 295
   return request({
290
-    url: '/api/template/modify',
291
-    method: 'post',
296
+    url: "/api/template/modify",
297
+    method: "post",
292 298
     params: params
293
-  })
299
+  });
294 300
 }
295 301
 
296 302
 export function getDoctorAdviceConfig() {
297 303
   return request({
298
-    url: '/api/adviceconfig/get',
299
-    method: 'get'
300
-  })
304
+    url: "/api/adviceconfig/get",
305
+    method: "get"
306
+  });
301 307
 }
302 308
 
303 309
 export function postDoctorAdviceConfig(params) {
304 310
   return request({
305
-    url: '/api/adviceconfig/isopen',
306
-    method: 'post',
311
+    url: "/api/adviceconfig/isopen",
312
+    method: "post",
307 313
     params: params
308
-  })
314
+  });
309 315
 }
310 316
 
311 317
 export function getDoctorInitConfig() {
312 318
   return request({
313
-    url: '/api/advicetemplate/init/get',
314
-    method: 'get'
315
-  })
319
+    url: "/api/advicetemplate/init/get",
320
+    method: "get"
321
+  });
316 322
 }
317 323
 
318 324
 export function PostInitAdviceTemplate(params) {
319 325
   return request({
320
-    url: '/api/advicetemplate/init/commit',
321
-    method: 'post',
326
+    url: "/api/advicetemplate/init/commit",
327
+    method: "post",
322 328
     params: params
323
-  })
329
+  });
324 330
 }
325 331
 
326 332
 export function getPrintInfo(data) {
327 333
   return request({
328
-    url: '/api/advicetemplate/getprintinfo',
329
-    method: 'post',
334
+    url: "/api/advicetemplate/getprintinfo",
335
+    method: "post",
330 336
     data: data
331
-  })
337
+  });
332 338
 }
333 339
 
334 340
 export function EditNewDoctorAdvice(patient, id, advice, mode) {
335 341
   return request({
336
-    url: '/api/patients/advice/edit?id=' +
342
+    url:
343
+      "/api/patients/advice/edit?id=" +
337 344
       id +
338
-      '&patient=' +
345
+      "&patient=" +
339 346
       patient +
340
-      '&mode=' +
347
+      "&mode=" +
341 348
       mode,
342
-    method: 'Put',
349
+    method: "Put",
343 350
     data: advice,
344 351
     headers: {
345 352
       Permission: 2
346 353
     }
347
-  })
354
+  });
348 355
 }
349 356
 
350 357
 export function CreateNewDoctorAdvice(id, advice, mode) {
351 358
   return request({
352
-    url: '/api/patients/advice/create?id=' + id + '&mode=' + mode,
353
-    method: 'post',
359
+    url: "/api/patients/advice/create?id=" + id + "&mode=" + mode,
360
+    method: "post",
354 361
     data: advice,
355 362
     headers: {
356 363
       Permission: 2
357 364
     }
358
-  })
365
+  });
359 366
 }
360 367
 
361 368
 export function CreateNewGroupAdvice(id, groupno, advices, mode) {
362 369
   if (advices.remind > 0) {
363 370
     return request({
364
-      url: '/api/patients/advice/creategroup?id=' +
371
+      url:
372
+        "/api/patients/advice/creategroup?id=" +
365 373
         id +
366
-        '&groupno=' +
374
+        "&groupno=" +
367 375
         groupno +
368
-        '&mode=' +
376
+        "&mode=" +
369 377
         mode,
370
-      method: 'post',
378
+      method: "post",
371 379
       data: advices,
372 380
       headers: {
373 381
         Permission: 3
374 382
       }
375
-    })
383
+    });
376 384
   } else {
377 385
     return request({
378
-      url: '/api/patients/advice/creategroup?id=' +
386
+      url:
387
+        "/api/patients/advice/creategroup?id=" +
379 388
         id +
380
-        '&groupno=' +
389
+        "&groupno=" +
381 390
         groupno +
382
-        '&mode=' +
391
+        "&mode=" +
383 392
         mode,
384
-      method: 'post',
393
+      method: "post",
385 394
       data: advices,
386 395
       headers: {
387 396
         Permission: 3
388 397
       }
389
-    })
398
+    });
390 399
   }
391 400
 }
392 401
 
393 402
 export function DeleteNewDoctorAdvice(id, mode) {
394 403
   return request({
395
-    url: '/api/patients/advice/delete?id=' + id + '&mode=' + mode,
396
-    method: 'Delete',
404
+    url: "/api/patients/advice/delete?id=" + id + "&mode=" + mode,
405
+    method: "Delete",
397 406
     headers: {
398 407
       Permission: 2
399 408
     }
400
-  })
409
+  });
401 410
 }
402 411
 
403 412
 export function DeleteNewGroupAdvice(groupno, mode) {
404 413
   return request({
405
-    url: '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
406
-    method: 'delete',
414
+    url:
415
+      "/api/patients/advice/deletegroup?groupno=" + groupno + "&mode=" + mode,
416
+    method: "delete",
407 417
     headers: {
408 418
       Permission: 3
409 419
     }
410
-  })
420
+  });
411 421
 }
412 422
 
413 423
 export function StopDoctorAdvice(id, reason, mode) {
414 424
   return request({
415
-    url: '/api/patients/advice/stop?id=' + id + '&mode=' + mode,
416
-    method: 'Post',
425
+    url: "/api/patients/advice/stop?id=" + id + "&mode=" + mode,
426
+    method: "Post",
417 427
     data: reason,
418 428
     headers: {
419 429
       Permission: 2
420 430
     }
421
-  })
431
+  });
422 432
 }
423 433
 
424 434
 export function ExecGroupAdvice(groupno, time, mode) {
425 435
   return request({
426
-    url: '/api/patients/advice/execgroup?groupno=' +
436
+    url:
437
+      "/api/patients/advice/execgroup?groupno=" +
427 438
       groupno +
428
-      '&execution_time=' +
439
+      "&execution_time=" +
429 440
       time +
430
-      '&mode=' +
441
+      "&mode=" +
431 442
       mode,
432
-    method: 'Post',
443
+    method: "Post",
433 444
     headers: {
434 445
       Permission: 2
435 446
     }
436
-  })
447
+  });
437 448
 }
438 449
 
439 450
 export function CheckGroupAdvice(groupno, mode) {
440 451
   var params = {
441 452
     groupno: groupno,
442 453
     mode: mode
443
-  }
454
+  };
444 455
   return request({
445
-    url: '/api/patients/advice/checkgroup',
446
-    method: 'Post',
456
+    url: "/api/patients/advice/checkgroup",
457
+    method: "Post",
447 458
     params: params,
448 459
     headers: {
449 460
       Permission: 2
450 461
     }
451
-  })
462
+  });
452 463
 }
453 464
 
454 465
 export function getPatientSchedules(id, params) {
455
-  console.log('id----', id)
456 466
   return request({
457
-    url: '/api/patients/advices/getpatientschedules?id=' + id,
458
-    method: 'get',
467
+    url: "/api/patients/advices/getpatientschedules?id=" + id,
468
+    method: "get",
469
+    params: params
470
+  });
471
+}
472
+
473
+export function SaveEditAdvices(params) {
474
+  return request({
475
+    url: "/api/patients/advices/saveditadvices",
476
+    method: "get",
459 477
     params: params
460
-  })
478
+  });
461 479
 }

+ 34 - 29
src/xt_pages/data/printTemplate.vue Datei anzeigen

@@ -88,7 +88,7 @@
88 88
               >
89 89
                 <el-image
90 90
                   style="width: 200px; height: 200px"
91
-                  :src="require('@/assets/home/4.png')"
91
+                  :src="require('@/assets/home/serven.png')"
92 92
                   :preview-src-list="imgs_seven"
93 93
                 ></el-image>
94 94
               </el-tooltip>
@@ -110,7 +110,7 @@
110 110
               >
111 111
                 <el-image
112 112
                   style="width: 200px; height: 200px;margin-left:-60px"
113
-                  :src="require('@/assets/home/5.png')"
113
+                  :src="require('@/assets/home/eight.png')"
114 114
                   :preview-src-list="imgs_six"
115 115
                 ></el-image>
116 116
               </el-tooltip>
@@ -145,24 +145,24 @@
145 145
           </el-col>
146 146
 
147 147
           <!--<el-col :span="6" style="text-align: center">-->
148
-            <!--<div class="demo-image__preview">-->
149
-              <!--<el-tooltip-->
150
-                <!--class="item"-->
151
-                <!--effect="dark"-->
152
-                <!--content="点击查看大图"-->
153
-                <!--placement="top-start"-->
154
-                <!--:hide-after="2000"-->
155
-              <!--&gt;-->
156
-                <!--<el-image-->
157
-                  <!--style="width: 200px; height: 200px;margin-left:30px"-->
158
-                  <!--:src="require('@/assets/home/template_ten.jpg')"-->
159
-                  <!--:preview-src-list="imgs_ten"-->
160
-                <!--&gt;</el-image>-->
161
-              <!--</el-tooltip>-->
162
-            <!--</div>-->
163
-            <!--<el-radio v-model="radio" label="10" @change="change"-->
164
-            <!--&gt;模版十</el-radio-->
165
-            <!--&gt;-->
148
+          <!--<div class="demo-image__preview">-->
149
+          <!--<el-tooltip-->
150
+          <!--class="item"-->
151
+          <!--effect="dark"-->
152
+          <!--content="点击查看大图"-->
153
+          <!--placement="top-start"-->
154
+          <!--:hide-after="2000"-->
155
+          <!--&gt;-->
156
+          <!--<el-image-->
157
+          <!--style="width: 200px; height: 200px;margin-left:30px"-->
158
+          <!--:src="require('@/assets/home/template_ten.jpg')"-->
159
+          <!--:preview-src-list="imgs_ten"-->
160
+          <!--&gt;</el-image>-->
161
+          <!--</el-tooltip>-->
162
+          <!--</div>-->
163
+          <!--<el-radio v-model="radio" label="10" @change="change"-->
164
+          <!--&gt;模版十</el-radio-->
165
+          <!--&gt;-->
166 166
           <!--</el-col>-->
167 167
         </el-row>
168 168
       </div>
@@ -188,15 +188,14 @@ export default {
188 188
       imgUrl_Two: require("@/assets/home/2.jpg"),
189 189
       imgUrl_Five: require("@/assets/home/5.jpg"),
190 190
 
191
-
192 191
       imgs_one: [
193 192
         // 'https://images.shengws.com/template_one.jpg'
194 193
         "https://images.shengws.com/fangji.jpg"
195 194
       ],
196 195
       imgs_two: ["https://images.shengws.com/template_two.jpg"],
197 196
       imgs_five: ["https://images.shengws.com/template_five.jpg"],
198
-      imgs_seven: ["http://images.shengws.com/7.png"],
199
-      imgs_six: ["https://images.shengws.com/5.png"],
197
+      imgs_seven: ["http://images.shengws.com/serven.png"],
198
+      imgs_six: ["http://images.shengws.com/eight.png"],
200 199
       imgs_eight: ["https://images.shengws.com/template_six.png"],
201 200
       imgs_ten: ["https://kuyi.shengws.com/template_ten.jpg"],
202 201
 
@@ -209,11 +208,15 @@ export default {
209 208
   methods: {
210 209
     change: function(val) {
211 210
       console.log("val是什么", val);
212
-      this.$confirm("切换模版后,透析记录的字段会根据打印单来显示与隐藏,是否确定切换模版", "提示", {
213
-        confirmButtonText: "确定",
214
-        cancelButtonText: "取消",
215
-        type: "info"
216
-      })
211
+      this.$confirm(
212
+        "切换模版后,透析记录的字段会根据打印单来显示与隐藏,是否确定切换模版",
213
+        "提示",
214
+        {
215
+          confirmButtonText: "确定",
216
+          cancelButtonText: "取消",
217
+          type: "info"
218
+        }
219
+      )
217 220
         .then(() => {
218 221
           this.loading = true;
219 222
           postPrintTemplate(val).then(response => {
@@ -224,7 +227,9 @@ export default {
224 227
               // 同步
225 228
               // console.log(response.data.data.fileds)
226 229
               this.loading = false;
227
-               store.dispatch("updateAllFiledConfigList", response.data.data.fileds).then(() => {});
230
+              store
231
+                .dispatch("updateAllFiledConfigList", response.data.data.fileds)
232
+                .then(() => {});
228 233
               this.$message({
229 234
                 type: "success",
230 235
                 message: "切换成功"

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue Datei anzeigen

@@ -189,7 +189,7 @@
189 189
                           >&nbsp;
190 190
                             {{
191 191
                               record.patient.total_dialysis
192
-                                ? record.patient.total_dialysis + 1
192
+                                ? record.patient.total_dialysis + + record.patient.user_sys_before_count
193 193
                                 : '/'
194 194
                             }}</span
195 195
                           >

+ 13 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Datei anzeigen

@@ -154,8 +154,10 @@
154 154
                           style="width: 70px;text-align: center"
155 155
                         >
156 156
                           {{
157
-                            record.patient.total_dialysis
158
-                              ? record.patient.total_dialysis
157
+                            record.patient.total_dialysis +
158
+                            record.patient.user_sys_before_count
159
+                              ? record.patient.total_dialysis +
160
+                                record.patient.user_sys_before_count
159 161
                               : "/"
160 162
                           }}
161 163
                         </div>
@@ -1393,7 +1395,10 @@
1393 1395
                         min
1394 1396
                       </div>
1395 1397
                       <!-- 只是占位 -->
1396
-                      <div class="inline_block" style="flex:1;visibility: hidden;">
1398
+                      <div
1399
+                        class="inline_block"
1400
+                        style="flex:1;visibility: hidden;"
1401
+                      >
1397 1402
                         透析器凝血:
1398 1403
                         <div
1399 1404
                           class="under_line"
@@ -1612,7 +1617,11 @@
1612 1617
                           style="width: 80px;text-align: left"
1613 1618
                           v-if="record.dialysis_order == null"
1614 1619
                         ></div>
1615
-                        <div v-if="record.check" class="under_line" style="width: 80px;text-align: left">
1620
+                        <div
1621
+                          v-if="record.check"
1622
+                          class="under_line"
1623
+                          style="width: 80px;text-align: left"
1624
+                        >
1616 1625
                           <div
1617 1626
                             style="width: 80px;text-align: left;display: inline-block;white-space: nowrap;"
1618 1627
                             v-if="

+ 4 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue Datei anzeigen

@@ -537,7 +537,10 @@
537 537
                   </td>
538 538
                   <td style="text-align:left;margin-left:15px" colspan="2">
539 539
                     透析次数:
540
-                    <span class="under-line">&nbsp;{{ total }}</span>
540
+                    <span class="under-line">&nbsp;{{
541
+                        patientInfo.total_dialysis +
542
+                          patientInfo.user_sys_before_count
543
+                      }}</span>
541 544
                   </td>
542 545
                 </tr>
543 546
                 <tr>

+ 18 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Datei anzeigen

@@ -211,7 +211,7 @@
211 211
           <span class="content">{{ this.record.complication }}</span>
212 212
         </li>
213 213
         <li
214
-          v-if="isShow('交待病房护士/患者/陪人观察内容') && patient_gose == 3"
214
+          v-if="patient_gose == 3 && isShow('交待病房护士/患者/陪人观察内容')"
215 215
         >
216 216
           <label>交待病房护士/患者/陪人观察内容 : </label>
217 217
           <span class="content">{{ observation_content }}</span>
@@ -712,7 +712,23 @@ export default {
712 712
     },
713 713
     isShow(name) {
714 714
       var filedList = store.getters.xt_user.fileds;
715
-
715
+      console.log("filedList", filedList);
716
+      var arr = [];
717
+      for (let j = 0; j < filedList.length; j++) {
718
+        if (filedList[j].module == 5) {
719
+          arr.push(filedList[j]);
720
+        }
721
+      }
722
+      var arrtwo = [];
723
+      for (let z = 0; z < filedList.length; z++) {
724
+        if (filedList[z].filed_name == "observation_content") {
725
+          console.log(filedList[z].filed_name_cn);
726
+          if (filedList[z].filed_name_cn == "交待病房护士/患者/陪人观察内容") {
727
+            // console.log(filedList[z]);
728
+          }
729
+        }
730
+      }
731
+      console.log("arr", arr);
716 732
       for (let i = 0; i < filedList.length; i++) {
717 733
         if (
718 734
           filedList[i].module == 5 &&

+ 263 - 263
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Datei anzeigen

@@ -27,8 +27,14 @@
27 27
           </el-col>
28 28
 
29 29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30
-
31
-            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10 || this.template_id == 11">
30
+            <el-form-item
31
+              label="实际超滤量(ml): "
32
+              v-if="
33
+                this.template_id == 6 ||
34
+                  this.template_id == 10 ||
35
+                  this.template_id == 11
36
+              "
37
+            >
32 38
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 39
             </el-form-item>
34 40
             <el-form-item label="实际超滤量(L): " v-else>
@@ -41,7 +47,9 @@
41 47
               <el-input v-model="form.weight_after"></el-input>
42 48
             </el-form-item>
43 49
           </el-col>
50
+        </el-row>
44 51
 
52
+        <el-row :gutter="20">
45 53
           <el-col :span="8" v-if="isShow('体重减少')">
46 54
             <el-form-item label="体重减少(kg): ">
47 55
               <el-input v-model="form.weight_loss"></el-input>
@@ -76,7 +84,9 @@
76 84
               ></el-input>
77 85
             </el-form-item>
78 86
           </el-col>
87
+        </el-row>
79 88
 
89
+        <el-row :gutter="20">
80 90
           <el-col :span="8" v-if="isShow('导管')">
81 91
             <el-form-item label="导管: ">
82 92
               <el-input
@@ -117,7 +127,9 @@
117 127
               ></el-input>
118 128
             </el-form-item>
119 129
           </el-col>
130
+        </el-row>
120 131
 
132
+        <el-row :gutter="20">
121 133
           <el-col :span="8" v-if="isShow('透析过程提前其他原因')">
122 134
             <el-form-item label="透析过程提前其他原因: ">
123 135
               <el-input
@@ -161,6 +173,7 @@
161 173
               </el-select>
162 174
             </el-form-item>
163 175
           </el-col>
176
+
164 177
           <el-col :span="8" v-if="isShow('静脉管道')">
165 178
             <el-form-item label="静脉管道: ">
166 179
               <el-select v-model="form.intravenous_tube">
@@ -200,292 +213,286 @@
200 213
               </el-select>
201 214
             </el-form-item>
202 215
           </el-col>
203
-
204
-          <el-col :span="8" v-if="isShow('拔针后穿刺点渗血')">
205
-            <el-form-item label="拔针后穿刺点渗血: ">
206
-              <el-radio-group v-model="form.puncture_point_oozing_blood">
207
-                <el-radio :label="1">有</el-radio>
208
-                <el-radio :label="2">无</el-radio>
209
-              </el-radio-group>
210
-            </el-form-item>
211
-          </el-col>
212
-
213
-          <!--          <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">-->
214
-          <!--            <el-form-item label="压迫后内瘘震颤: ">-->
215
-          <!--              <el-select v-model="form.internal_fistula_tremor_ac">-->
216
-          <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
217
-
218
-          <!--                <el-option-->
219
-          <!--                  v-for="item in internalFistulaTremorAcOptions"-->
220
-          <!--                  :label="item.name"-->
221
-          <!--                  :value="item.id"-->
222
-          <!--                  :key="item.id"-->
223
-          <!--                ></el-option>-->
224
-          <!--              </el-select>-->
225
-          <!--            </el-form-item>-->
226
-          <!--          </el-col>-->
227
-
228
-          <el-row :gutter="20" v-if="form.patient_gose == 3 && isShow('科室')">
229
-            <el-col :span="24">
230
-              <el-form-item label="科室: ">
231
-                <el-input
232
-                  v-model="form.inpatient_department"
233
-                  :rows="5"
234
-                ></el-input>
235
-              </el-form-item>
236
-            </el-col>
237
-          </el-row>
238
-          <el-row
239
-            :gutter="20"
240
-            v-if="form.patient_gose == 3 && isShow('交待观察内容')"
241
-          >
242
-            <el-col :span="24">
243
-              <el-form-item label="交待观察内容: ">
244
-                <el-input
245
-                  placeholder="交待病房护士/患者/陪人观察内容"
246
-                  v-model="form.observation_content"
247
-                  :rows="5"
248
-                  readonly
249
-                  @focus="showDialog('6')"
250
-                ></el-input>
251
-              </el-form-item>
252
-            </el-col>
253
-          </el-row>
254
-          <el-row
255
-            :gutter="20"
256
-            v-show="form.patient_gose == 3 && isShow('其他观察内容')"
257
-          >
258
-            <el-col :span="24">
259
-              <el-form-item label="其他观察内容: ">
260
-                <el-input
261
-                  v-model="form.observation_content_other"
262
-                  :rows="5"
263
-                ></el-input>
264
-              </el-form-item>
265
-            </el-col>
266
-          </el-row>
267
-
268
-          <el-col :span="8" v-if="isShow('体温')">
269
-            <el-form-item label="体温(℃): ">
270
-              <el-input v-model="form.temperature"></el-input>
271
-            </el-form-item>
272
-          </el-col>
273
-          <!-- </el-row>
274
-
275
-        <el-row :gutter="20"> -->
276
-          <el-col :span="8" v-if="isShow('收缩压')">
277
-            <el-form-item label="收缩压(mmHg): ">
278
-              <el-input v-model="form.systolic_blood_pressure"></el-input>
279
-            </el-form-item>
280
-          </el-col>
281
-          <el-col :span="8" v-if="isShow('舒张压')">
282
-            <el-form-item label="舒张压(mmHg): ">
283
-              <el-input v-model="form.diastolic_blood_pressure"></el-input>
284
-            </el-form-item>
285
-          </el-col>
286
-
287
-          <el-col :span="8" v-if="isShow('呼吸频率')">
288
-            <el-form-item label="呼吸频率(次/min): ">
289
-              <el-input v-model="form.breathing_rate"></el-input>
290
-            </el-form-item>
291
-          </el-col>
292
-
293
-          <el-col :span="8" v-if="isShow('脉搏')">
294
-            <el-form-item label="脉搏(次/分): ">
295
-              <el-input v-model="form.pulse_frequency"></el-input>
216
+        </el-row>
217
+        <el-col :span="8" v-if="isShow('拔针后穿刺点渗血')">
218
+          <el-form-item label="拔针后穿刺点渗血: ">
219
+            <el-radio-group v-model="form.puncture_point_oozing_blood">
220
+              <el-radio :label="1">有</el-radio>
221
+              <el-radio :label="2">无</el-radio>
222
+            </el-radio-group>
223
+          </el-form-item>
224
+        </el-col>
225
+
226
+        <!--          <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">-->
227
+        <!--            <el-form-item label="压迫后内瘘震颤: ">-->
228
+        <!--              <el-select v-model="form.internal_fistula_tremor_ac">-->
229
+        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
230
+
231
+        <!--                <el-option-->
232
+        <!--                  v-for="item in internalFistulaTremorAcOptions"-->
233
+        <!--                  :label="item.name"-->
234
+        <!--                  :value="item.id"-->
235
+        <!--                  :key="item.id"-->
236
+        <!--                ></el-option>-->
237
+        <!--              </el-select>-->
238
+        <!--            </el-form-item>-->
239
+        <!--          </el-col>-->
240
+
241
+        <el-row :gutter="20" v-if="form.patient_gose == 3 && isShow('科室')">
242
+          <el-col :span="24">
243
+            <el-form-item label="科室: ">
244
+              <el-input
245
+                v-model="form.inpatient_department"
246
+                :rows="5"
247
+              ></el-input>
296 248
             </el-form-item>
297 249
           </el-col>
298
-
299
-          <el-col :span="8" v-if="isShow('透后症状')">
300
-            <el-form-item label="透后症状: ">
250
+        </el-row>
251
+        <el-row
252
+          :gutter="20"
253
+          v-if="form.patient_gose == 3 && isShow('交待观察内容')"
254
+        >
255
+          <el-col :span="24">
256
+            <el-form-item label="交待观察内容: ">
301 257
               <el-input
302
-                v-model="form.symptom_after_dialysis"
258
+                placeholder="交待病房护士/患者/陪人观察内容"
259
+                v-model="form.observation_content"
260
+                :rows="5"
303 261
                 readonly
304
-                @focus="showDialog('2')"
262
+                @focus="showDialog('6')"
305 263
               ></el-input>
306 264
             </el-form-item>
307 265
           </el-col>
308
-          <el-col :span="8" v-if="isShow('透析中入量')">
309
-            <el-form-item label="透析中入量: ">
310
-              <el-input v-model="form.dialysis_intakes"></el-input>
266
+        </el-row>
267
+        <el-row
268
+          :gutter="20"
269
+          v-show="form.patient_gose == 3 && isShow('其他观察内容')"
270
+        >
271
+          <el-col :span="24">
272
+            <el-form-item label="其他观察内容: ">
273
+              <el-input
274
+                v-model="form.observation_content_other"
275
+                :rows="5"
276
+              ></el-input>
311 277
             </el-form-item>
312 278
           </el-col>
279
+        </el-row>
313 280
 
314
-          <el-col :span="8" v-if="isShow('透析中入量单位')">
315
-            <el-form-item label="透析中入量单位: ">
316
-              <el-select v-model="form.dialysis_intakes_unit">
317
-                <el-option :key="0" label="请选择" :value="0"></el-option>
318
-                <el-option
319
-                  v-for="item in unit"
320
-                  :label="item.name"
321
-                  :value="item.id"
322
-                  :key="item.id"
323
-                ></el-option>
324
-              </el-select>
325
-            </el-form-item>
326
-          </el-col>
281
+        <el-col :span="8" v-if="isShow('体温')">
282
+          <el-form-item label="体温(℃): ">
283
+            <el-input v-model="form.temperature"></el-input>
284
+          </el-form-item>
285
+        </el-col>
286
+        <!-- </el-row>
327 287
 
328
-          <!-- </el-row>
288
+        <el-row :gutter="20"> -->
289
+        <el-col :span="8" v-if="isShow('收缩压')">
290
+          <el-form-item label="收缩压(mmHg): ">
291
+            <el-input v-model="form.systolic_blood_pressure"></el-input>
292
+          </el-form-item>
293
+        </el-col>
294
+        <el-col :span="8" v-if="isShow('舒张压')">
295
+          <el-form-item label="舒张压(mmHg): ">
296
+            <el-input v-model="form.diastolic_blood_pressure"></el-input>
297
+          </el-form-item>
298
+        </el-col>
299
+
300
+        <el-col :span="8" v-if="isShow('呼吸频率')">
301
+          <el-form-item label="呼吸频率(次/min): ">
302
+            <el-input v-model="form.breathing_rate"></el-input>
303
+          </el-form-item>
304
+        </el-col>
305
+
306
+        <el-col :span="8" v-if="isShow('脉搏')">
307
+          <el-form-item label="脉搏(次/分): ">
308
+            <el-input v-model="form.pulse_frequency"></el-input>
309
+          </el-form-item>
310
+        </el-col>
311
+
312
+        <el-col :span="8" v-if="isShow('透后症状')">
313
+          <el-form-item label="透后症状: ">
314
+            <el-input
315
+              v-model="form.symptom_after_dialysis"
316
+              readonly
317
+              @focus="showDialog('2')"
318
+            ></el-input>
319
+          </el-form-item>
320
+        </el-col>
321
+        <el-col :span="8" v-if="isShow('透析中入量')">
322
+          <el-form-item label="透析中入量: ">
323
+            <el-input v-model="form.dialysis_intakes"></el-input>
324
+          </el-form-item>
325
+        </el-col>
326
+
327
+        <el-col :span="8" v-if="isShow('透析中入量单位')">
328
+          <el-form-item label="透析中入量单位: ">
329
+            <el-select v-model="form.dialysis_intakes_unit">
330
+              <el-option :key="0" label="请选择" :value="0"></el-option>
331
+              <el-option
332
+                v-for="item in unit"
333
+                :label="item.name"
334
+                :value="item.id"
335
+                :key="item.id"
336
+              ></el-option>
337
+            </el-select>
338
+          </el-form-item>
339
+        </el-col>
340
+
341
+        <!-- </el-row>
329 342
 
330 343
         <el-row :gutter="20"> -->
331 344
 
332
-          <el-col :span="8" v-if="isShow('实际置换量')">
333
-            <el-form-item label="实际置换量(L): ">
334
-              <el-input v-model="form.actual_displacement"></el-input>
335
-            </el-form-item>
336
-          </el-col>
345
+        <el-col :span="8" v-if="isShow('实际置换量')">
346
+          <el-form-item label="实际置换量(L): ">
347
+            <el-input v-model="form.actual_displacement"></el-input>
348
+          </el-form-item>
349
+        </el-col>
337 350
 
338
-          <!-- </el-row>
351
+        <!-- </el-row>
339 352
 
340 353
         <el-row :gutter="20"> -->
341 354
 
342
-          <!-- </el-row>
355
+        <!-- </el-row>
343 356
 
344 357
         <el-row :gutter="20"> -->
345 358
 
346
-          <!--          <el-col :span="8" v-if="isShow('血管通路部位')">-->
347
-          <!--            <el-form-item label="血管通路部位: ">-->
348
-          <!--              <el-select v-model="form.blood_access_part_id">-->
349
-          <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
350
-
351
-          <!--                <el-option-->
352
-          <!--                  v-for="item in vascularAccessOptions"-->
353
-          <!--                  :label="item.name"-->
354
-          <!--                  :value="item.id"-->
355
-          <!--                  :key="item.id"-->
356
-          <!--                ></el-option>-->
357
-          <!--              </el-select>-->
358
-          <!--            </el-form-item>-->
359
-          <!--          </el-col>-->
360
-          <!--          <el-col :span="8" v-if="isShow('血管通路')">-->
361
-          <!--            <el-form-item label="血管通路: ">-->
362
-          <!--              <el-select v-model="form.blood_access_part_opera_id">-->
363
-          <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
364
-
365
-          <!--                <el-option-->
366
-          <!--                  v-for="item in vascularAccessDescOptions"-->
367
-          <!--                  :label="item.name"-->
368
-          <!--                  :value="item.id"-->
369
-          <!--                  :key="item.id"-->
370
-          <!--                ></el-option>-->
371
-          <!--              </el-select>-->
372
-          <!--            </el-form-item>-->
373
-          <!--          </el-col>-->
374
-          <!-- </el-row>
359
+        <!--          <el-col :span="8" v-if="isShow('血管通路部位')">-->
360
+        <!--            <el-form-item label="血管通路部位: ">-->
361
+        <!--              <el-select v-model="form.blood_access_part_id">-->
362
+        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
363
+
364
+        <!--                <el-option-->
365
+        <!--                  v-for="item in vascularAccessOptions"-->
366
+        <!--                  :label="item.name"-->
367
+        <!--                  :value="item.id"-->
368
+        <!--                  :key="item.id"-->
369
+        <!--                ></el-option>-->
370
+        <!--              </el-select>-->
371
+        <!--            </el-form-item>-->
372
+        <!--          </el-col>-->
373
+        <!--          <el-col :span="8" v-if="isShow('血管通路')">-->
374
+        <!--            <el-form-item label="血管通路: ">-->
375
+        <!--              <el-select v-model="form.blood_access_part_opera_id">-->
376
+        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
377
+
378
+        <!--                <el-option-->
379
+        <!--                  v-for="item in vascularAccessDescOptions"-->
380
+        <!--                  :label="item.name"-->
381
+        <!--                  :value="item.id"-->
382
+        <!--                  :key="item.id"-->
383
+        <!--                ></el-option>-->
384
+        <!--              </el-select>-->
385
+        <!--            </el-form-item>-->
386
+        <!--          </el-col>-->
387
+        <!-- </el-row>
375 388
 
376 389
         <el-row :gutter="20"> -->
377 390
 
378
-          <!-- </el-row>
391
+        <!-- </el-row>
379 392
 
380 393
 
381 394
 
382 395
           <el-row :gutter="20" > -->
383 396
 
384
-          <!--
397
+        <!--
385 398
                   </el-row>
386 399
 
387 400
 
388 401
 
389 402
 
390 403
                   <el-row :gutter="20"> -->
391
-          <!--          <el-col :span="8" v-if="isShow('内瘘震颤和血管杂音')">-->
392
-          <!--            <el-form-item label="内瘘震颤和血管杂音: ">-->
393
-          <!--              <el-select v-model="form.tremor_noise">-->
394
-          <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
395
-
396
-          <!--                <el-option-->
397
-          <!--                  v-for="item in this.$store.getters.tremor_noise"-->
398
-          <!--                  :label="item.name"-->
399
-          <!--                  :value="item.id"-->
400
-          <!--                  :key="item.id"-->
401
-          <!--                ></el-option>-->
402
-          <!--              </el-select>-->
403
-          <!--            </el-form-item>-->
404
-          <!--          </el-col>-->
405
-          <el-col :span="8" v-if="isShow('失衡综合症')">
406
-            <el-form-item label="失衡综合症: ">
407
-              <el-select v-model="form.disequilibrium_syndrome">
408
-                <el-option :key="0" label="请选择" :value="0"></el-option>
409
-
410
-                <el-option
411
-                  v-for="item in this.$store.getters.disequilibrium_syndrome"
412
-                  :label="item.name"
413
-                  :value="item.id"
414
-                  :key="item.id"
415
-                ></el-option>
416
-              </el-select>
417
-            </el-form-item>
418
-          </el-col>
419
-          <!--          <el-col :span="8" v-if="isShow('失衡综合症症状')">-->
420
-          <!--            <el-form-item label="失衡综合症症状: ">-->
421
-          <!--              <el-input-->
422
-          <!--                v-model="form.disequilibrium_syndrome_option"-->
423
-          <!--                readonly-->
424
-          <!--                @focus="showDialog('8')"-->
425
-          <!--              ></el-input>-->
426
-          <!--            </el-form-item>-->
427
-          <!--          </el-col>-->
428
-
429
-          <!-- </el-row>
404
+        <!--          <el-col :span="8" v-if="isShow('内瘘震颤和血管杂音')">-->
405
+        <!--            <el-form-item label="内瘘震颤和血管杂音: ">-->
406
+        <!--              <el-select v-model="form.tremor_noise">-->
407
+        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
408
+
409
+        <!--                <el-option-->
410
+        <!--                  v-for="item in this.$store.getters.tremor_noise"-->
411
+        <!--                  :label="item.name"-->
412
+        <!--                  :value="item.id"-->
413
+        <!--                  :key="item.id"-->
414
+        <!--                ></el-option>-->
415
+        <!--              </el-select>-->
416
+        <!--            </el-form-item>-->
417
+        <!--          </el-col>-->
418
+        <el-col :span="8" v-if="isShow('失衡综合症')">
419
+          <el-form-item label="失衡综合症: ">
420
+            <el-select v-model="form.disequilibrium_syndrome">
421
+              <el-option :key="0" label="请选择" :value="0"></el-option>
422
+
423
+              <el-option
424
+                v-for="item in this.$store.getters.disequilibrium_syndrome"
425
+                :label="item.name"
426
+                :value="item.id"
427
+                :key="item.id"
428
+              ></el-option>
429
+            </el-select>
430
+          </el-form-item>
431
+        </el-col>
432
+        <!--          <el-col :span="8" v-if="isShow('失衡综合症症状')">-->
433
+        <!--            <el-form-item label="失衡综合症症状: ">-->
434
+        <!--              <el-input-->
435
+        <!--                v-model="form.disequilibrium_syndrome_option"-->
436
+        <!--                readonly-->
437
+        <!--                @focus="showDialog('8')"-->
438
+        <!--              ></el-input>-->
439
+        <!--            </el-form-item>-->
440
+        <!--          </el-col>-->
441
+
442
+        <!-- </el-row>
430 443
 
431 444
 
432 445
 
433 446
           <el-row :gutter="20"  > -->
434 447
 
435
-          <!--          <el-col :span="8" v-if="isShow('透析器')">-->
436
-          <!--            <el-form-item label="透析器凝血: ">-->
437
-          <!--              <el-select v-model="form.dialyzer">-->
438
-          <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
439
-
440
-          <!--                <el-option-->
441
-          <!--                  v-for="item in this.$store.getters.dialyzer"-->
442
-          <!--                  :label="item.name"-->
443
-          <!--                  :value="item.id"-->
444
-          <!--                  :key="item.id"-->
445
-          <!--                ></el-option>-->
446
-          <!--              </el-select>-->
447
-          <!--            </el-form-item>-->
448
-          <!--          </el-col>-->
449
-          <el-col :span="8" v-if="isShow('透析期间进食')">
450
-            <el-form-item label="透析期间进食: ">
451
-              <el-radio-group v-model="form.is_eat">
452
-                <el-radio :label="1">有</el-radio>
453
-                <el-radio :label="2">无</el-radio>
454
-              </el-radio-group>
455
-            </el-form-item>
456
-          </el-col>
457
-
458
-
459
-          <el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
460
-            <el-form-item label="中心静脉封管(肝素-A端): ">
461
-              <el-input v-model="form.cvc_a"></el-input>
462
-            </el-form-item>
463
-          </el-col>
464
-
465
-
466
-          <el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
467
-            <el-form-item label="中心静脉封管(肝素-V端): ">
468
-              <el-input v-model="form.cvc_v"></el-input>
469
-            </el-form-item>
470
-          </el-col>
471
-
472
-          <el-col :span="8" v-if="isShow('管路')">
473
-            <el-form-item label="管路: ">
474
-              <el-select v-model="form.channel">
475
-                <el-option :key="0" label="请选择" :value="0"></el-option>
476
-                <el-option
477
-                  v-for="item in channels"
478
-                  :label="item.name"
479
-                  :value="item.id"
480
-                  :key="item.id"
481
-                ></el-option>
482
-              </el-select>
483
-            </el-form-item>
484
-          </el-col>
485
-
486
-
487
-
488
-        </el-row>
448
+        <!--          <el-col :span="8" v-if="isShow('透析器')">-->
449
+        <!--            <el-form-item label="透析器凝血: ">-->
450
+        <!--              <el-select v-model="form.dialyzer">-->
451
+        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
452
+
453
+        <!--                <el-option-->
454
+        <!--                  v-for="item in this.$store.getters.dialyzer"-->
455
+        <!--                  :label="item.name"-->
456
+        <!--                  :value="item.id"-->
457
+        <!--                  :key="item.id"-->
458
+        <!--                ></el-option>-->
459
+        <!--              </el-select>-->
460
+        <!--            </el-form-item>-->
461
+        <!--          </el-col>-->
462
+        <el-col :span="8" v-if="isShow('透析期间进食')">
463
+          <el-form-item label="透析期间进食: ">
464
+            <el-radio-group v-model="form.is_eat">
465
+              <el-radio :label="1">有</el-radio>
466
+              <el-radio :label="2">无</el-radio>
467
+            </el-radio-group>
468
+          </el-form-item>
469
+        </el-col>
470
+
471
+        <el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
472
+          <el-form-item label="中心静脉封管(肝素-A端): ">
473
+            <el-input v-model="form.cvc_a"></el-input>
474
+          </el-form-item>
475
+        </el-col>
476
+
477
+        <el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
478
+          <el-form-item label="中心静脉封管(肝素-V端): ">
479
+            <el-input v-model="form.cvc_v"></el-input>
480
+          </el-form-item>
481
+        </el-col>
482
+
483
+        <el-col :span="8" v-if="isShow('管路')">
484
+          <el-form-item label="管路: ">
485
+            <el-select v-model="form.channel">
486
+              <el-option :key="0" label="请选择" :value="0"></el-option>
487
+              <el-option
488
+                v-for="item in channels"
489
+                :label="item.name"
490
+                :value="item.id"
491
+                :key="item.id"
492
+              ></el-option>
493
+            </el-select>
494
+          </el-form-item>
495
+        </el-col>
489 496
       </el-form>
490 497
 
491 498
       <span slot="footer" class="dialog-footer">
@@ -562,7 +569,7 @@ export default {
562 569
       internalFistulaTremorAcOptions: [],
563 570
       patientGoseOptions: [],
564 571
       observationContentOptions: [],
565
-      channels:[],
572
+      channels: [],
566 573
 
567 574
       isVisibiltyForCruorDialog: false,
568 575
       dialogCruorTitle: "凝血",
@@ -619,10 +626,9 @@ export default {
619 626
         dialyzer: "",
620 627
         breathing_rate: "",
621 628
         dialysis_intakes_unit: 0,
622
-        cvc_a:0,
623
-        cvc_v:0,
624
-        channel:"",
625
-
629
+        cvc_a: 0,
630
+        cvc_v: 0,
631
+        channel: ""
626 632
       }
627 633
     };
628 634
   },
@@ -695,13 +701,10 @@ export default {
695 701
         this.form.observation_content = "";
696 702
         this.form.observation_content_other = "";
697 703
       }
698
-    }, "form.weight_after":function() {
699
-      if(this){
700
-
701
-
702
-
704
+    },
705
+    "form.weight_after": function() {
706
+      if (this) {
703 707
       }
704
-
705 708
     }
706 709
   },
707 710
   methods: {
@@ -974,9 +977,6 @@ export default {
974 977
       this.predialysis = predialysis;
975 978
       // console.log("透后", predialysis);
976 979
 
977
-
978
-
979
-
980 980
       this.getPermission();
981 981
     },
982 982
 
@@ -1078,7 +1078,7 @@ export default {
1078 1078
     this.observationContentOptions = this.$store.getters.observation_content;
1079 1079
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1080 1080
 
1081
-    this.channels = this.$store.getters.channels
1081
+    this.channels = this.$store.getters.channels;
1082 1082
 
1083 1083
     var date = this.$route.query && this.$route.query.date;
1084 1084
     this.record_date = uParseTime(date, "{y}-{m}-{d}");

+ 4 - 6
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Datei anzeigen

@@ -650,7 +650,6 @@ export default {
650 650
             this.showAdviceForm = false;
651 651
             this.showAdvicePanel = true;
652 652
             var advice = response.data.data.advice;
653
-            // console.log("advice-------", advice);
654 653
             this.doctor_advices[this.currentIndex].drug_spec = advice.drug_spec;
655 654
             this.doctor_advices[this.currentIndex].drug_spec_unit =
656 655
               advice.drug_spec_unit;
@@ -1268,7 +1267,7 @@ export default {
1268 1267
         this.$message.error("你没有执行医嘱的权限");
1269 1268
         return false;
1270 1269
       }
1271
-
1270
+      this.execTimeDialogVisible = true;
1272 1271
       // if (this.currentAdvices.length <= 0) {
1273 1272
       //   return;
1274 1273
       //  }
@@ -1287,7 +1286,6 @@ export default {
1287 1286
           this.$message.error("所选医嘱已停止或执行");
1288 1287
           return false;
1289 1288
         }
1290
-        console.log("b");
1291 1289
         for (let i = 0; i < adviceArr.length; i++) {
1292 1290
           if (
1293 1291
             adviceArr[i].is_selected == 1 &&
@@ -1304,7 +1302,6 @@ export default {
1304 1302
             currentAdviceIdArr.push(adviceArr[i].id);
1305 1303
           }
1306 1304
         }
1307
-        console.log("c");
1308 1305
         this.currentAdviceIdsStr = currentAdviceIdArr.join(",");
1309 1306
         this.nowExecTime = new Date(adviceArr[0].start_time * 1000);
1310 1307
       } else {
@@ -1520,8 +1517,10 @@ export default {
1520 1517
             response.data.data.drugways === null
1521 1518
               ? []
1522 1519
               : response.data.data.drugways;
1520
+
1523 1521
           this.executionFrequencyOptions =
1524 1522
             response.data.data.efs === null ? [] : response.data.data.efs;
1523
+
1525 1524
           this.adviceTemplates =
1526 1525
             response.data.data.advice_templates === null
1527 1526
               ? []
@@ -1819,6 +1818,7 @@ export default {
1819 1818
       console.log("val是什么", val);
1820 1819
     },
1821 1820
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1821
+      console.log("columnIndex", columnIndex);
1822 1822
       if (columnIndex === 0) {
1823 1823
         if (rowIndex % 2 === 0) {
1824 1824
           return {
@@ -1851,12 +1851,10 @@ export default {
1851 1851
   created() {
1852 1852
     var date = this.$route.query && this.$route.query.date;
1853 1853
     this.record_date = uParseTime(date, "{y}-{m}-{d}");
1854
-
1855 1854
     this.form.advice_date = this.record_date;
1856 1855
     this.getAdviceConfig();
1857 1856
     this.unitsOption = getDataConfig("hemodialysis", "units");
1858 1857
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1859
-    console.log("医嘱----", this.doctor_advices);
1860 1858
   },
1861 1859
   components: {
1862 1860
     AddGroupAdvice,

+ 23 - 2
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Datei anzeigen

@@ -196,6 +196,10 @@
196 196
           </el-col>
197 197
         </el-row>
198 198
       </el-form>
199
+      <span slot="footer" class="dialog-footer">
200
+        <el-button @click="groupEditFormVisible = false">取 消</el-button>
201
+        <el-button type="primary" @click="SaveEditAdvices">保 存</el-button>
202
+      </span>
199 203
     </el-dialog>
200 204
 
201 205
     <el-dialog
@@ -512,7 +516,8 @@ import {
512 516
   EditDoctorAdvice,
513 517
   getAdviceConfig,
514 518
   getDoctorAdviceList,
515
-  StopDoctorAdvice
519
+  StopDoctorAdvice,
520
+  SaveEditAdvices
516 521
 } from "@/api/advice";
517 522
 import { jsGetAge, uParseTime } from "@/utils/tools";
518 523
 
@@ -797,6 +802,7 @@ export default {
797 802
               advice_type: _this.groupForm.advice_type,
798 803
               advice_date: _this.groupForm.advice_date,
799 804
               start_time: _this.groupForm.start_time,
805
+
800 806
               advice_name: _this.nameForm.advice_name,
801 807
               advice_desc: _this.nameForm.advice_desc,
802 808
               single_dose: "" + _this.nameForm.single_dose,
@@ -814,7 +820,6 @@ export default {
814 820
               parent_id: _this.groupSelectRow.parent_id,
815 821
               groupno: _this.groupForm.groupno
816 822
             };
817
-            console.log(this.groupSelectRow);
818 823
             let mode = "2";
819 824
             if (
820 825
               this.groupSelectRow.advice_doctor !=
@@ -2140,6 +2145,22 @@ export default {
2140 2145
         }
2141 2146
         this.groupForm.adviceNames.push(item);
2142 2147
       }
2148
+    },
2149
+    SaveEditAdvices() {
2150
+      const params = {
2151
+        start_time: this.groupForm.start_time,
2152
+        groupno: this.groupForm.groupno,
2153
+        date: this.$route.query.date,
2154
+        patient_id: this.$route.query.patient_id
2155
+      };
2156
+      console.log("params", params);
2157
+      SaveEditAdvices(params).then(response => {
2158
+        if (response.data.state == 1) {
2159
+          var advice = response.data.data.advice;
2160
+          this.$message.success("保存成功!");
2161
+          this.groupEditFormVisible = false;
2162
+        }
2163
+      });
2143 2164
     }
2144 2165
   },
2145 2166
   watch: {

+ 50 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Datei anzeigen

@@ -691,9 +691,7 @@
691 691
       <span slot="footer" class="dialog-footer">
692 692
         <el-button @click="handleCancle">取 消</el-button>
693 693
         <!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
694
-        <el-button type="primary" @click="handleCommit"
695
-          >保 存</el-button
696
-        >
694
+        <el-button type="primary" @click="handleCommit">保 存</el-button>
697 695
         <el-button type="primary" @click="handleSolution"
698 696
           >保存为长期处方</el-button
699 697
         >
@@ -1220,7 +1218,7 @@ export default {
1220 1218
           }
1221 1219
         });
1222 1220
       });
1223
-      console.log("arrFour", arrFour);
1221
+      // console.log("arrFour", arrFour);
1224 1222
       this.anticoagulantsConfit = arrFour;
1225 1223
       this.dialysisList = this.devices;
1226 1224
 
@@ -1232,7 +1230,7 @@ export default {
1232 1230
         "hemodialysis",
1233 1231
         "vascular_access_desc"
1234 1232
       );
1235
-      console.log("血管通路", this.blood_access_option);
1233
+      // console.log("血管通路", this.blood_access_option);
1236 1234
       var date = this.$route.query && this.$route.query.date;
1237 1235
       this.record_date = uParseTime(date, "{y}-{m}-{d}");
1238 1236
 
@@ -1397,6 +1395,7 @@ export default {
1397 1395
             return;
1398 1396
           }
1399 1397
           const ParamsQuery = this.dialysisPrescription;
1398
+
1400 1399
           ParamsQuery["patient"] = this.patient.id;
1401 1400
           ParamsQuery["record_date"] = this.record_date;
1402 1401
           ParamsQuery["mode"] = 1;
@@ -1559,10 +1558,21 @@ export default {
1559 1558
       if (pre.anticoagulant == 3) {
1560 1559
         this.dialysisPrescription.anticoagulant = "低分子肝素";
1561 1560
       }
1561
+      //入口
1562
+      var pre = pre;
1563
+      if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12) {
1564
+        this.zhiShow = true;
1565
+        this.huShow = true;
1566
+        this.totalShow = true;
1567
+      } else {
1568
+        this.zhiShow = false;
1569
+        this.huShow = false;
1570
+        this.totalShow = false;
1571
+      }
1562 1572
       this.pre = pre;
1563 1573
       console.log("pre1", pre);
1564 1574
       this.getPermission();
1565
-      
1575
+
1566 1576
       let last_weight_after = 0;
1567 1577
       let weight_before = 0;
1568 1578
 
@@ -1621,7 +1631,6 @@ export default {
1621 1631
       //console.log("fffff", this.anticoagulant);
1622 1632
     },
1623 1633
     handleCommit: function() {
1624
-      console.log("aaaa----", this.dialysisPrescription.anticoagulant);
1625 1634
       if (this.dialysisPrescription.anticoagulant == "低分子肝素") {
1626 1635
         this.dialysisPrescription.anticoagulant = 3;
1627 1636
       }
@@ -2830,12 +2839,22 @@ export default {
2830 2839
       this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
2831 2840
         1,
2832 2841
         this.dialysisPrescription.anticoagulant_shouji,
2833
-        duration,
2842
+        this.dialysisPrescription.dialysis_duration,
2834 2843
         this.dialysisPrescription.anticoagulant_weichi
2835 2844
       );
2836 2845
       if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
2837 2846
         this.dialysisPrescription.anticoagulant_zongliang = "";
2838 2847
       }
2848
+
2849
+      //this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
2850
+      //  1,
2851
+      //   this.dialysisPrescription.anticoagulant_shouji,
2852
+      //  duration,
2853
+      //  this.dialysisPrescription.anticoagulant_weichi
2854
+      // );
2855
+      //  if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
2856
+      //    this.dialysisPrescription.anticoagulant_zongliang = "";
2857
+      //  }
2839 2858
     },
2840 2859
     "dialysisPrescription.anticoagulant_shouji": function() {
2841 2860
       let dialysis_duration_minute = 0;
@@ -2856,15 +2875,26 @@ export default {
2856 2875
       duration =
2857 2876
         parseFloat(dialysis_duration_hour) +
2858 2877
         parseFloat(dialysis_duration_minute) / 60;
2878
+
2859 2879
       this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
2860 2880
         1,
2861 2881
         this.dialysisPrescription.anticoagulant_shouji,
2862
-        duration,
2882
+        this.dialysisPrescription.dialysis_duration,
2863 2883
         this.dialysisPrescription.anticoagulant_weichi
2864 2884
       );
2865 2885
       if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
2866 2886
         this.dialysisPrescription.anticoagulant_zongliang = "";
2867 2887
       }
2888
+
2889
+      //  this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
2890
+      //   1,
2891
+      //    this.dialysisPrescription.anticoagulant_shouji,
2892
+      //    duration,
2893
+      //    this.dialysisPrescription.anticoagulant_weichi
2894
+      //  );
2895
+      // if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
2896
+      //    this.dialysisPrescription.anticoagulant_zongliang = "";
2897
+      // }
2868 2898
     },
2869 2899
     "dialysisPrescription.anticoagulant_weichi": function() {
2870 2900
       let dialysis_duration_minute = 0;
@@ -2891,12 +2921,22 @@ export default {
2891 2921
       this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
2892 2922
         1,
2893 2923
         this.dialysisPrescription.anticoagulant_shouji,
2894
-        duration,
2924
+        this.dialysisPrescription.dialysis_duration,
2895 2925
         this.dialysisPrescription.anticoagulant_weichi
2896 2926
       );
2897 2927
       if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
2898 2928
         this.dialysisPrescription.anticoagulant_zongliang = "";
2899 2929
       }
2930
+
2931
+      // this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
2932
+      //   1,
2933
+      //  this.dialysisPrescription.anticoagulant_shouji,
2934
+      //   duration,
2935
+      //   this.dialysisPrescription.anticoagulant_weichi
2936
+      // );
2937
+      // if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
2938
+      //   this.dialysisPrescription.anticoagulant_zongliang = "";
2939
+      // }
2900 2940
     },
2901 2941
     "prescription.id": function() {
2902 2942
       if (this.prescription.id > 0) {

Datei-Diff unterdrückt, da er zu groß ist
+ 595 - 529
src/xt_pages/dialysis/details/index.vue


Datei-Diff unterdrückt, da er zu groß ist
+ 2502 - 1567
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue


+ 10 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Datei anzeigen

@@ -122,7 +122,12 @@
122 122
                   </td>
123 123
                   <td style="text-align:left;margin-left:15px" colspan="2">
124 124
                     透析次数:
125
-                    <span class="under-line">&nbsp;{{ total }}</span>
125
+                    <span class="under-line"
126
+                      >&nbsp;{{
127
+                        patientInfo.total_dialysis +
128
+                          patientInfo.user_sys_before_count
129
+                      }}</span
130
+                    >
126 131
                   </td>
127 132
                 </tr>
128 133
                 <tr>
@@ -423,7 +428,6 @@
423 428
                     </span>
424 429
                   </td>
425 430
                 </tr>
426
-
427 431
               </table>
428 432
             </td>
429 433
           </tr>
@@ -808,7 +812,7 @@
808 812
                 压迫后内瘘震颤:
809 813
                 <label-box
810 814
                   :isChecked="
811
-                    predialysis.internal_fistula.indexOf('震颤-存在') > -1
815
+                    afterdialysis.internal_fistula.indexOf('震颤-存在') > -1
812 816
                       ? true
813 817
                       : false
814 818
                   "
@@ -817,7 +821,7 @@
817 821
                 &nbsp;
818 822
                 <label-box
819 823
                   :isChecked="
820
-                    predialysis.internal_fistula.indexOf('震颤-减弱') > -1
824
+                    afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1
821 825
                       ? true
822 826
                       : false
823 827
                   "
@@ -826,7 +830,7 @@
826 830
                 &nbsp;
827 831
                 <label-box
828 832
                   :isChecked="
829
-                    predialysis.internal_fistula.indexOf('震颤-无') > -1
833
+                    afterdialysis.internal_fistula.indexOf('震颤-无') > -1
830 834
                       ? true
831 835
                       : false
832 836
                   "
@@ -1129,6 +1133,7 @@ export default {
1129 1133
       getDialysisRecord(this.queryParams).then(response => {
1130 1134
         if (response.data.state === 1) {
1131 1135
           this.total = response.data.data.total;
1136
+
1132 1137
           this.adminUser = response.data.data.users;
1133 1138
           this.users = response.data.data.users;
1134 1139
           var patientInfo = response.data.data.patientInfo;

+ 47 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Datei anzeigen

@@ -163,8 +163,10 @@
163 163
                       style="width: 70px;text-align: center"
164 164
                     >
165 165
                       {{
166
-                        patientInfo.total_dialysis
167
-                          ? patientInfo.total_dialysis
166
+                        patientInfo.total_dialysis +
167
+                        patientInfo.user_sys_before_count
168
+                          ? patientInfo.total_dialysis +
169
+                            patientInfo.user_sys_before_count
168 170
                           : "/"
169 171
                       }}
170 172
                     </div>
@@ -580,10 +582,10 @@
580 582
                       style="width: 100px;text-align: center"
581 583
                     >
582 584
                       {{
583
-                        predialysis.weight_after_last_transparency
585
+                        lastafterdialysis.weight_after_last_transparency
584 586
                           ? parseFloat(
585
-                              predialysis.weight_after_last_transparency -
586
-                                predialysis.additional_weight
587
+                              lastafterdialysis.weight_after -
588
+                                lastafterdialysis.additional_weight
587 589
                             ).toFixed(1)
588 590
                           : "未称重"
589 591
                       }}
@@ -965,7 +967,11 @@
965 967
                         }}
966 968
                       </td>
967 969
                       <td
968
-                        v-if=" monitor.operate_time > dialysisOrder.end_time || monitor.operate_time < dialysisOrder.start_time " >
970
+                        v-if="
971
+                          monitor.operate_time > dialysisOrder.end_time ||
972
+                            monitor.operate_time < dialysisOrder.start_time
973
+                        "
974
+                      >
969 975
                         {{
970 976
                           monitor.ultrafiltration_volume
971 977
                             ? monitor.ultrafiltration_volume
@@ -973,7 +979,11 @@
973 979
                         }}
974 980
                       </td>
975 981
                       <td
976
-                        v-if=" monitor.operate_time <= dialysisOrder.end_time && monitor.operate_time >= dialysisOrder.start_time " >
982
+                        v-if="
983
+                          monitor.operate_time <= dialysisOrder.end_time &&
984
+                            monitor.operate_time >= dialysisOrder.start_time
985
+                        "
986
+                      >
977 987
                         {{
978 988
                           monitor.ultrafiltration_volume
979 989
                             ? monitor.ultrafiltration_volume
@@ -981,12 +991,36 @@
981 991
                         }}
982 992
                       </td>
983 993
                       <td
984
-                        v-if=" (prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12 )&& (monitor.operate_time <= dialysisOrder.end_time && monitor.operate_time >= dialysisOrder.start_time) " style="width:50px" >
985
-                        {{  monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
994
+                        v-if="
995
+                          (prescription.mode_id == 2 ||
996
+                            prescription.mode_id == 5 ||
997
+                            prescription.mode_id == 12) &&
998
+                            (monitor.operate_time <= dialysisOrder.end_time &&
999
+                              monitor.operate_time >= dialysisOrder.start_time)
1000
+                        "
1001
+                        style="width:50px"
1002
+                      >
1003
+                        {{
1004
+                          monitor.displacement_quantity
1005
+                            ? monitor.displacement_quantity
1006
+                            : 0
1007
+                        }}
986 1008
                       </td>
987 1009
                       <td
988
-                        v-if=" (prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12 )&& (monitor.operate_time > dialysisOrder.end_time || monitor.operate_time < dialysisOrder.start_time) " style="width:50px" >
989
-                        {{  monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
1010
+                        v-if="
1011
+                          (prescription.mode_id == 2 ||
1012
+                            prescription.mode_id == 5 ||
1013
+                            prescription.mode_id == 12) &&
1014
+                            (monitor.operate_time > dialysisOrder.end_time ||
1015
+                              monitor.operate_time < dialysisOrder.start_time)
1016
+                        "
1017
+                        style="width:50px"
1018
+                      >
1019
+                        {{
1020
+                          monitor.displacement_quantity
1021
+                            ? monitor.displacement_quantity
1022
+                            : ""
1023
+                        }}
990 1024
                       </td>
991 1025
                       <td style="line-height:16px;padding:0px;">
992 1026
                         <div
@@ -2002,6 +2036,7 @@ export default {
2002 2036
       afterdialysis: {
2003 2037
         complications_index: ''
2004 2038
       },
2039
+      lastafterdialysis: {},
2005 2040
       prescription: {
2006 2041
         dialysate_formulation_name: '',
2007 2042
         device: {}
@@ -2211,6 +2246,7 @@ export default {
2211 2246
           this.predialysis.blood_access_part_opera_id
2212 2247
         )
2213 2248
         this.afterdialysis = response.data.data.AssessmentAfterDislysis
2249
+        this.lastafterdialysis = response.data.data.assessmentAfterDislysis
2214 2250
         this.operators = response.data.data.operators
2215 2251
         console.log('operators', this.operators)
2216 2252
         this.dialysisOrder =

Datei-Diff unterdrückt, da er zu groß ist
+ 2251 - 2241
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue


+ 13 - 6
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue Datei anzeigen

@@ -190,6 +190,8 @@
190 190
               ></label-box>
191 191
               首剂:<span style="width:35px;display: inline-block;">{{
192 192
                 prescription.anticoagulant_shouji &&
193
+                (prescription.anticoagulant != "低分子肝素钙" &&
194
+                  prescription.anticoagulant != "低分子肝素钠") &&
193 195
                 prescription.anticoagulant == "普通肝素"
194 196
                   ? prescription.anticoagulant_shouji
195 197
                   : ""
@@ -204,7 +206,9 @@
204 206
               >
205 207
               <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span
206 208
               >&nbsp; 追加:<span style="width:35px;display: inline-block;">{{
207
-                prescription.anticoagulant_weichi
209
+                prescription.anticoagulant_weichi &&
210
+                (prescription.anticoagulant != "低分子肝素钙" &&
211
+                  prescription.anticoagulant != "低分子肝素钠")
208 212
                   ? prescription.anticoagulant_weichi
209 213
                   : ""
210 214
               }}</span
@@ -223,7 +227,7 @@
223 227
               >
224 228
               &nbsp; 总量:<span style="width:50px;display: inline-block;">{{
225 229
                 prescription.anticoagulant_zongliang &&
226
-                (prescription.anticoagulant != "低分子肝素钙" ||
230
+                (prescription.anticoagulant != "低分子肝素钙" &&
227 231
                   prescription.anticoagulant != "低分子肝素钠")
228 232
                   ? prescription.anticoagulant_zongliang
229 233
                   : ""
@@ -323,8 +327,7 @@
323 327
               血管通路:
324 328
               <label-box
325 329
                 :isChecked="
326
-                  predialysis.blood_access_part_opera_name.indexOf('自体内瘘') >
327
-                  -1
330
+                  predialysis.blood_access_part_opera_name.indexOf('内瘘') > -1
328 331
                     ? true
329 332
                     : false
330 333
                 "
@@ -364,9 +367,13 @@
364 367
               >&nbsp;
365 368
               <label-box
366 369
                 :isChecked="
367
-                  predialysis.blood_access_part_opera_name.indexOf('自体内瘘') >
370
+                  predialysis.blood_access_part_opera_name.indexOf('人造血管') >
368 371
                   -1
369 372
                     ? true
373
+                    : predialysis.blood_access_part_opera_name.indexOf(
374
+                        '移植血管'
375
+                      ) > -1
376
+                    ? true
370 377
                     : false
371 378
                 "
372 379
                 showValue="其他"
@@ -812,7 +819,7 @@
812 819
           <td>
813 820
             <span v-if="getTime(monitor.operate_time) != ''">
814 821
               {{
815
-                monitor.arterial_pressure ? monitor.arterial_pressure : "0"
822
+                monitor.venous_pressure ? monitor.venous_pressure : "0"
816 823
               }}</span
817 824
             >
818 825
           </td>

+ 1 - 2
src/xt_pages/user/doctorAdvice.vue Datei anzeigen

@@ -514,7 +514,6 @@
514 514
       <el-pagination
515 515
         @size-change="handleSizeChange"
516 516
         @current-change="handleCurrentChange"
517
-
518 517
         :page-sizes="[10, 20, 50, 100]"
519 518
         :page-size="10"
520 519
         background
@@ -3289,7 +3288,7 @@ export default {
3289 3288
       getDoctorAdviceList(this.listQuery).then(response => {
3290 3289
         if (response.data.state == 1) {
3291 3290
           this.adviceTableData = response.data.data.advices;
3292
-          console.log("数据是什么", this.adviceTableData);
3291
+          //console.log("数据是什么", this.adviceTableData);
3293 3292
           var advice = response.data.data.advices;
3294 3293
           var one = response.data.data.advicetwo;
3295 3294
           console.log("advicetwo", one);