diff --git a/project/qianxinan/AppPointsDetails/components/Detail.vue b/project/qianxinan/AppPointsDetails/components/Detail.vue index 464d269d..cd1ee774 100644 --- a/project/qianxinan/AppPointsDetails/components/Detail.vue +++ b/project/qianxinan/AppPointsDetails/components/Detail.vue @@ -101,7 +101,7 @@ export default { } }, created() { - this.$dict.load('srScoreType', 'srScoreCalcType').then(() => { + this.$dict.load('srScoreType', 'srScoreCalcType', 'srType').then(() => { this.getDetail() let nowTime = dayjs().format('YYYY-MM-DD') this.startPla = dayjs().subtract(29, 'day').format('YYYY-MM-DD') @@ -135,8 +135,8 @@ export default { } }).then(res => { if (res?.data) { - this.xData = res.data.map(x => x.eventName) - this.yData = res.data.map(y => y.totalIntegral) + this.xData = res.data.map(x => this.dict.getLabel('srType', x.type)) + this.yData = res.data.map(y => y.score) this.getColEcherts(this.xData, this.yData) } }) diff --git a/project/qianxinan/AppPointsDetails/components/List.vue b/project/qianxinan/AppPointsDetails/components/List.vue index c35c1b93..a015cee4 100644 --- a/project/qianxinan/AppPointsDetails/components/List.vue +++ b/project/qianxinan/AppPointsDetails/components/List.vue @@ -13,7 +13,7 @@ @success="getTableData()"> 导入 --> -