联调cvt执行算法 修改测试bug
This commit is contained in:
@@ -805,19 +805,9 @@ export default {
|
||||
month = '0' + month
|
||||
}
|
||||
this.formData.searchBeginTime = str1[0] + '-' + month + '-' + str1[2]
|
||||
if (
|
||||
month == 1 ||
|
||||
month == 3 ||
|
||||
month == 5 ||
|
||||
month == 7 ||
|
||||
month == 8 ||
|
||||
month == 10 ||
|
||||
month == 12
|
||||
) {
|
||||
this.formData.searchEndTime = str2[0] + '-' + month + '-31'
|
||||
} else {
|
||||
this.formData.searchEndTime = str2[0] + '-' + month + '-30'
|
||||
}
|
||||
|
||||
this.formData.searchEndTime = str2[0] + '-' + month + '-' + new Date(str2[0], month, 0).getDate()
|
||||
|
||||
} else {
|
||||
this.formData.searchBeginTime = this.$refs.timelist.timeValue[0]
|
||||
this.formData.searchEndTime = this.$refs.timelist.timeValue[1]
|
||||
|
||||
Reference in New Issue
Block a user