Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
digitalPerson-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
digitalPerson
digitalPerson-fe
Commits
eec5ddc5
Commit
eec5ddc5
authored
Sep 29, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
chore: 数字人对话剔除3D数字人、发布配置更新最新配置 See merge request
!4
parents
3b28cc57
4de9d616
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
digital-human.vue
...iews/dialogue-detail/components/digital/digital-human.vue
+2
-2
header-bar.vue
src/views/dialogue-detail/layout/header-bar.vue
+9
-5
card-navigator.vue
src/views/workbench/components/card-navigator.vue
+4
-0
No files found.
src/views/dialogue-detail/components/digital/digital-human.vue
View file @
eec5ddc5
...
...
@@ -67,7 +67,7 @@ function handleClickAll(imageType: ImageType) {
<
template
>
<NScrollbar
class=
"h-side-bar-content! px-4"
>
<div
v-show=
"!showAll"
>
<div
class=
"pb-4"
>
<
!--
<
div
class=
"pb-4"
>
<div
class=
"flex items-center justify-between pb-3 leading-8"
>
<span>
3D數字人
</span>
<span
class=
"text-gray cursor-pointer text-xs"
@
click=
"handleClickAll(ImageType.THREE_D)"
>
全部
</span>
...
...
@@ -80,7 +80,7 @@ function handleClickAll(imageType: ImageType) {
@
click=
"handleClickDigitalImage"
/>
</div>
</div>
</div>
-->
<div
class=
"pb-4"
>
<div
class=
"flex items-center justify-between pb-3 leading-8"
>
...
...
src/views/dialogue-detail/layout/header-bar.vue
View file @
eec5ddc5
...
...
@@ -120,11 +120,15 @@ async function handleSaveDigitalHumanDialogueConfig() {
}
async
function
handlePublishDigitalHumanDialogue
()
{
const
res
=
await
fetchPublishDigitalHumanDialogue
(
currentConfigId
.
value
)
if
(
res
.
code
===
0
)
{
isShowPublishDialogueModal
.
value
=
true
window
.
$message
.
success
(
'發佈成功'
)
const
saveConfigResult
=
await
fetchSaveDigitalHumanDialogueConfig
(
digitalHumanDialogueConfig
.
value
)
if
(
saveConfigResult
.
code
===
0
)
{
const
res
=
await
fetchPublishDigitalHumanDialogue
(
currentConfigId
.
value
)
if
(
res
.
code
===
0
)
{
isUnSavedDigitalHumanDialogueConfig
.
value
=
false
isShowPublishDialogueModal
.
value
=
true
window
.
$message
.
success
(
'發佈成功'
)
}
}
}
</
script
>
...
...
src/views/workbench/components/card-navigator.vue
View file @
eec5ddc5
...
...
@@ -31,6 +31,10 @@ async function handleCreateDigitalHumanDialogue(digitalHumanDialogueForm: Digita
const
payload
:
DigitalHumanDialogueConfig
=
JSON
.
parse
(
JSON
.
stringify
(
digitalHumanDialogueStore
.
$state
))
payload
.
baseInfo
.
title
=
digitalHumanDialogueForm
.
title
payload
.
baseInfo
.
pageLayout
=
digitalHumanDialogueForm
.
pageLayout
payload
.
backgroundInfo
.
backgroundUrl
=
digitalHumanDialogueForm
.
pageLayout
===
'vertical'
?
'https://digitalpeople-sit.gz.bcebos.com/share/backgroud/%E5%8C%BB%E5%AD%A61.jpg'
:
'https://digitalpeople-sit.gz.bcebos.com/share/backgroud/%E9%80%9A%E7%94%A8.jpg'
const
res
=
await
fetchSaveDigitalHumanDialogueConfig
<
DigitalHumanDialogueConfig
>
(
payload
)
...
...
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