田源
2023-10-18 6dbc40dea1ce9072c5821a325db3aaa14a5b1f48
首页 字体样式修改
已修改1个文件
27 ■■■■ 文件已修改
Source/UBCS-WEB/src/views/wel/Statistic.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/wel/Statistic.vue
@@ -1,9 +1,9 @@
<template>
  <div>
  <div class="App" v-loading="this.loading">
    <div style="display: flex; justify-content: flex-end;margin-bottom: 10px">
      <el-button icon="el-icon-more" plain size="small" type="primary" @click="MoreHandler">更多</el-button>
    </div>
    <avue-data-box :animation="true" :option="option"></avue-data-box>
    <avue-data-box ref="dataBox" :animation="true" :option="option"  ></avue-data-box>
<!--      <avue-data-panel :animation="true":option="option"></avue-data-panel>-->
    <el-dialog :visible.sync="dialogTableVisible" append-to-body class="avue-dialog avue-dialog--top" title="主数据配置"
               top="0">
@@ -21,14 +21,12 @@
</template>
<script>
import {validatenull} from "@/util/validate";
import {getList, save} from "@/api/system/statistic";
import {flowRoute} from "@/util/flow";
export default {
  name: "Statistic",
  data() {
    return {
      loading:true,
      Crud: {
        form: '',
        data: [],
@@ -84,7 +82,23 @@
    }
  },
  created() {
    this.MasterGetList()
    this.MasterGetList();
  },
  mounted() {
    this.$nextTick(() => {
      const dataFatherBox = this.$refs.dataBox.$el;
      console.log(dataFatherBox);
      this.$nextTick(() => {
        setTimeout(() => {
          const info = dataFatherBox.querySelectorAll('.item-info .info');
          console.log('info', info);
          info.forEach((info) => {
            info.style.fontSize = '17px';
          });
          this.loading=false;
        }, 1000); // 延迟1秒查找info元素
      });
    });
  },
  computed() {
@@ -145,6 +159,7 @@
              isDefault: item.isDefault,
              color: this.hexColor,
              uiUrl: item.menuRoute,
              id: 'custom-title'
            });
          } else if (item.isDefault === 0) {
            this.newData.push(item);