Quellcode durchsuchen

11月7日 库存扣减更新

XMLWAN vor 3 Jahren
Ursprung
Commit
a641315a02

+ 178 - 191
src/api/advice.js Datei anzeigen

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

+ 2 - 1
src/xt_pages/dialysis/details/assessmentBefore.vue Datei anzeigen

@@ -67,7 +67,8 @@
67 67
 
68 68
         <li v-if="isShow('体液过多症状')">
69 69
           <label>体液过多症状 : </label>
70
-          <span class="content">{{ getHumorExcessiveSymptom(this.record.humor_excessive_symptom) }}</span>
70
+          <!-- <span class="content">{{ getHumorExcessiveSymptom(this.record.humor_excessive_symptom) }}</span> -->
71
+          <span>{{this.record.humor_excessive_symptom}}</span>
71 72
         </li>
72 73
 
73 74
         <li v-if="isShow('其他感染情况')">

+ 28 - 57
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Datei anzeigen

@@ -67,8 +67,6 @@
67 67
           </el-col>
68 68
 
69 69
 
70
-
71
-
72 70
           <el-col :span="8">
73 71
             <el-form-item label="体温(℃):" v-if="isShow('体温')">
74 72
               <el-input type="number" v-model="assessmentBeforeDislysis.temperature"></el-input>
@@ -97,7 +95,7 @@
97 95
               <el-input type="number" v-model="assessmentBeforeDislysis.pulse_frequency"></el-input>
98 96
             </el-form-item>
99 97
           </el-col>
100
-
98
+<!-- 
101 99
           <el-col :span="8">
102 100
             <el-form-item label="体液过多症状: " v-if="isShow('体液过多症状')">
103 101
               <el-select v-model="assessmentBeforeDislysis.humor_excessive_symptom">
@@ -106,6 +104,13 @@
106 104
                            :key="item.id"></el-option>
107 105
               </el-select>
108 106
             </el-form-item>
107
+          </el-col> -->
108
+
109
+          <el-col :span="8">
110
+            <el-form-item label="体液过多症状:" v-if="isShow('体液过多症状')">
111
+              <el-input v-model="assessmentBeforeDislysis.humor_excessive_symptom" readonly
112
+                        @focus="showInnerDialog('19')"></el-input>
113
+            </el-form-item>
109 114
           </el-col>
110 115
 
111 116
           <el-col :span="8">
@@ -402,34 +407,6 @@
402 407
             </el-form-item>
403 408
           </el-col>
404 409
 
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-          <!--          <el-col :span="8" v-if="isShow('血管通路(内瘘)')">-->
414
-          <!--            <el-form-item label="血管通路(内瘘):">-->
415
-          <!--              <div>-->
416
-          <!--                <el-input v-model="assessmentBeforeDislysis.blood_access_internal_fistula"-->
417
-          <!--                          @focus="showInnerDialog('9')"></el-input>-->
418
-          <!--              </div>-->
419
-          <!--            </el-form-item>-->
420
-          <!--          </el-col>-->
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433 410
           <el-col :span="8">
434 411
 
435 412
             <el-form-item label="位置: " v-if="isShow('位置')">
@@ -443,18 +420,6 @@
443 420
             </el-form-item>
444 421
           </el-col>
445 422
 
446
-
447
-
448
-
449
-          <!--          <el-col :span="8" v-if="isShow('导管')">-->
450
-          <!--            <el-form-item label="导管:">-->
451
-          <!--              <div>-->
452
-          <!--                <el-input v-model="assessmentBeforeDislysis.ductus_arantii" @focus="showInnerDialog('10')"></el-input>-->
453
-          <!--              </div>-->
454
-          <!--            </el-form-item>-->
455
-          <!--          </el-col>-->
456
-
457
-
458 423
           <el-col :span="8" v-if="isShow('其他中心静脉导管')">
459 424
             <el-form-item label="其他中心静脉导管:">
460 425
               <div>
@@ -462,13 +427,7 @@
462 427
               </div>
463 428
             </el-form-item>
464 429
           </el-col>
465
-          <!-- </el-row>
466
-
467
-
468
-          <el-row :gutter="20"> -->
469
-
470
-
471
-
430
+         
472 431
           <el-col :span="8">
473 432
             <el-form-item label="感染: " v-if="isShow('感染')">
474 433
               <el-select v-model="assessmentBeforeDislysis.is_infect">
@@ -1089,6 +1048,16 @@
1089 1048
             this.InnerDialogProps.isShowTextArea = false
1090 1049
 
1091 1050
             break
1051
+
1052
+           case '19': // 内瘘
1053
+
1054
+            this.InnerDialogProps.values = this.humor_excessive_symptom_array
1055
+            this.InnerDialogProps.titles = '体液过多症状'
1056
+            this.InnerDialogProps.type = 'humor_excessive_symptom'
1057
+            this.InnerDialogProps.selected = this.assessmentBeforeDislysis.humor_excessive_symptom
1058
+            this.InnerDialogProps.isShowTextArea = false
1059
+
1060
+            break
1092 1061
          
1093 1062
         }
1094 1063
       },
@@ -1153,11 +1122,15 @@
1153 1122
           case 'catheter_maintenance':
1154 1123
            this.assessmentBeforeDislysis.catheter_maintenance = val.value.join(',')
1155 1124
            break
1125
+          case 'humor_excessive_symptom':
1126
+           this.assessmentBeforeDislysis.humor_excessive_symptom = val.value.join(',')
1127
+           break  
1156 1128
         }
1157 1129
       },
1158 1130
       innerDialogCancle: function() {
1159 1131
         this.InnerDialogProps.visibility = false
1160
-      }, handleComfirm: function() {
1132
+      }, 
1133
+      handleComfirm: function() {
1161 1134
 
1162 1135
         var arr = this.assessmentBeforeDislysis
1163 1136
         for (let i = 0; i < this.machineType.length; i++) {
@@ -1165,15 +1138,11 @@
1165 1138
             arr.machine_type = this.machineType[i].name
1166 1139
           }
1167 1140
         }
1168
-        // console.log('arr', arr)
1169 1141
         const ParamsQuery = arr
1170
-        // console.log('paramsquery', ParamsQuery)
1171 1142
         ParamsQuery['patient'] = this.patient.id
1172 1143
         ParamsQuery['record_date'] = this.record_date
1173 1144
         ParamsQuery['mode'] = '1'
1174 1145
 
1175
-        // console.log(this.predialysis_evaluation)
1176
-
1177 1146
         if (this.predialysis_evaluation.id == 0) {
1178 1147
           ParamsQuery['mode'] = '1'
1179 1148
         } else {
@@ -1226,7 +1195,8 @@
1226 1195
         }
1227 1196
         this.dialogFormVisible = true
1228 1197
         this.isVisibility = false
1229
-      }, submitDryWeight() {
1198
+      },
1199
+     submitDryWeight() {
1230 1200
         const params = {
1231 1201
           id: this.patient.id,
1232 1202
           dry_weight: this.weight_adjust.weight,
@@ -1245,7 +1215,8 @@
1245 1215
             this.isVisibility = true
1246 1216
           }
1247 1217
         })
1248
-      }, cancleDryWeight() {
1218
+      },
1219
+     cancleDryWeight() {
1249 1220
         this.dialogFormVisible = false
1250 1221
         this.isVisibility = true
1251 1222
       },

+ 46 - 7
src/xt_pages/dialysis/dialysisDoctorAdvice.vue Datei anzeigen

@@ -23,10 +23,23 @@
23 23
     </div>
24 24
     </div>
25 25
     <div class="app-container">
26
-      <!-- <div class="filter-container">
27
-        <el-input style="width: 400px;" v-model="searchKey" class="filter-item"/>
28
-        <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
29
-      </div>-->
26
+      <div class="filter-container">
27
+       <el-autocomplete
28
+            style="margin:16px 5px"
29
+            popper-class="my-autocomplete"
30
+            v-model.trim="listQuery.keyword"
31
+            :fetch-suggestions="querySearchAsync"
32
+            :trigger-on-focus="false"
33
+            placeholder="病人名字或者透析号"
34
+            @select="handleSelect"
35
+    >
36
+        <i class="el-icon-search el-input__icon" slot="suffix"> </i>
37
+        <template slot-scope="{ item }">
38
+            <div class="name">{{ item.name }}</div>
39
+        </template>
40
+     </el-autocomplete>
41
+       
42
+      </div>
30 43
       <div class="cell clearfix">
31 44
         <label class="title">
32 45
           <span class="name">日期查询:</span>
@@ -46,6 +59,7 @@
46 59
 
47 60
         <!-- <el-button type="primary" :disabled="selecting_schs.length == 0" @click="batchPrintAction">打印</el-button> -->
48 61
       </div>
62
+     
49 63
       <div class="cell clearfix">
50 64
         <label class="title"> <span class="name">排班班次</span> : </label>
51 65
         <div class="time">
@@ -359,7 +373,7 @@ import { parseTime } from "@/utils";
359 373
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
360 374
 import { getPrintTemplate } from "@/api/data";
361 375
 import { getSchedualDoctors } from '@/api/advice'
362
-
376
+import {  getHisPatient } from '@/api/project/project'
363 377
 export default {
364 378
   name: "Patient",
365 379
   data() {
@@ -404,6 +418,7 @@ export default {
404 418
       showOne:false,
405 419
       deliveryWay:[],
406 420
       delivery_way:0,
421
+      patient_id:0,
407 422
     };
408 423
   },
409 424
   created() {
@@ -506,7 +521,7 @@ export default {
506 521
          var partition_type = this.listQuery.partition_type
507 522
         
508 523
         console.log("班次",schedule_type,"分区",partition_type)
509
-        getSchedualDoctors({date: newTime,patient_type: 0,advice_type: 2,delivery_way:name,schedule_type:schedule_type,partition_type:partition_type}).then(rs => {
524
+        getSchedualDoctors({date: newTime,patient_type: 0,advice_type: 2,delivery_way:name,schedule_type:schedule_type,partition_type:partition_type,patient_id:this.patient_id}).then(rs => {
510 525
         var resp = rs.data
511 526
         if (resp.state == 1) {
512 527
             this.admin_users = resp.data.adminUser
@@ -972,7 +987,31 @@ export default {
972 987
         // console.log('val',val)
973 988
         this.selecting_schs = val;
974 989
     },
975
-    
990
+    querySearchAsync(keyword, cb) {
991
+        let key = '';
992
+        if (keyword != undefined) {
993
+          key = keyword
994
+        }
995
+        let searchArray = []
996
+
997
+        var params = {
998
+          keyword: key
999
+        }
1000
+        console.log('params', params)
1001
+        getHisPatient(params).then(response => {
1002
+          if (response.data.state == 1) {
1003
+            searchArray = response.data.data.patient
1004
+            console.log('searcharrya', searchArray)
1005
+            cb(searchArray)
1006
+          }
1007
+        })
1008
+        return searchArray
1009
+      },
1010
+     handleSelect(val) {
1011
+     
1012
+        this.patient_id = val.patient_id
1013
+       this.requestSchedualDoctors(this.time)
1014
+      },
976 1015
   },
977 1016
   components: {
978 1017
     BreadCrumb

+ 13 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue Datei anzeigen

@@ -174,7 +174,13 @@
174 174
                 <tbody>
175 175
                   <tr>
176 176
                     <td width="100">体液过多症状:</td>
177
-                    <td width="50">
177
+                    <td width="400">
178
+                       <div class="under-line">
179
+                          &nbsp;
180
+                          <span>{{ predialysis.humor_excessive_symptom ? predialysis.humor_excessive_symptom : '' }}</span>
181
+                        </div>
182
+                    </td>
183
+                    <!-- <td width="50">
178 184
                       <div>
179 185
                         <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('无') > -1 : false" showValue="无"></label-box>
180 186
                       </div>
@@ -186,17 +192,19 @@
186 192
                         <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('颜面浮肿') >-1 : false" showValue="颜面浮肿"></label-box>
187 193
                         &nbsp;
188 194
                       </div>
189
-                    </td>
195
+                    </td> -->
190 196
 
191
-                    <td width="50"><label-box :isChecked="predialysis.humor_excessive_symptom ? ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1 : false" showValue="其它"></label-box></td>
192
-                    <td width="140">
197
+                    <!-- <td width="50"><label-box :isChecked="predialysis.humor_excessive_symptom ? ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1 : false" showValue="其它"></label-box></td> -->
198
+                    <!-- <td width="140">
193 199
                       <div class="under-line">
194 200
                         &nbsp;
195 201
                         <span v-if="predialysis.humor_excessive_symptom && ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1">
196 202
                           {{ getHumorExcessiveSymptom(predialysis.humor_excessive_symptom) }}
197 203
                         </span>
198 204
                       </div>
199
-                    </td>
205
+                    </td> -->
206
+                    <td></td>
207
+                    <td></td>
200 208
                     <td></td>
201 209
                   </tr>
202 210
                 </tbody>

+ 11 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Datei anzeigen

@@ -182,16 +182,21 @@
182 182
                           <!-- <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('无') > -1 : false" showValue="无"></label-box> -->
183 183
                         </div>
184 184
                       </td>
185
-                      <td width="180">
186
-                        <div>
185
+                      <td width="400">
186
+                        <!-- <div>
187 187
                           <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom) == '下肢水肿' : false" showValue="下肢水肿"></label-box>
188 188
                           &nbsp;
189 189
                           <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('颜面浮肿') >-1 : false" showValue="颜面浮肿"></label-box>
190 190
                           &nbsp;
191
+                        </div> -->
192
+                         <div class="under-line">
193
+                          &nbsp;
194
+                          <span>{{ predialysis.humor_excessive_symptom ? predialysis.humor_excessive_symptom : '' }}</span>
191 195
                         </div>
196
+
192 197
                       </td>
193 198
 
194
-                      <td width="50"><label-box :isChecked="predialysis.humor_excessive_symptom ? ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1 : false" showValue="其它"></label-box></td>
199
+                      <!-- <td width="50"><label-box :isChecked="predialysis.humor_excessive_symptom ? ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1 : false" showValue="其它"></label-box></td>
195 200
                       <td width="140">
196 201
                         <div class="under-line">
197 202
                           &nbsp;
@@ -199,7 +204,9 @@
199 204
                             {{ getHumorExcessiveSymptom(predialysis.humor_excessive_symptom) }}
200 205
                           </span>
201 206
                         </div>
202
-                      </td>
207
+                      </td> -->
208
+                      <td></td>
209
+                      <td></td>
203 210
                       <td></td>
204 211
                     </tr>
205 212
                   </tbody>

+ 4 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Datei anzeigen

@@ -286,7 +286,7 @@
286 286
                                         </el-table-column>
287 287
                                         <el-table-column label="库存" width="60">
288 288
                                             <template slot-scope="scope">
289
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243">
289
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088">
290 290
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
291 291
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
292 292
                                               </span>
@@ -383,7 +383,7 @@
383 383
                                         </el-table-column>
384 384
                                         <el-table-column label="库存" width="40">
385 385
                                             <template slot-scope="scope">
386
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243">
386
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088">
387 387
                                                    {{scope.row.stock_count}}
388 388
                                               </span>
389 389
                                               <span v-else> {{ scope.row.total }}</span>
@@ -2658,7 +2658,7 @@
2658 2658
       selectDrugs(selection, row) {
2659 2659
         console.log('selection', selection)
2660 2660
         console.log('row', row)
2661
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 ){
2661
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 ){
2662 2662
             if (row.count <= 0) {
2663 2663
               if (selection) {
2664 2664
                 selection.forEach(row => {
@@ -2933,7 +2933,7 @@
2933 2933
       },
2934 2934
       selectChange(selection, row) {
2935 2935
         console.log('row', row)
2936
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 ){
2936
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088){
2937 2937
            if (row.stock_count <= 0) {
2938 2938
             if (row.type == 3) {
2939 2939
               if (selection) {

+ 2 - 2
src/xt_pages/stock/drugs/query.vue Datei anzeigen

@@ -112,7 +112,7 @@
112 112
         </el-table-column>
113 113
         <el-table-column prop="drug_name" label="出库数量" align="center">
114 114
            <template slot-scope="scope">
115
-             <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10138 || org_id ==10028 || org_id == 10243">
115
+             <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10138 || org_id ==10028 || org_id == 10243 || org_id == 10088">
116 116
                 <span> 
117 117
                  {{getOutFlush(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_cancel_stock_info)}}
118 118
                 </span> 
@@ -123,7 +123,7 @@
123 123
         <el-table-column prop="drug_name" label="剩余库存量" align="center">
124 124
            <template slot-scope="scope">
125 125
             <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info)!=0">
126
-               <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10138 || org_id == 10028 || org_id == 10243">
126
+               <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10138 || org_id == 10028 || org_id == 10243 || org_id == 10088">
127 127
                 {{ getOverFlushInfo(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)?getOverFlushInfo(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number):0}}
128 128
                </span>
129 129
                

+ 2 - 2
src/xt_pages/stock/stockQuery.vue Datei anzeigen

@@ -108,7 +108,7 @@
108 108
        </el-table-column>
109 109
        <el-table-column label="出库数量" align="center">
110 110
          <template slot-scope="scope">
111
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243">
111
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088">
112 112
             <span>
113 113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
114 114
             </span>
@@ -119,7 +119,7 @@
119 119
 
120 120
        <el-table-column label="剩余库存量" align="center">
121 121
          <template slot-scope="scope">
122
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
122
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
123 123
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span> 
124 124
          </template>
125 125
        </el-table-column>