杨青 пре 1 година
родитељ
комит
e185105af9

+ 42 - 5
src/api/dialysis.js Прегледај датотеку

@@ -182,7 +182,7 @@ export function postDoubleCheck(params) {
182 182
 }
183 183
 
184 184
 export function postAccepts(params) {
185
- 
185
+
186 186
   return request({
187 187
     url: '/api/dialysis/accepts',
188 188
     method: 'Post',
@@ -195,7 +195,7 @@ export function postAccepts(params) {
195 195
 }
196 196
 
197 197
 export function postAssessmentBeforeDislysis(params) {
198
- 
198
+
199 199
   return request({
200 200
     url: '/api/dialysis/assessmentbeforedislysis',
201 201
     method: 'Post',
@@ -208,7 +208,7 @@ export function postAssessmentBeforeDislysis(params) {
208 208
 }
209 209
 
210 210
 export function postTreatmentsummary(params) {
211
- 
211
+
212 212
   return request({
213 213
     url: '/api/dialysis/treatmentsummary',
214 214
     method: 'Post',
@@ -404,11 +404,48 @@ export function getDialysisAdviceToday(params) {
404 404
   })
405 405
 }
406 406
 
407
+
408
+export function SaveDialysisInformationSetting(params) {
409
+  return request({
410
+    url: '/api/patient/savedialysisInformationsetting',
411
+    method: 'get',
412
+    params: params
413
+  })
414
+}
415
+
416
+export function getDialysisInformationSetting(params){
417
+
418
+  return request({
419
+    url:"/api/patient/getdialyisinformationsetting",
420
+    method:"get",
421
+    params:params
422
+  })
423
+}
424
+
425
+export function checkDialysisInformation(params){
426
+
427
+  return request({
428
+    url:"/api/patient/checkdialysisinformation",
429
+    method:"Get",
430
+    params:params
431
+  })
432
+}
433
+
434
+
435
+
436
+export function getSchedualPatientFlow(params) {
437
+  return request({
438
+    url: '/api/dialysis/patientsflow',
439
+    method: 'get',
440
+    params: params
441
+  })
442
+}
443
+
407 444
 export function saveInformation(params){
408
-  
445
+
409 446
   return request({
410 447
     url:"/api/patient/saveinformation",
411 448
     method:"get",
412 449
     params:params
413 450
   })
414
-}
451
+}

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

@@ -633,7 +633,7 @@
633 633
                 </span>
634 634
              </el-row>
635 635
            </el-form>
636
-         
636
+
637 637
           </span>
638 638
           <span slot="footer" class="dialog-footer">
639 639
             <el-button @click="infoDialogVisible = false">取 消</el-button>
@@ -1340,12 +1340,12 @@
1340 1340
               }
1341 1341
 
1342 1342
               if(msg == 2){
1343
-                this.$message.error("库存不足,请入库")
1343
+                this.$message.error("执行失败,库存不足,请入库")
1344 1344
                 this.execTimeDialogVisible = false
1345 1345
                 return false
1346 1346
               }
1347 1347
               if(msg == 3){
1348
-                this.$message.error("无库存,请入库")
1348
+                this.$message.error("执行失败,无库存,请入库")
1349 1349
                 this.execTimeDialogVisible = false
1350 1350
                 return false
1351 1351
               }
@@ -2675,10 +2675,10 @@
2675 2675
            }
2676 2676
         })
2677 2677
       }
2678
-      
2678
+
2679 2679
     },
2680 2680
     created() {
2681
-    
2681
+
2682 2682
       var date = this.$route.query && this.$route.query.date
2683 2683
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2684 2684
       this.form.advice_date = this.record_date

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

@@ -236,7 +236,7 @@
236 236
                 template_id == 56 ||
237 237
                 template_id == 60 ||
238 238
                 org_id == 10210 ||
239
-                org_id == 9555 
239
+                org_id == 9555
240 240
                 || org_id == 10432
241 241
                 || org_id == 10445
242 242
                 || org_id == 10410 ||
@@ -252,14 +252,14 @@
252 252
                   ? scope.row.ultrafiltration_volume
253 253
                   : "0"
254 254
               }}
255
-              </span> 
255
+              </span>
256 256
                <span v-if="org_id != 10440 && org_id!=9671">
257 257
               {{
258 258
                 scope.row.ultrafiltration_volume
259 259
                   ? scope.row.ultrafiltration_volume
260 260
                   : ""
261 261
               }}
262
-              </span> 
262
+              </span>
263 263
             </template>
264 264
           </el-table-column>
265 265
           <el-table-column
@@ -307,7 +307,7 @@
307 307
               template_id != 56 &&
308 308
               template_id != 60 &&
309 309
               org_id!= 10210 &&
310
-              org_id != 9555 
310
+              org_id != 9555
311 311
               && org_id!=10432 && org_id!=10445
312 312
               && org_id!=10410 && org_id!=10495 &&
313 313
                org_id!=10485 )
@@ -414,7 +414,7 @@
414 414
               template_id != 60 &&
415 415
               org_id!=10432 &&
416 416
               org_id!=10445 &&
417
-              org_id!=10410 && org_id!=10495) || 
417
+              org_id!=10410 && org_id!=10495) ||
418 418
               org_id == 10387
419 419
             "
420 420
           >
@@ -473,10 +473,10 @@
473 473
                 template_id == 53 ||
474 474
                 template_id == 54 ||
475 475
                 template_id == 56 ||
476
-                org_id ==10432 || 
477
-                org_id ==10445 || 
476
+                org_id ==10432 ||
477
+                org_id ==10445 ||
478 478
                 org_id ==10410
479
-              
479
+
480 480
                )
481 481
             "
482 482
           >
@@ -502,7 +502,7 @@
502 502
               template_id != 53 &&
503 503
               template_id != 54 &&
504 504
               template_id != 56 &&
505
-              org_id !=10432 && 
505
+              org_id !=10432 &&
506 506
               org_id !=10445 &&
507 507
               org_id !=10410
508 508
             "
@@ -907,7 +907,7 @@
907 907
           </el-table-column>
908 908
 
909 909
           <el-table-column
910
-           
910
+
911 911
             align="center"
912 912
             label="病情变化"
913 913
             width="130"
@@ -915,8 +915,8 @@
915 915
           >
916 916
            <template slot-scope="scope">
917 917
              {{scope.row.symptom}}
918
-            
919
-            
918
+
919
+
920 920
              <span v-if="(scope.$index == monitors.length - 1) && (org_id == 0 || org_id == 9671 || org_id == 10340)">累计血容量:{{scope.row.accumulated_blood_volume }}L</span>
921 921
             </template>
922 922
           </el-table-column>
@@ -1130,7 +1130,7 @@
1130 1130
                 template_id == 56 ||
1131 1131
                 template_id == 47 ||
1132 1132
                 template_id == 60 ||
1133
-                org_id== 10432 || 
1133
+                org_id== 10432 ||
1134 1134
                 org_id== 10445 ||
1135 1135
                 org_id== 10410) &&
1136 1136
                 org_id!=10387
@@ -1175,7 +1175,7 @@
1175 1175
               template_id != 56 &&
1176 1176
               template_id != 47 &&
1177 1177
               template_id != 60 &&
1178
-              org_id!=10432 && 
1178
+              org_id!=10432 &&
1179 1179
               org_id!=10445 &&
1180 1180
               org_id!=10410)
1181 1181
               || org_id == 10387
@@ -1233,7 +1233,7 @@
1233 1233
                 org_id == 10445 ||
1234 1234
                 org_id == 10410 ||
1235 1235
                 org_id == 10495 ||
1236
-                org_id == 10485) 
1236
+                org_id == 10485)
1237 1237
                 && org_id!=10387
1238 1238
             "
1239 1239
           >
@@ -1285,8 +1285,8 @@
1285 1285
               org_id !=  10210 &&
1286 1286
               org_id !=  10340 &&
1287 1287
               org_id != 9555 &&
1288
-              org_id!=10432 && 
1289
-              org_id!=10445 && 
1288
+              org_id!=10432 &&
1289
+              org_id!=10445 &&
1290 1290
               org_id!=10410 &&
1291 1291
               org_id!=10495 &&
1292 1292
               org_id!=10485
@@ -1387,8 +1387,8 @@
1387 1387
               template_id != 54 &&
1388 1388
               template_id != 56 &&
1389 1389
               template_id != 48 &&
1390
-              org_id!=10340 && 
1391
-              org_id!=10432 && 
1390
+              org_id!=10340 &&
1391
+              org_id!=10432 &&
1392 1392
               org_id!=10445
1393 1393
             "
1394 1394
           >
@@ -1754,41 +1754,6 @@
1754 1754
       </div>
1755 1755
       <!--</div>-->
1756 1756
     </el-dialog>
1757
-
1758
-  
1759
-    <el-dialog
1760
-          title="提示"
1761
-          :visible.sync="infoDialogVisible"
1762
-          width="30%">
1763
-          <span>
1764
-           <el-form>
1765
-             <el-row>
1766
-               <span>申请日期:</span>
1767
-                <span>
1768
-                    <el-date-picker
1769
-                      type="datetime"
1770
-                      format="yyyy-MM-dd HH:mm"
1771
-                      value-format="yyyy-MM-dd HH:mm"
1772
-                      placeholder="选择时间"
1773
-                      v-model="selected_date"
1774
-                  ></el-date-picker>
1775
-                </span>
1776
-             </el-row>
1777
-             <el-row>
1778
-               <span>备注:</span>
1779
-                <span>
1780
-                   <el-input v-model="remark" style="width:200px"></el-input>
1781
-                </span>
1782
-             </el-row>
1783
-           </el-form>
1784
-         
1785
-          </span>
1786
-          <span slot="footer" class="dialog-footer">
1787
-            <el-button @click="infoDialogVisible = false">取 消</el-button>
1788
-            <el-button type="primary" @click="saveInformation">确 定</el-button>
1789
-          </span>
1790
-        </el-dialog>
1791
-
1792 1757
   </div>
1793 1758
 </template>
1794 1759
 
@@ -1799,9 +1764,7 @@ import {
1799 1764
   editMonitor,
1800 1765
   postDelMonitorInfo,
1801 1766
   getTodayMonitor,
1802
-  
1803 1767
 } from "@/api/dialysis_record";
1804
- import { saveInformation } from '@/api/dialysis'
1805 1768
 import store from "@/store";
1806 1769
 
1807 1770
 import request from "@/utils/request";
@@ -1891,9 +1854,6 @@ export default {
1891 1854
       anticoagulantsConfit: {},
1892 1855
       bloodPressureMmonitoringSite: [],
1893 1856
       complicationList: [],
1894
-      infoDialogVisible:false,
1895
-      selected_date:"",
1896
-      remark:""
1897 1857
     };
1898 1858
   },
1899 1859
   props: {
@@ -1935,7 +1895,7 @@ export default {
1935 1895
     );
1936 1896
     this.complicationList = getDataConfig("hemodialysis", "complication");
1937 1897
 
1938
-   
1898
+
1939 1899
   },
1940 1900
   methods: {
1941 1901
       isName(name) {
@@ -1952,13 +1912,13 @@ export default {
1952 1912
       for (let i = 0; i < filedList.length; i++) {
1953 1913
         if (
1954 1914
           filedList[i].module == 4
1955
-          &&filedList[i].filed_name_cn == name 
1915
+          &&filedList[i].filed_name_cn == name
1956 1916
           &&filedList[i].is_write == 1
1957 1917
         ) {
1958 1918
           // console.log(filedList[i].is_write,'false')
1959 1919
           // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
1960 1920
           return [{ required: true ,message:`请输入${name}` }];
1961
-        } 
1921
+        }
1962 1922
         // else {
1963 1923
         //   console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
1964 1924
         //   // console.log(filedList[i].is_write,'true')
@@ -2100,7 +2060,7 @@ export default {
2100 2060
           ? (resp.monitor.operate_time + 3600) * 1000
2101 2061
           : Date.parse(new Date());
2102 2062
 
2103
-      
2063
+
2104 2064
         this.form.temperature = ""
2105 2065
 
2106 2066
         // this.last_monitor_record.pulse_frequency;
@@ -2165,7 +2125,7 @@ export default {
2165 2125
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature
2166 2126
           ? resp.monitor.dialysate_temperature
2167 2127
           : "";
2168
-        
2128
+
2169 2129
          if(this.org_id == 9675 || this.org_id == 9671 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471){
2170 2130
             this.form.temperature = "36.5"
2171 2131
 
@@ -2208,7 +2168,7 @@ export default {
2208 2168
         }else{
2209 2169
            this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
2210 2170
         }
2211
-      
2171
+
2212 2172
         this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant
2213 2173
           ? resp.monitor.monitor_anticoagulant
2214 2174
           : "";
@@ -2240,7 +2200,7 @@ export default {
2240 2200
           : "";
2241 2201
          if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
2242 2202
             this.form.dialysate_temperature = 36.5
2243
-            
2203
+
2244 2204
          }
2245 2205
       });
2246 2206
     },
@@ -2291,7 +2251,7 @@ export default {
2291 2251
         if(this.org_id != 9671 && this.org_id != 10440){
2292 2252
           this.form.ultrafiltration_volume = "";
2293 2253
         }
2294
-       
2254
+
2295 2255
         this.form.ultrafiltration_rate = "";
2296 2256
         this.form.arterial_pressure = "";
2297 2257
         this.form.arterial_pressure_type = 1;
@@ -2366,7 +2326,7 @@ export default {
2366 2326
             ? monitor.ultrafiltration_volume
2367 2327
             : "";
2368 2328
         }
2369
-        
2329
+
2370 2330
         this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
2371 2331
           ? monitor.ultrafiltration_rate
2372 2332
           : "";
@@ -2379,7 +2339,7 @@ export default {
2379 2339
           ? monitor.arterial_pressure
2380 2340
           : "";
2381 2341
         }
2382
-       
2342
+
2383 2343
         this.form.arterial_pressure_type = monitor.arterial_pressure_type
2384 2344
           ? monitor.arterial_pressure_type
2385 2345
           : "";
@@ -2442,7 +2402,7 @@ export default {
2442 2402
           : "";
2443 2403
         this.form.filter_pressure = monitor.filter_pressure
2444 2404
         ? monitor.filter_pressure
2445
-        : "";  
2405
+        : "";
2446 2406
         // 设置三个下拉框的值,直接调用事件偷懒
2447 2407
         this.symptomTextareaBlur();
2448 2408
         this.disposeTextareaBlur();
@@ -2586,7 +2546,6 @@ export default {
2586 2546
         parseFloat(this.form.dehydration) == NaN
2587 2547
           ? 0
2588 2548
           : parseFloat(this.form.dehydration);
2589
-        
2590 2549
       this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2591 2550
 
2592 2551
       this.form.replacement_speed =
@@ -2756,20 +2715,7 @@ export default {
2756 2715
               parseFloat(this.form.heparin_amount) == NaN
2757 2716
                 ? 0
2758 2717
                 : parseFloat(this.form.heparin_amount);
2759
-
2760
-                this.form.replacement_speed =
2761
-            parseFloat(this.form.replacement_speed) == NaN
2762
-          ? 0
2763
-          : parseFloat(this.form.replacement_speed);
2764
-
2765
-          this.form.dicarbonate =
2766
-        parseFloat(this.form.dicarbonate) == NaN
2767
-          ? 0
2768
-          : parseFloat(this.form.dicarbonate);
2769 2718
             this.$message.error(resp.msg);
2770
-            if(response.data.code == 600000008){
2771
-              this.infoDialogVisible = true
2772
-             }
2773 2719
           }
2774 2720
         }
2775 2721
       );
@@ -2780,7 +2726,7 @@ export default {
2780 2726
           }
2781 2727
         });
2782 2728
 
2783
-      
2729
+
2784 2730
     },
2785 2731
 
2786 2732
     symptomTextareaBlur: function () {
@@ -2858,9 +2804,6 @@ export default {
2858 2804
           postDelMonitorInfo(params).then((response) => {
2859 2805
             if (response.data.state == 0) {
2860 2806
               this.$message.error(response.data.msg);
2861
-              if(response.data.code == 600000008){
2862
-                 this.infoDialogVisible = true
2863
-              }
2864 2807
               return false;
2865 2808
             } else {
2866 2809
               const record_id = response.data.data.record_id;
@@ -2921,23 +2864,6 @@ export default {
2921 2864
       }
2922 2865
       return name;
2923 2866
     },
2924
-
2925
-    saveInformation(){
2926
-        var params = {
2927
-          selected_date:this.selected_date,
2928
-          patient_id:this.$route.query.patient_id,
2929
-          record_date:this.$route.query.date,
2930
-          module:2,
2931
-          remark:this.remark,
2932
-        }
2933
-        saveInformation(params).then(response=>{
2934
-           if(response.data.state == 1){
2935
-             var information = response.data.data.information
2936
-             this.$message.success("审核成功!")
2937
-             this.infoDialogVisible = false
2938
-           }
2939
-        })
2940
-      }
2941 2867
   },
2942 2868
   watch: {
2943 2869
     patient: {