修改bug
This commit is contained in:
parent
3427f09007
commit
dfb2faefc2
|
@ -91,8 +91,8 @@ export default {
|
|||
tableParams: {
|
||||
schemaMass: null,
|
||||
tableName: null,
|
||||
startDateString: null,
|
||||
endDateString: null,
|
||||
startTime: null,
|
||||
endTime: null,
|
||||
pageSize: 10,
|
||||
pageNum: 1
|
||||
},
|
||||
|
@ -182,14 +182,14 @@ export default {
|
|||
onChangeTime(date, dateString) {
|
||||
if (date.length == 0) {
|
||||
this.defaultTime = []
|
||||
this.tableParams.startDateString = null
|
||||
this.tableParams.endDateString = null
|
||||
this.tableParams.startTime = null
|
||||
this.tableParams.endTime = null
|
||||
this.tableParams.pageNum = 1
|
||||
this.getTableDataList()
|
||||
} else {
|
||||
this.tableParams.startDateString = moment(date[0]).format(this.dateFormat);
|
||||
this.tableParams.endDateString = moment(date[1]).format(this.dateFormat);
|
||||
this.defaultTime = [this.tableParams.startDateString, this.tableParams.endDateString]
|
||||
this.tableParams.startTime = moment(date[0]).format(this.dateFormat);
|
||||
this.tableParams.endTime = moment(date[1]).format(this.dateFormat);
|
||||
this.defaultTime = [this.tableParams.startTime, this.tableParams.endTime]
|
||||
this.tableParams.pageNum = 1
|
||||
this.getTableDataList()
|
||||
}
|
||||
|
|
|
@ -207,6 +207,7 @@ import { taskCreate,
|
|||
if(res.success){
|
||||
that.$message.success(res.message);
|
||||
that.$emit('ok');
|
||||
this.close()
|
||||
}else{
|
||||
that.$message.warning(res.message);
|
||||
}
|
||||
|
@ -220,6 +221,7 @@ import { taskCreate,
|
|||
if(res.success){
|
||||
that.$message.success(res.message);
|
||||
that.$emit('ok');
|
||||
this.close()
|
||||
}else{
|
||||
that.$message.warning(res.message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user