更新数字人创作页面功能

- 修改 `ExecutionFlowItem` 接口,将 `flowId` 字段重命名为 `Id`,以提高一致性。
- 新增 `getExecutionDetail` 函数,用于获取执行详情,增强工作流管理能力。
- 更新树节点处理逻辑,使用 `workflowId` 替代 `flowId`,确保数据一致性。
- 优化模型配置页面,动态显示访问类型,提升用户体验。
This commit is contained in:
2026-05-12 14:31:37 +08:00
parent 72af38ea00
commit f2266317e2
3 changed files with 18 additions and 8 deletions

View File

@@ -38,7 +38,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
<el-col v-if="!props.isSuperAdmin" :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
<el-form-item label="访问类型" prop="isPrivate">
<el-radio-group v-model="state.ruleForm.isPrivate" @change="onIsPrivateChange">
<el-radio :label="0">本地模型</el-radio>
@@ -609,7 +609,7 @@ const openDialog = async (type: string, row?: Record<string, unknown>) => {
baseUrl: '',
httpMethod: 'POST',
headMsg: '',
isPrivate: 0,
isPrivate: props.isSuperAdmin ? 1 : 0,
apiKey: '',
enabled: 1,
isChatModel: 0,