liuyg
2021-08-10 6ace796997129e14ea8966ca46500af9d971c022
首页左上总数
1 files modified
12 ■■■■■ changed files
src/views/wel/home.vue 12 ●●●●● patch | view | raw | blame | history
src/views/wel/home.vue
@@ -8,7 +8,7 @@
              <div>
                <div>
                  群防群控队伍
                  <div class="title-1">({{ OURnum }})</div>
                  <div class="title-1">({{ OurNumLeftUp }})</div>
                </div>
              </div>
              <div id="on_three_yjy">
@@ -112,13 +112,8 @@
      echarts1: "",
      leftUp: [],
      OurNumLeftUp: "",
    };
  },
  computed: {
    OURnum() {
      return 146;
    },
  },
  created() {},
  mounted() {
@@ -132,10 +127,11 @@
  },
  methods: {
    getLeftUp() {
      this.leftUp = [];
      (this.leftUp = []), (this.OurNumLeftUp = 0);
      getLeftUp().then((res) => {
        var d = res.data.data;
        d.forEach((item, index, arr) => {
          this.OurNumLeftUp += item.num;
          let img =
            item.region == "治保会队伍"
              ? "/img/wyh.png"