whychdw
2025-03-07 b2c496bbb204eed2a1231ff154f969c856b6280a
内容提交
4个文件已修改
40 ■■■■■ 已修改文件
src/layout/components/AlarmPopup.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataTest/realTime6186.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/home-conductor.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/AlarmPopup.vue
@@ -57,6 +57,16 @@
                  label="告警类型"
                  min-width="120"></el-table-column>
                <el-table-column
                  prop="alarmGroupName"
                  align="center"
                  label="电池组名称"
                  min-width="120"></el-table-column>
                <el-table-column
                  prop="alarmMon"
                  align="center"
                  label="单体编号"
                  min-width="80"></el-table-column>
                <el-table-column
                  prop="almStartTime"
                  align="center"
                  label="告警时间"
@@ -567,7 +577,7 @@
  color: #FF3801;
}
.alarm-popup-body {
  min-width: 400px;
  min-width: 600px;
  overflow-y: auto;
}
.alarm-list {
@@ -584,7 +594,7 @@
}
.page-flex-box-body {
  box-sizing: border-box;
  width: 960px;
  width: 1326px;
  height: 420px;
  padding: 0 8px 8px;
}
src/layout/index.vue
@@ -205,6 +205,8 @@
        }
        item.alarmPoint = alarmPoint;
        item.alarmGroupName = item.battgroupname?item.battgroupname:"";
        item.alarmMon = item.monNum?'#'+item.monNum:"";
        return item;
      });
src/views/dataTest/realTime6186.vue
@@ -132,8 +132,7 @@
                <science-box style="position: relative" no-header v-show="batt.fbsdeviceId">
                  <div class="hdw-state-list table-layout">
                    <div class="table-row">
                      <div class="table-cell text-right">设备工作状态:</div>
                      <div class="table-cell">{{ workState }}</div>
                      <div class="table-cell">设备工作状态:{{ workState }}</div>
                    </div>
                  </div>
                </science-box>
@@ -142,19 +141,13 @@
                                                        ">
                  <div class="hdw-state-list table-layout">
                    <div class="table-row">
                      <div class="table-cell text -right">启动失败原因:
                      </div>
                    </div>
                    <div class="table-row">
                      <div class="table-cell text-right">
                        {{ controlFailTypeName }}
                      </div>
                      <div class="table-cell">启动失败原因:{{ controlFailTypeName }}</div>
                    </div>
                  </div>
                </science-box>
                <!-- 上次核容测试信息 -->
                <science-box style="position: relative; margin-top: 8px" title="上一次核容测试信息"
                  v-show="stateListState  && batt.fbsdeviceId">
                  v-show="batt.fbsdeviceId">
                  <div class="hdw-state-list table-layout">
                    <div v-for="state in lastCapacityTest.filter(
                                                              (item) => item.show
@@ -516,7 +509,7 @@
                    datas: [],
                },
                batt: {},
                stateListShow: false,
                stateListShow: true,
                stateList: stateList,
                lastCapacityTest: lastCapacityTest,
                historyStateList: historyStateList,
src/views/home/home-conductor.vue
@@ -80,7 +80,7 @@
      </div>
      <!-- 下 -->
      <div class="sub-item row-3">
        <card class="card" title="电源信息">
        <card class="card" title="电源信息" v-show="isShowPowerInfo">
          <template #tools>
            <el-tag
              class="cur-point mrl8"
@@ -483,6 +483,7 @@
  mixins: [WSMixin],
  data() {
    return {
      isShowPowerInfo: false,
      totalSize: 0,
      // 维护 ‘其他’ 所对应的列表
      others: {
@@ -773,6 +774,10 @@
        arr.map(v=>{
          total += v.value*1;
        });
        this.isShowPowerInfo = total !== 0;
        this.$nextTick(()=>{
          this.$refs.bar3d.resize();
        });
        this.others.pwrProd = [];
        if (arr.length <= 5) {
@@ -903,7 +908,7 @@
        this.others.battProd = [];
      }
      let arr = Object.keys(data)
        .map((v) => ({ name: idx ? v * 1 + "伏" : v, value: data[v] }))
        .map((v) => ({ name: idx ? v * 1 + "V" : v, value: data[v] }))
        .sort((a, b) => {
          return b.value - a.value;
        });