Browse Source

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

yq1 1 year ago
parent
commit
ce8176d301

+ 30 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -1600,7 +1600,7 @@ export default {
1600 1600
         }
1601 1601
       }
1602 1602
 
1603
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10580 || this.$store.getters.xt_user.org.id == 10579){
1603
+      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517  || this.$store.getters.xt_user.org.id == 10579){
1604 1604
          var date = new Date()
1605 1605
           var year = date.getFullYear()
1606 1606
           var month = date.getMonth() + 1
@@ -1630,6 +1630,35 @@ export default {
1630 1630
           }
1631 1631
       }
1632 1632
 
1633
+      if(this.$store.getters.xt_user.org.id == 10580){
1634
+        var year = date.getFullYear()
1635
+          var month = date.getMonth() + 1
1636
+          var day = date.getDate()
1637
+
1638
+          var hours = date.getHours()
1639
+          var minites = date.getMinutes()
1640
+
1641
+          if (month < 10) {
1642
+            month = '0' + month
1643
+          }
1644
+          if (day < 10) {
1645
+            day = '0' + day
1646
+          }
1647
+          if (hours < 10) {
1648
+            hours = '0' + hours
1649
+          }
1650
+          if (minites < 10) {
1651
+            minites = '0' + minites
1652
+          }
1653
+          if (this.schedulePatient.schedule_type == 1) {
1654
+            this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
1655
+          } else if (this.schedulePatient.schedule_type == 2) {
1656
+            this.groupForm.start_time= year + '-' + month + '-' + day + ' ' + '10:30'
1657
+          } else if (this.schedulePatient.schedule_type == 3) {
1658
+           this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '15:30'
1659
+          }
1660
+      }
1661
+
1633 1662
       if( this.$store.getters.xt_user.org.id == 9829 ){
1634 1663
           var year = date.getFullYear()
1635 1664
           var month = date.getMonth() + 1

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

@@ -2648,7 +2648,7 @@ mu
2648 2648
               if (schedual.schedule_type == 1) {
2649 2649
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2650 2650
             } else if (schedual.schedule_type == 2) {
2651
-              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2651
+              this.start_time = year + '-' + month + '-' + day + ' ' + '10:30'
2652 2652
             } else if (schedual.schedule_type == 3) {
2653 2653
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2654 2654
             }

+ 3 - 1
src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue View File

@@ -251,7 +251,7 @@
251 251
       month_prescriptions: Array,
252 252
       isloading: false,
253 253
       loading: false,
254
-      org_id:this.$store.getters.xt_user.org_id,
254
+      org_id:0,
255 255
       other_sick: {
256 256
         type: Array,
257 257
         default: function() {
@@ -1938,6 +1938,8 @@
1938 1938
       }
1939 1939
     },
1940 1940
     created() {
1941
+      this.org_id = this.$store.getters.xt_user.org_id
1942
+      console.log("ord22o2o2o",this.org_id)
1941 1943
       for(let key in this.$store.getters.treatment_mode){
1942 1944
         this.modeOptions[key] = this.$store.getters.treatment_mode[key]
1943 1945
         this.modeOptionsTwo[key]=  this.$store.getters.treatment_mode[key]