he wei
2024-11-23 28a3478412b0a24caea92fbaf1f6d934ee5560da
U 启动61853 发testCmd
3个文件已修改
20 ■■■■ 已修改文件
src/components/svg/svgHr61853.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataTest/components/hr61853Content.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataTest/js/realTime.js 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/svg/svgHr61853.vue
@@ -503,10 +503,10 @@
      return this.battData1.battState == 2 || this.battData1.battState == 3;
    },
    state_khd1() {
      return this.battData0.battState == 3 || this.battData0.battState == 2;
      return this.battData0.battState == 3;
    },
    state_kld1() {
      return this.battData1.battState == 3 || this.battData1.battState == 2;
      return this.battData1.battState == 3;
    },
  },
  components: {
src/views/dataTest/components/hr61853Content.vue
@@ -214,7 +214,7 @@
<script>
import {
  btsControl as getParams,
  btsControl as start,
  control61853 as start,
  set61853Params,
  checkAlarmById,
} from "../js/realTime";
@@ -457,6 +457,7 @@
      let loading = this.$layer.loading(1);
      // 请求后台
      start({
        testCmd: 0x25,
        num: cmd.start,
        devId: this.devId,
        battGroupNum: this.idx + 1,
src/views/dataTest/js/realTime.js
@@ -244,6 +244,19 @@
};
/**
 * 启动 61853
 */
export const control61853 = (params) => {
  return axios({
    method: "GET",
    url: "Fbs9100_setparamAction/serchbyDev_id",
    params: {
      ...params,
    },
  });
};
/**
 * 启动内阻测试
 * @param devId
 * @param battGroupNum