Browse Source

设备管理bug修改

XMLWAN 4 years ago
parent
commit
1179fb4246

+ 240 - 237
src/api/manage.js View File

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

File diff suppressed because it is too large
+ 868 - 429
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue


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

184
 </template>
184
 </template>
185
 
185
 
186
 <script>
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
 export default {
202
 export default {
203
-  name: "dialysisPrintOrder",
203
+  name: 'dialysisPrintOrder',
204
   components: {
204
   components: {
205
     DialysisPrintOrderOne,
205
     DialysisPrintOrderOne,
206
     DialysisPrintOrderTwo,
206
     DialysisPrintOrderTwo,
216
   data() {
216
   data() {
217
     return {
217
     return {
218
       crumbs: [
218
       crumbs: [
219
-        { path: false, name: "透析管理" },
220
-        { path: false, name: "打印单" }
219
+        { path: false, name: '透析管理' },
220
+        { path: false, name: '打印单' }
221
       ],
221
       ],
222
       childResponse: {},
222
       childResponse: {},
223
       operators: [],
223
       operators: [],
228
       },
228
       },
229
       operatorMaps: {},
229
       operatorMaps: {},
230
       complications: [
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
       jilurow: 0,
242
       jilurow: 0,
243
       advice_jilurow: 0,
243
       advice_jilurow: 0,
244
       loading: false,
244
       loading: false,
245
-      orgname: "",
245
+      orgname: '',
246
       patientInfo_gender_1: false,
246
       patientInfo_gender_1: false,
247
       patientInfo_gender_2: false,
247
       patientInfo_gender_2: false,
248
       patientInfo_source_2: false,
248
       patientInfo_source_2: false,
255
       dialysateFormulationOptions: {},
255
       dialysateFormulationOptions: {},
256
 
256
 
257
       queryParams: {
257
       queryParams: {
258
-        xtdate: "",
259
-        xtno: ""
258
+        xtdate: '',
259
+        xtno: ''
260
       },
260
       },
261
       patientInfo: {
261
       patientInfo: {
262
-        birth: "",
263
-        age: "",
262
+        birth: '',
263
+        age: '',
264
         DialysisSchedule: {
264
         DialysisSchedule: {
265
-          device_number: { number: "" },
266
-          device_zone: { name: "" }
265
+          device_number: { number: '' },
266
+          device_zone: { name: '' }
267
         },
267
         },
268
         gender: 0
268
         gender: 0
269
       },
269
       },
270
       predialysis: {
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
       afterdialysis: {
277
       afterdialysis: {
278
-        complications_index: ""
278
+        complications_index: ''
279
       },
279
       },
280
       prescription: {
280
       prescription: {
281
-        dialysate_formulation_name: "",
281
+        dialysate_formulation_name: '',
282
         device: {}
282
         device: {}
283
       },
283
       },
284
       advices: [],
284
       advices: [],
293
 
293
 
294
       AlPanel: {
294
       AlPanel: {
295
         id: 0,
295
         id: 0,
296
-        name: "",
296
+        name: '',
297
         type: 1,
297
         type: 1,
298
         shouji: 2,
298
         shouji: 2,
299
         weichi: 2,
299
         weichi: 2,
300
         zongliang: 2,
300
         zongliang: 2,
301
         gaimingcheng: -1,
301
         gaimingcheng: -1,
302
         gaijiliang: -1,
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
   methods: {
311
   methods: {
312
     getAdminUser(id) {
312
     getAdminUser(id) {
313
       if (id == 0) {
313
       if (id == 0) {
314
-        return "";
314
+        return ''
315
       }
315
       }
316
       if (id == undefined) {
316
       if (id == undefined) {
317
-        return "";
317
+        return ''
318
       }
318
       }
319
       for (let i = 0; i < this.adminUser.length; i++) {
319
       for (let i = 0; i < this.adminUser.length; i++) {
320
         if (this.adminUser[i].id == id) {
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
     getTime(value, temp) {
325
     getTime(value, temp) {
326
       if (value == 0) {
326
       if (value == 0) {
327
-        return "";
327
+        return ''
328
       }
328
       }
329
       if (value != undefined) {
329
       if (value != undefined) {
330
-        return uParseTime(value, temp);
330
+        return uParseTime(value, temp)
331
       }
331
       }
332
-      return "";
332
+      return ''
333
     },
333
     },
334
     printThisPage() {
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
       const style =
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
       const style2 =
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
       if (this.org_template_info.template_id == 1) {
343
       if (this.org_template_info.template_id == 1) {
344
         printJS({
344
         printJS({
345
-          printable: "dialysis-print-box",
346
-          type: "html",
345
+          printable: 'dialysis-print-box',
346
+          type: 'html',
347
           style: style,
347
           style: style,
348
           scanStyles: false
348
           scanStyles: false
349
-        });
349
+        })
350
       } else if (
350
       } else if (
351
         this.org_template_info.template_id == 2 ||
351
         this.org_template_info.template_id == 2 ||
352
         this.org_template_info.template_id == 0
352
         this.org_template_info.template_id == 0
353
       ) {
353
       ) {
354
         printJS({
354
         printJS({
355
-          printable: "dialysis-print-box-1",
356
-          type: "html",
355
+          printable: 'dialysis-print-box-1',
356
+          type: 'html',
357
           style: style2,
357
           style: style2,
358
           scanStyles: false
358
           scanStyles: false
359
-        });
359
+        })
360
       } else if (this.org_template_info.template_id == 3) {
360
       } else if (this.org_template_info.template_id == 3) {
361
         printJS({
361
         printJS({
362
-          printable: "dialysis-print-box",
363
-          type: "html",
362
+          printable: 'dialysis-print-box',
363
+          type: 'html',
364
           style: style,
364
           style: style,
365
           scanStyles: false
365
           scanStyles: false
366
-        });
366
+        })
367
       } else if (this.org_template_info.template_id == 4) {
367
       } else if (this.org_template_info.template_id == 4) {
368
         printJS({
368
         printJS({
369
-          printable: "dialysis-print-box",
370
-          type: "html",
369
+          printable: 'dialysis-print-box',
370
+          type: 'html',
371
           style: style,
371
           style: style,
372
           scanStyles: false
372
           scanStyles: false
373
-        });
373
+        })
374
       } else if (this.org_template_info.template_id == 5) {
374
       } else if (this.org_template_info.template_id == 5) {
375
         printJS({
375
         printJS({
376
-          printable: "dialysis-print-box-1",
377
-          type: "html",
376
+          printable: 'dialysis-print-box-1',
377
+          type: 'html',
378
           style: style2,
378
           style: style2,
379
           scanStyles: false
379
           scanStyles: false
380
-        });
380
+        })
381
       } else if (this.org_template_info.template_id == 6) {
381
       } else if (this.org_template_info.template_id == 6) {
382
         printJS({
382
         printJS({
383
-          printable: "dialysis-print-box-1",
384
-          type: "html",
383
+          printable: 'dialysis-print-box-1',
384
+          type: 'html',
385
           style: style2,
385
           style: style2,
386
           scanStyles: false
386
           scanStyles: false
387
-        });
387
+        })
388
       } else if (this.org_template_info.template_id == 7) {
388
       } else if (this.org_template_info.template_id == 7) {
389
         printJS({
389
         printJS({
390
-          printable: "dialysis-print-box",
391
-          type: "html",
390
+          printable: 'dialysis-print-box',
391
+          type: 'html',
392
           style: style,
392
           style: style,
393
           scanStyles: false
393
           scanStyles: false
394
-        });
394
+        })
395
       } else if (this.org_template_info.template_id == 8) {
395
       } else if (this.org_template_info.template_id == 8) {
396
         printJS({
396
         printJS({
397
-          printable: "dialysis-print-box",
398
-          type: "html",
397
+          printable: 'dialysis-print-box',
398
+          type: 'html',
399
           style: style,
399
           style: style,
400
           scanStyles: false
400
           scanStyles: false
401
-        });
401
+        })
402
       }
402
       }
403
     },
403
     },
404
     printThisOnePage() {
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
       const style =
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
       const style2 =
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
       if (this.org_template_info.template_id == 1) {
413
       if (this.org_template_info.template_id == 1) {
414
         printJS({
414
         printJS({
415
-          printable: "dialysis-print-box",
416
-          type: "html",
415
+          printable: 'dialysis-print-box',
416
+          type: 'html',
417
           style: style,
417
           style: style,
418
           scanStyles: false
418
           scanStyles: false
419
-        });
419
+        })
420
       } else if (
420
       } else if (
421
         this.org_template_info.template_id == 2 ||
421
         this.org_template_info.template_id == 2 ||
422
         this.org_template_info.template_id == 0 ||
422
         this.org_template_info.template_id == 0 ||
423
         this.org_template_info.template_id == 5
423
         this.org_template_info.template_id == 5
424
       ) {
424
       ) {
425
         printJS({
425
         printJS({
426
-          printable: "dialysis-print-box-1-1",
427
-          type: "html",
426
+          printable: 'dialysis-print-box-1-1',
427
+          type: 'html',
428
           style: style2,
428
           style: style2,
429
           scanStyles: false
429
           scanStyles: false
430
-        });
430
+        })
431
       }
431
       }
432
     },
432
     },
433
     printThisTwoPage() {
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
       const style =
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
       const style2 =
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
       if (this.org_template_info.template_id == 1) {
442
       if (this.org_template_info.template_id == 1) {
443
         printJS({
443
         printJS({
444
-          printable: "dialysis-print-box",
445
-          type: "html",
444
+          printable: 'dialysis-print-box',
445
+          type: 'html',
446
           style: style,
446
           style: style,
447
           scanStyles: false
447
           scanStyles: false
448
-        });
448
+        })
449
       } else if (
449
       } else if (
450
         this.org_template_info.template_id == 2 ||
450
         this.org_template_info.template_id == 2 ||
451
         this.org_template_info.template_id == 0 ||
451
         this.org_template_info.template_id == 0 ||
452
         this.org_template_info.template_id == 5
452
         this.org_template_info.template_id == 5
453
       ) {
453
       ) {
454
         printJS({
454
         printJS({
455
-          printable: "dialysis-print-box-1-2",
456
-          type: "html",
455
+          printable: 'dialysis-print-box-1-2',
456
+          type: 'html',
457
           style: style2,
457
           style: style2,
458
           scanStyles: false
458
           scanStyles: false
459
-        });
459
+        })
460
       }
460
       }
461
     },
461
     },
462
     getNumber() {
462
     getNumber() {
464
         return (
464
         return (
465
           this.patientInfo.DialysisSchedule.device_zone.name +
465
           this.patientInfo.DialysisSchedule.device_zone.name +
466
           this.dialysisOrder.DeviceNumber.number
466
           this.dialysisOrder.DeviceNumber.number
467
-        );
467
+        )
468
       } else {
468
       } else {
469
         return (
469
         return (
470
           this.patientInfo.DialysisSchedule.device_zone.name +
470
           this.patientInfo.DialysisSchedule.device_zone.name +
471
           this.patientInfo.DialysisSchedule.device_number.number
471
           this.patientInfo.DialysisSchedule.device_number.number
472
-        );
472
+        )
473
       }
473
       }
474
     },
474
     },
475
 
475
 
476
     getXuserName(id) {
476
     getXuserName(id) {
477
       if (id <= 0) {
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
       if (leng == 0) {
485
       if (leng == 0) {
486
-        return name;
486
+        return name
487
       }
487
       }
488
       for (let index = 0; index < leng; index++) {
488
       for (let index = 0; index < leng; index++) {
489
         if (this.users[index].id == id) {
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
     setAdminUserES(id) {
496
     setAdminUserES(id) {
497
-      console.log(id);
497
+      console.log(id)
498
       if (id == 0) {
498
       if (id == 0) {
499
-        return "";
499
+        return ''
500
       }
500
       }
501
       if (id in this.operatorMaps) {
501
       if (id in this.operatorMaps) {
502
-        return this.operatorMaps[id].url;
502
+        return this.operatorMaps[id].url
503
       } else {
503
       } else {
504
-        return "";
504
+        return ''
505
       }
505
       }
506
     },
506
     },
507
     modeName(mode_id) {
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
         ? this.modeOptions[mode_id].name
510
         ? this.modeOptions[mode_id].name
511
-        : "";
511
+        : ''
512
     },
512
     },
513
     getDialysisRecord() {
513
     getDialysisRecord() {
514
-      this.loading = true;
514
+      this.loading = true
515
 
515
 
516
       getDialysisRecord(this.queryParams).then(response => {
516
       getDialysisRecord(this.queryParams).then(response => {
517
         if (response.data.state == 1) {
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
           //   this.adminUser = response.data.data.users
521
           //   this.adminUser = response.data.data.users
522
           //   this.users = response.data.data.users
522
           //   this.users = response.data.data.users
523
           //   this.patientInfo = response.data.data.patientInfo
523
           //   this.patientInfo = response.data.data.patientInfo
754
           //   }
754
           //   }
755
           //   console.log(this.advice_groups)
755
           //   console.log(this.advice_groups)
756
         } else {
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
     bloodAccessParOperaName(id) {
763
     bloodAccessParOperaName(id) {
764
       if (id in this.bloodAccessParOpera) {
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
     dialysateFormulationName(id) {
769
     dialysateFormulationName(id) {
770
       if (id in this.dialysateFormulationOptions) {
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
     getAge: function(val) {
775
     getAge: function(val) {
776
       if (
776
       if (
778
         this.org_template_info.template_id == 0
778
         this.org_template_info.template_id == 0
779
       ) {
779
       ) {
780
         if (val.age == 0) {
780
         if (val.age == 0) {
781
-          return jsGetAge(val.birth, "-");
781
+          return jsGetAge(val.birth, '-')
782
         } else {
782
         } else {
783
-          return val.age;
783
+          return val.age
784
         }
784
         }
785
       } else {
785
       } else {
786
-        return jsGetAge(val.birth, "-");
786
+        return jsGetAge(val.birth, '-')
787
       }
787
       }
788
     },
788
     },
789
     newAdviceGroupObject: function() {
789
     newAdviceGroupObject: function() {
798
           // exec_time: 0,
798
           // exec_time: 0,
799
           // checker: 0,
799
           // checker: 0,
800
         }
800
         }
801
-      );
801
+      )
802
     }
802
     }
803
   },
803
   },
804
   watch: {
804
   watch: {
805
-    "patientInfo.gender": function() {
805
+    'patientInfo.gender': function() {
806
       if (this.patientInfo.gender == 1) {
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
       } else if (this.patientInfo.gender == 2) {
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
       } else {
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
       if (this.patientInfo.source == 1) {
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
       } else if (this.patientInfo.source == 2) {
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
       } else {
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
   created() {
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
     // this.orgname = "遂溪方济医院";
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
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
839
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
840
 
840
 
841
     var bloodAccessParOpera = getDataConfig(
841
     var bloodAccessParOpera = getDataConfig(
842
-      "hemodialysis",
843
-      "vascular_access_desc"
844
-    );
842
+      'hemodialysis',
843
+      'vascular_access_desc'
844
+    )
845
     for (var key in bloodAccessParOpera) {
845
     for (var key in bloodAccessParOpera) {
846
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
846
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
847
-        bloodAccessParOpera[key];
847
+        bloodAccessParOpera[key]
848
     }
848
     }
849
 
849
 
850
     var dialysateFormulationOptions = getDataConfig(
850
     var dialysateFormulationOptions = getDataConfig(
851
-      "hemodialysis",
852
-      "dialysate_formulation"
853
-    );
851
+      'hemodialysis',
852
+      'dialysate_formulation'
853
+    )
854
     for (var key in dialysateFormulationOptions) {
854
     for (var key in dialysateFormulationOptions) {
855
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
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
     if (
861
     if (
862
-      typeof xtdate === "string" &&
862
+      typeof xtdate === 'string' &&
863
       xtdate.length > 0 &&
863
       xtdate.length > 0 &&
864
-      typeof xtno === "string" &&
864
+      typeof xtno === 'string' &&
865
       xtno.length > 0
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
     } else {
870
     } else {
871
-      this.$message.error("参数不齐");
872
-      return false;
871
+      this.$message.error('参数不齐')
872
+      return false
873
     }
873
     }
874
   }
874
   }
875
-};
875
+}
876
 </script>
876
 </script>
877
 
877
 
878
 <style>
878
 <style>

File diff suppressed because it is too large
+ 1422 - 1161
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue


+ 25 - 24
src/xt_pages/management/components/QualityForm.vue View File

1690
             }
1690
             }
1691
           }
1691
           }
1692
           this.tableData = cultures;
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
           this.table = dialysate;
1732
           this.table = dialysate;

+ 15 - 21
src/xt_pages/management/components/UserForm.vue View File

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

+ 13 - 13
src/xt_pages/management/home.vue View File

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