Browse Source

质量月报 - 趋势分析图表前端下载

wangggziwen 1 year ago
parent
commit
7b3f6edf3e
1 changed files with 32 additions and 1 deletions
  1. 32 1
      ui/src/views/production/quality/index.vue

+ 32 - 1
ui/src/views/production/quality/index.vue

@@ -2409,6 +2409,7 @@ export default {
     });
   },
   methods: {
+
     /** 销毁趋势图 */
     disposeChart() {
       if(this.chart != null) {
@@ -3328,6 +3329,11 @@ export default {
                 bottom: '10%',
                 containLabel: true
               },
+              toolbox: {
+                feature: {
+                  saveAsImage: {}
+                }
+              },
               xAxis: {
                 type: 'category',
                 boundaryGap: false,
@@ -3409,6 +3415,11 @@ export default {
                 bottom: '10%',
                 containLabel: true
               },
+              toolbox: {
+                feature: {
+                  saveAsImage: {}
+                }
+              },
               xAxis: {
                 type: 'category',
                 boundaryGap: false,
@@ -3502,6 +3513,11 @@ export default {
                 bottom: '10%',
                 containLabel: true
               },
+              toolbox: {
+                feature: {
+                  saveAsImage: {}
+                }
+              },
               xAxis: {
                 type: 'category',
                 boundaryGap: false,
@@ -3564,6 +3580,11 @@ export default {
                 bottom: '10%',
                 containLabel: true
               },
+              toolbox: {
+                feature: {
+                  saveAsImage: {}
+                }
+              },
               xAxis: {
                 type: 'category',
                 boundaryGap: false,
@@ -3639,6 +3660,11 @@ export default {
                 bottom: '10%',
                 containLabel: true
               },
+              toolbox: {
+                feature: {
+                  saveAsImage: {}
+                }
+              },
               xAxis: {
                 type: 'category',
                 boundaryGap: false,
@@ -3741,6 +3767,11 @@ export default {
                 bottom: '10%',
                 containLabel: true
               },
+              toolbox: {
+                feature: {
+                  saveAsImage: {}
+                }
+              },
               xAxis: {
                 type: 'category',
                 boundaryGap: false,
@@ -4367,7 +4398,7 @@ export default {
       this.analysis.open = true;
       this.analysis.title = "趋势分析";
       this.setAnalysisDefaultSampleDate();
-      this.analysisValue = "2";
+      this.analysisValue = "1";
       this.handleAnalysisQuery();
     },
     /** 导出按钮操作 */