Riku
2025-10-21 ce17d42203a17120736d796d0e83b3742c4ec441
2025.10.21
已修改2个文件
41 ■■■■■ 文件已修改
src/api/index.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/historymode/component/MissionReport.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -13,10 +13,10 @@
}
if (debug) {
  ip1 = 'http://192.168.0.103:8084/';
  // ip1 = 'http://localhost:8084/';
  ws = `192.168.0.103:9031`;
  // ws = `localhost:9031`;
  // ip1 = 'http://192.168.0.103:8084/';
  ip1 = 'http://localhost:8084/';
  // ws = `192.168.0.103:9031`;
  ws = `localhost:9031`;
}
const $http = axios.create({
src/views/historymode/component/MissionReport.vue
@@ -372,27 +372,40 @@
                  const clue = item3.clue;
                  let _riskRegion = '';
                  if (
                    clue.pollutedArea.address.indexOf(
                      clue.pollutedArea.streetNumber
                    ) == -1
                    parseInt(clue.pollutedArea.distance) <
                    parseInt(clue.pollutedArea.distance2)
                  ) {
                    if (
                      clue.pollutedArea.address.indexOf(
                        clue.pollutedArea.streetNumber
                      ) == -1
                    ) {
                      _riskRegion +=
                        (clue.pollutedArea.address ?? '') +
                        '(' +
                        (clue.pollutedArea.street ?? '') +
                        (clue.pollutedArea.streetNumber ?? '') +
                        (clue.pollutedArea.direction ?? '') +
                        ')';
                    } else {
                      _riskRegion = clue.pollutedArea.address;
                    }
                  } else {
                    _riskRegion +=
                      (clue.pollutedArea.address ?? '') +
                      '(' +
                      (clue.pollutedArea.street ?? '') +
                      (clue.pollutedArea.streetNumber ?? '') +
                      (clue.pollutedArea.direction ?? '') +
                      (clue.pollutedArea.roadinter ?? '') +
                      ')';
                  } else {
                    _riskRegion = clue.pollutedArea.address;
                  }
                  return {
                    index: index3 + 1 + '',
                    showPollutedArea: formObj.value.showPollutedArea,
                    _title:
                      (clue.pollutedArea.street ?? '') +
                      (clue.pollutedArea.streetNumber ?? '') +
                      (clue.pollutedArea.direction ?? ''),
                      // (clue.pollutedArea.street ?? '') +
                      // (clue.pollutedArea.streetNumber ?? '') +
                      // (clue.pollutedArea.direction ?? ''),
                      clue.pollutedArea.address ?? '',
                    _factorNames: Object.keys(clue.pollutedData.statisticMap)
                      .map((e) => factorName[e])
                      .join('、'),