-
门锁一次性访问密码 (One-Time Credential)
+
门锁临时访问密码
{{ maskedMode ? '••••••••' : oneTimeCredential }}
@@ -337,6 +337,18 @@ export default {
this.getList()
},
methods: {
+ formatBedDisplay(bedNo) {
+ if (!bedNo) return '-';
+ const str = String(bedNo).trim();
+ return str.endsWith('床') ? str : str + '床';
+ },
+ formatCredentialType(type) {
+ if (!type || type === 'ONLINE_PASSWORD') return '在线密码';
+ if (type === 'CARD') return '实体卡';
+ if (type === 'QR_CODE') return '二维码';
+ if (type === 'FACE') return '人脸凭证';
+ return type;
+ },
fetchCapabilities() {
getCapabilities().then(res => {
if (res.data) {
diff --git a/build_ui/src/views/train/checkin/attendancePolicy.js b/build_ui/src/views/train/checkin/attendancePolicy.js
index a0f051dee..fe3847be8 100644
--- a/build_ui/src/views/train/checkin/attendancePolicy.js
+++ b/build_ui/src/views/train/checkin/attendancePolicy.js
@@ -138,6 +138,15 @@ export function resolveSignInFeedback(err, defaultStudentName = '') {
msg = '签到操作失败';
}
+ // 清理内部研发前缀与技术词汇,提升业务可读性
+ if (typeof msg === 'string') {
+ msg = msg.replace(/^业务不变量校验失败[::]\s*/, '');
+ msg = msg.replace(/学员参训生命周期状态不合法/, '学员参训状态不符合签到要求');
+ if (msg.includes('DMS_DISABLED')) {
+ msg = '门禁系统未启用,无法同步外部硬件凭据';
+ }
+ }
+
// 绝对禁止包含“成功”字样如果其实是错误返回
return {
isSuccess: false,
diff --git a/build_ui/src/views/train/checkin/index.vue b/build_ui/src/views/train/checkin/index.vue
index 8716b9872..8adf8508e 100644
--- a/build_ui/src/views/train/checkin/index.vue
+++ b/build_ui/src/views/train/checkin/index.vue
@@ -1,8 +1,8 @@
-
-
+
+
{{ labelOf(checkinWays, scope.row.checkinWay) }}
-
+
调整
+ >调整考勤
-
+
@@ -195,7 +195,7 @@
type="text"
icon="el-icon-edit"
@click="handleAdjust(scope.row)"
- >调整
+ >调整考勤
@@ -210,8 +210,8 @@
-
-
+
+
{{ currentRecord.studentName || '-' }}
@@ -235,7 +235,7 @@
v-model="adjustForm.remark"
type="textarea"
:rows="3"
- placeholder="请输入人工调整原因或核验说明(如:班牌漏刷补录、事假证明核销,将全留痕记入审计流水)"
+ placeholder="请输入调整原因(如:班牌漏刷补录、事假核销等,将记入调整日志)"
maxlength="200"
show-word-limit
/>
diff --git a/build_ui/src/views/train/plan/components/EnrollmentPanel.vue b/build_ui/src/views/train/plan/components/EnrollmentPanel.vue
index 5cf2632b5..e2aa040b6 100644
--- a/build_ui/src/views/train/plan/components/EnrollmentPanel.vue
+++ b/build_ui/src/views/train/plan/components/EnrollmentPanel.vue
@@ -97,7 +97,7 @@
type="text"
icon="el-icon-document"
@click="handleViewDetail(scope.row)"
- >档案
+ >学员档案
报到
+ >确认报到
标记请假
- 标记退训
+ 标记放弃
恢复参训
@@ -250,7 +250,7 @@
请上传 .xlsx 或 .xls 文件,单次最大支持 500 行数据。
-
+
@@ -357,7 +357,7 @@ export default {
{ value: 0, label: '待报到' },
{ value: 1, label: '已报到' },
{ value: 2, label: '请假' },
- { value: 3, label: '退训' },
+ { value: 3, label: '放弃' },
{ value: 4, label: '已完成' }
],
queryParams: {