he wei
2022-03-08 fe485d1664045b1ed2b035b8ed0c98e044bf84c0
U 一体机一期修改
2个文件已修改
94 ■■■■■ 已修改文件
src/assets/js/const/const_aio.js 90 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/dataTest/realTimeAio0.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/js/const/const_aio.js
@@ -397,6 +397,96 @@
      msg: '取值范围1~285'
    }
  },
  // 一期
  stateList0: [
    {
      id: 1,
      name: "workState",
      type: "",
      icon: "",
      text: "设备工作状态:",
      value: "在线浮充",
      show: true
    },
    {
      id: 8,
      name: 'chargeType',
      type: '',
      icon: '',
      text: "充电状态:",
      value: '',
      show: false
    },
    {
      id: 9,
      name: 'activateCounter',
      type: '',
      icon: '',
      text: "活化阶段:",
      value: '',
      show: false
    },
    {
      id: 2,
      name: "temp0",
      type: "",
      icon: "el-icon-wendu",
      text: "温度告警阀值:",
      value: 45,
      unit: "℃",
      show: true
    },
    {
      id: 3,
      name: "temp1",
      type: "",
      icon: "el-icon-wendu",
      text: "温度1:",
      value: 0,
      unit: "℃",
      show: true
    },
    {
      id: 4,
      name: "temp2",
      type: "",
      icon: "el-icon-wendu",
      text: "温度2:",
      value: 0,
      unit: "℃",
      show: true
    },
    {
      id: 5,
      name: "temp3",
      type: "",
      icon: "el-icon-wendu",
      text: "温度3:",
      value: 0,
      unit: "℃",
      show: true
    },
    {
      id: 6,
      name: "stopreason",
      type: "",
      icon: "",
      text: "告警状态:",
      value: '',
      unit: "",
      show: true
    },
    {
      id: 7,
      name: "alarm",
      type: "",
      icon: "",
      text: "烟雾报警:",
      value: 0,
      show: true
    },
  ],
  // 二期
  stateList: [
    {
      id: 1,
src/pages/dataTest/realTimeAio0.vue
@@ -283,7 +283,7 @@
    data () {
        let permits = this.$store.state.user.permits;
        let isCanTest = isHasPermit('batt_test_op_permit', permits);
        let stateList = const_aio.stateList;
        let stateList = const_aio.stateList0;
        return {
            acTabs: "eleLine",
            isCanTest: isCanTest,
@@ -294,6 +294,7 @@
            // k4状态
            main: false,
            confirmBtnShow: 0,
            ratio: 1,
            // 上次停止原因
            lastStopReason: '',
            /* 电池状态 模块 组端展示 */
@@ -1181,6 +1182,7 @@
        this.timer2.open();
    },
    beforeDestroy () {
        this.timer.stop();
        this.timer2.stop();
        stop();
    }