XMLWAN пре 1 година
родитељ
комит
23b36c7c86

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

@@ -642,13 +642,47 @@
642 642
       v-on:dialog-comfirm="DialogComfirm"
643 643
       v-on:dialog-cancle="DialogCancle"
644 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 679
   </div>
646 680
 </template>
647 681
 
648 682
 <script>
649 683
 import { getDataConfig } from '@/utils/data'
650 684
 import MultiSelectBox from './MultiSelectBox'
651
-import { postAssessmentAfterDislysis } from '@/api/dialysis'
685
+import { postAssessmentAfterDislysis,saveInformation } from '@/api/dialysis'
652 686
 import { uParseTime } from '@/utils/tools'
653 687
 import store from '@/store'
654 688
 import { parseTime } from '@/utils'
@@ -818,7 +852,9 @@ export default {
818 852
       consciousnessList:[],
819 853
       fallriskList:[],
820 854
       machineList:[],
821
-      
855
+      infoDialogVisible:false,
856
+      selected_date:"",
857
+      remark:""
822 858
     }
823 859
   },
824 860
   watch: {
@@ -1138,6 +1174,9 @@ export default {
1138 1174
               this.loading = false
1139 1175
               if (response.data.state == 0) {
1140 1176
                 this.$message.error(response.data.msg)
1177
+                if(response.data.code == 600000008){
1178
+                  this.infoDialogVisible = false
1179
+                }
1141 1180
                 return false
1142 1181
               } else {
1143 1182
                 this.$notify({
@@ -1426,7 +1465,23 @@ export default {
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 1486
   created() {
1432 1487
     // console.log("this.form", this.form.consciousness);

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

@@ -507,16 +507,19 @@ export default {
507 507
 
508 508
     handleComfirm: function (formName) {
509 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 521
       this.receiveTreatmentAsses.precaution = obj;
522
+
520 523
       let ParamsQuery = this.receiveTreatmentAsses;
521 524
 
522 525
       console.log("ParamsQuery", ParamsQuery);

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

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

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

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

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

@@ -191,8 +191,9 @@
191 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 199
     props: {

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

@@ -1754,6 +1754,40 @@
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>
1757 1791
   </div>
1758 1792
 </template>
1759 1793
 
@@ -1766,7 +1800,7 @@ import {
1766 1800
   getTodayMonitor,
1767 1801
 } from "@/api/dialysis_record";
1768 1802
 import store from "@/store";
1769
-
1803
+import { saveInformation } from '@/api/dialysis'
1770 1804
 import request from "@/utils/request";
1771 1805
 
1772 1806
 export default {
@@ -1854,6 +1888,9 @@ export default {
1854 1888
       anticoagulantsConfit: {},
1855 1889
       bloodPressureMmonitoringSite: [],
1856 1890
       complicationList: [],
1891
+      infoDialogVisible:false,
1892
+      selected_date:"",
1893
+      remark:""
1857 1894
     };
1858 1895
   },
1859 1896
   props: {
@@ -2716,6 +2753,9 @@ export default {
2716 2753
                 ? 0
2717 2754
                 : parseFloat(this.form.heparin_amount);
2718 2755
             this.$message.error(resp.msg);
2756
+            if(resp.code == 600000008){
2757
+              this.infoDialogVisible = false
2758
+            }
2719 2759
           }
2720 2760
         }
2721 2761
       );
@@ -2813,6 +2853,9 @@ export default {
2813 2853
                 }
2814 2854
               }
2815 2855
               this.$message.success("删除成功");
2856
+              if(response.data.code =600000008){
2857
+                this.infoDialogVisible = true
2858
+              }
2816 2859
             }
2817 2860
           });
2818 2861
         })
@@ -2864,6 +2907,22 @@ export default {
2864 2907
       }
2865 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 2927
   watch: {
2869 2928
     patient: {

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

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