Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

杨青 1 year ago
parent
commit
8e3ea8b6e1

+ 58 - 3
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

642
       v-on:dialog-comfirm="DialogComfirm"
642
       v-on:dialog-comfirm="DialogComfirm"
643
       v-on:dialog-cancle="DialogCancle"
643
       v-on:dialog-cancle="DialogCancle"
644
     ></multi-select-box>
644
     ></multi-select-box>
645
+
646
+    <el-dialog
647
+          title="提示"
648
+          :visible.sync="infoDialogVisible"
649
+          width="30%">
650
+          <span>
651
+           <el-form>
652
+             <el-row>
653
+               <span>申请日期:</span>
654
+                <span>
655
+                    <el-date-picker
656
+                      type="datetime"
657
+                      format="yyyy-MM-dd HH:mm"
658
+                      value-format="yyyy-MM-dd HH:mm"
659
+                      placeholder="选择时间"
660
+                      v-model="selected_date"
661
+                  ></el-date-picker>
662
+                </span>
663
+             </el-row>
664
+             <el-row>
665
+               <span>备注:</span>
666
+                <span>
667
+                   <el-input v-model="remark" style="width:200px"></el-input>
668
+                </span>
669
+             </el-row>
670
+           </el-form>
671
+         
672
+          </span>
673
+          <span slot="footer" class="dialog-footer">
674
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
675
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
676
+          </span>
677
+        </el-dialog>
678
+
645
   </div>
679
   </div>
646
 </template>
680
 </template>
647
 
681
 
648
 <script>
682
 <script>
649
 import { getDataConfig } from '@/utils/data'
683
 import { getDataConfig } from '@/utils/data'
650
 import MultiSelectBox from './MultiSelectBox'
684
 import MultiSelectBox from './MultiSelectBox'
651
-import { postAssessmentAfterDislysis } from '@/api/dialysis'
685
+import { postAssessmentAfterDislysis,saveInformation } from '@/api/dialysis'
652
 import { uParseTime } from '@/utils/tools'
686
 import { uParseTime } from '@/utils/tools'
653
 import store from '@/store'
687
 import store from '@/store'
654
 import { parseTime } from '@/utils'
688
 import { parseTime } from '@/utils'
818
       consciousnessList:[],
852
       consciousnessList:[],
819
       fallriskList:[],
853
       fallriskList:[],
820
       machineList:[],
854
       machineList:[],
821
-      
855
+      infoDialogVisible:false,
856
+      selected_date:"",
857
+      remark:""
822
     }
858
     }
823
   },
859
   },
824
   watch: {
860
   watch: {
1138
               this.loading = false
1174
               this.loading = false
1139
               if (response.data.state == 0) {
1175
               if (response.data.state == 0) {
1140
                 this.$message.error(response.data.msg)
1176
                 this.$message.error(response.data.msg)
1177
+                if(response.data.code == 600000008){
1178
+                  this.infoDialogVisible = false
1179
+                }
1141
                 return false
1180
                 return false
1142
               } else {
1181
               } else {
1143
                 this.$notify({
1182
                 this.$notify({
1426
             }
1465
             }
1427
           }
1466
           }
1428
         })
1467
         })
1429
-    }
1468
+    },
1469
+    saveInformation(){
1470
+        var params = {
1471
+          selected_date:this.selected_date,
1472
+          patient_id:this.$route.query.patient_id,
1473
+          record_date:this.$route.query.date,
1474
+          module:2,
1475
+          remark:this.remark,
1476
+        }
1477
+        saveInformation(params).then(response=>{
1478
+           if(response.data.state == 1){
1479
+             var information = response.data.data.information
1480
+             this.$message.success("审核成功!")
1481
+             this.infoDialogVisible = false
1482
+           }
1483
+        })
1484
+      }
1430
   },
1485
   },
1431
   created() {
1486
   created() {
1432
     // console.log("this.form", this.form.consciousness);
1487
     // console.log("this.form", this.form.consciousness);

+ 9 - 6
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

507
 
507
 
508
     handleComfirm: function (formName) {
508
     handleComfirm: function (formName) {
509
       // var arr = [];
509
       // var arr = [];
510
-      for (let i = 0; i < this.precaution_arr.length; i++) {
511
-        for (let j = 0; j < this.precautionTwo.length; j++) {
512
-          if (this.precaution_arr[i].name == this.precautionTwo[j]) {
513
-            this.arr.push(this.precaution_arr[i].id);
510
+        if(this.precaution_arr!=null && this.precaution_arr.length >0){
511
+        for (let i = 0; i < this.precaution_arr.length; i++) {
512
+          for (let j = 0; j < this.precautionTwo.length; j++) {
513
+            if (this.precaution_arr[i].name == this.precautionTwo[j]) {
514
+              this.arr.push(this.precaution_arr[i].id);
515
+            }
514
           }
516
           }
515
         }
517
         }
518
+        var obj = this.arr.join(",");
516
       }
519
       }
517
-      // this.precautionchange()
518
-      var obj = this.arr.join(",");
520
+      
519
       this.receiveTreatmentAsses.precaution = obj;
521
       this.receiveTreatmentAsses.precaution = obj;
522
+
520
       let ParamsQuery = this.receiveTreatmentAsses;
523
       let ParamsQuery = this.receiveTreatmentAsses;
521
 
524
 
522
       console.log("ParamsQuery", ParamsQuery);
525
       console.log("ParamsQuery", ParamsQuery);

+ 2 - 1
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

388
   PostModifyStartDialysis,
388
   PostModifyStartDialysis,
389
   startDialysis,
389
   startDialysis,
390
 } from "@/api/dialysis_record";
390
 } from "@/api/dialysis_record";
391
+  import { saveInformation } from '@/api/dialysis'
391
 import { uParseTime } from "@/utils/tools";
392
 import { uParseTime } from "@/utils/tools";
392
 import { getDataConfig } from "@/utils/data";
393
 import { getDataConfig } from "@/utils/data";
393
 import { parseTime } from "@/utils";
394
 import { parseTime } from "@/utils";
931
             } else {
932
             } else {
932
 
933
 
933
               this.$message.error(resp.msg);
934
               this.$message.error(resp.msg);
934
-              if(response.data.code == 600000008){
935
+              if(resp.code == 600000008){
935
                 this.infoDialogVisible = true
936
                 this.infoDialogVisible = true
936
               }
937
               }
937
             }
938
             }

+ 120 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

1235
                 v-on:dialog-cancle="innerDialogCancle"
1235
                 v-on:dialog-cancle="innerDialogCancle"
1236
         ></multi-select-box>
1236
         ></multi-select-box>
1237
 
1237
 
1238
+
1239
+     <el-dialog
1240
+      title="提示"
1241
+      :visible.sync="infoDialogVisible"
1242
+      width="30%">
1243
+      <span>
1244
+        <el-form>
1245
+          <el-row>
1246
+            <span>申请日期:</span>
1247
+            <span>
1248
+                <el-date-picker
1249
+                  type="datetime"
1250
+                  format="yyyy-MM-dd HH:mm"
1251
+                  value-format="yyyy-MM-dd HH:mm"
1252
+                  placeholder="选择时间"
1253
+                  v-model="selected_date"
1254
+              ></el-date-picker>
1255
+            </span>
1256
+          </el-row>
1257
+          <el-row>
1258
+            <span>备注:</span>
1259
+            <span>
1260
+                <el-input v-model="remark" style="width:200px"></el-input>
1261
+            </span>
1262
+          </el-row>
1263
+        </el-form>
1264
+      
1265
+      </span>
1266
+      <span slot="footer" class="dialog-footer">
1267
+        <el-button @click="infoDialogVisible = false">取 消</el-button>
1268
+        <el-button type="primary" @click="saveInformation">确 定</el-button>
1269
+      </span>
1270
+    </el-dialog>
1271
+
1238
     </div>
1272
     </div>
1239
 </template>
1273
 </template>
1240
 
1274
 
1241
 <script>
1275
 <script>
1242
-  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution } from '@/api/dialysis'
1276
+  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation } from '@/api/dialysis'
1243
   import { getDataConfig } from '@/utils/data'
1277
   import { getDataConfig } from '@/utils/data'
1244
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1278
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1245
   import store from '@/store'
1279
   import store from '@/store'
1675
         zongliang:"",
1709
         zongliang:"",
1676
         educationList:[],
1710
         educationList:[],
1677
         value:"",
1711
         value:"",
1712
+        infoDialogVisible:false
1678
       }
1713
       }
1679
 
1714
 
1680
     },
1715
     },
2092
                 postPrescription(ParamsQuery).then(response => {
2127
                 postPrescription(ParamsQuery).then(response => {
2093
                   if (response.data.state == 0) {
2128
                   if (response.data.state == 0) {
2094
                     this.$message.error(response.data.msg)
2129
                     this.$message.error(response.data.msg)
2130
+                    if(response.data.code == 600000008){
2131
+                       this.infoDialogVisible = true
2132
+                    }
2095
                     this.isLoading = false
2133
                     this.isLoading = false
2096
                     return false
2134
                     return false
2097
                   } else {
2135
                   } else {
2128
                           this.isLoading = false
2166
                           this.isLoading = false
2129
                         } else {
2167
                         } else {
2130
                           this.isLoading = false
2168
                           this.isLoading = false
2169
+                          if(resp.code == 600000008){
2170
+                            this.infoDialogVisible = true
2171
+                          }
2131
                         }
2172
                         }
2132
                       }
2173
                       }
2133
                     )
2174
                     )
2157
                 postSoulution(ParamsQuery).then(response => {
2198
                 postSoulution(ParamsQuery).then(response => {
2158
                   if (response.data.state == 0) {
2199
                   if (response.data.state == 0) {
2159
                     this.$message.error(response.data.msg)
2200
                     this.$message.error(response.data.msg)
2201
+                    if(response.data.code == 600000008){
2202
+                     this.infoDialogVisible = true
2203
+                    }
2160
                     this.isLoading = false
2204
                     this.isLoading = false
2161
                     return false
2205
                     return false
2162
                   } else {
2206
                   } else {
2200
                           this.isLoading = false
2244
                           this.isLoading = false
2201
                         } else {
2245
                         } else {
2202
                           this.isLoading = false
2246
                           this.isLoading = false
2247
+                          if(resp.code == 600000008){
2248
+                            this.infoDialogVisible = true
2249
+                          }
2203
                         }
2250
                         }
2204
                       }
2251
                       }
2205
                     )
2252
                     )
2249
               postPrescription(ParamsQuery).then(response => {
2296
               postPrescription(ParamsQuery).then(response => {
2250
                 if (response.data.state == 0) {
2297
                 if (response.data.state == 0) {
2251
                   this.$message.error(response.data.msg)
2298
                   this.$message.error(response.data.msg)
2299
+                   if(response.data.code == 600000008){
2300
+                      this.infoDialogVisible = true
2301
+                    }
2252
                   return false
2302
                   return false
2253
                 } else {
2303
                 } else {
2254
                   this.$notify({
2304
                   this.$notify({
2284
               postSoulution(ParamsQuery).then(response => {
2334
               postSoulution(ParamsQuery).then(response => {
2285
                 if (response.data.state == 0) {
2335
                 if (response.data.state == 0) {
2286
                   this.$message.error(response.data.msg)
2336
                   this.$message.error(response.data.msg)
2337
+                   if(response.data.code == 600000008){
2338
+                     this.infoDialogVisible = true
2339
+                    }
2287
                   return false
2340
                   return false
2288
                 } else {
2341
                 } else {
2289
                   this.$notify({
2342
                   this.$notify({
2754
                 postPrescription(ParamsQuery).then(response => {
2807
                 postPrescription(ParamsQuery).then(response => {
2755
                   if (response.data.state == 0) {
2808
                   if (response.data.state == 0) {
2756
                     this.$message.error(response.data.msg)
2809
                     this.$message.error(response.data.msg)
2810
+                     if(response.data.code == 600000008){
2811
+                      this.infoDialogVisible = true
2812
+                     }
2757
                     return false
2813
                     return false
2758
                   } else {
2814
                   } else {
2759
                     this.$notify({
2815
                     this.$notify({
2797
                   postPrescription(ParamsQuery).then(response => {
2853
                   postPrescription(ParamsQuery).then(response => {
2798
                     if (response.data.state == 0) {
2854
                     if (response.data.state == 0) {
2799
                       this.$message.error(response.data.msg)
2855
                       this.$message.error(response.data.msg)
2856
+                       if(response.data.code == 600000008){
2857
+                        this.infoDialogVisible = true
2858
+                       }
2800
                       return false
2859
                       return false
2801
                     } else {
2860
                     } else {
2802
                       this.$notify({
2861
                       this.$notify({
2846
                   postPrescription(ParamsQuery).then(response => {
2905
                   postPrescription(ParamsQuery).then(response => {
2847
                     if (response.data.state == 0) {
2906
                     if (response.data.state == 0) {
2848
                       this.$message.error(response.data.msg)
2907
                       this.$message.error(response.data.msg)
2908
+                       if(response.data.code == 600000008){
2909
+                        this.infoDialogVisible = true
2910
+                       }
2849
                       return false
2911
                       return false
2850
                     } else {
2912
                     } else {
2851
                       this.$notify({
2913
                       this.$notify({
2880
                             // this.doctorAdvices = resp.data.advices
2942
                             // this.doctorAdvices = resp.data.advices
2881
                             this.$emit('advice')
2943
                             this.$emit('advice')
2882
                           } else {
2944
                           } else {
2945
+                             if(resp.code == 600000008){
2946
+                               this.infoDialogVisible = true
2947
+                             }
2883
                           }
2948
                           }
2884
                         }
2949
                         }
2885
                       )
2950
                       )
2918
                   postPrescription(ParamsQuery).then(response => {
2983
                   postPrescription(ParamsQuery).then(response => {
2919
                     if (response.data.state == 0) {
2984
                     if (response.data.state == 0) {
2920
                       this.$message.error(response.data.msg)
2985
                       this.$message.error(response.data.msg)
2986
+                       if(response.data.code == 600000008){
2987
+                        this.infoDialogVisible = true
2988
+                       }
2921
                       return false
2989
                       return false
2922
                     } else {
2990
                     } else {
2923
                       this.$notify({
2991
                       this.$notify({
2961
                   postPrescription(ParamsQuery).then(response => {
3029
                   postPrescription(ParamsQuery).then(response => {
2962
                     if (response.data.state == 0) {
3030
                     if (response.data.state == 0) {
2963
                       this.$message.error(response.data.msg)
3031
                       this.$message.error(response.data.msg)
3032
+                       if(response.data.code == 600000008){
3033
+                        this.infoDialogVisible = true
3034
+                       }
2964
                       return false
3035
                       return false
2965
                     } else {
3036
                     } else {
2966
                       this.$notify({
3037
                       this.$notify({
3004
                     postPrescription(ParamsQuery).then(response => {
3075
                     postPrescription(ParamsQuery).then(response => {
3005
                       if (response.data.state == 0) {
3076
                       if (response.data.state == 0) {
3006
                         this.$message.error(response.data.msg)
3077
                         this.$message.error(response.data.msg)
3078
+                         if(response.data.code == 600000008){
3079
+                            this.infoDialogVisible = true
3080
+                          }
3007
                         return false
3081
                         return false
3008
                       } else {
3082
                       } else {
3009
                         this.$notify({
3083
                         this.$notify({
3053
                     postPrescription(ParamsQuery).then(response => {
3127
                     postPrescription(ParamsQuery).then(response => {
3054
                       if (response.data.state == 0) {
3128
                       if (response.data.state == 0) {
3055
                         this.$message.error(response.data.msg)
3129
                         this.$message.error(response.data.msg)
3130
+                        if(response.data.code == 600000008){
3131
+                           this.infoDialogVisible = true
3132
+                        }
3056
                         return false
3133
                         return false
3057
                       } else {
3134
                       } else {
3058
                         this.$notify({
3135
                         this.$notify({
3092
                             // this.doctorAdvices = resp.data.advices
3169
                             // this.doctorAdvices = resp.data.advices
3093
                             this.$emit('advice')
3170
                             this.$emit('advice')
3094
                           } else {
3171
                           } else {
3172
+                             if(resp.code == 600000008){
3173
+                              this.infoDialogVisible = true
3174
+                             }
3095
                           }
3175
                           }
3096
                         })
3176
                         })
3097
 
3177
 
3125
                     postPrescription(ParamsQuery).then(response => {
3205
                     postPrescription(ParamsQuery).then(response => {
3126
                       if (response.data.state == 0) {
3206
                       if (response.data.state == 0) {
3127
                         this.$message.error(response.data.msg)
3207
                         this.$message.error(response.data.msg)
3208
+                        if(response.data.code == 600000008){
3209
+                            this.infoDialogVisible = true
3210
+                          }
3128
                         return false
3211
                         return false
3129
                       } else {
3212
                       } else {
3130
                         this.$notify({
3213
                         this.$notify({
3172
                 postPrescription(ParamsQuery).then(response => {
3255
                 postPrescription(ParamsQuery).then(response => {
3173
                   if (response.data.state == 0) {
3256
                   if (response.data.state == 0) {
3174
                     this.$message.error(response.data.msg)
3257
                     this.$message.error(response.data.msg)
3258
+                    if(response.data.code == 600000008){
3259
+                       this.infoDialogVisible = true
3260
+                    }
3175
                     return false
3261
                     return false
3176
                   } else {
3262
                   } else {
3177
                     this.$notify({
3263
                     this.$notify({
3262
                   postSoulution(ParamsQuery).then(response => {
3348
                   postSoulution(ParamsQuery).then(response => {
3263
                     if (response.data.state == 0) {
3349
                     if (response.data.state == 0) {
3264
                       this.$message.error(response.data.msg)
3350
                       this.$message.error(response.data.msg)
3351
+                       if(response.data.code == 600000008){
3352
+                         this.infoDialogVisible = true
3353
+                      }
3265
                       return false
3354
                       return false
3266
                     } else {
3355
                     } else {
3267
                       this.$notify({
3356
                       this.$notify({
3312
                     postSoulution(ParamsQuery).then(response => {
3401
                     postSoulution(ParamsQuery).then(response => {
3313
                       if (response.data.state == 0) {
3402
                       if (response.data.state == 0) {
3314
                         this.$message.error(response.data.msg)
3403
                         this.$message.error(response.data.msg)
3404
+                        if(response.data.code == 600000008){
3405
+                          this.infoDialogVisible = true
3406
+                        }
3315
                         return false
3407
                         return false
3316
                       } else {
3408
                       } else {
3317
                         this.$notify({
3409
                         this.$notify({
3367
                     postPrescription(ParamsQuery).then(response => {
3459
                     postPrescription(ParamsQuery).then(response => {
3368
                       if (response.data.state == 0) {
3460
                       if (response.data.state == 0) {
3369
                         this.$message.error(response.data.msg)
3461
                         this.$message.error(response.data.msg)
3462
+                        if(response.data.code == 600000008){
3463
+                            this.infoDialogVisible = true
3464
+                        }
3370
                         return false
3465
                         return false
3371
                       } else {
3466
                       } else {
3372
                         this.$notify({
3467
                         this.$notify({
3401
                               // this.doctorAdvices = resp.data.advices
3496
                               // this.doctorAdvices = resp.data.advices
3402
                               this.$emit('advice')
3497
                               this.$emit('advice')
3403
                             } else {
3498
                             } else {
3499
+                               if(resp.code == 600000008){
3500
+                                 this.infoDialogVisible = true
3501
+                                }
3404
                             }
3502
                             }
3405
                           }
3503
                           }
3406
                         )
3504
                         )
3435
                     postSoulution(ParamsQuery).then(response => {
3533
                     postSoulution(ParamsQuery).then(response => {
3436
                       if (response.data.state == 0) {
3534
                       if (response.data.state == 0) {
3437
                         this.$message.error(response.data.msg)
3535
                         this.$message.error(response.data.msg)
3536
+                        if(response.data.code == 600000008){
3537
+                          this.infoDialogVisible = true
3538
+                        }
3438
                         return false
3539
                         return false
3439
                       } else {
3540
                       } else {
3440
                         this.$notify({
3541
                         this.$notify({
3482
                     postSoulution(ParamsQuery).then(response => {
3583
                     postSoulution(ParamsQuery).then(response => {
3483
                       if (response.data.state == 0) {
3584
                       if (response.data.state == 0) {
3484
                         this.$message.error(response.data.msg)
3585
                         this.$message.error(response.data.msg)
3586
+                         if(response.data.code == 600000008){
3587
+                          this.infoDialogVisible = true
3588
+                         }
3485
                         return false
3589
                         return false
3486
                       } else {
3590
                       } else {
3487
                         this.$notify({
3591
                         this.$notify({
3531
                       postSoulution(ParamsQuery).then(response => {
3635
                       postSoulution(ParamsQuery).then(response => {
3532
                         if (response.data.state == 0) {
3636
                         if (response.data.state == 0) {
3533
                           this.$message.error(response.data.msg)
3637
                           this.$message.error(response.data.msg)
3638
+                           if(response.data.code == 600000008){
3639
+                           this.infoDialogVisible = true
3640
+                          }
3534
                           return false
3641
                           return false
3535
                         } else {
3642
                         } else {
3536
                           this.$notify({
3643
                           this.$notify({
3583
                       postSoulution(ParamsQuery).then(response => {
3690
                       postSoulution(ParamsQuery).then(response => {
3584
                         if (response.data.state == 0) {
3691
                         if (response.data.state == 0) {
3585
                           this.$message.error(response.data.msg)
3692
                           this.$message.error(response.data.msg)
3693
+                          if(response.data.code == 600000008){
3694
+                           this.infoDialogVisible = true
3695
+                          }
3586
                           return false
3696
                           return false
3587
                         } else {
3697
                         } else {
3588
                           this.$notify({
3698
                           this.$notify({
3621
                               // this.doctorAdvices = resp.data.advices
3731
                               // this.doctorAdvices = resp.data.advices
3622
                               this.$emit('advice')
3732
                               this.$emit('advice')
3623
                             } else {
3733
                             } else {
3734
+                               if(resp.code == 600000008){
3735
+                                 this.infoDialogVisible = true
3736
+                                }
3624
                             }
3737
                             }
3625
                           })
3738
                           })
3626
                           const prescription_resp = response.data.data.prescription
3739
                           const prescription_resp = response.data.data.prescription
3660
                       postSoulution(ParamsQuery).then(response => {
3773
                       postSoulution(ParamsQuery).then(response => {
3661
                         if (response.data.state == 0) {
3774
                         if (response.data.state == 0) {
3662
                           this.$message.error(response.data.msg)
3775
                           this.$message.error(response.data.msg)
3776
+                          if(response.data.code == 600000008){
3777
+                           this.infoDialogVisible = true
3778
+                         }
3663
                           return false
3779
                           return false
3664
                         } else {
3780
                         } else {
3665
                           this.$notify({
3781
                           this.$notify({
3707
                   postSoulution(ParamsQuery).then(response => {
3823
                   postSoulution(ParamsQuery).then(response => {
3708
                     if (response.data.state == 0) {
3824
                     if (response.data.state == 0) {
3709
                       this.$message.error(response.data.msg)
3825
                       this.$message.error(response.data.msg)
3826
+                       if(response.data.code == 600000008){
3827
+                         this.infoDialogVisible = true
3828
+                       }
3710
                       return false
3829
                       return false
3711
                     } else {
3830
                     } else {
3712
                       this.$notify({
3831
                       this.$notify({

+ 3 - 2
src/xt_pages/dialysis/details/dialog/finish_dialog.vue View File

191
             return time.getTime() > Date.now()
191
             return time.getTime() > Date.now()
192
           }
192
           }
193
         },
193
         },
194
-        remark:""
195
-       
194
+        remark:"",
195
+        infoDialogVisible:false,
196
+        selected_date:"",
196
       }
197
       }
197
     },
198
     },
198
     props: {
199
     props: {

+ 60 - 1
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

1754
       </div>
1754
       </div>
1755
       <!--</div>-->
1755
       <!--</div>-->
1756
     </el-dialog>
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>
1757
   </div>
1791
   </div>
1758
 </template>
1792
 </template>
1759
 
1793
 
1766
   getTodayMonitor,
1800
   getTodayMonitor,
1767
 } from "@/api/dialysis_record";
1801
 } from "@/api/dialysis_record";
1768
 import store from "@/store";
1802
 import store from "@/store";
1769
-
1803
+import { saveInformation } from '@/api/dialysis'
1770
 import request from "@/utils/request";
1804
 import request from "@/utils/request";
1771
 
1805
 
1772
 export default {
1806
 export default {
1854
       anticoagulantsConfit: {},
1888
       anticoagulantsConfit: {},
1855
       bloodPressureMmonitoringSite: [],
1889
       bloodPressureMmonitoringSite: [],
1856
       complicationList: [],
1890
       complicationList: [],
1891
+      infoDialogVisible:false,
1892
+      selected_date:"",
1893
+      remark:""
1857
     };
1894
     };
1858
   },
1895
   },
1859
   props: {
1896
   props: {
2716
                 ? 0
2753
                 ? 0
2717
                 : parseFloat(this.form.heparin_amount);
2754
                 : parseFloat(this.form.heparin_amount);
2718
             this.$message.error(resp.msg);
2755
             this.$message.error(resp.msg);
2756
+            if(resp.code == 600000008){
2757
+              this.infoDialogVisible = false
2758
+            }
2719
           }
2759
           }
2720
         }
2760
         }
2721
       );
2761
       );
2813
                 }
2853
                 }
2814
               }
2854
               }
2815
               this.$message.success("删除成功");
2855
               this.$message.success("删除成功");
2856
+              if(response.data.code =600000008){
2857
+                this.infoDialogVisible = true
2858
+              }
2816
             }
2859
             }
2817
           });
2860
           });
2818
         })
2861
         })
2864
       }
2907
       }
2865
       return name;
2908
       return name;
2866
     },
2909
     },
2910
+   saveInformation(){
2911
+        var params = {
2912
+          selected_date:this.selected_date,
2913
+          patient_id:this.$route.query.patient_id,
2914
+          record_date:this.$route.query.date,
2915
+          module:7,
2916
+          remark:this.remark,
2917
+        }
2918
+        saveInformation(params).then(response=>{
2919
+           if(response.data.state == 1){
2920
+             var information = response.data.data.information
2921
+             this.$message.success("审核成功!")
2922
+             this.infoDialogVisible = false
2923
+           }
2924
+        })
2925
+      }
2867
   },
2926
   },
2868
   watch: {
2927
   watch: {
2869
     patient: {
2928
     patient: {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue View File

489
           module:1,
489
           module:1,
490
           remark:this.remark,
490
           remark:this.remark,
491
         }
491
         }
492
-        console.log("params32222222222----",params)
492
+       
493
       saveInformation(params).then(response=>{
493
       saveInformation(params).then(response=>{
494
            if(response.data.state == 1){
494
            if(response.data.state == 1){
495
              var information = response.data.data.information
495
              var information = response.data.data.information