|
@@ -1829,17 +1829,23 @@ export default {
|
1829
|
1829
|
// }
|
1830
|
1830
|
|
1831
|
1831
|
var preTime = nowTime
|
1832
|
|
- if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
1832
|
+ if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
1833
|
1833
|
if (prescription.pre_time == 0) {
|
1834
|
1834
|
if (this.schedule.schedule_type == 1) {
|
1835
|
1835
|
if (this.org_id == 10028) {
|
1836
|
1836
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
1837
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
1838
|
+ preTime = this.record_date + ' ' + '6:00'
|
1837
|
1839
|
} else {
|
1838
|
1840
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
1839
|
1841
|
|
1840
|
1842
|
}
|
1841
|
1843
|
} else if (this.schedule.schedule_type == 2) {
|
1842
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
1844
|
+ if(this.org_id == 10206 || this.org_id == 0 ){
|
|
1845
|
+ preTime = this.record_date + ' ' + '10:00'
|
|
1846
|
+ }else{
|
|
1847
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
1848
|
+ }
|
1843
|
1849
|
} else if (this.schedule.schedule_type == 3) {
|
1844
|
1850
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
1845
|
1851
|
}
|
|
@@ -1992,17 +1998,23 @@ export default {
|
1992
|
1998
|
tempProject.push(obj)
|
1993
|
1999
|
}
|
1994
|
2000
|
var preTime = nowTime
|
1995
|
|
- if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
2001
|
+ if (this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
1996
|
2002
|
if (this.schedule.schedule_type == 1) {
|
1997
|
2003
|
if (this.org_id == 10028) {
|
1998
|
2004
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
2005
|
+ } else if(this.org_id == 10206 || this.org_id == 0) {
|
|
2006
|
+ preTime = this.record_date+ ' ' + '6:00'
|
1999
|
2007
|
} else {
|
2000
|
2008
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
2001
|
2009
|
|
2002
|
2010
|
}
|
2003
|
2011
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
2004
|
2012
|
} else if (this.schedule.schedule_type == 2) {
|
2005
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2013
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
2014
|
+ preTime = this.record_date + ' ' + '6:00'
|
|
2015
|
+ }else {
|
|
2016
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2017
|
+ }
|
2006
|
2018
|
} else if (this.schedule.schedule_type == 3) {
|
2007
|
2019
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
2008
|
2020
|
}
|
|
@@ -2321,18 +2333,24 @@ export default {
|
2321
|
2333
|
// }
|
2322
|
2334
|
|
2323
|
2335
|
var preTime = nowTime
|
2324
|
|
- if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
2336
|
+ if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
2325
|
2337
|
if (prescription.pre_time == 0) {
|
2326
|
2338
|
if (this.schedule.schedule_type == 1) {
|
2327
|
2339
|
if (this.org_id == 10028) {
|
2328
|
2340
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
2341
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
2342
|
+ preTime = this.record_date + ' ' + '6:00'
|
2329
|
2343
|
} else {
|
2330
|
2344
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
2331
|
2345
|
|
2332
|
2346
|
}
|
2333
|
2347
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
2334
|
2348
|
} else if (this.schedule.schedule_type == 2) {
|
2335
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2349
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
2350
|
+ preTime = this.record_date + ' ' + '10:00'
|
|
2351
|
+ }else{
|
|
2352
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2353
|
+ }
|
2336
|
2354
|
} else if (this.schedule.schedule_type == 3) {
|
2337
|
2355
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
2338
|
2356
|
}
|
|
@@ -2487,17 +2505,25 @@ export default {
|
2487
|
2505
|
|
2488
|
2506
|
var preTime = nowTime
|
2489
|
2507
|
// var preTime = ''
|
2490
|
|
- if (this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
2508
|
+ if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
2491
|
2509
|
if (this.schedule.schedule_type == 1) {
|
2492
|
2510
|
if (this.org_id == 10028) {
|
2493
|
2511
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
2512
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
2513
|
+ preTime = this.record_date + ' ' + '6:00'
|
2494
|
2514
|
} else {
|
2495
|
2515
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
2496
|
2516
|
|
2497
|
2517
|
}
|
2498
|
2518
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
2499
|
2519
|
} else if (this.schedule.schedule_type == 2) {
|
2500
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2520
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
2521
|
+ preTime =this.record_date + ' ' + '10:00'
|
|
2522
|
+ }else{
|
|
2523
|
+
|
|
2524
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2525
|
+
|
|
2526
|
+ }
|
2501
|
2527
|
} else if (this.schedule.schedule_type == 3) {
|
2502
|
2528
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
2503
|
2529
|
}
|
|
@@ -4025,18 +4051,27 @@ export default {
|
4025
|
4051
|
|
4026
|
4052
|
var preTime = nowTime
|
4027
|
4053
|
|
4028
|
|
- if (this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
4054
|
+ if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
4029
|
4055
|
if (prescription.pre_time == 0) {
|
4030
|
4056
|
if (this.schedule.schedule_type == 1) {
|
4031
|
4057
|
if (this.org_id == 10028) {
|
4032
|
4058
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4059
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
4060
|
+
|
|
4061
|
+ preTime = this.record_date + ' ' + '6:00'
|
|
4062
|
+
|
4033
|
4063
|
} else {
|
4034
|
4064
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4035
|
4065
|
|
4036
|
4066
|
}
|
4037
|
4067
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4038
|
4068
|
} else if (this.schedule.schedule_type == 2) {
|
4039
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4069
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
4070
|
+ preTime = this.record_date + ' ' + '10:00'
|
|
4071
|
+
|
|
4072
|
+ }else {
|
|
4073
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4074
|
+ }
|
4040
|
4075
|
} else if (this.schedule.schedule_type == 3) {
|
4041
|
4076
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
4042
|
4077
|
}
|
|
@@ -4190,17 +4225,22 @@ export default {
|
4190
|
4225
|
|
4191
|
4226
|
// var preTime = nowTime
|
4192
|
4227
|
var preTime = nowTime
|
4193
|
|
- if (this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
4228
|
+ if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
4194
|
4229
|
if (this.schedule.schedule_type == 1) {
|
4195
|
4230
|
if (this.org_id == 10028) {
|
4196
|
4231
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4232
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
4233
|
+ preTime = this.record_date+ ' ' + '6:00'
|
4197
|
4234
|
} else {
|
4198
|
4235
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4199
|
|
-
|
4200
|
4236
|
}
|
4201
|
4237
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4202
|
4238
|
} else if (this.schedule.schedule_type == 2) {
|
4203
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4239
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
4240
|
+ preTime = this.record_date + ' ' + '10:00'
|
|
4241
|
+ }else{
|
|
4242
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4243
|
+ }
|
4204
|
4244
|
} else if (this.schedule.schedule_type == 3) {
|
4205
|
4245
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
4206
|
4246
|
}
|
|
@@ -4695,19 +4735,25 @@ export default {
|
4695
|
4735
|
|
4696
|
4736
|
var preTime = nowTime
|
4697
|
4737
|
|
4698
|
|
- if (this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
4738
|
+ if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
4699
|
4739
|
if (prescription.pre_time == 0) {
|
4700
|
4740
|
// preTime = nowTime
|
4701
|
4741
|
if (this.schedule.schedule_type == 1) {
|
4702
|
4742
|
if (this.org_id == 10028) {
|
4703
|
4743
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4744
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
4745
|
+ preTime = this.record_date + ' ' + '6:00'
|
4704
|
4746
|
} else {
|
4705
|
4747
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4706
|
|
-
|
4707
|
4748
|
}
|
4708
|
4749
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4709
|
4750
|
} else if (this.schedule.schedule_type == 2) {
|
4710
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4751
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
4752
|
+ preTime =this.record_date + ' ' + '10:00'
|
|
4753
|
+ }else{
|
|
4754
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4755
|
+
|
|
4756
|
+ }
|
4711
|
4757
|
} else if (this.schedule.schedule_type == 3) {
|
4712
|
4758
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
4713
|
4759
|
}
|
|
@@ -4862,17 +4908,23 @@ export default {
|
4862
|
4908
|
|
4863
|
4909
|
var preTime = nowTime
|
4864
|
4910
|
// var preTime = ''
|
4865
|
|
- if (this.org_id != 0 && this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
|
4911
|
+ if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
4866
|
4912
|
if (this.schedule.schedule_type == 1) {
|
4867
|
4913
|
if (this.org_id == 10028) {
|
4868
|
4914
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4915
|
+ } else if(this.org_id == 10206 || this.org_id == 0){
|
|
4916
|
+ preTime = this.record_date + ' ' + '6:00'
|
4869
|
4917
|
} else {
|
4870
|
4918
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4871
|
|
-
|
4872
|
4919
|
}
|
4873
|
4920
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4874
|
4921
|
} else if (this.schedule.schedule_type == 2) {
|
4875
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4922
|
+ if(this.org_id == 10206 || this.org_id == 0){
|
|
4923
|
+ preTime = this.record_date + ' ' + '10:00'
|
|
4924
|
+
|
|
4925
|
+ }else{
|
|
4926
|
+ preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4927
|
+ }
|
4876
|
4928
|
} else if (this.schedule.schedule_type == 3) {
|
4877
|
4929
|
preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
4878
|
4930
|
}
|