XMLWAN пре 5 година
родитељ
комит
09aa75f0e7

+ 175 - 157
src/api/advice.js Прегледај датотеку

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

+ 34 - 29
src/xt_pages/data/printTemplate.vue Прегледај датотеку

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

+ 263 - 263
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Прегледај датотеку

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

+ 5 - 6
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Прегледај датотеку

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

+ 23 - 2
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Прегледај датотеку

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

Разлика између датотеке није приказан због своје велике величине
+ 595 - 529
src/xt_pages/dialysis/details/index.vue


+ 1 - 2
src/xt_pages/user/doctorAdvice.vue Прегледај датотеку

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