From 61ba18b03fcd3b1fefad4245db5eaaf27582552c Mon Sep 17 00:00:00 2001 From: WUSIJIAN <13825895+wsj0228@user.noreply.gitee.com> Date: Tue, 3 Feb 2026 15:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83API=E6=9C=8D=E5=8A=A1=E5=9C=B0=E5=9D=80,=E5=B0=86?= =?UTF-8?q?=E4=B8=BB=E6=9C=8D=E5=8A=A1=E5=92=8C=E6=96=B0=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=9A=84IP=E5=9C=B0=E5=9D=80=E4=BB=8E?= =?UTF-8?q?=E5=86=85=E7=BD=91=E5=9C=B0=E5=9D=80=E6=94=B9=E4=B8=BA=E5=85=AC?= =?UTF-8?q?=E7=BD=91=E5=9C=B0=E5=9D=80116.204.74.41,=E5=9C=A8=E9=9F=B3?= =?UTF-8?q?=E9=A2=91=E8=B5=84=E4=BA=A7=E7=AE=A1=E7=90=86=E4=B8=AD=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=96=87=E6=9C=AC=E8=BD=AC=E8=AF=AD=E9=9F=B3=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8C=89=E9=92=AE=E5=92=8C=E5=AF=B9=E8=AF=9D=E6=A1=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6,=E5=9C=A8=E7=9F=A5=E8=AF=86=E5=BA=93?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86=E4=B8=AD=E5=B0=86=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E6=94=B9=E4=B8=BA=E5=8F=AF=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=94=AF=E6=8C=81=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .../audioAssets/component/ttsDialog.vue | 358 +++++++++++++++ src/views/digitalHuman/audioAssets/index.vue | 33 ++ src/views/knowledge/document/detail.vue | 425 ++++++++++++++++++ src/views/knowledge/index.vue | 31 +- 5 files changed, 846 insertions(+), 5 deletions(-) create mode 100644 src/views/digitalHuman/audioAssets/component/ttsDialog.vue create mode 100644 src/views/knowledge/document/detail.vue diff --git a/.env.development b/.env.development index be8318f..b2d14e5 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ ENV = 'development' # 主服务地址(端口8808) # 用途: 系统管理、用户认证、权限控制、模块开通等原有功能 -VITE_API_URL = 'http://192.168.3.200:8808/' +VITE_API_URL = 'http://116.204.74.41:8808/' # 新功能服务地址(端口8000) # 用途: 资产管理、分类、SKU、订单等新业务模块 -VITE_NEW_API_URL = 'http://192.168.200.8000/' +VITE_NEW_API_URL = 'http://116.204.74.41.8000/' diff --git a/src/views/digitalHuman/audioAssets/component/ttsDialog.vue b/src/views/digitalHuman/audioAssets/component/ttsDialog.vue new file mode 100644 index 0000000..433fa45 --- /dev/null +++ b/src/views/digitalHuman/audioAssets/component/ttsDialog.vue @@ -0,0 +1,358 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MP3 + WAV + PCM + + + + + + + + 预览 + 已生成 + + + + + + + + + + {{ formatDuration(previewDuration) }} + + + 文件大小: {{ formatFileSize(previewFileSize) }} + 时长: {{ formatDuration(previewDuration) }} + 采样率: {{ form.sampleRate }}Hz + + + + + + + + + + + + diff --git a/src/views/digitalHuman/audioAssets/index.vue b/src/views/digitalHuman/audioAssets/index.vue index f373694..16c7f1d 100644 --- a/src/views/digitalHuman/audioAssets/index.vue +++ b/src/views/digitalHuman/audioAssets/index.vue @@ -32,6 +32,10 @@ 上传音频 + + + 文本转语音 + @@ -114,12 +118,16 @@ /> + + + + + + + diff --git a/src/views/knowledge/index.vue b/src/views/knowledge/index.vue index 629ee1b..fb74ff2 100644 --- a/src/views/knowledge/index.vue +++ b/src/views/knowledge/index.vue @@ -152,11 +152,11 @@ - + - {{ scope.row.name }} + {{ scope.row.name }} @@ -334,9 +334,12 @@ export default {