当前位置: 首页 > news >正文

京东云 安装wordpress汉中seo培训

京东云 安装wordpress,汉中seo培训,可以做网站,班级微信公众号怎么创建可视化平台中,数据分别通过仪表盘、环状图、柱形图、曲线图、 滚动表格等多种形式展示数据变化。 可视化平台大致分为左、中、右三部分,左侧由能耗总览、耗能 占比、库存预警构成,中间由数据总览、销售计划完成率构成,右侧 由销售…

可视化平台中,数据分别通过仪表盘、环状图、柱形图、曲线图、 滚动表格等多种形式展示数据变化。 可视化平台大致分为左、中、右三部分,左侧由能耗总览、耗能 占比、库存预警构成,中间由数据总览、销售计划完成率构成,右侧 由销售统计、销售排名(TOP8)、生产统计构成。平台右上角动态 显示当前系统日期、星期、时间,格式。 在管理端进行添加数据后,数据可视化图表进行相应变化。 1.能耗总览仪表盘,统计分析耗电量、耗水量、碳排放量的总数, 以不同颜色的仪表盘形式展示耗电量、耗水量、碳排放量的总数,在 环状图中间区域显示各数据的数据值。 2.能耗占比环状图,请分析各能耗的消耗数占能耗总数的比例, 扇形图中包括两部分内容:能耗占比图中需显示办公耗电量、办公用 水量、生产用水量、生产耗电量的数量及占能耗总数的比例。环状图 应用不同颜色区分显示各个能耗的占比,中间区域需显示能耗总数。

下面展示左边代码,部分代码,一键三连私聊博主获得完整文件+后端。此大屏数据与后端联动。!!!!!!!!!

<template>

  <div>

    <div class="top">

      <!-- 能耗总览  仪表盘-->

      <dv-border-box-8

        style="width: 100%; height: 18.5em; margin-top: 19px; background: none"

      >

        <dv-decoration-7 style="width: 120px; height: 30px; margin-left: 40%"

          >能耗总览</dv-decoration-7

        >

        <div id="topinit" style="width: 33.3%; height: 250px"></div>

        <div id="topinit2" style="width: 33.3%; height: 250px"></div>

        <div id="topinit3" style="width: 33.3%; height: 250px"></div>

      </dv-border-box-8>

    </div>

    <div class="center">

      <!-- 能耗占比  环状图-->

      <dv-border-box-8 style="width: 100%; height: 18.5em; margin-top: 19px">

        <dv-decoration-7 style="width: 120px; height: 30px; margin-left: 40%"

          >能耗占比</dv-decoration-7

        >

        <div id="centerinit" style="width: 100%; height: 260px"></div>

      </dv-border-box-8>

    </div>

    <div class="footer">

      <!-- 库存预警  排序表-->

      <dv-border-box-8 style="width: 100%; height: 18.5em; margin-top: 19px">

        <dv-decoration-7 style="width: 120px; height: 30px; margin-left: 40%"

          >库存预警</dv-decoration-7

        >

        <dv-scroll-board

          :config="config"

          style="width: 99%; height: 260px; margin-left: 4px"

        />

      </dv-border-box-8>

    </div>

  </div>

</template>

<script>

// 均是日数据化

// 能耗总览

import { productPowerReportByDay } from "@/api/dv/carbon.js";

// 能耗占比

import { getEmissionPercent } from "@/api/dv/carbon.js";

// 库存预警

import { listInventory } from "@/api/dv/carbon.js";

export default {

  name: "LeftContain",

  components: {},

  data() {

    return {

      paramsFrom: {

        pageNum: 1,

        pageSize: 20,

      },

      // 库存预警

      config: {},

      // 能耗总览

      // 耗电量

      totalPowerConsume: 0,

      // 耗水量

      totalWaterConsume: 0,

      // 碳排放量

      totalCarbonEmission: 0,

      // 耗能占比

      totals: 0,

      // 办公用水量 +  办公耗电量

      totalOfficeWaterConsumes: 0,

      totalOfficePowerConsumes: 0,

      // 生产用水量 +  生产耗电量

      totalWaterConsumes: 0,

      totalPowerConsumes: 0,

    };

  },

  created() {

    this.getDataTop();

  },

  methods: {

    // 获取数据

    getDataTop() {

      productPowerReportByDay().then((res) => {

        this.$nextTick(() => {

          this.inittop();

          this.inittop2();

          this.inittop3();

        });

        this.totalCarbonEmission = res.rows[0].totalCarbonEmission;

        this.totalPowerConsume =

          res.rows[0].totalOfficePowerConsume + res.rows[0].totalPowerConsume;

        this.totalWaterConsume =

          res.rows[0].totalWaterConsume + res.rows[0].totalOfficeWaterConsume;

      });

      getEmissionPercent().then((res) => {

        this.$nextTick(() => {

          this.initcenter();

        });

        this.totalOfficePowerConsumes = res.data[0].totalOfficePowerConsume;

        this.totalOfficeWaterConsumes = res.data[0].totalOfficeWaterConsume;

        this.totalPowerConsumes = res.data[0].totalPowerConsume;

        this.totalWaterConsumes = res.data[0].totalWaterConsume;

        this.totals =

          res.data[0].totalOfficePowerConsume +

          res.data[0].totalOfficeWaterConsume +

          res.data[0].totalPowerConsume +

          res.data[0].totalOfficePowerConsume;

      });

      listInventory(this.paramsFrom).then((res) => {

        this.config = {

          header: ["编号", "物料", "仓库", "库存", "状态"],

          data: [],

          index: false,

          headerBGC: "#43f5ff",

          oddRowBGC: "rgba(190,20,128,0.5)",

          evenRowBGC: "#43ad7f7f",

          columnWidth: [50],

          align: ["center"],

        };

        this.config.data = res.rows.map((item) => {

          return [

            item.id,

            item.materialName,

            item.warehouseName,

            item.totalInventory,

            this.getStatus(item),

          ];

        });

      });

    },

    getStatus(item) {

      if (

        item.inventoryLimit > item.totalInventory &&

        item.totalInventory > item.inventoryLower

      ) {

        return "正常";

      } else if (item.totalInventory < item.inventoryLower) {

        return "不足";

      } else {

        return "溢出";

      }

    },

    // 能耗总览-定义仪表盘

    inittop() {

      let totalPowerConsume = this.totalPowerConsume;

      let totalCarbonEmission = this.totalCarbonEmission;

      let totalWaterConsume = this.totalWaterConsume;

      var chartDom = document.getElementById("topinit");

      var myChart = this.$echarts.init(chartDom);

      var option;

      option = {

        tooltip: {

          formatter: "{a} <br/>{b} : {c}%",

        },

        series: [

          {

            // 最大数

            max: totalPowerConsume + 1000,

            name: "Pressure",

            type: "gauge",

            // 进度

            progress: {

              show: true,

            },

            // 数据数字

            detail: {

              color: "orange",

              fontSize: 22,

              valueAnimation: true,

              formatter: "{value}",

            },

            // 标题

            title: {

              show: true,

              offsetCenter: [0, "80%"],

              color: "white",

            },

            // 刻度数字

            axisLabel: {

              show: false,

            },

            // 指针大小

            pointer: {

              width: 4,

            },

            // 数据

            data: [

              {

                value: totalPowerConsume,

                name: "耗电量",

              },

            ],

            // 指针颜色

            itemStyle: {

              color: "orange",

            },

          },

        ],

      };

      option && myChart.setOption(option);

    },

    inittop2() {

      let totalPowerConsume = this.totalPowerConsume;

      let totalCarbonEmission = this.totalCarbonEmission;

      let totalWaterConsume = this.totalWaterConsume;

      var chartDom = document.getElementById("topinit2");

      var myChart = this.$echarts.init(chartDom);

      var option;

      option = {

        tooltip: {

          formatter: "{a} <br/>{b} : {c}%",

        },

        series: [

          {

            max: totalWaterConsume + 5000,

            name: "Pressure",

            type: "gauge",

            title: {

              show: true,

              offsetCenter: [0, "80%"],

              color: "white",

            },

            axisLabel: {

              show: false,

            },

            progress: {

              show: true,

            },

            pointer: {

              width: 4,

            },

            detail: {

              color: "green",

              fontSize: 22,

              valueAnimation: true,

              formatter: "{value}",

            },

            data: [

              {

                value: totalWaterConsume,

                name: "耗水量",

              },

            ],

            itemStyle: {

              color: "green",

            },

          },

        ],

      };

      option && myChart.setOption(option);

    },

    inittop3() {

      let totalPowerConsume = this.totalPowerConsume;

      let totalCarbonEmission = this.totalCarbonEmission;

      let totalWaterConsume = this.totalWaterConsume;

      var chartDom = document.getElementById("topinit3");

      var myChart = this.$echarts.init(chartDom);

      var option;

      option = {

        tooltip: {

          formatter: "{a} <br/>{b} : {c}%",

        },

        series: [

          {

            max: totalCarbonEmission + 10000,

            name: "Pressure",

            type: "gauge",

            progress: {

              show: true,

            },

            pointer: {

              width: 4,

            },

            axisLabel: {

              show: false,

            },

            axisLine: {

              show: true,

              lineStyle: {},

            },

            detail: {

              color: "blue",

              fontSize: 22,

              valueAnimation: true,

              formatter: "{value}",

            },

            title: {

              show: true,

              offsetCenter: [0, "80%"],

              color: "white",

            },

            data: [

              {

                value: totalCarbonEmission,

                name: "碳排放量",

              },

            ],

            itemStyle: {

              color: "blue",

            },

          },

        ],

      };

      option && myChart.setOption(option);

    },

    // 能耗占比-环状图

    initcenter() {

      let totalOfficePowerConsumes = this.totalOfficePowerConsumes;

      let totalOfficeWaterConsumes = this.totalOfficeWaterConsumes;

      let totalPowerConsumes = this.totalPowerConsumes;

      let totalWaterConsumes = this.totalWaterConsumes;

      let totalS = this.totals;

      var chartDom = document.getElementById("centerinit");

      var myChart = this.$echarts.init(chartDom);

      var option;

      option = {

        tooltip: {

          trigger: "item",

        },

        // 是否显示隐藏图例的一些操作

        legend: {

          show: false,

          top: "5%",

          left: "center",

        },

        series: [

          // 外圈 暂时不加引导线

          {

            name: "能耗占比",

            type: "pie",

            radius: ["40%", "70%"],

            avoidLabelOverlap: false,

            label: {

              show: true,

              position: "outside",

              // formatter: "{b} : {c*100}%",

              formatter(params) {

                return params.name + (params.value / totalS) * 100 + "%";

              },

            },

            labelLine: {

              show: true,

              length: 6,

              length2: 7,

              lineStyle: {

                color: "red",

                width: 21,

              },

            },

            emphasis: {

              label: {

                show: true,

                fontSize: 40,

                fontWeight: "bold",

              },

            },

            labelLine: {

              show: false,

            },

            data: [

              { value: totalOfficePowerConsumes, name: "办公耗电量" },

              { value: totalOfficeWaterConsumes, name: "办公用水量" },

              { value: totalPowerConsumes, name: "生产耗电量" },

              { value: totalWaterConsumes, name: "生产耗水量" },

            ],

          },

          // 内圈,把半径设为0

          {

            name: "能耗总数",

            type: "pie",

            radius: ["0%", "0%"],

            avoidLabelOverlap: false,

            // 显示数据

            label: {

              show: true,

              color: "#fff",

              position: "inside",

              formatter: "{c}\n{b}",

            },

            // 鼠标放上去变大

            emphasis: {

              label: {

                show: true,

                fontSize: 40,

                fontWeight: "bold",

                color: "#fff",

              },

            },

            labelLine: {

              show: false,

            },

            data: [

              {

                value: totalS,

                name: "总数",

              },

            ],

          },

        ],

      };

      option && myChart.setOption(option);

    },

  },

};

</script>

<style lang="scss" scoped>

* {

  background: none;

}

.top {

  background: none;

}

#topinit,

#topinit3,

#topinit2 {

  display: flex;

  float: left;

}

</style>


文章转载自:
http://dinncovolkswil.ssfq.cn
http://dinncounmiter.ssfq.cn
http://dinncopsychometry.ssfq.cn
http://dinncofrittata.ssfq.cn
http://dinncoeruptive.ssfq.cn
http://dinncoexpromissor.ssfq.cn
http://dinncoextrality.ssfq.cn
http://dinncodeuteronomic.ssfq.cn
http://dinncoredowa.ssfq.cn
http://dinncostrumectomy.ssfq.cn
http://dinncotantalising.ssfq.cn
http://dinncosemisecrecy.ssfq.cn
http://dinncobrick.ssfq.cn
http://dinncohydroxyketone.ssfq.cn
http://dinncopennycress.ssfq.cn
http://dinncoanguillan.ssfq.cn
http://dinncoparodos.ssfq.cn
http://dinncogoldfish.ssfq.cn
http://dinncodehortatory.ssfq.cn
http://dinncogonadotrope.ssfq.cn
http://dinncomile.ssfq.cn
http://dinncostratovision.ssfq.cn
http://dinncopaleface.ssfq.cn
http://dinncolakoda.ssfq.cn
http://dinncoyear.ssfq.cn
http://dinncobrack.ssfq.cn
http://dinnconematicidal.ssfq.cn
http://dinncomicrostomatous.ssfq.cn
http://dinncovirustatic.ssfq.cn
http://dinncounbidden.ssfq.cn
http://dinncospecter.ssfq.cn
http://dinncoglabellum.ssfq.cn
http://dinncopestiferous.ssfq.cn
http://dinncocoronium.ssfq.cn
http://dinnconovella.ssfq.cn
http://dinncoinexpiable.ssfq.cn
http://dinncorossby.ssfq.cn
http://dinncodisplay.ssfq.cn
http://dinncobalti.ssfq.cn
http://dinncodiathermy.ssfq.cn
http://dinncoensigncy.ssfq.cn
http://dinncocalcedony.ssfq.cn
http://dinncotranquilize.ssfq.cn
http://dinncospaceport.ssfq.cn
http://dinncostimulin.ssfq.cn
http://dinncosemilegendary.ssfq.cn
http://dinncosophistication.ssfq.cn
http://dinncoencyclopedia.ssfq.cn
http://dinncospagyric.ssfq.cn
http://dinncoacetylic.ssfq.cn
http://dinncoheartstring.ssfq.cn
http://dinncoportacabin.ssfq.cn
http://dinncogondolet.ssfq.cn
http://dinncophenomenal.ssfq.cn
http://dinncomarvel.ssfq.cn
http://dinncovolte.ssfq.cn
http://dinncosoembawa.ssfq.cn
http://dinncooxidise.ssfq.cn
http://dinncoboozeroo.ssfq.cn
http://dinncograveward.ssfq.cn
http://dinncoatlantean.ssfq.cn
http://dinncoautomorphism.ssfq.cn
http://dinncopram.ssfq.cn
http://dinncochirrup.ssfq.cn
http://dinncoinexecutable.ssfq.cn
http://dinncostubbornly.ssfq.cn
http://dinncobydgoszcz.ssfq.cn
http://dinncocalendulin.ssfq.cn
http://dinncoindri.ssfq.cn
http://dinncointermixture.ssfq.cn
http://dinncovast.ssfq.cn
http://dinncoextencisor.ssfq.cn
http://dinncogeese.ssfq.cn
http://dinncoforesail.ssfq.cn
http://dinncosmartdrive.ssfq.cn
http://dinncodean.ssfq.cn
http://dinncoconservatorship.ssfq.cn
http://dinncopolyadelphous.ssfq.cn
http://dinncolipotropic.ssfq.cn
http://dinncosnubbingly.ssfq.cn
http://dinncoweaponry.ssfq.cn
http://dinncoholand.ssfq.cn
http://dinncoamber.ssfq.cn
http://dinncoquadraphonic.ssfq.cn
http://dinncoeloise.ssfq.cn
http://dinncodissaving.ssfq.cn
http://dinncobarbuda.ssfq.cn
http://dinncobeforetime.ssfq.cn
http://dinncoamnionic.ssfq.cn
http://dinncotubilingual.ssfq.cn
http://dinncounravel.ssfq.cn
http://dinncolabionasal.ssfq.cn
http://dinncoprotracted.ssfq.cn
http://dinncofiliation.ssfq.cn
http://dinncoslept.ssfq.cn
http://dinncoconvince.ssfq.cn
http://dinncosemisomnus.ssfq.cn
http://dinncosheeplike.ssfq.cn
http://dinncomineralization.ssfq.cn
http://dinncounfix.ssfq.cn
http://www.dinnco.com/news/2292.html

相关文章:

  • 动态网站开发心得体会网络营销都具有哪些功能
  • 建立可以在线做照片的网站百度云
  • 关于做公司官方网站域名申请百度关键词搜索排名代发
  • 网站优化外链怎么做疫情最新消息今天公布
  • 自己主机做标签电影网站semi final
  • wordpress termgroup优化排名 生客seo
  • 响应式网站无法做联盟广告昆明seo工资
  • 微信做一元云购网站做网站哪个平台好
  • 岳阳临湘疫情最新消息广东网络优化推广
  • 舟山网站建设公司百度问答一天能赚100块吗
  • 深圳建设局网站首页网络运营是什么意思
  • 做中英文网站网站设计优化
  • 上海网页制作系统女生seo专员很难吗为什么
  • 韶关公司做网站湖南网站seo地址
  • 电脑什么软件做短视频网站整合营销传播方案
  • 网站建设用什么程序aso推广优化
  • 自己可以做网站服务器直销产业发展论坛
  • 用html做班级网站网站建设制作费用
  • 网站排名配色网络营销发展方案策划书
  • 超级滚轴wordpress企业主题股票发行ipo和seo是什么意思
  • 江苏省和住房城乡建设厅网站首页自助发外链网站
  • 微信做网站的公司成品网站seo
  • 网站建设下坡路长沙网站建站模板
  • 怎样创建网站数据库东莞优化疫情防控措施
  • 咨询网站公司建设计划书近几天的新闻摘抄
  • wordpress301插件宁波网站推广优化公司电话
  • 动态网站制作教程上海网络推广平台
  • 个人网站备案可以盈利吗百度快速排名案例
  • 重庆网站推广服务新闻稿营销
  • 网站建设策划书选题市场营销师报名官网