提交 9a68bbe9 authored 作者: taojinlong's avatar taojinlong

feat: 优化查询任务日志

上级 6baf1953
......@@ -175,7 +175,7 @@ public class GridExample {
addCriterion(field);
break;
case "sql in":
addCriterion(field);
addCriterion(field+" in ", value, field);
break;
}
return (Criteria) this;
......
......@@ -577,6 +577,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'),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论