新增后端日志,且更改了平台名字

This commit is contained in:
wangjiming
2026-08-19 17:26:49 +08:00
parent c3e96ae61b
commit 78680a5c5c
18 changed files with 865 additions and 538 deletions

View File

@@ -1,4 +1,4 @@
# 远光软件微调平台 - 前端Vue 3
# 远光智炼 - 前端Vue 3
> 由原 `web/` 静态多页面 HTML 项目改造而来。

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>远光软件微调平台</title>
<title>远光智炼</title>
</head>
<body>
<div id="app"></div>

View File

@@ -165,7 +165,7 @@ async function handleLogout() {
<!-- 平台 LOGO -->
<div class="sidebar-logo">
<img src="/logo.png" alt="Logo" class="sidebar-logo-img" />
<span class="logo-text">远光软件微调平台</span>
<span class="logo-text">远光智炼</span>
</div>
<!-- 导航 -->

View File

@@ -320,7 +320,7 @@ export const mockDatasetPreviews: Record<string, string> = {
'{"instruction":"请概括以下文本的核心观点","input":"人工智能正在提升企业的数据处理效率。","output":"人工智能能够帮助企业提升数据处理效率。"}',
'{"instruction":"将用户问题改写为更清晰的表达","input":"这个功能咋用?","output":"请说明该功能的具体使用步骤。"}',
'{"instruction":"判断文本情感倾向","input":"这次服务响应很及时,问题也解决了。","output":"正向"}',
'{"instruction":"提取文本中的关键实体","input":"远光软件于周一发布了新的模型管理平台。","output":["远光软件","周一","模型管理平台"]}',
'{"instruction":"提取文本中的关键实体","input":"远光智炼于周一发布了新的模型管理平台。","output":["远光智炼","周一","模型管理平台"]}',
'{"instruction":"生成简短回复","input":"您好,我想了解数据集上传支持哪些格式?","output":"您好,目前支持 JSON、JSONL、CSV、TXT 等常见格式。"}',
'{"instruction":"对以下内容进行分类","input":"如何重置账户密码?","output":"账户与安全"}',
'{"instruction":"找出句子中的时间信息","input":"系统将在 7 月 15 日凌晨 2 点进行升级。","output":"7 月 15 日凌晨 2 点"}',

View File

@@ -383,7 +383,7 @@ function requiredPermission(path: string, explicit?: unknown) {
router.beforeEach((to, _from, next) => {
if (!to.meta.public) routeLoading.value = true
const auth = useAuthStore()
document.title = to.meta.title ? `${to.meta.title} - 远光软件微调平台` : '远光软件微调平台'
document.title = to.meta.title ? `${to.meta.title} - 远光智炼` : '远光智炼'
if (to.meta.public) {
// 已登录访问登录页则跳转主页

View File

@@ -43,7 +43,7 @@ async function handleLogin() {
<section class="login-visual" aria-labelledby="platform-title">
<div class="login-visual-content">
<div class="login-visual-copy">
<h1 id="platform-title">远光软件微调平台</h1>
<h1 id="platform-title">远光智炼</h1>
<p>大模型微调评测与推理的一体化工作台</p>
</div>
@@ -58,7 +58,7 @@ async function handleLogin() {
</section>
<main class="login-panel">
<div class="brand-lockup" role="img" aria-label="远光软件">
<div class="brand-lockup" role="img" aria-label="远光智炼">
<span class="brand-logo-crop brand-logo-crop-mark" aria-hidden="true">
<img src="/logo.png" alt="" />
</span>
@@ -115,7 +115,7 @@ async function handleLogin() {
</el-form>
</div>
<footer>© 2026 远光软件</footer>
<footer>© 2026 远光智炼</footer>
</main>
</div>
</template>