diff --git a/src/views/system/LogList.vue b/src/views/system/LogList.vue index db6cb98..308f59d 100644 --- a/src/views/system/LogList.vue +++ b/src/views/system/LogList.vue @@ -16,12 +16,12 @@ - + - + @@ -168,11 +168,15 @@ export default { this.queryParam.endTime = end.format(this.dateFormat); param.startTime = start.format(this.dateFormat); param.endTime = end.format(this.dateFormat); + }else{ + param.startTime = moment(this.queryParam.startTime).format(this.dateFormat); + param.endTime = moment(this.queryParam.endTime).format(this.dateFormat); } if (this.superQueryParams) { param['superQueryParams'] = encodeURI(this.superQueryParams) param['superQueryMatchType'] = this.superQueryMatchType } + console.log(param) return filterObj(param); }, diff --git a/src/views/system/OptionLog.vue b/src/views/system/OptionLog.vue index 7f8511d..b747f41 100644 --- a/src/views/system/OptionLog.vue +++ b/src/views/system/OptionLog.vue @@ -11,12 +11,12 @@ - + - + @@ -172,11 +172,15 @@ export default { this.queryParam.endTime = end.format(this.dateFormat); param.startTime = start.format(this.dateFormat); param.endTime = end.format(this.dateFormat); + }else{ + param.startTime = moment(this.queryParam.startTime).format(this.dateFormat); + param.endTime = moment(this.queryParam.endTime).format(this.dateFormat); } if (this.superQueryParams) { param['superQueryParams'] = encodeURI(this.superQueryParams) param['superQueryMatchType'] = this.superQueryMatchType } + console.log(param) return filterObj(param); },