mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 17:26:55 +08:00
refactor: Optimize typos checking issues
This commit is contained in:
@@ -33,11 +33,11 @@ def load_resource(session: SessionDep, dashboard: QueryDashboard):
|
||||
sql = text("""
|
||||
SELECT cd.*,
|
||||
creator.name AS create_name,
|
||||
updator.name AS update_name
|
||||
updater.name AS update_name
|
||||
FROM core_dashboard cd
|
||||
LEFT JOIN sys_user creator ON cd.create_by = creator.id::varchar
|
||||
LEFT JOIN sys_user updator
|
||||
ON cd.update_by = updator.id:: varchar
|
||||
LEFT JOIN sys_user updater
|
||||
ON cd.update_by = updater.id:: varchar
|
||||
WHERE cd.id = :dashboard_id
|
||||
""")
|
||||
result = session.execute(sql, {"dashboard_id": dashboard.id}).mappings().first()
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
"creator": "Creator",
|
||||
"dashboard_id": "Dashboard ID",
|
||||
"create_time": "Create Time",
|
||||
"updator": "Updater",
|
||||
"updater": "Updater",
|
||||
"update_time": "Update Time",
|
||||
"edit": "Edit",
|
||||
"edit_title": "Edit Title",
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
"creator": "생성자",
|
||||
"dashboard_id": "대시보드 ID",
|
||||
"create_time": "생성 시간",
|
||||
"updator": "업데이트자",
|
||||
"updater": "업데이트자",
|
||||
"update_time": "업데이트 시간",
|
||||
"edit": "편집",
|
||||
"edit_title": "제목 편집",
|
||||
@@ -852,4 +852,4 @@
|
||||
"to_doc": "API 보기",
|
||||
"trigger_limit": "최대 {0}개의 API 키 생성 지원"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
"creator": "创建人",
|
||||
"dashboard_id": "仪表板ID",
|
||||
"create_time": "创建时间",
|
||||
"updator": "更新人",
|
||||
"updater": "更新人",
|
||||
"update_time": "更新时间",
|
||||
"edit": "编辑",
|
||||
"edit_title": "编辑标题",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div v-if="dashboardInfo.createName" class="info-content">{{ dashboardInfo.createName }}</div>
|
||||
<div class="info-title">{{ t('dashboard.create_time') }}</div>
|
||||
<div class="info-content">{{ timestampFormatDate(dashboardInfo.createTime) }}</div>
|
||||
<div v-if="dashboardInfo.updateName" class="info-title">{{ t('dashboard.updator') }}</div>
|
||||
<div v-if="dashboardInfo.updateName" class="info-title">{{ t('dashboard.updater') }}</div>
|
||||
<div v-if="dashboardInfo.updateName" class="info-content">{{ dashboardInfo.updateName }}</div>
|
||||
<div class="info-title">{{ t('dashboard.update_time') }}</div>
|
||||
<div v-if="dashboardInfo.updateTime" class="info-content">
|
||||
|
||||
Reference in New Issue
Block a user