From 1ccc18db7ab445d0591b55ed19ab3f80b9c0c1f8 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 25 十二月 2023 18:00:03 +0800 Subject: [PATCH] 统计分析删除功能添加具体类别和名称 --- Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue | 2 +- Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue | 2 +- Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue | 2 +- Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue index 3e5c2de..bf10bb2 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue @@ -123,7 +123,7 @@ methods: { delHandler() { deleteChartId({ btmname: this.btmname, chartId: '2' }).then(res => { - this.$message.success('鍒犻櫎鎴愬姛') + this.$message.success(this.chartName+'鏌辩姸鍥撅紝鍒犻櫎鎴愬姛锛�') this.$emit('refresh'); }).catch(error => { this.$message.error(error) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue index 27edeaf..083b0ac 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue @@ -96,7 +96,7 @@ methods:{ delHandler(){ deleteChartId({btmname:this.btmname,chartId:'0'}).then(res=>{ - this.$message.success('鍒犻櫎鎴愬姛') + this.$message.success(this.chartName+'鎶樼嚎鍥撅紝鍒犻櫎鎴愬姛锛�') this.$emit('refresh'); }).catch(error=>{ this.$message.error(error) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue index acaa4ad..981a190 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue @@ -120,7 +120,7 @@ methods:{ delHandler(){ deleteChartId({btmname:this.btmname,chartId:'3'}).then(res=>{ - this.$message.success('鍒犻櫎鎴愬姛') + this.$message.success(this.chartName+'鍫嗗彔鎶樼嚎鍥撅紝鍒犻櫎鎴愬姛锛�') this.$emit('refresh'); }).catch(error=>{ this.$message.error(error) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue index a308467..7bf5749 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue @@ -106,7 +106,7 @@ methods:{ delHandler(){ deleteChartId({btmname:this.btmname,chartId:'1'}).then(res=>{ - this.$message.success('鍒犻櫎鎴愬姛') + this.$message.success(this.chartName+'楗肩姸鍥撅紝鍒犻櫎鎴愬姛锛�') this.$emit('refresh'); }).catch(error=>{ this.$message.error(error) -- Gitblit v1.9.3