|
@@ -1996,21 +1996,21 @@ export default {
|
1996
|
1996
|
if (prescription.pre_time == 0) {
|
1997
|
1997
|
if (this.schedule.schedule_type == 1) {
|
1998
|
1998
|
if (this.org_id == 10028) {
|
1999
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
1999
|
+ preTime = this.record_date + ' ' + '6:30'
|
2000
|
2000
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
2001
|
2001
|
preTime = this.record_date + ' ' + '6:00'
|
2002
|
2002
|
} else {
|
2003
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
2003
|
+ preTime = this.record_date + ' ' + '7:00'
|
2004
|
2004
|
|
2005
|
2005
|
}
|
2006
|
2006
|
} else if (this.schedule.schedule_type == 2) {
|
2007
|
2007
|
if(this.org_id == 10206 || this.org_id == 0 ){
|
2008
|
2008
|
preTime = this.record_date + ' ' + '10:30'
|
2009
|
2009
|
}else{
|
2010
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2010
|
+ preTime = this.record_date + ' ' + '11:00'
|
2011
|
2011
|
}
|
2012
|
2012
|
} else if (this.schedule.schedule_type == 3) {
|
2013
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
2013
|
+ preTime = this.record_date + ' ' + '17:00'
|
2014
|
2014
|
}
|
2015
|
2015
|
// preTime = nowTime
|
2016
|
2016
|
} else {
|
|
@@ -2165,11 +2165,11 @@ export default {
|
2165
|
2165
|
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) {
|
2166
|
2166
|
if (this.schedule.schedule_type == 1) {
|
2167
|
2167
|
if (this.org_id == 10028) {
|
2168
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
2168
|
+ preTime = this.record_date + ' ' + '6:30'
|
2169
|
2169
|
} else if(this.org_id == 10206 || this.org_id == 0) {
|
2170
|
2170
|
preTime = this.record_date+ ' ' + '6:00'
|
2171
|
2171
|
} else {
|
2172
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
2172
|
+ preTime = this.record_date + ' ' + '7:00'
|
2173
|
2173
|
|
2174
|
2174
|
}
|
2175
|
2175
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
@@ -2177,10 +2177,10 @@ export default {
|
2177
|
2177
|
if(this.org_id == 10206 || this.org_id == 0){
|
2178
|
2178
|
preTime = this.record_date + ' ' + '6:00'
|
2179
|
2179
|
}else {
|
2180
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2180
|
+ preTime = this.record_date + ' ' + '11:00'
|
2181
|
2181
|
}
|
2182
|
2182
|
} else if (this.schedule.schedule_type == 3) {
|
2183
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
2183
|
+ preTime = this.record_date + ' ' + '17:00'
|
2184
|
2184
|
}
|
2185
|
2185
|
}
|
2186
|
2186
|
|
|
@@ -2501,11 +2501,11 @@ export default {
|
2501
|
2501
|
if (prescription.pre_time == 0) {
|
2502
|
2502
|
if (this.schedule.schedule_type == 1) {
|
2503
|
2503
|
if (this.org_id == 10028) {
|
2504
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
2504
|
+ preTime = this.record_date + ' ' + '6:30'
|
2505
|
2505
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
2506
|
2506
|
preTime = this.record_date + ' ' + '6:00'
|
2507
|
2507
|
} else {
|
2508
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
2508
|
+ preTime = this.record_date + ' ' + '7:00'
|
2509
|
2509
|
|
2510
|
2510
|
}
|
2511
|
2511
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
@@ -2513,10 +2513,10 @@ export default {
|
2513
|
2513
|
if(this.org_id == 10206 || this.org_id == 0){
|
2514
|
2514
|
preTime = this.record_date + ' ' + '10:30'
|
2515
|
2515
|
}else{
|
2516
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2516
|
+ preTime = this.record_date + ' ' + '11:00'
|
2517
|
2517
|
}
|
2518
|
2518
|
} else if (this.schedule.schedule_type == 3) {
|
2519
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
2519
|
+ preTime = this.record_date + ' ' + '17:00'
|
2520
|
2520
|
}
|
2521
|
2521
|
} else {
|
2522
|
2522
|
preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
|
|
@@ -2672,11 +2672,11 @@ export default {
|
2672
|
2672
|
if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
2673
|
2673
|
if (this.schedule.schedule_type == 1) {
|
2674
|
2674
|
if (this.org_id == 10028) {
|
2675
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
2675
|
+ preTime = this.record_date + ' ' + '6:30'
|
2676
|
2676
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
2677
|
2677
|
preTime = this.record_date + ' ' + '6:00'
|
2678
|
2678
|
} else {
|
2679
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
2679
|
+ preTime = this.record_date + ' ' + '7:00'
|
2680
|
2680
|
|
2681
|
2681
|
}
|
2682
|
2682
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
@@ -2685,11 +2685,11 @@ export default {
|
2685
|
2685
|
preTime =this.record_date + ' ' + '10:30'
|
2686
|
2686
|
}else{
|
2687
|
2687
|
|
2688
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
2688
|
+ preTime = this.record_date + ' ' + '11:00'
|
2689
|
2689
|
|
2690
|
2690
|
}
|
2691
|
2691
|
} else if (this.schedule.schedule_type == 3) {
|
2692
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
2692
|
+ preTime = this.record_date + ' ' + '17:00'
|
2693
|
2693
|
}
|
2694
|
2694
|
}
|
2695
|
2695
|
|
|
@@ -4226,13 +4226,13 @@ export default {
|
4226
|
4226
|
if (prescription.pre_time == 0) {
|
4227
|
4227
|
if (this.schedule.schedule_type == 1) {
|
4228
|
4228
|
if (this.org_id == 10028) {
|
4229
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4229
|
+ preTime = this.record_date + ' ' + '6:30'
|
4230
|
4230
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
4231
|
4231
|
|
4232
|
4232
|
preTime = this.record_date + ' ' + '6:00'
|
4233
|
4233
|
|
4234
|
4234
|
} else {
|
4235
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
4235
|
+ preTime = this.record_date + ' ' + '7:00'
|
4236
|
4236
|
|
4237
|
4237
|
}
|
4238
|
4238
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
@@ -4241,10 +4241,10 @@ export default {
|
4241
|
4241
|
preTime = this.record_date + ' ' + '10:30'
|
4242
|
4242
|
|
4243
|
4243
|
}else {
|
4244
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4244
|
+ preTime = this.record_date + ' ' + '11:00'
|
4245
|
4245
|
}
|
4246
|
4246
|
} else if (this.schedule.schedule_type == 3) {
|
4247
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
4247
|
+ preTime = this.record_date + ' ' + '17:00'
|
4248
|
4248
|
}
|
4249
|
4249
|
} else {
|
4250
|
4250
|
preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
|
|
@@ -4399,21 +4399,21 @@ export default {
|
4399
|
4399
|
if (this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
4400
|
4400
|
if (this.schedule.schedule_type == 1) {
|
4401
|
4401
|
if (this.org_id == 10028) {
|
4402
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4402
|
+ preTime = this.record_date + ' ' + '6:30'
|
4403
|
4403
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
4404
|
4404
|
preTime = this.record_date+ ' ' + '6:00'
|
4405
|
4405
|
} else {
|
4406
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
4406
|
+ preTime = this.record_date + ' ' + '7:00'
|
4407
|
4407
|
}
|
4408
|
4408
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4409
|
4409
|
} else if (this.schedule.schedule_type == 2) {
|
4410
|
4410
|
if(this.org_id == 10206 || this.org_id == 0){
|
4411
|
4411
|
preTime = this.record_date + ' ' + '10:30'
|
4412
|
4412
|
}else{
|
4413
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4413
|
+ preTime = this.record_date + ' ' + '11:00'
|
4414
|
4414
|
}
|
4415
|
4415
|
} else if (this.schedule.schedule_type == 3) {
|
4416
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
4416
|
+ preTime = this.record_date + ' ' + '17:00'
|
4417
|
4417
|
}
|
4418
|
4418
|
}
|
4419
|
4419
|
|
|
@@ -4912,22 +4912,22 @@ export default {
|
4912
|
4912
|
// preTime = nowTime
|
4913
|
4913
|
if (this.schedule.schedule_type == 1) {
|
4914
|
4914
|
if (this.org_id == 10028) {
|
4915
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
4915
|
+ preTime = this.record_date + ' ' + '6:30'
|
4916
|
4916
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
4917
|
4917
|
preTime = this.record_date + ' ' + '6:00'
|
4918
|
4918
|
} else {
|
4919
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
4919
|
+ preTime = this.record_date + ' ' + '7:00'
|
4920
|
4920
|
}
|
4921
|
4921
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
4922
|
4922
|
} else if (this.schedule.schedule_type == 2) {
|
4923
|
4923
|
if(this.org_id == 10206 || this.org_id == 0){
|
4924
|
4924
|
preTime =this.record_date + ' ' + '10:30'
|
4925
|
4925
|
}else{
|
4926
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
4926
|
+ preTime = this.record_date + ' ' + '11:00'
|
4927
|
4927
|
|
4928
|
4928
|
}
|
4929
|
4929
|
} else if (this.schedule.schedule_type == 3) {
|
4930
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
4930
|
+ preTime = this.record_date + ' ' + '17:00'
|
4931
|
4931
|
}
|
4932
|
4932
|
} else {
|
4933
|
4933
|
preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
|
|
@@ -5083,11 +5083,11 @@ export default {
|
5083
|
5083
|
if ( this.org_id != 9919 && this.org_id != 10485 && this.org_id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
|
5084
|
5084
|
if (this.schedule.schedule_type == 1) {
|
5085
|
5085
|
if (this.org_id == 10028) {
|
5086
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
|
|
5086
|
+ preTime = this.record_date + ' ' + '6:30'
|
5087
|
5087
|
} else if(this.org_id == 10206 || this.org_id == 0){
|
5088
|
5088
|
preTime = this.record_date + ' ' + '6:00'
|
5089
|
5089
|
} else {
|
5090
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
|
5090
|
+ preTime = this.record_date + ' ' + '7:00'
|
5091
|
5091
|
}
|
5092
|
5092
|
// preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
|
5093
|
5093
|
} else if (this.schedule.schedule_type == 2) {
|
|
@@ -5095,10 +5095,10 @@ export default {
|
5095
|
5095
|
preTime = this.record_date + ' ' + '10:30'
|
5096
|
5096
|
|
5097
|
5097
|
}else{
|
5098
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
|
|
5098
|
+ preTime = this.record_date + ' ' + '11:00'
|
5099
|
5099
|
}
|
5100
|
5100
|
} else if (this.schedule.schedule_type == 3) {
|
5101
|
|
- preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '17:00'
|
|
5101
|
+ preTime = this.record_date + ' ' + '17:00'
|
5102
|
5102
|
}
|
5103
|
5103
|
}
|
5104
|
5104
|
|