Browse Source

更新饼图和玫瑰图的接口数据

1901010343 4 years ago
parent
commit
addff6f2ba

+ 0 - 2
echarts-screen/src/components/PieCon.vue

@@ -2,8 +2,6 @@
     <div class="wrap-container sn-container">
     <div class="wrap-container sn-container">
         <div class="sn-content">
         <div class="sn-content">
             <div class="sn-title">饼图
             <div class="sn-title">饼图
-                <span>{{asymptomaticRelative}}</span></div>
-
             <div class="sn-body">
             <div class="sn-body">
                 <div class="wrap-container">
                 <div class="wrap-container">
                     <div class="chart" id="chart_left2"></div>
                     <div class="chart" id="chart_left2"></div>

+ 7 - 1
echarts-screen/src/components/RoseCon.vue

@@ -19,7 +19,12 @@ export default {
     return {
     return {
       option: null,
       option: null,
       HKcur: '',
       HKcur: '',
-      TWcur: ''
+      TWcur: '',
+      SHcur: '',
+      GDcur: '',
+      SCcur: '',
+      FJcur: '',
+      NMGcur: ''
     }
     }
   },
   },
   mounted() {
   mounted() {
@@ -38,6 +43,7 @@ export default {
         let data = madeData[0]
         let data = madeData[0]
         this.HKcur = data.caseList[4].curConfirm
         this.HKcur = data.caseList[4].curConfirm
         this.TWcur = data.caseList[3].curConfirm
         this.TWcur = data.caseList[3].curConfirm
+        this.SHcur = data.caseList[21].curConfirm
         console.log(this.caselist)
         console.log(this.caselist)
         this.overseasInputRelative = data.summaryDataIn.overseasInputRelative
         this.overseasInputRelative = data.summaryDataIn.overseasInputRelative
       }).catch(err => {
       }).catch(err => {