diff --git a/src/pages/sys/task/Task.vue b/src/pages/sys/task/Task.vue new file mode 100644 index 0000000..31437f3 --- /dev/null +++ b/src/pages/sys/task/Task.vue @@ -0,0 +1,228 @@ + + + diff --git a/src/pages/sys/task/TaskForm.vue b/src/pages/sys/task/TaskForm.vue new file mode 100644 index 0000000..bbc1b81 --- /dev/null +++ b/src/pages/sys/task/TaskForm.vue @@ -0,0 +1,115 @@ + + + diff --git a/src/pages/sys/task/page.ts b/src/pages/sys/task/page.ts new file mode 100644 index 0000000..1d60ea5 --- /dev/null +++ b/src/pages/sys/task/page.ts @@ -0,0 +1,3 @@ +export default { + component: () => import('@/pages/sys/task_execute_log/Task_execute_log.vue'), +} as RouterTypes.RouteConfig diff --git a/src/pages/sys/task/task-api.ts b/src/pages/sys/task/task-api.ts new file mode 100644 index 0000000..448044c --- /dev/null +++ b/src/pages/sys/task/task-api.ts @@ -0,0 +1,22 @@ +import { + get, + post, +} from '@/common/utils/http-util.ts' + +export default { + paging(data: Task_execute_logTypes.SearchTask_execute_logParam) { + return get>('/sys_task_execute_log/paging', data) + }, + detail(id: string) { + return get('/sys_task_execute_log/detail', {id}) + }, + add(data: Task_execute_logTypes.AddTask_execute_logParam) { + return post('/sys_task_execute_log/add', data) + }, + modify(data: Task_execute_logTypes.ModifyTask_execute_logParam) { + return post('/sys_task_execute_log/modify', data) + }, + del(ids: string[]) { + return post('/sys_task_execute_log/del', ids) + }, +} diff --git a/src/pages/sys/task/task.d.ts b/src/pages/sys/task/task.d.ts new file mode 100644 index 0000000..b280ac0 --- /dev/null +++ b/src/pages/sys/task/task.d.ts @@ -0,0 +1,80 @@ +export {} +declare global { + namespace Task_execute_logTypes { + interface SearchTask_execute_logParam extends G.PageParam { + // Id + id?: string + // 调度 Id + scheduleId?: string + // 日志等级 + logLevel?: string + // 日志时间 + logTime?: string + // 位置 + place?: string + // 行号 + line?: number + // 日志信息 + msg?: string + // 错误信息 + err?: string + } + + interface SearchTask_execute_logResult { + // Id + id?: string + // 调度 Id + scheduleId?: string + // 日志等级 + logLevel?: string + // 日志时间 + logTime?: string + // 位置 + place?: string + // 行号 + line?: number + // 日志信息 + msg?: string + // 错误信息 + err?: string + } + + interface AddTask_execute_logParam { + // Id + id?: string + // 调度 Id + scheduleId?: string + // 日志等级 + logLevel?: string + // 日志时间 + logTime?: string + // 位置 + place?: string + // 行号 + line?: number + // 日志信息 + msg?: string + // 错误信息 + err?: string + } + + interface ModifyTask_execute_logParam { + // Id + id?: string + // 调度 Id + scheduleId?: string + // 日志等级 + logLevel?: string + // 日志时间 + logTime?: string + // 位置 + place?: string + // 行号 + line?: number + // 日志信息 + msg?: string + // 错误信息 + err?: string + } + } +}