forked from github/dataease
feat: 优化查询任务日志
This commit is contained in:
parent
4352479850
commit
e59864c5ee
@ -175,7 +175,7 @@ public class GridExample {
|
||||
addCriterion(field);
|
||||
break;
|
||||
case "sql in":
|
||||
addCriterion(field);
|
||||
addCriterion(field+" in ", value, field);
|
||||
break;
|
||||
}
|
||||
return (Criteria) this;
|
||||
|
@ -576,6 +576,18 @@ export default {
|
||||
|
||||
})
|
||||
},
|
||||
changeTaskStatus(task) {
|
||||
const param = task
|
||||
param.status = task.status === 'Underway' ? 'Pending' : 'Underway'
|
||||
post('/dataset/task/updateStatus', task).then(response => {
|
||||
task.status = param.status
|
||||
this.$message({
|
||||
message: this.$t('dataset.task.change_success'),
|
||||
type: 'success',
|
||||
showClose: true
|
||||
})
|
||||
})
|
||||
},
|
||||
deleteTask(task) {
|
||||
this.$confirm(this.$t('dataset.confirm_delete'), this.$t('dataset.tips'), {
|
||||
confirmButtonText: this.$t('dataset.confirm'),
|
||||
|
Loading…
Reference in New Issue
Block a user