feat: 调整流程节点

This commit is contained in:
zhanghao 2026-07-17 10:59:41 +08:00
parent 9ff9194e41
commit 5d8974672e
4 changed files with 42 additions and 9 deletions

View File

@ -7,7 +7,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="" prop="text"> <el-form-item label="" prop="text">
<el-input type="textarea" :rows="2" v-model="generalizationForm.text" placeholder="请输入待合成文本" /> <el-input type="textarea" :rows="3" v-model="generalizationForm.text" placeholder="请输入待合成文本" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -160,6 +160,15 @@ const languageOption = ref([
}, { }, {
label: '四川话', label: '四川话',
value: '四川话' value: '四川话'
}, {
label: '韩语',
value: '韩语'
}, {
label: '日语',
value: '日语'
}, {
label: '俄语',
value: '俄语'
} }
]) ])
@ -197,7 +206,7 @@ const handleClose = (tag) => {
const form = ref({ const form = ref({
tags: [], tags: [],
model: '科大讯飞', model: '科大讯飞',
voice: 'x4_xiaoyan', voice: '',
speed: 50, speed: 50,
volume: 50, volume: 50,
pitch: 50, pitch: 50,
@ -236,11 +245,35 @@ const dialectOption = ref([
const voiceOption = ref([ const voiceOption = ref([
{ {
label: '女声', label: '普通话-男声',
value: 'x4_xiaoyan'
}, {
label: '男声',
value: 'x4_lingbosong' value: 'x4_lingbosong'
}, {
label: '普通话-女声',
value: 'x4_yezi'
}, {
label: '英语-女声',
value: 'x4_EnUs_Laura_education'
}, {
label: '英语-男声',
value: 'x4_enus_ryan_assist'
}, {
label: '粤语-女声',
value: 'x3_xiaoyue'
}, {
label: '东北话-女声',
value: 'x4_xiaobei'
}, {
label: '四川话-女声',
value: 'x3_yezi_sc'
}, {
label: '韩语-女声',
value: 'x2_KoKr_Miya'
}, {
label: '日语-女声',
value: 'x2_JaJp_ZhongCun'
}, {
label: '俄语-女声',
value: 'x2_RuRu_Keshu'
} }
]) ])

View File

@ -68,7 +68,7 @@ const getDashboard = async () => {
stats.value[1].trend = res.data.todayTasksGrowth stats.value[1].trend = res.data.todayTasksGrowth
stats.value[2].value = res.data.totalLanguages stats.value[2].value = res.data.totalLanguages
stats.value[3].value = res.data.totalVoices stats.value[3].value = res.data.totalVoices
stats.value[4].value = res.data.avgDuration stats.value[4].value = res.data.avgDuration.toFixed(2)
stats.value[4].trend = res.data.avgDurationGrowth stats.value[4].trend = res.data.avgDurationGrowth
} }
} }

View File

@ -231,7 +231,7 @@ const robotFormAction = ref()
const submitRobotForm = () => { const submitRobotForm = () => {
if (robotFormAction.value === 'AGV_MOVE_TO_POINT') { if (robotFormAction.value === 'AGV_MOVE_TO_POINT') {
} else if (robotFormAction.value === 'ALM') { } else if (robotFormAction.value === 'ARM_MOVE_TO_POINT') {
robotFormRef.value.validate(async (valid) => { robotFormRef.value.validate(async (valid) => {
if (valid) { if (valid) {
try { try {

View File

@ -383,7 +383,7 @@ function handler(params) {
name: "机械臂", name: "机械臂",
type: "serviceNode", type: "serviceNode",
desc: "控制机器人的手臂", desc: "控制机器人的手臂",
action: 'ALM', action: 'ARM_MOVE_TO_POINT',
nodeType: 'EDGE', nodeType: 'EDGE',
nodeParams: [ nodeParams: [
{ name: "deviceId", type: "input", input: "", disabled: true }, { name: "deviceId", type: "input", input: "", disabled: true },