diff --git a/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue b/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue index dfb2fc70..5fce1e71 100644 --- a/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue +++ b/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue @@ -15,15 +15,15 @@ export default { detail: {}, tableData: [], sta: { - a: "接入群数量", - b: "群消息调用总计", - c: "昨日群调用", - d: "昨日请求人数" + accessGroupCount: "接入群数量", + aiCallCount: "群消息调用总计", + yesterdayCallCount: "昨日群调用", + yesterdayCallMember: "昨日请求人数" } } }, computed: { - columns: v => [ + columns: () => [ {label: "群ID", prop: "1", width: 160}, {label: "时间", prop: "1", width: 160}, {label: "请求文本", prop: "1"}, @@ -32,11 +32,11 @@ export default { methods: { getDetail() { const {id} = this.$route.query - this.instance.post("", null, { + this.instance.post("/api/appcorp2/list", null, { params: {id} }).then(res => { if (res?.data) { - this.detail = res.data + this.detail = res.data.records?.[0] || {} } }) } @@ -55,9 +55,9 @@ export default {
- - - + {{detail.areaName}} + {{detail.areaId}} + {{detail.abAppid}}