54163aac by zhen

更新时间清空后查询错误

1 parent 64f06602
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
119 ruleForm: { 119 ruleForm: {
120 username: '', 120 username: '',
121 userId: '', 121 userId: '',
122 times: '' 122 times: ['', '']
123 }, 123 },
124 tableData: [], 124 tableData: [],
125 pagination: null, 125 pagination: null,
...@@ -135,8 +135,8 @@ export default { ...@@ -135,8 +135,8 @@ export default {
135 } = await getResourceMonitorList({ 135 } = await getResourceMonitorList({
136 username: this.ruleForm.username, 136 username: this.ruleForm.username,
137 userId: this.ruleForm.userId, 137 userId: this.ruleForm.userId,
138 startTime: this.ruleForm.times[0], 138 startTime: this.ruleForm.times ? this.ruleForm.times[0] : '',
139 endTime: this.ruleForm.times[1], 139 endTime: this.ruleForm.times ? this.ruleForm.times[1] : '',
140 pageNo: this.pagination.page, 140 pageNo: this.pagination.page,
141 row: this.pagination.size 141 row: this.pagination.size
142 }) 142 })
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
150 this.ruleForm = { 150 this.ruleForm = {
151 username: '', 151 username: '',
152 userId: '', 152 userId: '',
153 times: '' 153 times: ['', '']
154 } 154 }
155 this.handleQueryOrderList() 155 this.handleQueryOrderList()
156 }, 156 },
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!