From 48f7d9e4b5483ae42c5fc2aafbaad0e21df7b36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Fri, 24 Nov 2023 14:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=AF=BC=E5=87=BA=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/http.js | 93 + src/router/page/index.js | 10 + .../Statistics/Insightintothedetails.vue | 30 +- src/views/Statistics/ai/createReport.vue | 909 +++++ .../Statistics/ai/intelligentReporting.vue | 702 ++++ src/views/Statistics/ai/reportDetail.vue | 2987 +++++++++++++++++ 6 files changed, 4720 insertions(+), 11 deletions(-) create mode 100644 src/views/Statistics/ai/createReport.vue create mode 100644 src/views/Statistics/ai/intelligentReporting.vue create mode 100644 src/views/Statistics/ai/reportDetail.vue diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 688219b..38bff40 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -1654,3 +1654,96 @@ export function customerFindExplain(params) { } + +// 添加智能报告 +export function addMonthlyDataopenApiData(data) { + return request({ + url: 'autoSR/openApiData/addMonthlyData', + method: 'post', + data + }) +} + +// 智能报告列表 +export function monthlyDataFindByPageopenApiData(params) { + return request({ + url: 'autoSR/openApiData/findByPage', + method: 'get', + params + }) +} + + +// 删除记录 +export function monthlyDeleteDataByIdopenApiData(params) { + return request({ + url: 'autoSR/openApiData/deleteDataById', + method: 'get', + params + }) +} + +// 删除智能报告规则 +export function monthlyDeleteByRuleIdopenApiData(params) { + return request({ + url: 'autoSR/openApiData/deleteByRuleId', + method: 'get', + params + }) +} + +// 智能报告公司下的项目 +export function monthlyGetProjectListopenApiData(params) { + return request({ + url: 'autoSR/openApiData/getProjectList', + method: 'get', + params + }) +} + +// 智能报告详情 +export function monthlyFindRuleByIdopenApiData(params) { + return request({ + url: 'autoSR/openApiData/findRuleById', + method: 'get', + params + }) +} + +// 添加智能报告 +export function monthlyAddMonthlyRuleopenApiData(data) { + return request({ + url: 'autoSR/openApiData/addMonthlyRule', + method: 'post', + data + }) +} + +// 获取项目列表 (智能报告) +export function monthlygetOrgCodeListopenApiData(params) { + return request({ + url: 'autoSR/monthly/getOrgCodeList', + method: 'get', + params + }) +} + + +// 智能报告详情 +export function monthlyFindDataByIdopenApiData(params) { + return request({ + url: 'autoSR/openApiData/findDataById', + method: 'get', + params + }) +} + +// 上传 +export function uploadFileOpenApiData(params) { + return request({ + url: 'autoSR/openApiData/uploadFile', + method: 'get', + params + }) +} + diff --git a/src/router/page/index.js b/src/router/page/index.js index d3ee723..d1fb6ab 100644 --- a/src/router/page/index.js +++ b/src/router/page/index.js @@ -66,6 +66,16 @@ export default [ name: '报告详情', component: () => import(/* webpackChunkName: "views" */"@/views/Statistics/reportDetail") }, + { + path: '/Statistics/ai/createReport', + name: '创建AI报告', + component: () => import(/* webpackChunkName: "views" */"@/views/Statistics/ai/createReport") + }, + { + path: '/Statistics/ai/reportDetail', + name: 'AI报告详情', + component: () => import(/* webpackChunkName: "views" */"@/views/Statistics/ai/reportDetail") + }, ] }, diff --git a/src/views/Statistics/Insightintothedetails.vue b/src/views/Statistics/Insightintothedetails.vue index d5aa16a..ee904ef 100644 --- a/src/views/Statistics/Insightintothedetails.vue +++ b/src/views/Statistics/Insightintothedetails.vue @@ -87,7 +87,7 @@ > - + +
+
+
+ 选择公司: + + + + +
+ +
+ 模板名称: + +
+
+ + + + + +
+
+
+ +
+
设置角色背景
+ 点击上传 +
+
+
+
+ +
+
+
+ +
+
问题或请求
+ 点击上传 +
+
+
+
+ +
+
+
+ +
+
期望的回应
+ 点击上传 +
+
+
+
+ 保存 + +
+ + + + + \ No newline at end of file diff --git a/src/views/Statistics/ai/intelligentReporting.vue b/src/views/Statistics/ai/intelligentReporting.vue new file mode 100644 index 0000000..73da91c --- /dev/null +++ b/src/views/Statistics/ai/intelligentReporting.vue @@ -0,0 +1,702 @@ + + + + \ No newline at end of file diff --git a/src/views/Statistics/ai/reportDetail.vue b/src/views/Statistics/ai/reportDetail.vue new file mode 100644 index 0000000..3844e2b --- /dev/null +++ b/src/views/Statistics/ai/reportDetail.vue @@ -0,0 +1,2987 @@ + + + + + + \ No newline at end of file