he wei
2025-03-22 f903e975ac8ec5ff38360cd46e04277ea8fbf85d
U 定制需求提交 去掉容量 和 链接条
7个文件已修改
42 ■■■■■ 已修改文件
src/App.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/apis.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/fileInfo.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/menuList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/data.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/xmlResult.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/setting.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue
@@ -177,6 +177,8 @@
          // console.log(1, data2);
          list = this.formatData(data2);
        }
        console.log('list??', list, '=============');
        this.stationData = list;
      }).catch((err) => {
        console.log(err);
@@ -268,6 +270,7 @@
    },
    openFile(obj) {
      let { fileId, label, stationId } = obj;
      debugger;
      getParamByFileId(fileId).then((res) => {
        const { code, data, data2 } = res.data;
        if (code && data) {
src/apis.js
@@ -148,7 +148,7 @@
export const testReport = (data) => {
  return axios({
    method: "POST",
    url: "excelExport/resTestReport",
    url: "excelExport/resTestReport_cg",
    responseType: 'blob',
    data
  })
@@ -161,7 +161,7 @@
export const testCompareReport = (params, data) => {
  return axios({
    method: "POST",
    url: "excelExport/resTestCompareReport",
    url: "excelExport/resTestCompareReport_cg",
    responseType: 'blob',
    params,
    data
src/components/fileInfo.vue
@@ -80,11 +80,11 @@
            ></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="6">
        <!-- <el-col :span="6">
          <el-form-item :label="$t('ConnectionBar') + '(μΩ)'" prop="chainRes">
            <el-input type="number" v-model="info.chainRes"></el-input>
          </el-form-item>
        </el-col>
        </el-col> -->
        <el-col :span="6">
          <el-form-item :label="$t('InstallationTime')">
            <el-date-picker
src/components/menuList.vue
@@ -117,9 +117,9 @@
              >{{ $t("Resistance") }}(mΩ)</el-checkbox
            >
            <!-- <el-checkbox label="Cap" name="type">{{ $t('Capacity') }}(Ah)</el-checkbox> -->
            <el-checkbox label="Chain" name="type"
            <!-- <el-checkbox label="Chain" name="type"
              >{{ $t("ConnectionBar") }}(μΩ)</el-checkbox
            >
            > -->
            <el-checkbox label="Cond" name="type"
              >{{ $t("Conductance") }}(S)</el-checkbox
            >
@@ -984,6 +984,8 @@
    },
    parseFile(url, cbfn) {
      let [stationId, fileId, fileName] = url.split("&&&&&");
      console.log('stationId', stationId, 'fileId', fileId, 'fileName', '=============');
      getParamByFileId(fileId).then((res) => {
        const { code, data, data2 } = res.data;
        if (code && data) {
@@ -1008,6 +1010,7 @@
        this.toRes(data);
        return false;
      }
      debugger;
      updateFileParam(this.currFile.stationId, data).then((res) => {
        const { code, data } = res.data;
        if (code && data) {
src/pages/data.vue
@@ -37,7 +37,7 @@
            <el-option :label="$t('Resistance')" value="res"></el-option>
            <el-option :label="$t('Voltage')" value="vol"></el-option>
            <el-option :label="$t('Conductance')" value="cond"></el-option>
            <el-option :label="$t('ConnectionBar')" value="chain"></el-option>
            <!-- <el-option :label="$t('ConnectionBar')" value="chain"></el-option> -->
          </el-select>
        </el-form-item>
        <el-form-item :label="$t('Evaluation')">
src/pages/xmlResult.vue
@@ -244,21 +244,21 @@
        //   label: this.$t("result.estimatedCapacity") + "(Ah)",
        //   minWidth: 100,
        // },
        {
          prop: "preCapPercentStr",
          label: this.$t("result.Estimatedcapacitypercentage"),
          minWidth: 130,
        },
        // {
        //   prop: "preCapPercentStr",
        //   label: this.$t("result.Estimatedcapacitypercentage"),
        //   minWidth: 130,
        // },
        {
          prop: "resDevRateStr",
          label: this.$t("result.deviationratio"),
          minWidth: 120,
        },
        {
          prop: "cr",
          label: this.$t("result.ConnectionBar") + "(μΩ)",
          minWidth: 120,
        },
        // {
        //   prop: "cr",
        //   label: this.$t("result.ConnectionBar") + "(μΩ)",
        //   minWidth: 120,
        // },
        {
          prop: "bs",
          label: this.$t("result.Conductance") + "(S)",
src/store/modules/setting.js
@@ -5,7 +5,7 @@
    resVisiable: true,
    capVisiable: false,
    tableVisiable: true,
    chainVisiable: true,
    chainVisiable: false,
    condVisiable: false,
    params: undefined,
  },