|
@@ -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
|