fix: replace facial/medical terms with neutral position labels

Region names: 左脸→左区, 右脸→右区, 额头→上区, 下巴→下区,
鼻唇→中区, 左眼→左上区, 右眼→右上区, 全脸→全区域.
Replace 面部/面罩 with 设备 in wear-check and auto-scan pages.
这个提交包含在:
Guoguo
2026-05-31 23:39:06 -07:00
父节点 aff8c2d9b5
当前提交 29ff1c015b
修改 7 个文件,包含 26 行新增26 行删除
+2 -2
查看文件
@@ -73,7 +73,7 @@ import { exportCSV } from '../utils/export'
import { formatDate as formatDateUtil } from '../utils/format'
var REGION_MAP = {
1: '左', 2: '右', 4: '额头', 8: '下', 16: '', 32: '左', 64: '右'
1: '左', 2: '右', 4: '上区', 8: '下', 16: '中区', 32: '左上区', 64: '右上区'
}
export default {
@@ -168,7 +168,7 @@ export default {
async onExport() {
try {
const data = await get('/api/v1/admin/records', { page: 1, page_size: 9999, keyword: this.keyword, user_id: this.filterUserId, date_from: this.dateFrom, date_to: this.dateTo })
var REGION_MAP = { 1: '左', 2: '右', 4: '额头', 8: '下', 16: '', 32: '左', 64: '右' }
var REGION_MAP = { 1: '左', 2: '右', 4: '上区', 8: '下', 16: '中区', 32: '左上区', 64: '右上区' }
const records = data.records || []
exportCSV('records_' + new Date().toISOString().slice(0, 10) + '.csv',
['记录ID', '用户', '设备编号', '使用模式', '使用区域', '使用时长(分钟)', '使用时间'],