zhou zhou
11 小时以前 50e95b985a72fcec4a93a2470e9efdfb2620148a
rsf-design/src/views/manager/task-log/taskLogPage.helpers.js
@@ -1,9 +1,11 @@
import { $t } from '@/locales'
const STATUS_META = {
  1: { text: '正常', type: 'success' },
  0: { text: '冻结', type: 'info' }
  1: { text: $t('common.status.enabled'), type: 'success' },
  0: { text: $t('common.status.disabled'), type: 'info' }
}
export const TASK_LOG_REPORT_TITLE = '任务历史档报表'
export const TASK_LOG_REPORT_TITLE = $t('pages.manager.taskLog.reportTitle')
function normalizeText(value) {
  return String(value ?? '').trim()
@@ -132,15 +134,15 @@
export function getTaskLogReportColumns() {
  return [
    { prop: 'taskCode', label: '任务号' },
    { prop: 'taskStatusText', label: '任务状态' },
    { prop: 'taskTypeText', label: '任务类型' },
    { prop: 'orgLoc', label: '源库位' },
    { prop: 'targLoc', label: '目标库位' },
    { prop: 'barcode', label: '托盘码' },
    { prop: 'robotCode', label: '机器人编码' },
    { prop: 'startTimeText', label: '开始时间' },
    { prop: 'endTimeText', label: '结束时间' }
    { prop: 'taskCode', label: $t('pages.manager.taskLog.table.taskCode') },
    { prop: 'taskStatusText', label: $t('pages.manager.taskLog.table.taskStatus') },
    { prop: 'taskTypeText', label: $t('pages.manager.taskLog.table.taskType') },
    { prop: 'orgLoc', label: $t('pages.manager.taskLog.table.orgLoc') },
    { prop: 'targLoc', label: $t('pages.manager.taskLog.table.targLoc') },
    { prop: 'barcode', label: $t('pages.manager.taskLog.table.barcode') },
    { prop: 'robotCode', label: $t('pages.manager.taskLog.table.robotCode') },
    { prop: 'startTimeText', label: $t('pages.manager.taskLog.table.startTime') },
    { prop: 'endTimeText', label: $t('pages.manager.taskLog.table.endTime') }
  ]
}