zhuo
2025-04-14 9a5855cc0a16c3be7e27bcd337665a3a0b66e6d1
src/views/statisticalCharts/qualificationRateStatistics/index.vue
@@ -46,7 +46,7 @@
                   :legend="pieLegend"
                   :series="materialPieSeries"
                   :tooltip="pieTooltip"
                   style="height: 34vh;"></Echarts>
                   style="height: 36vh;"></Echarts>
        </div>
      </el-col>
      <el-col :span="8">
@@ -57,7 +57,7 @@
                   :legend="pieLegend"
                   :series="materialPieSeries1"
                   :tooltip="pieTooltip"
                   style="height: 34vh;"></Echarts>
                   style="height: 36vh;"></Echarts>
        </div>
      </el-col>
      <el-col :span="8">
@@ -72,7 +72,7 @@
                   :tooltip="tooltip"
                   :xAxis="xAxis1"
                   :yAxis="yAxis1"
                   style="height: 34vh;"></Echarts>
                   style="height: 36vh;"></Echarts>
        </div>
      </el-col>
    </el-row>
@@ -197,9 +197,9 @@
          type: 'shadow'
        }
      },
      lineColors: ['#409EFF'],
      barColors: ['#E6A23C'],
      barColors2: ['#adde8b'],
      lineColors: ['#91A0FC'],
      barColors: ['#86C1F4'],
      barColors2: ['#A4EEDA'],
      pieTooltip: {
        trigger: 'item'
      },
@@ -216,7 +216,6 @@
          right: '22%',
          avoidLabelOverlap: false,
          itemStyle: {
            borderRadius: 5,
            borderColor: '#fff',
            borderWidth: 2
          },
@@ -233,7 +232,7 @@
            },
          },
          labelLine: {
            length: 30,
            length: 20,
            length2: 40,
          },
          data: [
@@ -250,7 +249,6 @@
          right: '22%',
          avoidLabelOverlap: false,
          itemStyle: {
            borderRadius: 5,
            borderColor: '#fff',
            borderWidth: 2
          },
@@ -376,7 +374,6 @@
    // 获取本月检验类型数量
    getOrderType() {
      getOrderTypeCookie().then((res) => {
        if (res.code === 201) return
        this.materialPieSeries1[0].data[0].value = res.data.customer // 委托
        this.materialPieSeries1[0].data[1].value = res.data.enter // 进厂
        this.materialPieSeries1[0].data[2].value = res.data.quarterly // 季度