diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 38bff40..a0ebbc1 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -1747,3 +1747,12 @@ export function uploadFileOpenApiData(params) { }) } + +// 获取项目转写类型 +export function findDataByRuleIdopenApiData(params) { + return request({ + url: 'autoSR/openApiData/findDataByRuleId', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/views/Statistics/ai/intelligentReporting.vue b/src/views/Statistics/ai/intelligentReporting.vue index a0d3fb6..e42e443 100644 --- a/src/views/Statistics/ai/intelligentReporting.vue +++ b/src/views/Statistics/ai/intelligentReporting.vue @@ -241,7 +241,7 @@ export default { methods: { // 生成记录 findDataByRuleId() { - this.$api.http.findDataByRuleId(this.creatHistory).then((res) => { + this.$api.http.findDataByRuleIdopenApiData(this.creatHistory).then((res) => { this.gridData = res.data.records; this.roleHistory = true; // 获取到数据后展示列表 this.creatHistory.total = res.data.total; diff --git a/src/views/Statistics/ai/reportDetail.vue b/src/views/Statistics/ai/reportDetail.vue index 3844e2b..6c1c583 100644 --- a/src/views/Statistics/ai/reportDetail.vue +++ b/src/views/Statistics/ai/reportDetail.vue @@ -1,1312 +1,20 @@ @@ -1530,8 +238,8 @@ export default { let bgColor = $(this).attr("data-color"); new Progressbar({ id: childs.echartsId + "Progress" + index, - width: '300px', - height: '300px', + width: "300px", + height: "300px", radius: 90, text: unit, value: value, @@ -1572,8 +280,8 @@ export default { let bgColor = $(this).attr("data-color"); new Progressbar({ id: childs.echartsId + "Progress" + index, - width: '300px', - height: '300px', + width: "300px", + height: "300px", radius: 90, text: unit, value: value, @@ -2290,7 +998,7 @@ export default { text: " {a|}", x: "center", y: "center", - subtext: '糟糕!数据不见了', + subtext: "糟糕!数据不见了", itemGap: -20, textStyle: { rich: { @@ -2363,7 +1071,7 @@ export default { return "提升"; } if ((str = "明显下跌")) { - return "下跌" + return "下跌"; } }, }, @@ -2373,6 +1081,7 @@ export default {