diff --git a/f/web-kboss/src/api/model/model.js b/f/web-kboss/src/api/model/model.js
index ba45ad7..c6287ad 100644
--- a/f/web-kboss/src/api/model/model.js
+++ b/f/web-kboss/src/api/model/model.js
@@ -112,4 +112,13 @@ export const reqModelExperienceDeleteHistory = (params = {}) => {
method: 'get',
params
})
+}
+
+// token用量查询
+export const reqTokenUsage = (params = {}) => {
+ return request({
+ url: '/cntoai/model_usage_user_report.dspy',
+ method: 'post',
+ params
+ })
}
\ No newline at end of file
diff --git a/f/web-kboss/src/views/login/indexNew.vue b/f/web-kboss/src/views/login/indexNew.vue
index 4137ea6..92890a7 100644
--- a/f/web-kboss/src/views/login/indexNew.vue
+++ b/f/web-kboss/src/views/login/indexNew.vue
@@ -129,7 +129,7 @@
忘记密码?
没有账号?去注册
@@ -1018,8 +1018,7 @@ $dark_gray: #889aa4;
/* 统一表单项目样式 + 边距 */
::v-deep .el-form-item {
- margin-bottom: 15px !important;
- /* 给错误提示预留空间 */
+ margin-bottom: 30px !important;
}
/* 统一输入框外框 */
@@ -1103,7 +1102,7 @@ $dark_gray: #889aa4;
height: 42px;
line-height: 42px;
font-size: 16px;
- margin-top: 0 !important;
+ margin-top: 4px !important;
margin-bottom: 12px !important;
}
@@ -1117,10 +1116,14 @@ $dark_gray: #889aa4;
}
.forgot-password {
- margin-bottom: 12px;
+ display: inline-flex;
+ align-items: center;
+ height: 22px;
+ margin-bottom: 0;
color: #409eff;
cursor: pointer;
font-size: 14px;
+ line-height: 22px;
&:hover {
text-decoration: underline;
@@ -1128,8 +1131,12 @@ $dark_gray: #889aa4;
}
.go-register {
+ display: inline-flex;
+ align-items: center;
+ height: 22px;
font-size: 14px;
color: #333;
+ line-height: 22px;
.go-register-btn {
color: #409eff;
diff --git a/f/web-kboss/src/views/tokenUsage/index.vue b/f/web-kboss/src/views/tokenUsage/index.vue
index 0c9d73d..bf7ea06 100644
--- a/f/web-kboss/src/views/tokenUsage/index.vue
+++ b/f/web-kboss/src/views/tokenUsage/index.vue
@@ -7,7 +7,7 @@
-
Token用量
+ Token用量
查看模型调用 Token 消耗、调用次数和费用趋势。
@@ -53,6 +53,8 @@