diff --git a/src/assets/js/utils/utilOptions.js b/src/assets/js/utils/utilOptions.js index 245ad22..44dd25d 100644 --- a/src/assets/js/utils/utilOptions.js +++ b/src/assets/js/utils/utilOptions.js @@ -64,3 +64,42 @@ export const agentType = [ desc: '面向单轮自动化任务的编排工作流' } ] + +export const timeOptions = [ + { + label: '今天', + value: '1' + }, + { + label: '过去7天', + value: '2' + }, + { + label: '过去4周', + value: '3' + }, + { + label: '过去3月', + value: '4' + }, + { + label: '过去12月', + value: '5' + }, + { + label: '本月至今', + value: '6' + }, + { + label: '本季度至今', + value: '7' + }, + { + label: '本年至今', + value: '8' + }, + { + label: '所有时间', + value: '9' + } +] diff --git a/src/views/intelligent-agent/children/Logs&overview/components/API.js b/src/views/intelligent-agent/children/Logs&overview/components/API.js index 00b9b3b..cc17854 100644 --- a/src/views/intelligent-agent/children/Logs&overview/components/API.js +++ b/src/views/intelligent-agent/children/Logs&overview/components/API.js @@ -9,3 +9,11 @@ export function echartsAllData(data) { noLoading: true }) } +export function conversationLog(data) { + return request({ + url: getUrl(`/intelligent/ex/conversation/page`), + method: 'post', + data + // noLoading: true + }) +} diff --git a/src/views/intelligent-agent/children/Logs&overview/components/logs.vue b/src/views/intelligent-agent/children/Logs&overview/components/logs.vue index d92daf8..07f127b 100644 --- a/src/views/intelligent-agent/children/Logs&overview/components/logs.vue +++ b/src/views/intelligent-agent/children/Logs&overview/components/logs.vue @@ -2,17 +2,24 @@