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