Commit c6dcd07e by Lin

feat(reception): 添加 AI 代理功能和优化接待中心组件

- 新增 getAiagent API 函数以获取智能体信息
- 更新 reception-output-types.uts 文件,定义 AI 代理相关类型
- 修改 receptionDetail 组件,整合 AI 分析功能并优化滚动视图
- 更新 CustomEmpty 组件的空状态展示,提升用户体验
1 parent 3823a5fd
...@@ -105,6 +105,21 @@ export async function getShortUrl(params: UTSJSONObject): Promise<any> { ...@@ -105,6 +105,21 @@ export async function getShortUrl(params: UTSJSONObject): Promise<any> {
} }
return await http.fetch("dj.api.car.boutique.inspection.batch.file.short.url", data, true, "dj") return await http.fetch("dj.api.car.boutique.inspection.batch.file.short.url", data, true, "dj")
} }
export async function getAiagent(params: UTSJSONObject): Promise<any> {
const data: UTSJSONObject = {
projectName: 'pad',
...params
}
return await http.fetch("dj.pad.api.aiagent.get.special.agent", data, true, "dj")
}
// /**获取智能体 */
// getAiagent (data = {}) {
// return http.post({
// method: 'dj.pad.api.aiagent.get.special.agent',
// projectName: 'pad',
// ...data
// })
// }
// /** // /**
// * 查询对话内容 // * 查询对话内容
// */ // */
......
...@@ -19,5 +19,34 @@ export type OutputSummary = { ...@@ -19,5 +19,34 @@ export type OutputSummary = {
ringComparePercent: number ringComparePercent: number
} }
/** 智能体信息条目:getAiagent 业务字段 */
export type AiAgentInfo = {
id?: number | null
entryName?: string | null
entryLogoUrl?: string | null
agentCode?: string | null
agentName?: string | null
agentUrl?: string | null
presuppositionProblem?: string | null
preEntryName?: string | null
accountPhone?: string | null
ownerPost?: string | null
domainName?: string | null
questionConfigList?: UTSJSONObject[] | null
ownerShipType?: number | null
tipShowFlag?: number | null
taskStatus?: string | number | null
checkDate?: string | null
sopTaskDetailInfoDTO?: UTSJSONObject | null
}
/** 智能体接口常见包裹结构 */
export type AiAgentResponseBody = {
code?: string | number | null
errId?: any | null
message?: string | null
data?: any | null
}
// NOTE: 该文件原先包含 CarBrandSelect(品牌-车型两步选择组件)相关类型。 // NOTE: 该文件原先包含 CarBrandSelect(品牌-车型两步选择组件)相关类型。
// 本次移除该组件后,这些类型不再被其它代码引用,因此删除以避免维护负担。 // 本次移除该组件后,这些类型不再被其它代码引用,因此删除以避免维护负担。
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!