diff --git a/frontend/src/components/DatePicker.vue b/frontend/src/components/DatePicker.vue new file mode 100644 index 0000000..e2ecaf4 --- /dev/null +++ b/frontend/src/components/DatePicker.vue @@ -0,0 +1,313 @@ + + + + + + {{ displayValue }} + + + + + + + + + + {{ panelYear }}{{ mode === "date" ? `年${String(panelMonth + 1).padStart(2, "0")}月` : "年" }} + + + + + + + + {{ month }} + + + + + + {{ week }} + + + + {{ cell.day }} + + + + + + 清空 + + {{ mode === "month" ? "本月" : "今天" }} + + + + + + diff --git a/frontend/src/views/JobsView.vue b/frontend/src/views/JobsView.vue deleted file mode 100644 index b33c104..0000000 --- a/frontend/src/views/JobsView.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - 计算记录 - 按任务编号查询已落库的工资计算结果。 - - - - 下载当前结果 - - - - - - - 任务查询 - 工资计算任务 ID - - - - - 任务编号 - - - - - - {{ loading ? "查询中" : "查询" }} - - - {{ errorMessage }} - - - - - - 任务详情 - {{ selectedJob.job_id }} - - - {{ selectedJob.status }} - - - - - 任务来源 - {{ selectedJob.source_type }} - - - 员工数量 - {{ selectedJob.employee_count }} - - - 创建时间 - {{ new Date(selectedJob.created_at).toLocaleString() }} - - - 更新时间 - {{ new Date(selectedJob.updated_at).toLocaleString() }} - - - {{ selectedJob.error_message }} - - - - - - - - 最近任务 - 当前浏览器记录 - - - - - - - {{ job.job_id }} - {{ job.source_type }} · {{ job.employee_count }} 人 - - {{ new Date(job.created_at).toLocaleDateString() }} - - - - 暂无最近任务 - - - - - {{ job.job_id.slice(0, 8) }} - - - - -
按任务编号查询已落库的工资计算结果。
工资计算任务 ID
{{ errorMessage }}
{{ selectedJob.job_id }}
{{ selectedJob.error_message }}
当前浏览器记录
暂无最近任务