Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai_fundub
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
ai_fundub
Commits
5891dc93
Commit
5891dc93
authored
Oct 01, 2026
by
Jeff nan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
103bd964
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
index.html
form/index.html
+1
-1
index.js
form/index.js
+10
-3
No files found.
form/index.html
View file @
5891dc93
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
</div>
</div>
<div>
<div>
<el-alert
type=
"info"
:closable=
"false"
show-icon
title=
"点击以下链接可下载或预览对应资源"
></el-alert>
<el-alert
type=
"info"
:closable=
"false"
show-icon
title=
"点击以下链接可下载或预览对应资源"
></el-alert>
<el-table
:data=
"
Object.keys(vocalResult).map(k => ({ key: k, value: vocalResult[k] })
)"
style=
"width: 100%; margin-top: 12px;"
size=
"mini"
:border=
"true"
>
<el-table
:data=
"
getVocalResultRows(
)"
style=
"width: 100%; margin-top: 12px;"
size=
"mini"
:border=
"true"
>
<el-table-column
label=
"生成资源"
width=
"260"
>
<el-table-column
label=
"生成资源"
width=
"260"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{ vocalResourceLabel(scope.row.key) }}
{{ vocalResourceLabel(scope.row.key) }}
...
...
form/index.js
View file @
5891dc93
...
@@ -213,11 +213,18 @@ function initVueApp(savedData) {
...
@@ -213,11 +213,18 @@ function initVueApp(savedData) {
},
},
// 字幕结果表行(隐藏用量相关字段)
// 字幕结果表行(隐藏用量相关字段)
getSubtitlesResultRows
()
{
getSubtitlesResultRows
()
{
return
this
.
getResultRows
(
this
.
subtitlesResult
);
},
// 去人声结果表行(同样隐藏用量相关字段)
getVocalResultRows
()
{
return
this
.
getResultRows
(
this
.
vocalResult
);
},
getResultRows
(
result
)
{
const
hideKeys
=
{
ai_amount
:
1
,
ai_balance
:
1
,
token_usage
:
1
};
const
hideKeys
=
{
ai_amount
:
1
,
ai_balance
:
1
,
token_usage
:
1
};
const
result
=
this
.
subtitlesR
esult
||
{};
const
data
=
r
esult
||
{};
return
Object
.
keys
(
result
)
return
Object
.
keys
(
data
)
.
filter
((
k
)
=>
!
hideKeys
[
k
])
.
filter
((
k
)
=>
!
hideKeys
[
k
])
.
map
((
k
)
=>
({
key
:
k
,
value
:
result
[
k
]
}));
.
map
((
k
)
=>
({
key
:
k
,
value
:
data
[
k
]
}));
},
},
async
getAuthKey
()
{
async
getAuthKey
()
{
const
resp
=
await
callServerMethod
(
'
getAuthKey
'
);
const
resp
=
await
callServerMethod
(
'
getAuthKey
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment