diff --git a/src/utils/request.js b/src/utils/request.js index e8aac5a..2b9d1b4 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -11,9 +11,9 @@ import { generateRequestSignature } from '@/utils/crypto-js' const systemConfig = { requestConfig: { - encryptRequest: process.env.VUE_APP_ENV === 'production' ? false : true, - checkIntegrity: process.env.VUE_APP_ENV === 'production' ? false : true, - encryptResponse: process.env.VUE_APP_ENV === 'production' ? false : true, + encryptRequest: process.env.VUE_APP_ENV === 'production' ? true : false, + checkIntegrity: process.env.VUE_APP_ENV === 'production' ? true : false, + encryptResponse: process.env.VUE_APP_ENV === 'production' ? true : false, }, } diff --git a/src/views/system/log/abnormalLog/index.vue b/src/views/system/log/abnormalLog/index.vue index 766113a..db878cc 100644 --- a/src/views/system/log/abnormalLog/index.vue +++ b/src/views/system/log/abnormalLog/index.vue @@ -266,6 +266,9 @@ export default { // this.rangeDate[0] + ' - ' + this.rangeDate[1] this.listQuery.startTime = this.rangeDate[0] this.listQuery.endTime = this.rangeDate[1] + } else { + this.listQuery.startTime = '' + this.listQuery.endTime = '' } getErrLogs(this.listQuery).then((response) => { this.list = response.rows.map((item) => { diff --git a/src/views/system/log/businessLog/index.vue b/src/views/system/log/businessLog/index.vue index 0720dc6..1e68dd0 100644 --- a/src/views/system/log/businessLog/index.vue +++ b/src/views/system/log/businessLog/index.vue @@ -260,6 +260,9 @@ export default { // this.rangeDate[0] + ' - ' + this.rangeDate[1] this.listQuery.startTime = this.rangeDate[0] this.listQuery.endTime = this.rangeDate[1] + } else { + this.listQuery.startTime = '' + this.listQuery.endTime = '' } getYwLogs(this.listQuery).then((response) => { this.list = response.rows.map((item) => { diff --git a/src/views/system/log/logAnalyse/index.vue b/src/views/system/log/logAnalyse/index.vue index 49dea26..db83e63 100644 --- a/src/views/system/log/logAnalyse/index.vue +++ b/src/views/system/log/logAnalyse/index.vue @@ -89,6 +89,9 @@ // this.listQuery.operTime = this.rangeDate[0]+' - '+this.rangeDate[1]; this.listQuery.startTime = this.rangeDate[0] this.listQuery.endTime = this.rangeDate[1] + } else { + this.listQuery.startTime = '' + this.listQuery.endTime = '' } getAnalyseData(this.listQuery).then((response) => { this.sumNum = response.data.allNum||0 diff --git a/src/views/system/log/systemLog/index.vue b/src/views/system/log/systemLog/index.vue index 584aeff..a44c150 100644 --- a/src/views/system/log/systemLog/index.vue +++ b/src/views/system/log/systemLog/index.vue @@ -251,6 +251,9 @@ export default { // this.rangeDate[0] + ' - ' + this.rangeDate[1] this.listQuery.startTime = this.rangeDate[0] this.listQuery.endTime = this.rangeDate[1] + } else { + this.listQuery.startTime = '' + this.listQuery.endTime = '' } getSysLogs(this.listQuery).then((response) => { this.list = response.rows.map((item) => {