liuyu
21 小时以前 93c133349a5ccd7a328371fa113dce69d5611f21
apps/jnpf-web-apps-main/src/views/x/tms/trainRecord/index.vue
@@ -9,6 +9,9 @@
import { BasicVxeTable, TableAction, useVxeTable } from '@jnpf/ui/vxeTable';
import { getTrainRecordList } from '#/api/x/tms/trainRecord';
import { TMS_BTN } from '#/views/x/tms/shared/ui';
import '#/views/x/tms/shared/page.css';
defineOptions({ name: 'TmsTrainRecord' });
@@ -84,7 +87,7 @@
}
function getTableActions(record: TrainRecordListItem): ActionItem[] {
  return [{ label: '查看', onClick: handleView.bind(null, record) }];
  return [{ label: TMS_BTN.detail, onClick: handleView.bind(null, record) }];
}
</script>
@@ -95,8 +98,8 @@
        <BasicVxeTable @register="registerTable">
          <template #tableTitle>
            <a-space>
              <a-button type="primary" @click="handleViewSelected">查看</a-button>
              <span class="text-gray-400 text-sm">个人培训记录表,选择人员查看培训目录。</span>
              <a-button type="primary" @click="handleViewSelected">{{ TMS_BTN.detail }}</a-button>
              <span class="tms-toolbar-hint">选择人员查看培训目录</span>
            </a-space>
          </template>
          <template #action="{ record }">