Browse Source

合并代码

csx 5 years ago
parent
commit
0907b8be8e

+ 2 - 1
src/pages/main/dialog/OrdersDialog.vue View File

@@ -102,7 +102,7 @@
102 102
 
103 103
                 > {{getXuserName(advice.execution_staff)}}
104 104
                 </td>
105
-                <td
105
+                <td v-if="template_id != 6"
106 106
                   :class="{'td-active':current_group_index == group_index  && advice.is_selected == 1}"
107 107
                   @click="selectAdviceAction(group_index,advice_index, advice)"
108 108
                 >{{getXuserName(advice.checker)}}
@@ -974,6 +974,7 @@
974 974
           CheckDoctorAdvice(params)
975 975
             .then(response => {
976 976
               if (response.data.state == 0) {
977
+                Toast.fail('你没有权限核对医嘱!')
977 978
                 return false
978 979
               } else {
979 980
                 Toast.success('核对成功!')

+ 205 - 205
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -35,10 +35,8 @@
35 35
         </div>
36 36
 
37 37
         <div class="item" v-if="isShow('目标超滤量')">
38
-          <label class="name" for="mbcll"
39
-                 v-if="this.$store.getters.user.template_info.template_id == 6">目标超滤量(ml)</label>
40
-          <label class="name" for="mbcll"
41
-                 v-if="this.$store.getters.user.template_info.template_id != 6">目标超滤量(L)</label>
38
+          <label class="name" for="mbcll" v-if="this.$store.getters.user.template_info.template_id == 6">目标超滤量(ml)</label>
39
+          <label class="name" for="mbcll" v-if="this.$store.getters.user.template_info.template_id != 6">目标超滤量(L)</label>
42 40
           <div class="content">
43 41
             <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
44 42
           </div>
@@ -455,8 +453,8 @@
455 453
           result: [],
456 454
           operators: [],
457 455
 
458
-        },
459
-        is_show: false,
456
+      },
457
+      is_show: false,
460 458
 
461 459
         perfusion_apparatus: {},
462 460
         replacementWays: [],
@@ -678,141 +676,139 @@
678 676
             this.propForm.selectId = this.dialysisPrescription.perfusion_apparatus
679 677
             this.propForm.click_ref = 'perfusion_apparatus'
680 678
 
681
-            break
682
-          case 'replacement_way':
683
-            this.propForm.type = 4
684
-            this.isShowDialog = false
685
-            this.propForm.title = '置换方式'
686
-            this.visibility = true
687
-            this.propForm.list = []
688
-            this.propForm.optionList = this.replacementWays
689
-            this.propForm.isMultiple = 1
690
-            this.propForm.selectId = this.dialysisPrescription.replacement_way
691
-            this.propForm.click_ref = 'replacement_way'
679
+          break
680
+        case 'replacement_way':
681
+          this.propForm.type = 4
682
+          this.isShowDialog = false
683
+          this.propForm.title = '置换方式'
684
+          this.visibility = true
685
+          this.propForm.list = []
686
+          this.propForm.optionList = this.replacementWays
687
+          this.propForm.isMultiple = 1
688
+          this.propForm.selectId = this.dialysisPrescription.replacement_way
689
+          this.propForm.click_ref = 'replacement_way'
692 690
 
693 691
             break
694 692
 
695
-          case 'anticoagulant':
696
-            this.propForm.type = 5
697
-            this.isShowDialog = false
698
-            this.propForm.title = '抗疑剂'
699
-            this.visibility = true
700
-            this.propForm.list = []
701
-            this.propForm.optionList = this.anticoagulantsConfit
702
-            this.propForm.isMultiple = 1
703
-            this.propForm.selectId = this.dialysisPrescription.anticoagulant
704
-            this.propForm.click_ref = 'anticoagulant'
705
-            break
706
-          case 'dialysate_formulation':
707
-            this.propForm.type = 6
708
-            this.isShowDialog = false
709
-            this.propForm.title = '透析液配方'
710
-            this.visibility = true
711
-            this.propForm.list = []
712
-            this.propForm.optionList = this.dialysateFormulationOptions
713
-            this.propForm.isMultiple = 1
714
-            this.propForm.selectId = this.dialysisPrescription.dialysate_formulation
715
-            this.propForm.click_ref = 'dialysate_formulation'
716
-            break
717
-          case 'body_fluid':
718
-            this.propForm.type = 7
719
-            this.isShowDialog = false
720
-            this.propForm.title = '体液过多症状'
721
-            this.visibility = true
722
-            this.propForm.list = []
723
-            this.propForm.optionList = this.bodyFluidOptions
724
-            this.propForm.isMultiple = 1
725
-            this.propForm.selectId = this.dialysisPrescription.body_fluid
726
-            this.propForm.click_ref = 'body_fluid'
727
-            break
728
-          case 'special_medicine':
729
-            this.propForm.type = 8
730
-            this.isShowDialog = false
731
-            this.propForm.title = '透析前使用特殊药物'
732
-            this.visibility = true
733
-            this.propForm.list = []
734
-            this.propForm.optionList = this.specialMedicineOptions
735
-            this.propForm.isMultiple = 1
736
-            this.propForm.selectId = this.dialysisPrescription.special_medicine
737
-            this.propForm.click_ref = 'special_medicine'
738
-            break
739
-          case 'displace_liqui_part':
740
-            this.propForm.type = 9
741
-            this.isShowDialog = false
742
-            this.propForm.title = '置换液'
743
-            this.visibility = true
744
-            this.propForm.list = []
745
-            this.propForm.optionList = this.displaceLiquiPartOptions
746
-            this.propForm.isMultiple = 1
747
-            this.propForm.selectId = this.dialysisPrescription.displace_liqui_part
748
-            this.propForm.click_ref = 'displace_liqui_part'
749
-            break
750
-          case 'blood_access':
751
-            this.propForm.type = 10
752
-            this.isShowDialog = false
753
-            this.propForm.title = '血管通路'
754
-            this.visibility = true
755
-            this.propForm.list = []
756
-            this.propForm.optionList = this.bloodAccessOptions
757
-            this.propForm.isMultiple = 1
758
-            this.propForm.selectId = this.dialysisPrescription.blood_access
759
-            this.propForm.click_ref = 'blood_access'
760
-            break
761
-          case 'dialyzer_perfusion_apparatus':
762
-            // this.propForm.type = 11
763
-            // this.isShowDialog = false
764
-            // this.propForm.title = '透析器/灌流器'
765
-            // this.visibility = true
766
-            // this.propForm.list = []
767
-            // this.propForm.optionList = this.bloodAccessOptions
768
-            // this.propForm.isMultiple = 1
769
-            // this.propForm.selectId = this.dialysisPrescription.dialyzer_perfusion_apparatus
770
-            // this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
771
-            // break
772
-
773
-            this.propForm.result = []
774
-            this.isHasOther = 2
775
-            this.propForm.type = 11
776
-            this.isShowDialog = false
777
-            this.propForm.title = '透析器/灌流器'
778
-            this.visibility = true
779
-            this.propForm.list = []
780
-            this.propForm.list = getDataConfig('hemodialysis', 'dialyzer_perfusion_apparatus')
781
-            this.propForm.optionList = []
782
-            this.propForm.isMultiple = 2
783
-            // this.propForm.result = typeof(this.formValue.hemorrhage) == "string"? this.formValue.hemorrhage.split(","):[]
784
-            if (this.dialysisPrescription.dialyzer_perfusion_apparatus != undefined || this.dialysisPrescription.dialyzer_perfusion_apparatus != null) {
785
-              if (this.dialysisPrescription.dialyzer_perfusion_apparatus.length > 0) {
786
-                this.propForm.result = this.dialysisPrescription.dialyzer_perfusion_apparatus.split(',')
787
-              } else {
788
-                this.propForm.result = []
789
-              }
693
+        case 'anticoagulant':
694
+          this.propForm.type = 5
695
+          this.isShowDialog = false
696
+          this.propForm.title = '抗疑剂'
697
+          this.visibility = true
698
+          this.propForm.list = []
699
+          this.propForm.optionList = this.anticoagulantsConfit
700
+          this.propForm.isMultiple = 1
701
+          this.propForm.selectId = this.dialysisPrescription.anticoagulant
702
+          this.propForm.click_ref = 'anticoagulant'
703
+          break
704
+        case 'dialysate_formulation':
705
+          this.propForm.type = 6
706
+          this.isShowDialog = false
707
+          this.propForm.title = '透析液配方'
708
+          this.visibility = true
709
+          this.propForm.list = []
710
+          this.propForm.optionList = this.dialysateFormulationOptions
711
+          this.propForm.isMultiple = 1
712
+          this.propForm.selectId = this.dialysisPrescription.dialysate_formulation
713
+          this.propForm.click_ref = 'dialysate_formulation'
714
+          break
715
+        case 'body_fluid':
716
+          this.propForm.type = 7
717
+          this.isShowDialog = false
718
+          this.propForm.title = '体液过多症状'
719
+          this.visibility = true
720
+          this.propForm.list = []
721
+          this.propForm.optionList = this.bodyFluidOptions
722
+          this.propForm.isMultiple = 1
723
+          this.propForm.selectId = this.dialysisPrescription.body_fluid
724
+          this.propForm.click_ref = 'body_fluid'
725
+          break
726
+        case 'special_medicine':
727
+          this.propForm.type = 8
728
+          this.isShowDialog = false
729
+          this.propForm.title = '透析前使用特殊药物'
730
+          this.visibility = true
731
+          this.propForm.list = []
732
+          this.propForm.optionList = this.specialMedicineOptions
733
+          this.propForm.isMultiple = 1
734
+          this.propForm.selectId = this.dialysisPrescription.special_medicine
735
+          this.propForm.click_ref = 'special_medicine'
736
+          break
737
+        case 'displace_liqui_part':
738
+          this.propForm.type = 9
739
+          this.isShowDialog = false
740
+          this.propForm.title = '置换液'
741
+          this.visibility = true
742
+          this.propForm.list = []
743
+          this.propForm.optionList = this.displaceLiquiPartOptions
744
+          this.propForm.isMultiple = 1
745
+          this.propForm.selectId = this.dialysisPrescription.displace_liqui_part
746
+          this.propForm.click_ref = 'displace_liqui_part'
747
+          break
748
+        case 'blood_access':
749
+          this.propForm.type = 10
750
+          this.isShowDialog = false
751
+          this.propForm.title = '血管通路'
752
+          this.visibility = true
753
+          this.propForm.list = []
754
+          this.propForm.optionList = this.bloodAccessOptions
755
+          this.propForm.isMultiple = 1
756
+          this.propForm.selectId = this.dialysisPrescription.blood_access
757
+          this.propForm.click_ref = 'blood_access'
758
+          break
759
+        case 'dialyzer_perfusion_apparatus':
760
+          // this.propForm.type = 11
761
+          // this.isShowDialog = false
762
+          // this.propForm.title = '透析器/灌流器'
763
+          // this.visibility = true
764
+          // this.propForm.list = []
765
+          // this.propForm.optionList = this.bloodAccessOptions
766
+          // this.propForm.isMultiple = 1
767
+          // this.propForm.selectId = this.dialysisPrescription.dialyzer_perfusion_apparatus
768
+          // this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
769
+          // break
770
+
771
+          this.propForm.result = []
772
+          this.isHasOther = 2
773
+          this.propForm.type = 11
774
+          this.isShowDialog = false
775
+          this.propForm.title = '透析器/灌流器'
776
+          this.visibility = true
777
+          this.propForm.list = []
778
+          this.propForm.list = getDataConfig('hemodialysis', 'dialyzer_perfusion_apparatus')
779
+          this.propForm.optionList = []
780
+          this.propForm.isMultiple = 2
781
+          // this.propForm.result = typeof(this.formValue.hemorrhage) == "string"? this.formValue.hemorrhage.split(","):[]
782
+          if (this.dialysisPrescription.dialyzer_perfusion_apparatus != undefined || this.dialysisPrescription.dialyzer_perfusion_apparatus != null) {
783
+            if (this.dialysisPrescription.dialyzer_perfusion_apparatus.length > 0) {
784
+              this.propForm.result = this.dialysisPrescription.dialyzer_perfusion_apparatus.split(',')
790 785
             } else {
791 786
               this.propForm.result = []
792 787
             }
793
-            this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
794
-            break
795
-
796
-        }
797
-      },
798
-      menuCancle: function () {
799
-        this.visibility = false
800
-        this.isShowDialog = true
801
-        this.$nextTick(() => {
802
-          if (this.$refs[this.propForm.click_ref] != undefined && this.$refs[this.propForm.click_ref] != null) {
803
-            this.$refs[this.propForm.click_ref].scrollIntoView()
788
+          } else {
789
+            this.propForm.result = []
804 790
           }
805
-        })
806
-      },
807
-      menuCancleThree: function () {
808
-        this.advice_visibility = false
809
-        this.isShowDialog = true
810
-
811
-      },
812
-      menuMsgTip: function () {
813
-        this.msgtip_visibility = false
814
-        this.isShowDialog = true
815
-      },
791
+          this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
792
+          break
793
+      }
794
+    },
795
+    menuCancle: function () {
796
+      this.visibility = false
797
+      this.isShowDialog = true
798
+      this.$nextTick(() => {
799
+        if (this.$refs[this.propForm.click_ref] != undefined && this.$refs[this.propForm.click_ref] != null) {
800
+          this.$refs[this.propForm.click_ref].scrollIntoView()
801
+        }
802
+      })
803
+    },
804
+    menuCancleThree: function () {
805
+      this.advice_visibility = false
806
+      this.isShowDialog = true
807
+    },
808
+    menuMsgTip: function () {
809
+      this.msgtip_visibility = false
810
+      this.isShowDialog = true
811
+    },
816 812
 
817 813
       menuComfirmThree: function (targetAdvices) {
818 814
 
@@ -828,27 +824,27 @@
828 824
                 return false
829 825
               } else {
830 826
 
831
-                var date = new Date()
832
-                var year = date.getFullYear()
833
-                var month = date.getMonth() + 1
834
-                var day = date.getDate()
827
+                var date = new Date();
828
+                var year = date.getFullYear();
829
+                var month = date.getMonth() + 1;
830
+                var day = date.getDate();
835 831
 
836
-                var hours = date.getHours()
837
-                var minites = date.getMinutes()
832
+                var hours = date.getHours();
833
+                var minites = date.getMinutes();
838 834
 
839 835
                 if (month < 10) {
840
-                  month = '0' + month
836
+                  month = "0" + month;
841 837
                 }
842 838
                 if (day < 10) {
843
-                  day = '0' + day
839
+                  day = "0" + day;
844 840
                 }
845 841
                 if (hours < 10) {
846
-                  hours = '0' + hours
842
+                  hours = "0" + hours;
847 843
                 }
848 844
                 if (minites < 10) {
849
-                  minites = '0' + minites
845
+                  minites = "0" + minites;
850 846
                 }
851
-                var nowDate = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
847
+                var nowDate = year + "-" + month + "-" + day +" " +hours+":"+ minites;
852 848
 
853 849
                 Toast.success('提交成功')
854 850
                 let params = {
@@ -864,7 +860,7 @@
864 860
                 CreateGroupAdvice(this.$route.query.patient_id, 0, params).then(rs => {
865 861
                   var resp = rs.data
866 862
                   if (resp.state == 1) {
867
-                    this.$emit('prescription', response.data.data.prescription, resp.data.advices)
863
+                    this.$emit('prescription', response.data.data.prescription,resp.data.advices)
868 864
 
869 865
                   } else {
870 866
 
@@ -886,27 +882,28 @@
886 882
                 return false
887 883
               } else {
888 884
                 Toast.success('提交成功')
889
-                var date = new Date()
890
-                var year = date.getFullYear()
891
-                var month = date.getMonth() + 1
892
-                var day = date.getDate()
885
+                var date = new Date();
886
+                var year = date.getFullYear();
887
+                var month = date.getMonth() + 1;
888
+                var day = date.getDate();
893 889
 
894
-                var hours = date.getHours()
895
-                var minites = date.getMinutes()
890
+                var hours = date.getHours();
891
+                var minites = date.getMinutes();
896 892
 
897 893
                 if (month < 10) {
898
-                  month = '0' + month
894
+                  month = "0" + month;
899 895
                 }
900 896
                 if (day < 10) {
901
-                  day = '0' + day
897
+                  day = "0" + day;
902 898
                 }
903 899
                 if (hours < 10) {
904
-                  hours = '0' + hours
900
+                  hours = "0" + hours;
905 901
                 }
906 902
                 if (minites < 10) {
907
-                  minites = '0' + minites
903
+                  minites = "0" + minites;
908 904
                 }
909
-                var nowDate = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
905
+                var nowDate = year + "-" + month + "-" + day +" " +hours+":"+ minites;
906
+
910 907
 
911 908
                 let params = {
912 909
                   advices: targetAdvices,
@@ -920,8 +917,8 @@
920 917
                 CreateGroupAdvice(this.$route.query.patient_id, 0, params).then(rs => {
921 918
                   var resp = rs.data
922 919
                   if (resp.state == 1) {
923
-                    this.$emit('prescription', response.data.data.prescription, resp.data.advices)
924
-                    this.$emit('longSolution', response.data.data.solution, resp.data.advices)
920
+                    this.$emit('prescription', response.data.data.prescription,resp.data.advices)
921
+                    this.$emit('longSolution', response.data.data.solution,resp.data.advices)
925 922
                   } else {
926 923
 
927 924
                   }
@@ -1228,27 +1225,27 @@
1228 1225
                 } else {
1229 1226
                   Toast.success('提交成功')
1230 1227
 
1231
-                  var date = new Date()
1232
-                  var year = date.getFullYear()
1233
-                  var month = date.getMonth() + 1
1234
-                  var day = date.getDate()
1228
+                  var date = new Date();
1229
+                  var year = date.getFullYear();
1230
+                  var month = date.getMonth() + 1;
1231
+                  var day = date.getDate();
1235 1232
 
1236
-                  var hours = date.getHours()
1237
-                  var minites = date.getMinutes()
1233
+                  var hours = date.getHours();
1234
+                  var minites = date.getMinutes();
1238 1235
 
1239 1236
                   if (month < 10) {
1240
-                    month = '0' + month
1237
+                    month = "0" + month;
1241 1238
                   }
1242 1239
                   if (day < 10) {
1243
-                    day = '0' + day
1240
+                    day = "0" + day;
1244 1241
                   }
1245 1242
                   if (hours < 10) {
1246
-                    hours = '0' + hours
1243
+                    hours = "0" + hours;
1247 1244
                   }
1248 1245
                   if (minites < 10) {
1249
-                    minites = '0' + minites
1246
+                    minites = "0" + minites;
1250 1247
                   }
1251
-                  var nowDate = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
1248
+                  var nowDate = year + "-" + month + "-" + day +" " +hours+":"+ minites;
1252 1249
 
1253 1250
                   let params = {
1254 1251
                     advices: this.waitUploadAdvices,
@@ -1360,27 +1357,28 @@
1360 1357
                     return false
1361 1358
                   } else {
1362 1359
 
1363
-                    var date = new Date()
1364
-                    var year = date.getFullYear()
1365
-                    var month = date.getMonth() + 1
1366
-                    var day = date.getDate()
1360
+                    var date = new Date();
1361
+                    var year = date.getFullYear();
1362
+                    var month = date.getMonth() + 1;
1363
+                    var day = date.getDate();
1367 1364
 
1368
-                    var hours = date.getHours()
1369
-                    var minites = date.getMinutes()
1365
+                    var hours = date.getHours();
1366
+                    var minites = date.getMinutes();
1370 1367
 
1371 1368
                     if (month < 10) {
1372
-                      month = '0' + month
1369
+                      month = "0" + month;
1373 1370
                     }
1374 1371
                     if (day < 10) {
1375
-                      day = '0' + day
1372
+                      day = "0" + day;
1376 1373
                     }
1377 1374
                     if (hours < 10) {
1378
-                      hours = '0' + hours
1375
+                      hours = "0" + hours;
1379 1376
                     }
1380 1377
                     if (minites < 10) {
1381
-                      minites = '0' + minites
1378
+                      minites = "0" + minites;
1382 1379
                     }
1383
-                    var nowDate = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
1380
+                    var nowDate = year + "-" + month + "-" + day +" " +hours+":"+ minites;
1381
+
1384 1382
 
1385 1383
                     let params = {
1386 1384
                       advices: this.waitUploadAdvices,
@@ -1531,27 +1529,28 @@
1531 1529
                 } else {
1532 1530
                   Toast.success('提交成功')
1533 1531
 
1534
-                  var date = new Date()
1535
-                  var year = date.getFullYear()
1536
-                  var month = date.getMonth() + 1
1537
-                  var day = date.getDate()
1532
+                  var date = new Date();
1533
+                  var year = date.getFullYear();
1534
+                  var month = date.getMonth() + 1;
1535
+                  var day = date.getDate();
1538 1536
 
1539
-                  var hours = date.getHours()
1540
-                  var minites = date.getMinutes()
1537
+                  var hours = date.getHours();
1538
+                  var minites = date.getMinutes();
1541 1539
 
1542 1540
                   if (month < 10) {
1543
-                    month = '0' + month
1541
+                    month = "0" + month;
1544 1542
                   }
1545 1543
                   if (day < 10) {
1546
-                    day = '0' + day
1544
+                    day = "0" + day;
1547 1545
                   }
1548 1546
                   if (hours < 10) {
1549
-                    hours = '0' + hours
1547
+                    hours = "0" + hours;
1550 1548
                   }
1551 1549
                   if (minites < 10) {
1552
-                    minites = '0' + minites
1550
+                    minites = "0" + minites;
1553 1551
                   }
1554
-                  var nowDate = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
1552
+                  var nowDate = year + "-" + month + "-" + day +" " +hours+":"+ minites;
1553
+
1555 1554
 
1556 1555
                   let params = {
1557 1556
                     advices: this.waitUploadAdvices,
@@ -1672,27 +1671,28 @@
1672 1671
                   } else {
1673 1672
                     this.advice_visibility = false
1674 1673
 
1675
-                    var date = new Date()
1676
-                    var year = date.getFullYear()
1677
-                    var month = date.getMonth() + 1
1678
-                    var day = date.getDate()
1679 1674
 
1680
-                    var hours = date.getHours()
1681
-                    var minites = date.getMinutes()
1675
+                    var date = new Date();
1676
+                    var year = date.getFullYear();
1677
+                    var month = date.getMonth() + 1;
1678
+                    var day = date.getDate();
1679
+
1680
+                    var hours = date.getHours();
1681
+                    var minites = date.getMinutes();
1682 1682
 
1683 1683
                     if (month < 10) {
1684
-                      month = '0' + month
1684
+                      month = "0" + month;
1685 1685
                     }
1686 1686
                     if (day < 10) {
1687
-                      day = '0' + day
1687
+                      day = "0" + day;
1688 1688
                     }
1689 1689
                     if (hours < 10) {
1690
-                      hours = '0' + hours
1690
+                      hours = "0" + hours;
1691 1691
                     }
1692 1692
                     if (minites < 10) {
1693
-                      minites = '0' + minites
1693
+                      minites = "0" + minites;
1694 1694
                     }
1695
-                    var nowDate = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
1695
+                    var nowDate = year + "-" + month + "-" + day +" " +hours+":"+ minites;
1696 1696
 
1697 1697
                     let params = {
1698 1698
                       advices: this.waitUploadAdvices,
@@ -1707,8 +1707,8 @@
1707 1707
                       var resp = rs.data
1708 1708
                       if (resp.state == 1) {
1709 1709
                         this.doctorAdvices = resp.data.advices
1710
-                        this.$emit('longSolution', response.data.data.solution, resp.data.advices)
1711
-                        this.$emit('prescription', response.data.data.prescription, resp.data.advices)
1710
+                        this.$emit('longSolution', response.data.data.solution,resp.data.advices)
1711
+                        this.$emit('prescription', response.data.data.prescription,resp.data.advices)
1712 1712
                       } else {
1713 1713
 
1714 1714
                       }

+ 4 - 6
src/pages/main/today/TodayTab.vue View File

@@ -374,7 +374,7 @@ import {parseTime} from '@/utils'
374 374
           steps[1].value = 1
375 375
         }
376 376
 
377
-        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0) {
377
+        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.evaluator > 0) {
378 378
           steps[2].value = 1
379 379
         }
380 380
 
@@ -787,7 +787,7 @@ import {parseTime} from '@/utils'
787 787
       this.advice_groups = []
788 788
       this.doctor_advices = []
789 789
 
790
-      getDialysisRecord(params).then(rs => {
790
+      getDialysisRecord(params).then(rs => {debugger
791 791
         var resp = rs.data
792 792
         console.log(resp)
793 793
 
@@ -838,10 +838,8 @@ import {parseTime} from '@/utils'
838 838
 
839 839
           var types = resp.data.types // 所有系统库存商品类型
840 840
 
841
-          var last_predialysis_evaluation =
842
-              resp.data.last_predialysis_evaluation // 上一次透前评估
843
-          var last_assessment_after_dislysis =
844
-              resp.data.last_assessment_after_dislysis // 上一次透前评估
841
+          var last_predialysis_evaluation = resp.data.last_predialysis_evaluation // 上一次透前评估
842
+          var last_assessment_after_dislysis = resp.data.last_assessment_after_dislysis // 上一次透前评估
845 843
           var last_monitor_record = resp.data.last_monitor_record
846 844
 
847 845
           if (Object.keys(waitstoredata).length > 0) {