diff --git a/src/assets/json/nw-result1.json b/src/assets/json/nw-result1.json index 8962b4e..529f2ba 100644 --- a/src/assets/json/nw-result1.json +++ b/src/assets/json/nw-result1.json @@ -219,6 +219,24 @@ "adeg_e": "-0.003870", "adeg_b": "-0.003867" }, + { + "sBeg": "PD102000001336105", + "Time": "-", + "Date": "-", + "sec_id": "26", + "Qci": "0.0", + "Flow_Direction_Flag": "1", + "Qi": "0.034615", + "V_b": "10.499283", + "Pi": "0.347600", + "Qj": "-0.034615", + "Qcj": "0.0", + "Pj": "-0.347600", + "sEnd": "PD102000001336106", + "V_e": "10.499283", + "adeg_e": "-0.003870", + "adeg_b": "-0.003867" + }, { "sBeg": "PD102000001336199", "Time": "-", @@ -543,6 +561,60 @@ "adeg_e": "-0.003881", "adeg_b": "-0.003880" }, + { + "sBeg": "PD102000001336134", + "Time": "-", + "Date": "-", + "sec_id": "0ce8fe26-ce4a-4d21-9dfa-b8084e9296093", + "Qci": "0.0", + "Flow_Direction_Flag": "1", + "Qi": "0.002701", + "V_b": "10.499282", + "Pi": "0.076200", + "Qj": "-0.002701", + "Qcj": "0.0", + "Pj": "-0.076200", + "sEnd": "PD102000001336135", + "V_e": "10.499282", + "adeg_e": "-0.003881", + "adeg_b": "-0.003880" + }, + { + "sBeg": "PD102000001336134", + "Time": "-", + "Date": "-", + "sec_id": "0ce8fe26-ce4a-4d21-9dfa-b8084e9296092", + "Qci": "0.0", + "Flow_Direction_Flag": "1", + "Qi": "0.002701", + "V_b": "10.499282", + "Pi": "0.076200", + "Qj": "-0.002701", + "Qcj": "0.0", + "Pj": "-0.076200", + "sEnd": "PD102000001336135", + "V_e": "10.499282", + "adeg_e": "-0.003881", + "adeg_b": "-0.003880" + }, + { + "sBeg": "PD102000001336134", + "Time": "-", + "Date": "-", + "sec_id": "0ce8fe26-ce4a-4d21-9dfa-b8084e9296091", + "Qci": "0.0", + "Flow_Direction_Flag": "1", + "Qi": "0.002701", + "V_b": "10.499282", + "Pi": "0.076200", + "Qj": "-0.002701", + "Qcj": "0.0", + "Pj": "-0.076200", + "sEnd": "PD102000001336135", + "V_e": "10.499282", + "adeg_e": "-0.003881", + "adeg_b": "-0.003880" + }, { "sBeg": "PD102000001336270", "Time": "-", diff --git a/src/assets/json/线路556.js b/src/assets/json/线路556.js index 3f35b10..28470b5 100644 --- a/src/assets/json/线路556.js +++ b/src/assets/json/线路556.js @@ -85,17 +85,17 @@ export default ` - - + + - - + + - - + + diff --git a/src/views/pages/OpticalStoragePage/index.vue b/src/views/pages/OpticalStoragePage/index.vue index 8f4c389..5fa9633 100644 --- a/src/views/pages/OpticalStoragePage/index.vue +++ b/src/views/pages/OpticalStoragePage/index.vue @@ -712,6 +712,8 @@ let handleCustomLine = (svgHtml, result) => { return distance } function handleLineText2(polyineArray, Lineitem, lineDom) { + let textArr = ['0ce8fe26-ce4a-4d21-9dfa-b8084e9296091', '0ce8fe26-ce4a-4d21-9dfa-b8084e9296092', '0ce8fe26-ce4a-4d21-9dfa-b8084e9296093', '26'] + if (textArr.includes(Lineitem.sec_id)) return // console.log(item, "lineitem"); let idArr = ['896EE332-AFB3-5C1C-E044-001A4B099F30-00001', '0ce8fe26-ce4a-4d21-9dfa-b8084e929609', 'C9425152-181A-481C-A0E7-E6227E425596-14781', '02ACC5B5-6200-4775-BFEB-726A237EB6C1-410133', '896EE332-AFB5-5C1C-E044-001A4B099F30-00001', 'SBID0000008FDCEBEC3EEE4304902CF0EFD3A8B0A5'] // 判断line的 "Flow_Direction_Flag": "0" 满足条件显示箭头和文字