XMLWAN 4 лет назад
Родитель
Сommit
1179fb4246

+ 240 - 237
src/api/manage.js Просмотреть файл

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

Разница между файлами не показана из-за своего большого размера
+ 868 - 429
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue


+ 174 - 174
src/xt_pages/dialysis/dialysisPrintOrder.vue Просмотреть файл

@@ -184,23 +184,23 @@
184 184
 </template>
185 185
 
186 186
 <script>
187
-import { getDialysisRecord } from "@/api/dialysis";
188
-import { getDataConfig } from "@/utils/data";
189
-import { jsGetAge, uParseTime } from "@/utils/tools";
190
-import LabelBox from "./printItem/LabelBox";
191
-import BreadCrumb from "@/xt_pages/components/bread-crumb";
192
-import DialysisPrintOrderOne from "./template/dialysisPrintOrderOne";
193
-import DialysisPrintOrderTwo from "./template/dialysisPrintOrderTwo";
194
-import DialysisPrintOrderThree from "./template/dialysisPrintOrderThree";
195
-import DialysisPrintOrderFour from "./template/DialysisPrintOrderFour";
196
-import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
197
-import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
198
-import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
199
-import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
200
-import print from "print-js";
187
+import { getDialysisRecord } from '@/api/dialysis'
188
+import { getDataConfig } from '@/utils/data'
189
+import { jsGetAge, uParseTime } from '@/utils/tools'
190
+import LabelBox from './printItem/LabelBox'
191
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
192
+import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
193
+import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
194
+import DialysisPrintOrderThree from './template/dialysisPrintOrderThree'
195
+import DialysisPrintOrderFour from './template/DialysisPrintOrderFour'
196
+import DialysisPrintOrderFive from './template/DialysisPrintOrderFive'
197
+import DialysisPrintOrderSix from './template/DialysisPrintOrderSix'
198
+import DialysisPrintOrderSeven from './template/DialysisPrintOrderSeven'
199
+import DialysisPrintOrderEight from './template/DialysisPrintOrderEight'
200
+import print from 'print-js'
201 201
 
202 202
 export default {
203
-  name: "dialysisPrintOrder",
203
+  name: 'dialysisPrintOrder',
204 204
   components: {
205 205
     DialysisPrintOrderOne,
206 206
     DialysisPrintOrderTwo,
@@ -216,8 +216,8 @@ export default {
216 216
   data() {
217 217
     return {
218 218
       crumbs: [
219
-        { path: false, name: "透析管理" },
220
-        { path: false, name: "打印单" }
219
+        { path: false, name: '透析管理' },
220
+        { path: false, name: '打印单' }
221 221
       ],
222 222
       childResponse: {},
223 223
       operators: [],
@@ -228,21 +228,21 @@ export default {
228 228
       },
229 229
       operatorMaps: {},
230 230
       complications: [
231
-        "低血压",
232
-        "高血压",
233
-        "心律失常",
234
-        "头晕",
235
-        "头痛",
236
-        "呕吐",
237
-        "抽搐",
238
-        "出血",
239
-        "心衰",
240
-        "腹痛"
231
+        '低血压',
232
+        '高血压',
233
+        '心律失常',
234
+        '头晕',
235
+        '头痛',
236
+        '呕吐',
237
+        '抽搐',
238
+        '出血',
239
+        '心衰',
240
+        '腹痛'
241 241
       ],
242 242
       jilurow: 0,
243 243
       advice_jilurow: 0,
244 244
       loading: false,
245
-      orgname: "",
245
+      orgname: '',
246 246
       patientInfo_gender_1: false,
247 247
       patientInfo_gender_2: false,
248 248
       patientInfo_source_2: false,
@@ -255,30 +255,30 @@ export default {
255 255
       dialysateFormulationOptions: {},
256 256
 
257 257
       queryParams: {
258
-        xtdate: "",
259
-        xtno: ""
258
+        xtdate: '',
259
+        xtno: ''
260 260
       },
261 261
       patientInfo: {
262
-        birth: "",
263
-        age: "",
262
+        birth: '',
263
+        age: '',
264 264
         DialysisSchedule: {
265
-          device_number: { number: "" },
266
-          device_zone: { name: "" }
265
+          device_number: { number: '' },
266
+          device_zone: { name: '' }
267 267
         },
268 268
         gender: 0
269 269
       },
270 270
       predialysis: {
271
-        score: "",
272
-        internal_fistula: "",
273
-        internal_fistula_skin: "",
274
-        catheter: "",
275
-        blood_access_part_opera_name: ""
271
+        score: '',
272
+        internal_fistula: '',
273
+        internal_fistula_skin: '',
274
+        catheter: '',
275
+        blood_access_part_opera_name: ''
276 276
       },
277 277
       afterdialysis: {
278
-        complications_index: ""
278
+        complications_index: ''
279 279
       },
280 280
       prescription: {
281
-        dialysate_formulation_name: "",
281
+        dialysate_formulation_name: '',
282 282
         device: {}
283 283
       },
284 284
       advices: [],
@@ -293,170 +293,170 @@ export default {
293 293
 
294 294
       AlPanel: {
295 295
         id: 0,
296
-        name: "",
296
+        name: '',
297 297
         type: 1,
298 298
         shouji: 2,
299 299
         weichi: 2,
300 300
         zongliang: 2,
301 301
         gaimingcheng: -1,
302 302
         gaijiliang: -1,
303
-        shouji_unit: "mg",
304
-        weichi_unit: "mg/h",
305
-        zongliang_unit: "mg",
306
-        gaimingcheng_unit: "",
307
-        gaijiliang_unit: ""
303
+        shouji_unit: 'mg',
304
+        weichi_unit: 'mg/h',
305
+        zongliang_unit: 'mg',
306
+        gaimingcheng_unit: '',
307
+        gaijiliang_unit: ''
308 308
       }
309
-    };
309
+    }
310 310
   },
311 311
   methods: {
312 312
     getAdminUser(id) {
313 313
       if (id == 0) {
314
-        return "";
314
+        return ''
315 315
       }
316 316
       if (id == undefined) {
317
-        return "";
317
+        return ''
318 318
       }
319 319
       for (let i = 0; i < this.adminUser.length; i++) {
320 320
         if (this.adminUser[i].id == id) {
321
-          return this.adminUser[i].name;
321
+          return this.adminUser[i].name
322 322
         }
323 323
       }
324 324
     },
325 325
     getTime(value, temp) {
326 326
       if (value == 0) {
327
-        return "";
327
+        return ''
328 328
       }
329 329
       if (value != undefined) {
330
-        return uParseTime(value, temp);
330
+        return uParseTime(value, temp)
331 331
       }
332
-      return "";
332
+      return ''
333 333
     },
334 334
     printThisPage() {
335
-      var ptime = Math.round(new Date().getTime() / 1000);
336
-      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
335
+      var ptime = Math.round(new Date().getTime() / 1000)
336
+      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
337 337
 
338 338
       const style =
339
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
339
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
340 340
       const style2 =
341
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
341
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
342 342
 
343 343
       if (this.org_template_info.template_id == 1) {
344 344
         printJS({
345
-          printable: "dialysis-print-box",
346
-          type: "html",
345
+          printable: 'dialysis-print-box',
346
+          type: 'html',
347 347
           style: style,
348 348
           scanStyles: false
349
-        });
349
+        })
350 350
       } else if (
351 351
         this.org_template_info.template_id == 2 ||
352 352
         this.org_template_info.template_id == 0
353 353
       ) {
354 354
         printJS({
355
-          printable: "dialysis-print-box-1",
356
-          type: "html",
355
+          printable: 'dialysis-print-box-1',
356
+          type: 'html',
357 357
           style: style2,
358 358
           scanStyles: false
359
-        });
359
+        })
360 360
       } else if (this.org_template_info.template_id == 3) {
361 361
         printJS({
362
-          printable: "dialysis-print-box",
363
-          type: "html",
362
+          printable: 'dialysis-print-box',
363
+          type: 'html',
364 364
           style: style,
365 365
           scanStyles: false
366
-        });
366
+        })
367 367
       } else if (this.org_template_info.template_id == 4) {
368 368
         printJS({
369
-          printable: "dialysis-print-box",
370
-          type: "html",
369
+          printable: 'dialysis-print-box',
370
+          type: 'html',
371 371
           style: style,
372 372
           scanStyles: false
373
-        });
373
+        })
374 374
       } else if (this.org_template_info.template_id == 5) {
375 375
         printJS({
376
-          printable: "dialysis-print-box-1",
377
-          type: "html",
376
+          printable: 'dialysis-print-box-1',
377
+          type: 'html',
378 378
           style: style2,
379 379
           scanStyles: false
380
-        });
380
+        })
381 381
       } else if (this.org_template_info.template_id == 6) {
382 382
         printJS({
383
-          printable: "dialysis-print-box-1",
384
-          type: "html",
383
+          printable: 'dialysis-print-box-1',
384
+          type: 'html',
385 385
           style: style2,
386 386
           scanStyles: false
387
-        });
387
+        })
388 388
       } else if (this.org_template_info.template_id == 7) {
389 389
         printJS({
390
-          printable: "dialysis-print-box",
391
-          type: "html",
390
+          printable: 'dialysis-print-box',
391
+          type: 'html',
392 392
           style: style,
393 393
           scanStyles: false
394
-        });
394
+        })
395 395
       } else if (this.org_template_info.template_id == 8) {
396 396
         printJS({
397
-          printable: "dialysis-print-box",
398
-          type: "html",
397
+          printable: 'dialysis-print-box',
398
+          type: 'html',
399 399
           style: style,
400 400
           scanStyles: false
401
-        });
401
+        })
402 402
       }
403 403
     },
404 404
     printThisOnePage() {
405
-      var ptime = Math.round(new Date().getTime() / 1000);
406
-      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
405
+      var ptime = Math.round(new Date().getTime() / 1000)
406
+      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
407 407
 
408 408
       const style =
409
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
409
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
410 410
       const style2 =
411
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
411
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
412 412
 
413 413
       if (this.org_template_info.template_id == 1) {
414 414
         printJS({
415
-          printable: "dialysis-print-box",
416
-          type: "html",
415
+          printable: 'dialysis-print-box',
416
+          type: 'html',
417 417
           style: style,
418 418
           scanStyles: false
419
-        });
419
+        })
420 420
       } else if (
421 421
         this.org_template_info.template_id == 2 ||
422 422
         this.org_template_info.template_id == 0 ||
423 423
         this.org_template_info.template_id == 5
424 424
       ) {
425 425
         printJS({
426
-          printable: "dialysis-print-box-1-1",
427
-          type: "html",
426
+          printable: 'dialysis-print-box-1-1',
427
+          type: 'html',
428 428
           style: style2,
429 429
           scanStyles: false
430
-        });
430
+        })
431 431
       }
432 432
     },
433 433
     printThisTwoPage() {
434
-      var ptime = Math.round(new Date().getTime() / 1000);
435
-      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
434
+      var ptime = Math.round(new Date().getTime() / 1000)
435
+      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
436 436
 
437 437
       const style =
438
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
438
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
439 439
       const style2 =
440
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
440
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
441 441
 
442 442
       if (this.org_template_info.template_id == 1) {
443 443
         printJS({
444
-          printable: "dialysis-print-box",
445
-          type: "html",
444
+          printable: 'dialysis-print-box',
445
+          type: 'html',
446 446
           style: style,
447 447
           scanStyles: false
448
-        });
448
+        })
449 449
       } else if (
450 450
         this.org_template_info.template_id == 2 ||
451 451
         this.org_template_info.template_id == 0 ||
452 452
         this.org_template_info.template_id == 5
453 453
       ) {
454 454
         printJS({
455
-          printable: "dialysis-print-box-1-2",
456
-          type: "html",
455
+          printable: 'dialysis-print-box-1-2',
456
+          type: 'html',
457 457
           style: style2,
458 458
           scanStyles: false
459
-        });
459
+        })
460 460
       }
461 461
     },
462 462
     getNumber() {
@@ -464,60 +464,60 @@ export default {
464 464
         return (
465 465
           this.patientInfo.DialysisSchedule.device_zone.name +
466 466
           this.dialysisOrder.DeviceNumber.number
467
-        );
467
+        )
468 468
       } else {
469 469
         return (
470 470
           this.patientInfo.DialysisSchedule.device_zone.name +
471 471
           this.patientInfo.DialysisSchedule.device_number.number
472
-        );
472
+        )
473 473
       }
474 474
     },
475 475
 
476 476
     getXuserName(id) {
477 477
       if (id <= 0) {
478
-        return "";
478
+        return ''
479 479
       }
480
-      var name = "";
481
-      if (this.users == null || typeof this.users.length === "undefined") {
482
-        return name;
480
+      var name = ''
481
+      if (this.users == null || typeof this.users.length === 'undefined') {
482
+        return name
483 483
       }
484
-      var leng = this.users.length;
484
+      var leng = this.users.length
485 485
       if (leng == 0) {
486
-        return name;
486
+        return name
487 487
       }
488 488
       for (let index = 0; index < leng; index++) {
489 489
         if (this.users[index].id == id) {
490
-          name = this.users[index].name;
491
-          break;
490
+          name = this.users[index].name
491
+          break
492 492
         }
493 493
       }
494
-      return name;
494
+      return name
495 495
     },
496 496
     setAdminUserES(id) {
497
-      console.log(id);
497
+      console.log(id)
498 498
       if (id == 0) {
499
-        return "";
499
+        return ''
500 500
       }
501 501
       if (id in this.operatorMaps) {
502
-        return this.operatorMaps[id].url;
502
+        return this.operatorMaps[id].url
503 503
       } else {
504
-        return "";
504
+        return ''
505 505
       }
506 506
     },
507 507
     modeName(mode_id) {
508
-      return typeof this.modeOptions[mode_id] !== "undefined" &&
509
-        typeof this.modeOptions[mode_id].name !== "undefined"
508
+      return typeof this.modeOptions[mode_id] !== 'undefined' &&
509
+        typeof this.modeOptions[mode_id].name !== 'undefined'
510 510
         ? this.modeOptions[mode_id].name
511
-        : "";
511
+        : ''
512 512
     },
513 513
     getDialysisRecord() {
514
-      this.loading = true;
514
+      this.loading = true
515 515
 
516 516
       getDialysisRecord(this.queryParams).then(response => {
517 517
         if (response.data.state == 1) {
518
-          this.childResponse = response;
519
-          this.org_template_info = response.data.data.org_template_info;
520
-          this.loading = false;
518
+          this.childResponse = response
519
+          this.org_template_info = response.data.data.org_template_info
520
+          this.loading = false
521 521
           //   this.adminUser = response.data.data.users
522 522
           //   this.users = response.data.data.users
523 523
           //   this.patientInfo = response.data.data.patientInfo
@@ -754,23 +754,23 @@ export default {
754 754
           //   }
755 755
           //   console.log(this.advice_groups)
756 756
         } else {
757
-          this.loading = false;
758
-          this.$message.error("请求数据失败");
759
-          return false;
757
+          this.loading = false
758
+          this.$message.error('请求数据失败')
759
+          return false
760 760
         }
761
-      });
761
+      })
762 762
     },
763 763
     bloodAccessParOperaName(id) {
764 764
       if (id in this.bloodAccessParOpera) {
765
-        return this.bloodAccessParOpera[id].name;
765
+        return this.bloodAccessParOpera[id].name
766 766
       }
767
-      return "";
767
+      return ''
768 768
     },
769 769
     dialysateFormulationName(id) {
770 770
       if (id in this.dialysateFormulationOptions) {
771
-        return this.dialysateFormulationOptions[id].name;
771
+        return this.dialysateFormulationOptions[id].name
772 772
       }
773
-      return "";
773
+      return ''
774 774
     },
775 775
     getAge: function(val) {
776 776
       if (
@@ -778,12 +778,12 @@ export default {
778 778
         this.org_template_info.template_id == 0
779 779
       ) {
780 780
         if (val.age == 0) {
781
-          return jsGetAge(val.birth, "-");
781
+          return jsGetAge(val.birth, '-')
782 782
         } else {
783
-          return val.age;
783
+          return val.age
784 784
         }
785 785
       } else {
786
-        return jsGetAge(val.birth, "-");
786
+        return jsGetAge(val.birth, '-')
787 787
       }
788 788
     },
789 789
     newAdviceGroupObject: function() {
@@ -798,81 +798,81 @@ export default {
798 798
           // exec_time: 0,
799 799
           // checker: 0,
800 800
         }
801
-      );
801
+      )
802 802
     }
803 803
   },
804 804
   watch: {
805
-    "patientInfo.gender": function() {
805
+    'patientInfo.gender': function() {
806 806
       if (this.patientInfo.gender == 1) {
807
-        this.patientInfo_gender_1 = true;
808
-        this.patientInfo_gender_2 = false;
807
+        this.patientInfo_gender_1 = true
808
+        this.patientInfo_gender_2 = false
809 809
       } else if (this.patientInfo.gender == 2) {
810
-        this.patientInfo_gender_2 = true;
811
-        this.patientInfo_gender_1 = false;
810
+        this.patientInfo_gender_2 = true
811
+        this.patientInfo_gender_1 = false
812 812
       } else {
813
-        this.patientInfo_gender_2 = false;
814
-        this.patientInfo_gender_1 = false;
813
+        this.patientInfo_gender_2 = false
814
+        this.patientInfo_gender_1 = false
815 815
       }
816 816
     },
817
-    "patientInfo.source": function() {
817
+    'patientInfo.source': function() {
818 818
       if (this.patientInfo.source == 1) {
819
-        this.patientInfo_source_1 = true;
820
-        this.patientInfo_source_2 = false;
819
+        this.patientInfo_source_1 = true
820
+        this.patientInfo_source_2 = false
821 821
       } else if (this.patientInfo.source == 2) {
822
-        this.patientInfo_source_2 = true;
823
-        this.patientInfo_source_1 = false;
822
+        this.patientInfo_source_2 = true
823
+        this.patientInfo_source_1 = false
824 824
       } else {
825
-        this.patientInfo_source_2 = false;
826
-        this.patientInfo_source_1 = false;
825
+        this.patientInfo_source_2 = false
826
+        this.patientInfo_source_1 = false
827 827
       }
828 828
     }
829 829
   },
830 830
   created() {
831
-    var xtuser = this.$store.getters.xt_user;
832
-    this.orgname = xtuser.org.org_name;
831
+    var xtuser = this.$store.getters.xt_user
832
+    this.orgname = xtuser.org.org_name
833 833
     // this.orgname = "遂溪方济医院";
834
-    this.modeOptions = this.$store.getters.treatment_mode;
835
-    this.replacementWays = this.$store.getters.replacement_ways;
836
-    this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
837
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
834
+    this.modeOptions = this.$store.getters.treatment_mode
835
+    this.replacementWays = this.$store.getters.replacement_ways
836
+    this.perfusionApparatus = this.$store.getters.perfusion_apparatus
837
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
838 838
 
839 839
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
840 840
 
841 841
     var bloodAccessParOpera = getDataConfig(
842
-      "hemodialysis",
843
-      "vascular_access_desc"
844
-    );
842
+      'hemodialysis',
843
+      'vascular_access_desc'
844
+    )
845 845
     for (var key in bloodAccessParOpera) {
846 846
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
847
-        bloodAccessParOpera[key];
847
+        bloodAccessParOpera[key]
848 848
     }
849 849
 
850 850
     var dialysateFormulationOptions = getDataConfig(
851
-      "hemodialysis",
852
-      "dialysate_formulation"
853
-    );
851
+      'hemodialysis',
852
+      'dialysate_formulation'
853
+    )
854 854
     for (var key in dialysateFormulationOptions) {
855 855
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
856
-        dialysateFormulationOptions[key];
856
+        dialysateFormulationOptions[key]
857 857
     }
858 858
 
859
-    const xtdate = this.$route.query && this.$route.query.xtdate;
860
-    const xtno = this.$route.query && this.$route.query.xtno;
859
+    const xtdate = this.$route.query && this.$route.query.xtdate
860
+    const xtno = this.$route.query && this.$route.query.xtno
861 861
     if (
862
-      typeof xtdate === "string" &&
862
+      typeof xtdate === 'string' &&
863 863
       xtdate.length > 0 &&
864
-      typeof xtno === "string" &&
864
+      typeof xtno === 'string' &&
865 865
       xtno.length > 0
866 866
     ) {
867
-      this.queryParams.xtdate = xtdate;
868
-      this.queryParams.xtno = xtno;
869
-      this.getDialysisRecord();
867
+      this.queryParams.xtdate = xtdate
868
+      this.queryParams.xtno = xtno
869
+      this.getDialysisRecord()
870 870
     } else {
871
-      this.$message.error("参数不齐");
872
-      return false;
871
+      this.$message.error('参数不齐')
872
+      return false
873 873
     }
874 874
   }
875
-};
875
+}
876 876
 </script>
877 877
 
878 878
 <style>

Разница между файлами не показана из-за своего большого размера
+ 1422 - 1161
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue


+ 25 - 24
src/xt_pages/management/components/QualityForm.vue Просмотреть файл

@@ -1690,42 +1690,43 @@ export default {
1690 1690
             }
1691 1691
           }
1692 1692
           this.tableData = cultures;
1693
-          var dialysate = response.data.data.dialysate;
1694
-          for (let index = 0; index < dialyste.length; index++) {
1695
-            if (dialyste[index].specimenb === 0) {
1696
-              dialyste[index].specimenb = "";
1693
+          var dialysate = response.data.data.dialysate
1694
+          console.log("dialysate", dialysate);
1695
+          for (let index = 0; index < dialysate.length; index++) {
1696
+            if (dialysate[index].specimenb === 0) {
1697
+              dialysate[index].specimenb = "";
1697 1698
             }
1698
-            if (dialyste[index].specimenb === 1) {
1699
-              dialyste[index].specimenb = "透析液";
1699
+            if (dialysate[index].specimenb === 1) {
1700
+              dialysate[index].specimenb = "透析液";
1700 1701
             }
1701
-            if (dialyste[index].specimenb === 2) {
1702
-              dialyste[index].specimenb = "A浓缩液";
1702
+            if (dialysate[index].specimenb === 2) {
1703
+              dialysate[index].specimenb = "A浓缩液";
1703 1704
             }
1704
-            if (dialyste[index].specimenb === 3) {
1705
-              dialyste[index].specimenb = "B浓缩液";
1705
+            if (dialysate[index].specimenb === 3) {
1706
+              dialysate[index].specimenb = "B浓缩液";
1706 1707
             }
1707
-            if (dialyste[index].specimenb === 4) {
1708
-              dialyste[index].specimenb = "置换液";
1708
+            if (dialysate[index].specimenb === 4) {
1709
+              dialysate[index].specimenb = "置换液";
1709 1710
             }
1710
-            if (dialyste[index].specimenb === 5) {
1711
-              dialyste[index].specimenb = "透析用水";
1711
+            if (dialysate[index].specimenb === 5) {
1712
+              dialysate[index].specimenb = "透析用水";
1712 1713
             }
1713 1714
 
1714
-            if (dialyste[index].sampling_locationb === 0) {
1715
-              dialyste[index].sampling_locationb = "";
1715
+            if (dialysate[index].sampling_locationb === 0) {
1716
+              dialysate[index].sampling_locationb = "";
1716 1717
             }
1717 1718
 
1718
-            if (dialyste[index].sampling_locationb === 1) {
1719
-              dialyste[index].sampling_locationb = "透析液入口";
1719
+            if (dialysate[index].sampling_locationb === 1) {
1720
+              dialysate[index].sampling_locationb = "透析液入口";
1720 1721
             }
1721
-            if (dialyste[index].sampling_locationb === 2) {
1722
-              dialyste[index].sampling_locationb = "透析液取样口";
1722
+            if (dialysate[index].sampling_locationb === 2) {
1723
+              dialysate[index].sampling_locationb = "透析液取样口";
1723 1724
             }
1724
-            if (dialyste[index].sampling_locationb === 3) {
1725
-              dialyste[index].sampling_locationb = "置换液出口";
1725
+            if (dialysate[index].sampling_locationb === 3) {
1726
+              dialysate[index].sampling_locationb = "置换液出口";
1726 1727
             }
1727
-            if (dialyste[index].sampling_locationb === 4) {
1728
-              dialyste[index].sampling_locationb = "透析机反渗水入口";
1728
+            if (dialysate[index].sampling_locationb === 4) {
1729
+              dialysate[index].sampling_locationb = "透析机反渗水入口";
1729 1730
             }
1730 1731
           }
1731 1732
           this.table = dialysate;

+ 15 - 21
src/xt_pages/management/components/UserForm.vue Просмотреть файл

@@ -240,7 +240,7 @@
240 240
     <el-dialog
241 241
       title="使用登记"
242 242
       :visible.sync="dialogVisible"
243
-      width="65%"
243
+      width="75%"
244 244
       center
245 245
     >
246 246
       <el-form :model="userform" ref="userform">
@@ -378,7 +378,7 @@
378 378
                 value-format="yyyy-MM-dd HH:mm"
379 379
                 placeholder="选择时间"
380 380
                 v-model="userform.start_time"
381
-                style="width:150px"
381
+                style="width:185px"
382 382
               ></el-date-picker>
383 383
             </el-form-item>
384 384
           </el-col>
@@ -390,7 +390,7 @@
390 390
                 value-format="yyyy-MM-dd HH:mm"
391 391
                 placeholder="选择时间"
392 392
                 v-model="userform.end_time"
393
-                style="width:150px"
393
+                style="width:185px"
394 394
               ></el-date-picker>
395 395
             </el-form-item>
396 396
           </el-col>
@@ -495,18 +495,17 @@
495 495
             <el-form-item label="①机表"></el-form-item>
496 496
           </el-col>
497 497
           <el-col :span="8">
498
-            <el-form-item label="消毒方式:">
498
+            <el-form-item label="消毒方式:" style="width:200px">
499 499
               <el-select
500 500
                 v-model="userform.disinfect_type"
501 501
                 placeholder="请选择"
502
-                style="width:150px"
502
+                style="width:230px"
503 503
               >
504 504
                 <el-option
505 505
                   v-for="item in disinfectType"
506 506
                   :key="item.id"
507 507
                   :label="item.name"
508 508
                   :value="item.id"
509
-                  style="width:150px"
510 509
                 ></el-option>
511 510
               </el-select>
512 511
             </el-form-item>
@@ -516,14 +515,13 @@
516 515
               <el-select
517 516
                 v-model="userform.disinfectant_type"
518 517
                 placeholder="请选择"
519
-                style="width:150px"
518
+                style="width:230px"
520 519
               >
521 520
                 <el-option
522 521
                   v-for="item in disinfectantType"
523 522
                   :key="item.id"
524 523
                   :label="item.name"
525 524
                   :value="item.id"
526
-                  style="width:150px"
527 525
                 ></el-option>
528 526
               </el-select>
529 527
             </el-form-item>
@@ -538,14 +536,13 @@
538 536
               <el-select
539 537
                 v-model="userform.disinfection"
540 538
                 placeholder="请选择"
541
-                style="width:150px"
539
+                style="width:230px"
542 540
               >
543 541
                 <el-option
544 542
                   v-for="item in disinfection"
545 543
                   :key="item.id"
546 544
                   :label="item.name"
547 545
                   :value="item.id"
548
-                  style="width:100px"
549 546
                 ></el-option>
550 547
               </el-select>
551 548
             </el-form-item>
@@ -573,14 +570,13 @@
573 570
               <el-select
574 571
                 v-model="userform.fluid_path"
575 572
                 placeholder="请选择"
576
-                style="width:150px"
573
+                style="width:230px"
577 574
               >
578 575
                 <el-option
579 576
                   v-for="item in sterilizeType"
580 577
                   :key="item.id"
581 578
                   :label="item.name"
582 579
                   :value="item.id"
583
-                  style="width:135px"
584 580
                 ></el-option>
585 581
               </el-select>
586 582
             </el-form-item>
@@ -590,14 +586,13 @@
590 586
               <el-select
591 587
                 v-model="userform.disinfectant"
592 588
                 placeholder="请选择"
593
-                style="width:150px"
589
+                style="width:230px"
594 590
               >
595 591
                 <el-option
596 592
                   v-for="item in fluidPathType"
597 593
                   :key="item.id"
598 594
                   :label="item.name"
599 595
                   :value="item.id"
600
-                  style="width:100px"
601 596
                 ></el-option>
602 597
               </el-select>
603 598
             </el-form-item>
@@ -612,14 +607,13 @@
612 607
               <el-select
613 608
                 v-model="userform.disinfection_status"
614 609
                 placeholder="请选择"
615
-                style="width:150px"
610
+                style="width:230px"
616 611
               >
617 612
                 <el-option
618 613
                   v-for="item in disinfection"
619 614
                   :key="item.id"
620 615
                   :label="item.name"
621 616
                   :value="item.id"
622
-                  style="width:100px"
623 617
                 ></el-option>
624 618
               </el-select>
625 619
             </el-form-item>
@@ -656,7 +650,7 @@
656 650
                 value-format="yyyy-MM-dd HH:mm"
657 651
                 placeholder="选择时间"
658 652
                 v-model="userform.starttime"
659
-                style="width:150px"
653
+                style="width:185px"
660 654
               ></el-date-picker>
661 655
             </el-form-item>
662 656
           </el-col>
@@ -668,7 +662,7 @@
668 662
                 value-format="yyyy-MM-dd HH:mm"
669 663
                 placeholder="选择时间"
670 664
                 v-model="userform.endtime"
671
-                style="width:150px"
665
+                style="width:185px"
672 666
               ></el-date-picker>
673 667
             </el-form-item>
674 668
           </el-col>
@@ -782,14 +776,14 @@
782 776
               <el-select
783 777
                 v-model="userform.sign_name"
784 778
                 placeholder="请选择"
785
-                style="width:150px"
779
+                style="width:185px"
786 780
               >
787 781
                 <el-option
788 782
                   v-for="item in autograph"
789 783
                   :key="item.admin_user_id"
790 784
                   :label="item.user_name"
791 785
                   :value="item.admin_user_id"
792
-                  style="width:100px"
786
+                  style="width:185px"
793 787
                 ></el-option>
794 788
               </el-select>
795 789
             </el-form-item>
@@ -1922,7 +1916,7 @@ export default {
1922 1916
       getUserForm(id, this.limit, this.page).then(response => {
1923 1917
         if (response.data.state === 1) {
1924 1918
           var information = response.data.data.information
1925
-          console.log('information====================', information)
1919
+          console.log('数据是', information)
1926 1920
           // eslint-disable-next-line no-unused-vars
1927 1921
           var addmacher = response.data.data.addmacher
1928 1922
           // console.log('addmacher', addmacher)

+ 13 - 13
src/xt_pages/management/home.vue Просмотреть файл

@@ -965,7 +965,7 @@
965 965
                                            :key="item.id"
966 966
                                            :label="item.name"
967 967
                                            :value="item.id"
968
-                                           style="width:80px">
968
+                                           style="width:90px">
969 969
                                        </el-option>
970 970
                                         </el-select>
971 971
                                      </el-form-item>
@@ -1039,7 +1039,7 @@
1039 1039
                                               value-format="yyyy-MM-dd HH:mm"
1040 1040
                                                placeholder="选择时间"
1041 1041
                                                v-model="userform.start_time"
1042
-                                               style="width:150px"
1042
+                                               style="width:185px"
1043 1043
                                           ></el-date-picker>
1044 1044
                                       </el-form-item>
1045 1045
                                   </el-col>
@@ -1051,7 +1051,7 @@
1051 1051
                                               value-format="yyyy-MM-dd HH:mm"
1052 1052
                                                placeholder="选择时间"
1053 1053
                                                v-model="userform.end_time"
1054
-                                               style="width:150px"
1054
+                                               style="width:185px"
1055 1055
                                           ></el-date-picker>
1056 1056
                                       </el-form-item>
1057 1057
                                   </el-col>
@@ -1143,7 +1143,7 @@
1143 1143
                                            :key="item.id"
1144 1144
                                            :label="item.name"
1145 1145
                                            :value="item.id"
1146
-                                            style="width:150px">
1146
+                                            style="width:200px">
1147 1147
                                            </el-option>
1148 1148
                                         </el-select>
1149 1149
                                      </el-form-item>
@@ -1161,7 +1161,7 @@
1161 1161
                                            :key="item.id"
1162 1162
                                            :label="item.name"
1163 1163
                                            :value="item.id"
1164
-                                            style="width:100px">
1164
+                                            style="width:200px">
1165 1165
                                            </el-option>
1166 1166
                                         </el-select>
1167 1167
                                      </el-form-item>
@@ -1186,7 +1186,7 @@
1186 1186
                                            :key="item.id"
1187 1187
                                            :label="item.name"
1188 1188
                                            :value="item.id"
1189
-                                           style="width:135px">
1189
+                                           style="width:200px">
1190 1190
                                            </el-option>
1191 1191
                                         </el-select>
1192 1192
                                        </el-form-item>
@@ -1199,7 +1199,7 @@
1199 1199
                                            :key="item.id"
1200 1200
                                            :label="item.name"
1201 1201
                                            :value="item.id"
1202
-                                            style="width:100px">
1202
+                                            style="width:260px">
1203 1203
                                            </el-option>
1204 1204
                                         </el-select>
1205 1205
                                      </el-form-item>
@@ -1217,7 +1217,7 @@
1217 1217
                                            :key="item.id"
1218 1218
                                            :label="item.name"
1219 1219
                                            :value="item.id"
1220
-                                            style="width:100px">
1220
+                                            style="width:200px">
1221 1221
                                            </el-option>
1222 1222
                                         </el-select>
1223 1223
                                      </el-form-item>
@@ -1244,7 +1244,7 @@
1244 1244
                                               value-format="yyyy-MM-dd HH:mm"
1245 1245
                                                placeholder="选择时间"
1246 1246
                                                v-model="userform.starttime"
1247
-                                               style="width:150px;"
1247
+                                               style="width:185px;"
1248 1248
                                           ></el-date-picker>
1249 1249
                                        </el-form-item>
1250 1250
                                     </el-col>
@@ -1256,7 +1256,7 @@
1256 1256
                                               value-format="yyyy-MM-dd HH:mm"
1257 1257
                                                placeholder="选择时间"
1258 1258
                                                v-model="userform.endtime"
1259
-                                               style="width:150px;"
1259
+                                               style="width:185px;"
1260 1260
                                           ></el-date-picker>
1261 1261
                                        </el-form-item>
1262 1262
                                     </el-col>
@@ -1342,7 +1342,7 @@
1342 1342
                                            :key="item.admin_user_id"
1343 1343
                                            :label="item.user_name"
1344 1344
                                            :value="item.admin_user_id"
1345
-                                            style="width:100px">
1345
+                                            style="width:185px">
1346 1346
                                            </el-option>
1347 1347
                                          </el-select>
1348 1348
                                        </el-form-item>
@@ -1574,7 +1574,7 @@
1574 1574
                                     <el-button @click="cleanLincomycin">取消</el-button>
1575 1575
                                   </el-col>
1576 1576
                                    <el-col :span="4">
1577
-                                    <el-button @click="SaveLincomycin('qualityFormTwo')">保存</el-button>
1577
+                                    <el-button type="primary" @click="SaveLincomycin('qualityFormTwo')">保存</el-button>
1578 1578
                                   </el-col>
1579 1579
                                 </div>
1580 1580
                               </el-row>
@@ -1708,7 +1708,7 @@
1708 1708
                                     <el-button @click="cleanQuality">取消</el-button>
1709 1709
                                   </el-col>
1710 1710
                                    <el-col :span="4">
1711
-                                    <el-button @click="SaveQualityControl('qualityFormThree')">保存</el-button>
1711
+                                    <el-button type="primary" @click="SaveQualityControl('qualityFormThree')">保存</el-button>
1712 1712
                                   </el-col>
1713 1713
                                 </div>
1714 1714
                               </el-row>