chenrui  1 year ago
parent
commit
ee27deaff4

+ 1 - 1
src/components/generateEcharts/components/echart/commonChartsLine.js

@@ -14,7 +14,7 @@ export default {
           text: ''
         },
         legend: {
-          data: ['Punch Card'],
+          data: [],
           left: 'right'
         },
         tooltip: {

+ 3 - 1
src/views/monitoringlarge/components/echart/statisticsHeader.vue

@@ -297,7 +297,9 @@ export default {
     items: {
       handler (val) {
         val && (this.formItems = val);
-        this.formData.dateTime = [new Date(), new Date()]
+        this.formData.dateTime = [Format("yyyy-MM-dd", new Date()),Format("yyyy-MM-dd", new Date())]
+        this.formData[val[0].prop] = val[0].placeholder
+        // this.formData.aircompany = val
       },
       deep: true,
       immediate: true,