This commit is contained in:
helloDy
2023-10-08 16:59:09 +08:00
parent 699810f40a
commit 96d52fafee
10 changed files with 552 additions and 302 deletions

View File

@@ -228,7 +228,14 @@ export default {
this.listQuery.lineId = val.lineIds
this.listQuery.startTime = val.time ? String(new Date(val.time[0]).getTime()) : undefined;
this.listQuery.endTime = val.time ? String(new Date(val.time[1]).getTime()) : undefined;
this.getData()
if (val.time) {
this.getData()
} else {
this.$message({
message: '请选择时间',
type: 'warning'
});
}
break;
case 'reset':
this.$refs.searchBarForm.resetForm();