فهرست منبع

修改系统集成报告字段未刷新问题

haojianlong 5 سال پیش
والد
کامیت
0eedc0d854
1فایلهای تغییر یافته به همراه5 افزوده شده و 6 حذف شده
  1. 5 6
      src/components/point/report/integrateStatistics.vue

+ 5 - 6
src/components/point/report/integrateStatistics.vue

@@ -93,12 +93,11 @@ export default {
       //获取环形图数据
       getIntegrateStatisticsToLoop({}, res => {
         //设置点位-表号功能号数据
-        this.pointData = {
-          tabFuncNumSum: res.Content[0].Sum,
-          oneToM: res.Content[0].OtoM,
-          mToOne: res.Content[0].MtoO,
-          disConn: res.Content[0].Disconn
-        };
+        const tempData = res.Content[0];
+        this.pointData.tabFuncNumSum = tempData.Sum
+        this.pointData.oneToM = tempData.OtoM
+        this.pointData.mToOne = tempData.MtoO
+        this.pointData.disConn = tempData.Disconn
         //设置环形表数据
         this.loopChartData = [
           { value: res.Content[0].RelatedCount, name: "已对实例数量" },