|
@@ -3228,34 +3228,40 @@ export default {
|
|
},
|
|
},
|
|
handleBefore2() {
|
|
handleBefore2() {
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
- if (this.tab2.table.getdataListParm.parammaps.inputDatetime2 !== '' && this.tab2.table.getdataListParm.parammaps.inputDatetime2 !== null) {
|
|
|
|
- var start3 = new Date(this.tab2.table.getdataListParm.parammaps.inputDatetime2.setDate(this.tab2.table.getdataListParm.parammaps.inputDatetime2.getDate() - 1))
|
|
|
|
- if (start3 > Date.now() - 8.64e7) {
|
|
|
|
- this.Nextdisabled2 = true
|
|
|
|
- this.Beforedisabled2 = false
|
|
|
|
|
|
+ if (this.tab2.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab2.table.getdataListParm.parammaps.inputDatetime !== null) {
|
|
|
|
+ var start3 = new Date(this.tab2.table.getdataListParm.parammaps.inputDatetime[0].setDate(this.tab2.table.getdataListParm.parammaps.inputDatetime[0].getDate() - 1))
|
|
|
|
+ var stop3 = new Date(this.tab2.table.getdataListParm.parammaps.inputDatetime[1].setDate(this.tab2.table.getdataListParm.parammaps.inputDatetime[1].getDate() - 1))
|
|
|
|
+ if (stop3 > Date.now() - 8.64e7) {
|
|
|
|
+ this.Nextdisabled = true
|
|
|
|
+ this.Beforedisabled = false
|
|
} else {
|
|
} else {
|
|
- this.Nextdisabled2 = false
|
|
|
|
- this.Beforedisabled2 = false
|
|
|
|
|
|
+ this.Nextdisabled = false
|
|
|
|
+ this.Beforedisabled = false
|
|
}
|
|
}
|
|
- this.tab2.table.getdataListParm.parammaps.inputDatetime2 = start3
|
|
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.inputDatetime = []
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.inputDatetime.length = 0
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.inputDatetime.push(start3, stop3)
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
}
|
|
}
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(start3, '{y}-{m}-{d}')
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(start3, '{y}-{m}-{d}')
|
|
- this.tab2.table.getdataListParm.parammaps.stopTime = parseTime(start3, '{y}-{m}-{d}')
|
|
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.stopTime = parseTime(stop3, '{y}-{m}-{d}')
|
|
this.getTab2List()
|
|
this.getTab2List()
|
|
this.getTMRNameList2()
|
|
this.getTMRNameList2()
|
|
},
|
|
},
|
|
handleNext2() {
|
|
handleNext2() {
|
|
- if (this.tab2.table.getdataListParm.parammaps.inputDatetime2 !== '' && this.tab2.table.getdataListParm.parammaps.inputDatetime2 !== null) {
|
|
|
|
- var start4 = new Date(this.tab2.table.getdataListParm.parammaps.inputDatetime2.setDate(this.tab2.table.getdataListParm.parammaps.inputDatetime2.getDate() + 1))
|
|
|
|
- if (start4 > Date.now() - 8.64e7) {
|
|
|
|
- this.Nextdisabled2 = true
|
|
|
|
- this.Beforedisabled2 = false
|
|
|
|
|
|
+ if (this.tab2.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab2.table.getdataListParm.parammaps.inputDatetime !== null) {
|
|
|
|
+ var start4 = new Date(this.tab2.table.getdataListParm.parammaps.inputDatetime[0].setDate(this.tab2.table.getdataListParm.parammaps.inputDatetime[0].getDate() + 1))
|
|
|
|
+ var stop4 = new Date(this.tab2.table.getdataListParm.parammaps.inputDatetime[1].setDate(this.tab2.table.getdataListParm.parammaps.inputDatetime[1].getDate() + 1))
|
|
|
|
+ if (stop4 > Date.now() - 8.64e7) {
|
|
|
|
+ this.Nextdisabled = true
|
|
|
|
+ this.Beforedisabled = false
|
|
} else {
|
|
} else {
|
|
- this.Nextdisabled2 = false
|
|
|
|
- this.Beforedisabled2 = false
|
|
|
|
|
|
+ this.Nextdisabled = false
|
|
|
|
+ this.Beforedisabled = false
|
|
}
|
|
}
|
|
- this.tab2.table.getdataListParm.parammaps.inputDatetime2 = start4
|
|
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.inputDatetime = []
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.inputDatetime.length = 0
|
|
|
|
+ this.tab2.table.getdataListParm.parammaps.inputDatetime.push(start4, stop4)
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
}
|
|
}
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(start4, '{y}-{m}-{d}')
|
|
this.tab2.table.getdataListParm.parammaps.startTime = parseTime(start4, '{y}-{m}-{d}')
|
|
@@ -3265,38 +3271,44 @@ export default {
|
|
},
|
|
},
|
|
handleBefore3() {
|
|
handleBefore3() {
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
- if (this.tab3.table.getdataListParm.parammaps.inputDatetime2 !== '' && this.tab3.table.getdataListParm.parammaps.inputDatetime2 !== null) {
|
|
|
|
- var start3 = new Date(this.tab3.table.getdataListParm.parammaps.inputDatetime2.setDate(this.tab3.table.getdataListParm.parammaps.inputDatetime2.getDate() - 1))
|
|
|
|
- if (start3 > Date.now() - 8.64e7) {
|
|
|
|
- this.Nextdisabled3 = true
|
|
|
|
- this.Beforedisabled3 = false
|
|
|
|
|
|
+ if (this.tab3.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab3.table.getdataListParm.parammaps.inputDatetime !== null) {
|
|
|
|
+ var start5 = new Date(this.tab3.table.getdataListParm.parammaps.inputDatetime[0].setDate(this.tab3.table.getdataListParm.parammaps.inputDatetime[0].getDate() - 1))
|
|
|
|
+ var stop5 = new Date(this.tab3.table.getdataListParm.parammaps.inputDatetime[1].setDate(this.tab3.table.getdataListParm.parammaps.inputDatetime[1].getDate() - 1))
|
|
|
|
+ if (stop5 > Date.now() - 8.64e7) {
|
|
|
|
+ this.Nextdisabled = true
|
|
|
|
+ this.Beforedisabled = false
|
|
} else {
|
|
} else {
|
|
- this.Nextdisabled3 = false
|
|
|
|
- this.Beforedisabled3 = false
|
|
|
|
|
|
+ this.Nextdisabled = false
|
|
|
|
+ this.Beforedisabled = false
|
|
}
|
|
}
|
|
- this.tab3.table.getdataListParm.parammaps.inputDatetime2 = start3
|
|
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.inputDatetime = []
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.inputDatetime.length = 0
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.inputDatetime.push(start5, stop5)
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
}
|
|
}
|
|
- this.tab3.table.getdataListParm.parammaps.startTime = parseTime(start3, '{y}-{m}-{d}')
|
|
|
|
- this.tab3.table.getdataListParm.parammaps.stopTime = parseTime(start3, '{y}-{m}-{d}')
|
|
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.startTime = parseTime(start5, '{y}-{m}-{d}')
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.stopTime = parseTime(stop5, '{y}-{m}-{d}')
|
|
this.getTab3List()
|
|
this.getTab3List()
|
|
this.getTMRNameList3()
|
|
this.getTMRNameList3()
|
|
},
|
|
},
|
|
handleNext3() {
|
|
handleNext3() {
|
|
- if (this.tab3.table.getdataListParm.parammaps.inputDatetime2 !== '' && this.tab3.table.getdataListParm.parammaps.inputDatetime2 !== null) {
|
|
|
|
- var start4 = new Date(this.tab3.table.getdataListParm.parammaps.inputDatetime2.setDate(this.tab3.table.getdataListParm.parammaps.inputDatetime2.getDate() + 1))
|
|
|
|
- if (start4 > Date.now() - 8.64e7) {
|
|
|
|
- this.Nextdisabled3 = true
|
|
|
|
- this.Beforedisabled3 = false
|
|
|
|
|
|
+ if (this.tab3.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab3.table.getdataListParm.parammaps.inputDatetime !== null) {
|
|
|
|
+ var start6 = new Date(this.tab3.table.getdataListParm.parammaps.inputDatetime[0].setDate(this.tab3.table.getdataListParm.parammaps.inputDatetime[0].getDate() + 1))
|
|
|
|
+ var stop6 = new Date(this.tab3.table.getdataListParm.parammaps.inputDatetime[1].setDate(this.tab3.table.getdataListParm.parammaps.inputDatetime[1].getDate() + 1))
|
|
|
|
+ if (stop6 > Date.now() - 8.64e7) {
|
|
|
|
+ this.Nextdisabled = true
|
|
|
|
+ this.Beforedisabled = false
|
|
} else {
|
|
} else {
|
|
- this.Nextdisabled3 = false
|
|
|
|
- this.Beforedisabled3 = false
|
|
|
|
|
|
+ this.Nextdisabled = false
|
|
|
|
+ this.Beforedisabled = false
|
|
}
|
|
}
|
|
- this.tab3.table.getdataListParm.parammaps.inputDatetime2 = start4
|
|
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.inputDatetime = []
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.inputDatetime.length = 0
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.inputDatetime.push(start6, stop6)
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
}
|
|
}
|
|
- this.tab3.table.getdataListParm.parammaps.startTime = parseTime(start4, '{y}-{m}-{d}')
|
|
|
|
- this.tab3.table.getdataListParm.parammaps.stopTime = parseTime(start4, '{y}-{m}-{d}')
|
|
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.startTime = parseTime(start6, '{y}-{m}-{d}')
|
|
|
|
+ this.tab3.table.getdataListParm.parammaps.stopTime = parseTime(stop6, '{y}-{m}-{d}')
|
|
this.getTab3List()
|
|
this.getTab3List()
|
|
this.getTMRNameList3()
|
|
this.getTMRNameList3()
|
|
},
|
|
},
|