XMLWAN 4 yıl önce
ebeveyn
işleme
ef190d15ad

+ 260 - 259
src/api/manage.js Dosyayı Görüntüle

@@ -1,20 +1,20 @@
1
-import request from "@/utils/request";
1
+import request from '@/utils/request'
2 2
 
3 3
 export function getAllSubregion(params) {
4
-  console.log("params", params);
4
+  console.log('params', params)
5 5
   return request({
6
-    url: "/api/management/getallsubregion",
7
-    method: "Get",
6
+    url: '/api/management/getallsubregion',
7
+    method: 'Get',
8 8
     params: params
9
-  });
9
+  })
10 10
 }
11 11
 
12 12
 export function SaveManageInfo(data) {
13 13
   return request({
14
-    url: "/api/management/savemanageinfo",
15
-    method: "Post",
14
+    url: '/api/management/savemanageinfo',
15
+    method: 'Post',
16 16
     data: data
17
-  });
17
+  })
18 18
 }
19 19
 
20 20
 export function getAllMachineInfo(
@@ -32,322 +32,322 @@ export function getAllMachineInfo(
32 32
     zoneid: zoneid,
33 33
     equipmentid: equipmentid,
34 34
     statusid: statusid
35
-  };
35
+  }
36 36
   return request({
37
-    url: "/api/management/getallmachineinfo",
38
-    method: "Get",
37
+    url: '/api/management/getallmachineinfo',
38
+    method: 'Get',
39 39
     params: params
40
-  });
40
+  })
41 41
 }
42 42
 
43 43
 export function getAllMachine(zoneid, deviceid) {
44 44
   const params = {
45 45
     zoneid: zoneid,
46 46
     deviceid: deviceid
47
-  };
47
+  }
48 48
   return request({
49
-    url: "/api/management/getallmachine",
50
-    method: "Get",
49
+    url: '/api/management/getallmachine',
50
+    method: 'Get',
51 51
     params: params
52
-  });
52
+  })
53 53
 }
54 54
 
55 55
 export function getAllMachineTwo(zoneid, deviceid) {
56 56
   const params = {
57 57
     zoneid: zoneid,
58 58
     deviceid: deviceid
59
-  };
59
+  }
60 60
   return request({
61
-    url: "/api/management/getallmachinetwo",
62
-    method: "Get",
61
+    url: '/api/management/getallmachinetwo',
62
+    method: 'Get',
63 63
     params: params
64
-  });
64
+  })
65 65
 }
66 66
 
67 67
 export function getMachineDetailById(id, params) {
68 68
   return request({
69
-    url: "/api/management/getmachinedetail?id=" + id,
70
-    method: "Get",
69
+    url: '/api/management/getmachinedetail?id=' + id,
70
+    method: 'Get',
71 71
     params: params
72
-  });
72
+  })
73 73
 }
74 74
 
75 75
 export function UpdateMachineInfo(data) {
76 76
   return request({
77
-    url: "/api/management/updatemachineinfo",
78
-    method: "Post",
77
+    url: '/api/management/updatemachineinfo',
78
+    method: 'Post',
79 79
     data: data
80
-  });
80
+  })
81 81
 }
82 82
 
83 83
 export function UpdateMachineInfoTwo(data) {
84 84
   return request({
85
-    url: "/api/management/updatemachineinfotwo",
86
-    method: "post",
85
+    url: '/api/management/updatemachineinfotwo',
86
+    method: 'post',
87 87
     data: data
88
-  });
88
+  })
89 89
 }
90 90
 
91 91
 export function getAllEquimentName(params) {
92 92
   return request({
93
-    url: "/api/management/getallequimentname",
94
-    method: "Get",
93
+    url: '/api/management/getallequimentname',
94
+    method: 'Get',
95 95
     params: params
96
-  });
96
+  })
97 97
 }
98 98
 
99 99
 export function savePlan(data, id) {
100
-  console.log("data", data);
100
+  console.log('data', data)
101 101
   return request({
102
-    url: "/api/management/saveplan?id=" + id,
103
-    method: "Post",
102
+    url: '/api/management/saveplan?id=' + id,
103
+    method: 'Post',
104 104
     data: data
105
-  });
105
+  })
106 106
 }
107 107
 
108 108
 export function getAllPlan(params) {
109 109
   return request({
110
-    url: "/api/management/getallplan",
111
-    method: "Get",
110
+    url: '/api/management/getallplan',
111
+    method: 'Get',
112 112
     params: params
113
-  });
113
+  })
114 114
 }
115 115
 
116 116
 export function getAllPlanDetail(unitype) {
117 117
   // eslint-disable-next-line no-redeclare
118 118
   const params = {
119 119
     unitype: unitype
120
-  };
120
+  }
121 121
   return request({
122
-    url: "/api/management/getallplandetail",
123
-    method: "Get",
122
+    url: '/api/management/getallplandetail',
123
+    method: 'Get',
124 124
     params: params
125
-  });
125
+  })
126 126
 }
127 127
 
128 128
 export function getEditMachine(id, params) {
129 129
   return request({
130
-    url: "/api/management/geteditmachine?id=" + id,
131
-    method: "Get",
130
+    url: '/api/management/geteditmachine?id=' + id,
131
+    method: 'Get',
132 132
     params: params
133
-  });
133
+  })
134 134
 }
135 135
 
136 136
 export function DeletePlans(data) {
137 137
   return request({
138
-    url: "/api/staff/deleteplans",
139
-    method: "delete",
138
+    url: '/api/staff/deleteplans',
139
+    method: 'delete',
140 140
     data: data
141
-  });
141
+  })
142 142
 }
143 143
 
144 144
 export function EditPlanDetail(id, params) {
145 145
   return request({
146
-    url: "/api/manage/editplandetail?id=" + id,
147
-    method: "get",
146
+    url: '/api/manage/editplandetail?id=' + id,
147
+    method: 'get',
148 148
     params: params
149
-  });
149
+  })
150 150
 }
151 151
 
152 152
 export function UpdatePlanInfo(data) {
153 153
   return request({
154
-    url: "/api/manage/updateplaninfo",
155
-    method: "Post",
154
+    url: '/api/manage/updateplaninfo',
155
+    method: 'Post',
156 156
     data: data
157
-  });
157
+  })
158 158
 }
159 159
 
160 160
 export function getComprehensive(params) {
161 161
   return request({
162
-    url: "/api/manage/getcomprehensive",
163
-    method: "Get",
162
+    url: '/api/manage/getcomprehensive',
163
+    method: 'Get',
164 164
     params: params
165
-  });
165
+  })
166 166
 }
167 167
 
168 168
 export function SaveInformation(eid, data) {
169
-  console.log("data--", data);
169
+  console.log('data--', data)
170 170
   return request({
171
-    url: "/api/manage/saveinformation?eid=" + eid,
172
-    method: "Post",
171
+    url: '/api/manage/saveinformation?eid=' + eid,
172
+    method: 'Post',
173 173
     data: data
174
-  });
174
+  })
175 175
 }
176 176
 
177 177
 export function getPatientInfo(id, params) {
178 178
   return request({
179
-    url: "/api/manage/getpatientinfo?id=" + id,
180
-    method: "Get",
179
+    url: '/api/manage/getpatientinfo?id=' + id,
180
+    method: 'Get',
181 181
     params: params
182
-  });
182
+  })
183 183
 }
184 184
 
185 185
 export function ChangeClass(equitid, id) {
186 186
   const params = {
187 187
     equitid: equitid,
188 188
     id: id
189
-  };
189
+  }
190 190
   return request({
191
-    url: "/api/manage/changeclass",
192
-    method: "Get",
191
+    url: '/api/manage/changeclass',
192
+    method: 'Get',
193 193
     params: params
194
-  });
194
+  })
195 195
 }
196 196
 
197 197
 export function changePatient(equitid, id) {
198 198
   const params = {
199 199
     equitid: equitid,
200 200
     id: id
201
-  };
201
+  }
202 202
   return request({
203
-    url: "/api/manage/changepatient",
204
-    method: "Get",
203
+    url: '/api/manage/changepatient',
204
+    method: 'Get',
205 205
     params: params
206
-  });
206
+  })
207 207
 }
208 208
 
209 209
 export function getAllOrganization(params) {
210 210
   return request({
211
-    url: "/api/manage/getallorganization",
212
-    method: "Get",
211
+    url: '/api/manage/getallorganization',
212
+    method: 'Get',
213 213
     params: params
214
-  });
214
+  })
215 215
 }
216 216
 
217 217
 export function getUserRegister(id, params) {
218 218
   return request({
219
-    url: "/api/manage/getregisterinfo?id=" + id,
220
-    method: "Get",
219
+    url: '/api/manage/getregisterinfo?id=' + id,
220
+    method: 'Get',
221 221
     params: params
222
-  });
222
+  })
223 223
 }
224 224
 
225 225
 export function getInformationData(limit, page) {
226 226
   const params = {
227 227
     limit: limit,
228 228
     page: page
229
-  };
229
+  }
230 230
   return request({
231
-    url: "/api/manage/getinformationdata",
232
-    method: "Get",
231
+    url: '/api/manage/getinformationdata',
232
+    method: 'Get',
233 233
     params: params
234
-  });
234
+  })
235 235
 }
236 236
 
237 237
 export function SaveBacteria(id, data) {
238 238
   return request({
239
-    url: "/api/manage/savebacteria?id=" + id,
240
-    method: "Post",
239
+    url: '/api/manage/savebacteria?id=' + id,
240
+    method: 'Post',
241 241
     data: data
242
-  });
242
+  })
243 243
 }
244 244
 
245 245
 export function SaveLincomycin(id, data) {
246 246
   return request({
247
-    url: "/api/manage/savelincomycin?id=" + id,
248
-    method: "Post",
247
+    url: '/api/manage/savelincomycin?id=' + id,
248
+    method: 'Post',
249 249
     data: data
250
-  });
250
+  })
251 251
 }
252 252
 
253 253
 export function SaveQualityControl(id, data) {
254 254
   return request({
255
-    url: "/api/manage/savequalitycontrol?id=" + id,
256
-    method: "Post",
255
+    url: '/api/manage/savequalitycontrol?id=' + id,
256
+    method: 'Post',
257 257
     data: data
258
-  });
258
+  })
259 259
 }
260 260
 
261 261
 export function getOrgName(params) {
262 262
   return request({
263
-    url: "/api/manage/getorgname",
264
-    method: "Get",
263
+    url: '/api/manage/getorgname',
264
+    method: 'Get',
265 265
     params: params
266
-  });
266
+  })
267 267
 }
268 268
 
269 269
 export function getAllQulityInfo(params) {
270 270
   return request({
271
-    url: "/api/manage/getallqulityinfo",
272
-    method: "Get",
271
+    url: '/api/manage/getallqulityinfo',
272
+    method: 'Get',
273 273
     params: params
274
-  });
274
+  })
275 275
 }
276 276
 
277 277
 export function EditCulture(id, userid) {
278 278
   const params = {
279 279
     id: id,
280 280
     userid: userid
281
-  };
281
+  }
282 282
   return request({
283
-    url: "/api/manage/editculture",
284
-    method: "Get",
283
+    url: '/api/manage/editculture',
284
+    method: 'Get',
285 285
     params: params
286
-  });
286
+  })
287 287
 }
288 288
 
289 289
 export function UpdateCulture(data) {
290 290
   return request({
291
-    url: "/api/manage/updateculture",
292
-    method: "Post",
291
+    url: '/api/manage/updateculture',
292
+    method: 'Post',
293 293
     data: data
294
-  });
294
+  })
295 295
 }
296 296
 
297 297
 export function DeleteCultrue(data) {
298 298
   return request({
299
-    url: "/api/manage/deletecultrue",
300
-    method: "delete",
299
+    url: '/api/manage/deletecultrue',
300
+    method: 'delete',
301 301
     data: data
302
-  });
302
+  })
303 303
 }
304 304
 
305 305
 export function EditDialyState(id, params) {
306 306
   return request({
307
-    url: "/api/manage/editdialystate?id=" + id,
308
-    method: "Get",
307
+    url: '/api/manage/editdialystate?id=' + id,
308
+    method: 'Get',
309 309
     params: params
310
-  });
310
+  })
311 311
 }
312 312
 
313 313
 export function UpdateDialyState(data) {
314 314
   return request({
315
-    url: "/api/manage/updatedialystate",
316
-    method: "post",
315
+    url: '/api/manage/updatedialystate',
316
+    method: 'post',
317 317
     data: data
318
-  });
318
+  })
319 319
 }
320 320
 
321 321
 export function DeleteDialystate(data) {
322 322
   return request({
323
-    url: "/api/manage/deletedialystate",
324
-    method: "delete",
323
+    url: '/api/manage/deletedialystate',
324
+    method: 'delete',
325 325
     data: data
326
-  });
326
+  })
327 327
 }
328 328
 
329 329
 export function EditIon(id, params) {
330 330
   return request({
331
-    url: "/api/manage/edition?id=" + id,
332
-    method: "Get",
331
+    url: '/api/manage/edition?id=' + id,
332
+    method: 'Get',
333 333
     params: params
334
-  });
334
+  })
335 335
 }
336 336
 
337 337
 export function UpdateIon(data) {
338 338
   return request({
339
-    url: "/api/manage/updateion",
340
-    method: "Post",
339
+    url: '/api/manage/updateion',
340
+    method: 'Post',
341 341
     data: data
342
-  });
342
+  })
343 343
 }
344 344
 
345 345
 export function DeleteIon(data) {
346 346
   return request({
347
-    url: "/api/manage/deleteion",
348
-    method: "delete",
347
+    url: '/api/manage/deleteion',
348
+    method: 'delete',
349 349
     data: data
350
-  });
350
+  })
351 351
 }
352 352
 
353 353
 export function queryTable(bedid, startime, endtime) {
@@ -355,57 +355,57 @@ export function queryTable(bedid, startime, endtime) {
355 355
     bedid: bedid,
356 356
     startime: startime,
357 357
     endtime: endtime
358
-  };
358
+  }
359 359
   return request({
360
-    url: "/api/manage/query",
361
-    method: "Get",
360
+    url: '/api/manage/query',
361
+    method: 'Get',
362 362
     params: params
363
-  });
363
+  })
364 364
 }
365 365
 
366 366
 export function SaveRepair(id, data) {
367 367
   return request({
368
-    url: "/api/manage/saverepair?id=" + id,
369
-    method: "post",
368
+    url: '/api/manage/saverepair?id=' + id,
369
+    method: 'post',
370 370
     data: data
371
-  });
371
+  })
372 372
 }
373 373
 
374 374
 export function getAllRepair(limit, page) {
375 375
   const params = {
376 376
     limit: limit,
377 377
     page: page
378
-  };
378
+  }
379 379
   return request({
380
-    url: "/api/manage/getallrepair",
381
-    method: "Get",
380
+    url: '/api/manage/getallrepair',
381
+    method: 'Get',
382 382
     params: params
383
-  });
383
+  })
384 384
 }
385 385
 
386 386
 export function EditRepair(id, params) {
387 387
   return request({
388
-    url: "/api/manage/editrepair?id=" + id,
389
-    method: "Get",
388
+    url: '/api/manage/editrepair?id=' + id,
389
+    method: 'Get',
390 390
     params: params
391
-  });
391
+  })
392 392
 }
393 393
 
394 394
 export function UpdateRepair(data) {
395
-  console.log("data-----", data);
395
+  console.log('data-----', data)
396 396
   return request({
397
-    url: "/api/manage/updaterepair",
398
-    method: "Post",
397
+    url: '/api/manage/updaterepair',
398
+    method: 'Post',
399 399
     data: data
400
-  });
400
+  })
401 401
 }
402 402
 
403 403
 export function DeleteRepair(data) {
404 404
   return request({
405
-    url: "/api/manage/deleterepair",
406
-    method: "delete",
405
+    url: '/api/manage/deleterepair',
406
+    method: 'delete',
407 407
     data: data
408
-  });
408
+  })
409 409
 }
410 410
 
411 411
 export function queryRepair(bedid, startime, endtime) {
@@ -413,47 +413,47 @@ export function queryRepair(bedid, startime, endtime) {
413 413
     bedid: bedid,
414 414
     startime: startime,
415 415
     endtime: endtime
416
-  };
416
+  }
417 417
 
418 418
   return request({
419
-    url: "/api/manage/queryrepair",
420
-    method: "Get",
419
+    url: '/api/manage/queryrepair',
420
+    method: 'Get',
421 421
     params: params
422
-  });
422
+  })
423 423
 }
424 424
 
425 425
 export function EditUser(id, patientid) {
426 426
   const params = {
427 427
     id: id,
428 428
     patientid: patientid
429
-  };
429
+  }
430 430
   return request({
431
-    url: "/api/manage/edituser",
432
-    method: "Get",
431
+    url: '/api/manage/edituser',
432
+    method: 'Get',
433 433
     params: params
434
-  });
434
+  })
435 435
 }
436 436
 
437 437
 export function DeleteUserform(data) {
438 438
   return request({
439
-    url: "/api/manage/deleteform",
440
-    method: "delete",
439
+    url: '/api/manage/deleteform',
440
+    method: 'delete',
441 441
     data: data
442
-  });
442
+  })
443 443
 }
444 444
 
445 445
 export function UpdateForm(data) {
446 446
   return request({
447
-    url: "/api/manage/updateform",
448
-    method: "post",
447
+    url: '/api/manage/updateform',
448
+    method: 'post',
449 449
     data: data
450
-  });
450
+  })
451 451
 }
452 452
 
453 453
 export function queryInfo(zone, bed, startime, endtime, limit, page) {
454
-  console.log("开始时间", startime);
455
-  console.log("结束时间", endtime);
456
-  console.log("床位好", bed);
454
+  console.log('开始时间', startime)
455
+  console.log('结束时间', endtime)
456
+  console.log('床位好', bed)
457 457
   const params = {
458 458
     zone: zone,
459 459
     bed: bed,
@@ -461,252 +461,253 @@ export function queryInfo(zone, bed, startime, endtime, limit, page) {
461 461
     endtime: endtime,
462 462
     limit: limit,
463 463
     page: page
464
-  };
464
+  }
465 465
   return request({
466
-    url: "/api/manage/queryinfo",
467
-    method: "Get",
466
+    url: '/api/manage/queryinfo',
467
+    method: 'Get',
468 468
     params: params
469
-  });
469
+  })
470 470
 }
471 471
 
472 472
 export function getAutoData(id, params) {
473 473
   return request({
474
-    url: "/api/manage/insertautodata?id=" + id,
475
-    method: "Get",
474
+    url: '/api/manage/insertautodata?id=' + id,
475
+    method: 'Get',
476 476
     params: params
477
-  });
477
+  })
478 478
 }
479 479
 
480 480
 export function getAllEquitType(params) {
481 481
   return request({
482
-    url: "/api/manage/getallequittype",
483
-    method: "Get",
482
+    url: '/api/manage/getallequittype',
483
+    method: 'Get',
484 484
     params: params
485
-  });
485
+  })
486 486
 }
487 487
 
488 488
 export function getUserForm(id, limit, page) {
489
+  console.log('limit', limit)
489 490
   const params = {
490 491
     id: id,
491 492
     limit: limit,
492 493
     page: page
493
-  };
494
+  }
494 495
   return request({
495
-    url: "/api/manage/getuserform",
496
-    method: "Get",
496
+    url: '/api/manage/getuserform',
497
+    method: 'Get',
497 498
     params: params
498
-  });
499
+  })
499 500
 }
500 501
 
501 502
 export function UpdateMacheineTwo(data) {
502 503
   return request({
503
-    url: "/api/manage/updatemacheinettwo",
504
-    method: "post",
504
+    url: '/api/manage/updatemacheinettwo',
505
+    method: 'post',
505 506
     data: data
506
-  });
507
+  })
507 508
 }
508 509
 
509 510
 export function getBedForm(id, params) {
510 511
   return request({
511
-    url: "/api/manage/getbedform?id=" + id,
512
-    method: "get",
512
+    url: '/api/manage/getbedform?id=' + id,
513
+    method: 'get',
513 514
     params: params
514
-  });
515
+  })
515 516
 }
516 517
 
517 518
 export function getTotalCount(params) {
518 519
   return request({
519
-    url: "/api/manage/gettotalcount",
520
-    method: "Get",
520
+    url: '/api/manage/gettotalcount',
521
+    method: 'Get',
521 522
     params: params
522
-  });
523
+  })
523 524
 }
524 525
 
525 526
 export function getTotalNumber(id, params) {
526 527
   return request({
527
-    url: "/api/manage/getotalnumber?id=" + id,
528
-    method: "Get",
528
+    url: '/api/manage/getotalnumber?id=' + id,
529
+    method: 'Get',
529 530
     params: params
530
-  });
531
+  })
531 532
 }
532 533
 
533 534
 export function getTimeWarning(id, params) {
534 535
   return request({
535
-    url: "/api/manage/gettimewarning?id=" + id,
536
-    method: "Get",
536
+    url: '/api/manage/gettimewarning?id=' + id,
537
+    method: 'Get',
537 538
     params: params
538
-  });
539
+  })
539 540
 }
540 541
 
541 542
 export function SaveManageInfoTwo(data, beds) {
542
-  console.log("data", beds);
543
+  console.log('data', beds)
543 544
   return request({
544
-    url: "/api/manage/savemanageinfotwo?beds=" + beds,
545
-    method: "post",
545
+    url: '/api/manage/savemanageinfotwo?beds=' + beds,
546
+    method: 'post',
546 547
     data: data
547
-  });
548
+  })
548 549
 }
549 550
 
550 551
 export function getAllpatient(params) {
551 552
   return request({
552
-    url: "/api/manage/getallpatient",
553
-    method: "get",
553
+    url: '/api/manage/getallpatient',
554
+    method: 'get',
554 555
     params: params
555
-  });
556
+  })
556 557
 }
557 558
 
558 559
 export function changeBed(id, params) {
559 560
   return request({
560
-    url: "/api/manage/changebed?id=" + id,
561
-    method: "get",
561
+    url: '/api/manage/changebed?id=' + id,
562
+    method: 'get',
562 563
     params: params
563
-  });
564
+  })
564 565
 }
565 566
 
566 567
 export function getPatientDetail(id, params) {
567 568
   return request({
568
-    url: "/api/manage/getpatientdetail?id=" + id,
569
-    method: "get",
569
+    url: '/api/manage/getpatientdetail?id=' + id,
570
+    method: 'get',
570 571
     params: params
571
-  });
572
+  })
572 573
 }
573 574
 
574 575
 export function changeRun(id, data) {
575 576
   return request({
576
-    url: "/api/manage/changrun?id=" + id,
577
-    method: "post",
577
+    url: '/api/manage/changrun?id=' + id,
578
+    method: 'post',
578 579
     data: data
579
-  });
580
+  })
580 581
 }
581 582
 
582 583
 export function getRemanderData(params) {
583 584
   return request({
584
-    url: "/api/manage/getremanderdata",
585
-    method: "get",
585
+    url: '/api/manage/getremanderdata',
586
+    method: 'get',
586 587
     params: params
587
-  });
588
+  })
588 589
 }
589 590
 
590 591
 export function openDelete(id, params) {
591 592
   return request({
592
-    url: "/api/manage/opendelete?id=" + id,
593
-    method: "delete",
593
+    url: '/api/manage/opendelete?id=' + id,
594
+    method: 'delete',
594 595
     params: params
595
-  });
596
+  })
596 597
 }
597 598
 
598 599
 export function DeleteUserLogin(id, params) {
599 600
   return request({
600
-    url: "/api/manage/deleteuserlogin?id=" + id,
601
-    method: "delete",
601
+    url: '/api/manage/deleteuserlogin?id=' + id,
602
+    method: 'delete',
602 603
     params: params
603
-  });
604
+  })
604 605
 }
605 606
 
606 607
 export function DeleteCultrues(id, params) {
607 608
   return request({
608
-    url: "/api/manage/deletecultrues?id=" + id,
609
-    method: "delete",
609
+    url: '/api/manage/deletecultrues?id=' + id,
610
+    method: 'delete',
610 611
     params: params
611
-  });
612
+  })
612 613
 }
613 614
 
614 615
 export function DeleteDialystates(id, params) {
615 616
   return request({
616
-    url: "/api/manage/deletedialystates?id=" + id,
617
-    method: "delete",
617
+    url: '/api/manage/deletedialystates?id=' + id,
618
+    method: 'delete',
618 619
     params: params
619
-  });
620
+  })
620 621
 }
621 622
 
622 623
 export function DeleteIons(id, params) {
623 624
   return request({
624
-    url: "/api/manage/deleteions?id=" + id,
625
-    method: "delete",
625
+    url: '/api/manage/deleteions?id=' + id,
626
+    method: 'delete',
626 627
     params: params
627
-  });
628
+  })
628 629
 }
629 630
 
630 631
 export function DeleteRepairs(id, params) {
631 632
   return request({
632
-    url: "/api/manage/deleterepairs?id=" + id,
633
-    method: "delete",
633
+    url: '/api/manage/deleterepairs?id=' + id,
634
+    method: 'delete',
634 635
     params: params
635
-  });
636
+  })
636 637
 }
637 638
 
638 639
 export function SaveMode(data) {
639 640
   return request({
640
-    url: "/api/manage/savemode",
641
-    method: "post",
641
+    url: '/api/manage/savemode',
642
+    method: 'post',
642 643
     data: data
643
-  });
644
+  })
644 645
 }
645 646
 
646 647
 export function getAllMode(params) {
647 648
   return request({
648
-    url: "/api/manage/getallmode",
649
-    method: "get",
649
+    url: '/api/manage/getallmode',
650
+    method: 'get',
650 651
     params: params
651
-  });
652
+  })
652 653
 }
653 654
 
654 655
 export function EditMode(id, params) {
655 656
   return request({
656
-    url: "/api/manage/editmode?id=" + id,
657
-    method: "get",
657
+    url: '/api/manage/editmode?id=' + id,
658
+    method: 'get',
658 659
     params: params
659
-  });
660
+  })
660 661
 }
661 662
 
662 663
 export function UpdateMode(id, data) {
663 664
   return request({
664
-    url: "/api/manage/updatemode?id=" + id,
665
-    method: "post",
665
+    url: '/api/manage/updatemode?id=' + id,
666
+    method: 'post',
666 667
     data: data
667
-  });
668
+  })
668 669
 }
669 670
 
670 671
 export function DeleteMode(id, params) {
671 672
   return request({
672
-    url: "/api/manage/deletemode?id=" + id,
673
-    method: "delete",
673
+    url: '/api/manage/deletemode?id=' + id,
674
+    method: 'delete',
674 675
     params: params
675
-  });
676
+  })
676 677
 }
677 678
 
678 679
 export function selectChange(id, params) {
679 680
   return request({
680
-    url: "/api/manage/selectchange?id=" + id,
681
-    method: "get",
681
+    url: '/api/manage/selectchange?id=' + id,
682
+    method: 'get',
682 683
     params: params
683
-  });
684
+  })
684 685
 }
685 686
 
686 687
 export function selectBed(id, params) {
687 688
   return request({
688
-    url: "/api/manage/selectbed?id=" + id,
689
-    method: "get",
689
+    url: '/api/manage/selectbed?id=' + id,
690
+    method: 'get',
690 691
     params: params
691
-  });
692
+  })
692 693
 }
693 694
 
694 695
 export function getTimeBeteen(equitid, todaytime) {
695 696
   const params = {
696 697
     equitid: equitid,
697 698
     todaytime: todaytime
698
-  };
699
+  }
699 700
   return request({
700
-    url: "/api/manage/getime",
701
-    method: "get",
701
+    url: '/api/manage/getime',
702
+    method: 'get',
702 703
     params: params
703
-  });
704
+  })
704 705
 }
705 706
 
706
-export function DeleteImages(id,params) {
707
+export function DeleteImages(id, params) {
707 708
   return request({
708
-    url: "/api/manage/deleteimages?id=" + id,
709
-    method: "delete",
709
+    url: '/api/manage/deleteimages?id=' + id,
710
+    method: 'delete',
710 711
     params: params
711
-  });
712
+  })
712 713
 }

+ 67 - 38
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue Dosyayı Görüntüle

@@ -357,7 +357,7 @@
357 357
                     干体重:
358 358
                     <span class="under-line"
359 359
                       >&nbsp;{{
360
-                        record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight :"/"
360
+                        record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight :"0"
361 361
                       }}</span
362 362
                     >kg
363 363
                   </td>
@@ -367,7 +367,7 @@
367 367
                       >&nbsp;{{
368 368
                         record.assessment_before_dislysis.weight_before
369 369
                           ? record.assessment_before_dislysis.weight_before
370
-                          : "/"
370
+                          : "0"
371 371
                       }}</span
372 372
                     >kg
373 373
                   </td>
@@ -377,7 +377,7 @@
377 377
                       >&nbsp;{{
378 378
                         record.prescription.target_ultrafiltration
379 379
                           ? record.prescription.target_ultrafiltration
380
-                          : "/"
380
+                          : "0"
381 381
                       }}</span
382 382
                     >L
383 383
                   </td>
@@ -403,7 +403,7 @@
403 403
                           >&nbsp;{{
404 404
                               record.prescription.blood_flow_volume
405 405
                                 ? record.prescription.blood_flow_volume
406
-                                : '/'
406
+                                : '0'
407 407
                             }}</span
408 408
                           >ml/min
409 409
                         </td>
@@ -411,7 +411,7 @@
411 411
                           置换方式:
412 412
                           <span class="under-line"
413 413
                           >&nbsp; {{
414
-                              getDisplaceLiquiPart(record.prescription.displace_liqui_part)
414
+                              getDisplaceLiquiPart(record.prescription.displace_liqui_part) ? getDisplaceLiquiPart(record.prescription.displace_liqui_part):"/"
415 415
                           }}</span
416 416
                           >
417 417
                         </td>
@@ -421,7 +421,7 @@
421 421
                           >&nbsp;{{
422 422
                               record.prescription.displace_liqui_value
423 423
                                 ? record.prescription.displace_liqui_value
424
-                                : '/'
424
+                                : '0'
425 425
                             }}</span
426 426
                           >
427 427
                         </td>
@@ -526,7 +526,7 @@
526 526
                         >&nbsp;{{
527 527
                               record.prescription.anticoagulant_zongliang
528 528
                                 ? record.prescription.anticoagulant_zongliang
529
-                                : '/'
529
+                                : '0'
530 530
                             }}</span
531 531
                         >
532 532
                           <span
@@ -562,6 +562,13 @@
562 562
                       <tr>
563 563
                         <td style="text-align:left;margin-left:15px" colspan = "2">
564 564
                           透析液(mmol/L):
565
+                            <span
566
+                            class="under-line"
567
+                            v-if="
568
+                              record.prescription.dialysate_formulation == 0
569
+                            "
570
+                          >&nbsp; 常规低钙(钾:0&nbsp;,钙:0&nbsp;,钠:0)
571
+                          </span>
565 572
                           <span
566 573
                             class="under-line"
567 574
                             v-if="
@@ -707,38 +714,60 @@
707 714
                     {{ getTime(monitor.operate_time, ' {y}-{m}-{d} {h}:{i}') }}
708 715
                   </td>
709 716
                   <td>
710
-                    {{
717
+                   <span v-if="getTime(monitor.operate_time)!=''">{{
711 718
                     monitor.systolic_blood_pressure
712
-                    ? monitor.systolic_blood_pressure + '/'
713
-                    : ''
714
-                    }}{{
719
+                    ? monitor.systolic_blood_pressure 
720
+                    : '0'
721
+                    }}/{{
715 722
                     monitor.diastolic_blood_pressure
716 723
                     ? monitor.diastolic_blood_pressure
717
-                    : '/'
724
+                    : '0'
718 725
                     }}
726
+                    </span> 
719 727
                   </td>
720
-                  <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : '/' }}</td>
721
-                  <td>{{ monitor.breathing_rate ? monitor.breathing_rate : '/' }}</td>
722
-                  <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:"/"}}</td>
723 728
                   <td>
724
-                    {{
725
-                    monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '/'
726
-                    }}
729
+                   <span v-if="getTime(monitor.operate_time)!=''">
730
+                     {{ monitor.pulse_frequency ? monitor.pulse_frequency : '0' }}
731
+                    </span>
727 732
                   </td>
728 733
                   <td>
729
-                    {{
730
-                    monitor.displacement_quantity
731
-                    ? monitor.displacement_quantity
732
-                    : '/'
733
-                    }}
734
+                    <span v-if="getTime(monitor.operate_time)!=''">
735
+                      {{ monitor.breathing_rate ? monitor.breathing_rate : '0' }}
736
+                     </span>
737
+                    </td>
738
+                  <td>
739
+                    <span v-if="getTime(monitor.operate_time)!=''">
740
+                    {{monitor.blood_flow_volume?monitor.blood_flow_volume:"0"}}
741
+                    </span>
742
+                   </td>
743
+                  <td>
744
+                    <span v-if="getTime(monitor.operate_time)!=''">{{
745
+                       monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '0'
746
+                     }}
747
+                    </span> 
734 748
                   </td>
735
-                  <td>{{ monitor.venous_pressure ? monitor.venous_pressure : '/' }}</td>
736 749
                   <td>
750
+                    <span v-if="getTime(monitor.operate_time)!=''">
751
+                     {{
752
+                       monitor.displacement_quantity
753
+                       ? monitor.displacement_quantity
754
+                       : '0'
755
+                      }}
756
+                    </span>
757
+                  </td>
758
+                  <td>
759
+                    <span v-if="getTime(monitor.operate_time)!=''">
760
+                     {{ monitor.venous_pressure ? monitor.venous_pressure : '0' }}
761
+                     </span>
762
+                     </td>
763
+                  <td>
764
+                    <span v-if="getTime(monitor.operate_time)!=''">
737 765
                     {{
738
-                    monitor.transmembrane_pressure
739
-                    ? monitor.transmembrane_pressure
740
-                    : '/'
741
-                    }}
766
+                     monitor.transmembrane_pressure
767
+                     ? monitor.transmembrane_pressure
768
+                     : '0'
769
+                     }}
770
+                    </span>
742 771
                   </td>
743 772
                   <td>{{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{ monitor.result }}</td>
744 773
                 </tr>
@@ -856,14 +885,14 @@
856 885
                     /></span>
857 886
                   </td>
858 887
                   <td v-if="advice_index === 0">透前体重:</td>
859
-                  <td v-if="advice_index === 0">{{record.assessment_before_dislysis.weight_before}}kg</td>
888
+                  <td v-if="advice_index === 0">{{record.assessment_before_dislysis.weight_before ? record.assessment_before_dislysis.weight_before:"0"}}kg</td>
860 889
                   <td v-if="advice_index === 1">体重增加量:</td>
861 890
                   <td v-if="advice_index === 1">
862 891
                     {{(record.assessment_before_dislysis.weight_before -
863 892
                     record.lastafterweight.weight_after).toFixed(1)}}kg
864 893
                   </td>
865 894
                   <td v-if="advice_index === 2">干体重(DW):</td>
866
-                  <td v-if="advice_index === 2">{{record.assessment_before_dislysis.dry_weight}}kg</td>
895
+                  <td v-if="advice_index === 2">{{record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight : "0"}}kg</td>
867 896
                   <td v-if="advice_index === 3">较干体重增加量:</td>
868 897
                   <td v-if="advice_index === 3">
869 898
                     {{(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.dry_weight -
@@ -887,14 +916,14 @@
887 916
                      上机时间:
888 917
                       <span class="under-line">
889 918
                      {{
890
-                       getTime(record.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
919
+                       getTime(record.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}') ? getTime(record.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}') :"/"
891 920
                      }}</span>
892 921
                       </td>
893 922
                        <td style="text-align:left;margin-left:15px;width:25%">
894 923
                        下机时间:
895 924
                           <span class="under-line"
896 925
                             >&nbsp;{{
897
-                             getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}')
926
+                             getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}') ? getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}') :"/"
898 927
                              }}</span
899 928
                             >
900 929
                        </td>
@@ -908,7 +937,7 @@
908 937
                               ) == ''
909 938
                             "
910 939
                         >{{
911
-                              getAdminUser(record.dialysis_order, 'start_nurse')
940
+                              getAdminUser(record.dialysis_order, 'start_nurse') ? getAdminUser(record.dialysis_order, 'start_nurse') :"/"
912 941
                             }}</span
913 942
                         >
914 943
                         <img
@@ -928,7 +957,7 @@
928 957
                          <td style="text-align:left;margin-left:15px;width:25%">
929 958
                           核对护士:
930 959
                          <span class="under-line">&nbsp;
931
-                           <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')}}</span>
960
+                           <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')?getAdminUser(record.check, 'modifier'):"/"}}</span>
932 961
                             <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" style="height:40px"> 
933 962
                          </span>
934 963
                       </td>
@@ -944,7 +973,7 @@
944 973
                               ) == ''
945 974
                             "
946 975
                           >{{
947
-                              getAdminUser(record.dialysis_order, 'finish_nurse')
976
+                              getAdminUser(record.dialysis_order, 'finish_nurse')?getAdminUser(record.dialysis_order, 'finish_nurse'):"/"
948 977
                             }}</span
949 978
                           >
950 979
                           <img
@@ -964,8 +993,8 @@
964 993
                        <td style="text-align:left;margin-left:15px;width:25%">
965 994
                         下机血压:
966 995
                           <span class="under-line"
967
-                          >&nbsp;{{ record.dialysis_order.systolic_blood_pressure }}/{{
968
-                             record.dialysis_order.diastolic_blood_pressure
996
+                          >&nbsp;{{ record.assessment_after_dislysis.systolic_blood_pressure }}/{{
997
+                             record.assessment_after_dislysis.diastolic_blood_pressure
969 998
                              }}&nbsp;mmHg</span
970 999
                           >
971 1000
                        </td>
@@ -1025,7 +1054,7 @@
1025 1054
                      <tr>
1026 1055
                       <td style="text-align:left;margin-left:15px;" colspan="2">
1027 1056
                         并发症:
1028
-                            <span class="under-line">&nbsp;{{record.assessment_after_dislysis.complication}}</span>
1057
+                            <span class="under-line">&nbsp;{{record.assessment_after_dislysis.complication?record.assessment_after_dislysis.complication:"/"}}</span>
1029 1058
                       </td>
1030 1059
                        <td style="text-align:left;margin-left:15px" colspan="2">
1031 1060
                          透析器凝血:

+ 94 - 55
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Dosyayı Görüntüle

@@ -190,7 +190,7 @@
190 190
                     干体重:
191 191
                     <span class="under-line"
192 192
                       >&nbsp;{{
193
-                        predialysis.dry_weight ? predialysis.dry_weight : "/"
193
+                        predialysis.dry_weight ? predialysis.dry_weight : "0"
194 194
                       }}</span
195 195
                     >kg
196 196
                   </td>
@@ -200,7 +200,7 @@
200 200
                       >&nbsp;{{
201 201
                         predialysis.weight_before
202 202
                           ? predialysis.weight_before
203
-                          : "/"
203
+                          : "0"
204 204
                       }}</span
205 205
                     >kg
206 206
                   </td>
@@ -210,7 +210,7 @@
210 210
                       >&nbsp;{{
211 211
                         prescription.target_ultrafiltration
212 212
                           ? prescription.target_ultrafiltration
213
-                          : "/"
213
+                          : "0"
214 214
                       }}</span
215 215
                     >L
216 216
                   </td>
@@ -236,7 +236,7 @@
236 236
                       >&nbsp;{{
237 237
                         prescription.blood_flow_volume
238 238
                           ? prescription.blood_flow_volume
239
-                          : "/"
239
+                          : "0"
240 240
                       }}</span
241 241
                     >ml/min
242 242
                   </td>
@@ -255,7 +255,7 @@
255 255
                       >&nbsp;{{
256 256
                         prescription.displace_liqui_value
257 257
                           ? prescription.displace_liqui_value
258
-                          : "/"
258
+                          : "0"
259 259
                       }}</span
260 260
                     >
261 261
                   </td>
@@ -275,7 +275,7 @@
275 275
                     首剂:<span class="under-line">{{
276 276
                       prescription.anticoagulant_shouji
277 277
                         ? prescription.anticoagulant_shouji
278
-                        : "/"
278
+                        : "0"
279 279
                     }}</span>
280 280
                     <span v-if="prescription.anticoagulant == '枸橼酸钠'"
281 281
                       >mg</span
@@ -298,7 +298,7 @@
298 298
                       >&nbsp;{{
299 299
                         prescription.anticoagulant_weichi
300 300
                           ? prescription.anticoagulant_weichi
301
-                          : "/"
301
+                          : "0"
302 302
                       }}</span
303 303
                     >
304 304
                     <span v-if="prescription.anticoagulant == '枸橼酸钠'"
@@ -322,7 +322,7 @@
322 322
                       >&nbsp;{{
323 323
                         prescription.anticoagulant_zongliang
324 324
                           ? prescription.anticoagulant_zongliang
325
-                          : "/"
325
+                          : "0"
326 326
                       }}</span
327 327
                     >
328 328
                     <span v-if="prescription.anticoagulant == '枸橼酸钠'"
@@ -344,6 +344,11 @@
344 344
                 <tr>
345 345
                   <td style="text-align:left;margin-left:15px">
346 346
                     透析液(mmol/L):
347
+                    <span
348
+                      class="under-line"
349
+                      v-if="prescription.dialysate_formulation == 0"
350
+                      >&nbsp; 常规低钙(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
351
+                    </span>
347 352
                     <span
348 353
                       class="under-line"
349 354
                       v-if="prescription.dialysate_formulation == 1"
@@ -351,46 +356,42 @@
351 356
                         prescription.kalium
352 357
                       }}&nbsp;,钙:{{ prescription.calcium }}&nbsp;,钠:{{
353 358
                         prescription.sodium
354
-                      }};)
359
+                      }})
355 360
                     </span>
356 361
                     <span
357 362
                       class="under-line"
358 363
                       v-if="prescription.dialysate_formulation == 2"
359 364
                       >&nbsp; 低钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
360 365
                         prescription.calcium
361
-                      }}&nbsp;,钠:{{ prescription.sodium }};)
366
+                      }}&nbsp;,钠:{{ prescription.sodium }})
362 367
                     </span>
363 368
                     <span
364 369
                       class="under-line"
365 370
                       v-if="prescription.dialysate_formulation == 3"
366 371
                       >&nbsp; 高钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
367 372
                         prescription.calcium
368
-                      }}&nbsp;,钠:{{ prescription.sodium }};)
373
+                      }}&nbsp;,钠:{{ prescription.sodium }})
369 374
                     </span>
370 375
                     <span
371 376
                       class="under-line"
372 377
                       v-if="prescription.dialysate_formulation == 4"
373 378
                       >&nbsp; 低钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
374 379
                         prescription.calcium
375
-                      }}&nbsp;,钠:{{ prescription.sodium }};)
380
+                      }}&nbsp;,钠:{{ prescription.sodium }})
376 381
                     </span>
377 382
                     <span
378 383
                       class="under-line"
379 384
                       v-if="prescription.dialysate_formulation == 5"
380 385
                       >&nbsp; 高钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
381 386
                         prescription.calcium
382
-                      }}&nbsp;,钠:{{ prescription.sodium }};)
387
+                      }}&nbsp;,钠:{{ prescription.sodium }})
383 388
                     </span>
384 389
                   </td>
385 390
                   <td style="text-align:left;margin-left:15px">
386 391
                     并发症:
387
-                    <span class="under-line"
388
-                      >&nbsp;{{
389
-                        predialysis.complication
390
-                          ? predialysis.complication
391
-                          : "/"
392
-                      }}</span
393
-                    >
392
+                    <span class="under-line">{{
393
+                      predialysis.complication ? predialysis.complication : "/"
394
+                    }}</span>
394 395
                   </td>
395 396
                   <td style="text-align:left;margin-left:15px">
396 397
                     医生签名:
@@ -456,42 +457,66 @@
456 457
             {{ getTime(monitor.operate_time, "{h}:{i}") }}
457 458
           </td>
458 459
           <td>
459
-            {{
460
-              monitor.systolic_blood_pressure
461
-                ? monitor.systolic_blood_pressure + "/"
462
-                : ""
463
-            }}{{
464
-              monitor.diastolic_blood_pressure
465
-                ? monitor.diastolic_blood_pressure
466
-                : "/"
467
-            }}
460
+            <span v-if="getTime(monitor.operate_time) != ''"
461
+              >{{
462
+                monitor.systolic_blood_pressure
463
+                  ? monitor.systolic_blood_pressure
464
+                  : "0"
465
+              }}/{{
466
+                monitor.diastolic_blood_pressure
467
+                  ? monitor.diastolic_blood_pressure
468
+                  : "0"
469
+              }}
470
+            </span>
468 471
           </td>
469
-          <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
470
-          <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
471 472
           <td>
472
-            {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}
473
+            <span v-if="getTime(monitor.operate_time) != ''">
474
+              {{ monitor.pulse_frequency ? monitor.pulse_frequency : "0" }}
475
+            </span>
473 476
           </td>
474 477
           <td>
475
-            {{
476
-              monitor.ultrafiltration_volume
477
-                ? monitor.ultrafiltration_volume
478
-                : "/"
479
-            }}
478
+            <span v-if="getTime(monitor.operate_time) != ''">{{
479
+              monitor.breathing_rate ? monitor.breathing_rate : "0"
480
+            }}</span>
480 481
           </td>
481 482
           <td>
482
-            {{
483
-              monitor.displacement_quantity
484
-                ? monitor.displacement_quantity
485
-                : "/"
486
-            }}
483
+            <span v-if="getTime(monitor.operate_time) != ''">
484
+              {{
485
+                monitor.blood_flow_volume ? monitor.blood_flow_volume : "0"
486
+              }}</span
487
+            >
487 488
           </td>
488
-          <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
489 489
           <td>
490
-            {{
491
-              monitor.transmembrane_pressure
492
-                ? monitor.transmembrane_pressure
493
-                : "/"
494
-            }}
490
+            <span v-if="getTime(monitor.operate_time) != ''">
491
+              {{
492
+                monitor.ultrafiltration_volume
493
+                  ? monitor.ultrafiltration_volume
494
+                  : "0"
495
+              }}
496
+            </span>
497
+          </td>
498
+          <td>
499
+            <span v-if="getTime(monitor.operate_time) != ''"
500
+              >{{
501
+                monitor.displacement_quantity
502
+                  ? monitor.displacement_quantity
503
+                  : "0"
504
+              }}
505
+            </span>
506
+          </td>
507
+          <td>
508
+            <span v-if="getTime(monitor.operate_time) != ''">
509
+              {{ monitor.venous_pressure ? monitor.venous_pressure : "0" }}
510
+            </span>
511
+          </td>
512
+          <td>
513
+            <span v-if="getTime(monitor.operate_time) != ''">
514
+              {{
515
+                monitor.transmembrane_pressure
516
+                  ? monitor.transmembrane_pressure
517
+                  : "0"
518
+              }}
519
+            </span>
495 520
           </td>
496 521
           <td>
497 522
             {{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{
@@ -526,7 +551,11 @@
526 551
               <p style="height:20px;line-height:20px">上次透后体重</p>
527 552
             </td>
528 553
             <td style="width:60px;height:40px">
529
-              {{ assessmentafter.weight_after }}kg
554
+              {{
555
+                assessmentafter.weight_after
556
+                  ? assessmentafter.weight_after
557
+                  : "0"
558
+              }}kg
530 559
             </td>
531 560
           </tr>
532 561
 
@@ -629,19 +658,25 @@
629 658
               <td style="text-align:left;margin-left:15px;width:25%">
630 659
                 上机时间:
631 660
                 <span class="under-line">
632
-                  {{ getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") }}</span
661
+                  {{
662
+                    getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
663
+                      ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
664
+                      : "0"
665
+                  }}</span
633 666
                 >
634 667
               </td>
635 668
               <td style="text-align:left;margin-left:15px;width:25%">
636 669
                 下机时间:
637 670
                 <span class="under-line">{{
638 671
                   getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
672
+                    ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
673
+                    : "0"
639 674
                 }}</span>
640 675
               </td>
641 676
               <td style="text-align:left;margin-left:15px;width:25%">
642 677
                 上机护士:
643 678
                 <span class="under-line" v-if="orderForm.url === ''">{{
644
-                  orderForm.start_nurse
679
+                  orderForm.start_nurse ? orderForm.start_nurse : "/"
645 680
                 }}</span>
646 681
                 <span class="under-line" v-if="orderForm.url !== ''"
647 682
                   ><img :src="orderForm.url" style="height:40px;"
@@ -657,6 +692,8 @@
657 692
                     "
658 693
                     >{{
659 694
                       getAdminUser(check == null ? 0 : check.modifier)
695
+                        ? getAdminUser(check == null ? 0 : check.modifier)
696
+                        : "/"
660 697
                     }}</span
661 698
                   >
662 699
                   <img
@@ -675,7 +712,9 @@
675 712
               <td style="text-align:left;margin-left:15px;width:25%">
676 713
                 下机护士:
677 714
                 <span class="under-line" v-if="finshForm.url === ''"
678
-                  >&nbsp;{{ finshForm.finish_nurse }}</span
715
+                  >&nbsp;{{
716
+                    finshForm.finish_nurse ? finshForm.finish_nurse : "/"
717
+                  }}</span
679 718
                 >
680 719
                 <span class="under-line" v-if="finshForm.url !== ''"
681 720
                   >&nbsp;<img :src="finshForm.url" style="height:40px;"
@@ -696,11 +735,11 @@
696 735
                   {{
697 736
                     afterdialysis.actual_treatment_hour
698 737
                       ? afterdialysis.actual_treatment_hour
699
-                      : "/"
738
+                      : "0"
700 739
                   }}小时{{
701 740
                     afterdialysis.actual_treatment_minute
702 741
                       ? afterdialysis.actual_treatment_minute
703
-                      : "/"
742
+                      : "0"
704 743
                   }}分钟
705 744
                 </span>
706 745
               </td>
@@ -710,7 +749,7 @@
710 749
                   >&nbsp;{{
711 750
                     afterdialysis.actual_ultrafiltration
712 751
                       ? afterdialysis.actual_ultrafiltration
713
-                      : "/"
752
+                      : "0"
714 753
                   }}&nbsp;L</span
715 754
                 >
716 755
               </td>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 666 - 594
src/xt_pages/management/components/UserForm.vue