From 61add4dae7aed223a695b8ff4c743ac716aabea7 Mon Sep 17 00:00:00 2001 From: whyczyk <525500596@qq.com> Date: 星期五, 04 六月 2021 09:40:11 +0800 Subject: [PATCH] 拓扑图提交 --- src/pages/home/topoGraphdiagram/js/gridCircuitDiagram.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/home/topoGraphdiagram/js/gridCircuitDiagram.js b/src/pages/home/topoGraphdiagram/js/gridCircuitDiagram.js index cee99b3..e439662 100644 --- a/src/pages/home/topoGraphdiagram/js/gridCircuitDiagram.js +++ b/src/pages/home/topoGraphdiagram/js/gridCircuitDiagram.js @@ -90,6 +90,7 @@ let Image11 = diagram.drawImage({ id: 'img11', url: waterStation, + textId: 'text8', point: [40, 200], width: 89, height: 109 @@ -127,6 +128,7 @@ let Image12 = diagram.drawImage({ id: 'img12', url: oilStation, + textId: 'text9', point: [30, 420], width: 124, height: 103 @@ -342,6 +344,7 @@ let Image2 = diagram.drawImage({ id: 'img2', + textId: 'text4', url: rectifier, point: [text3.bottom[0] - 32, text3.bottom[1] + 2], width: 70, @@ -372,6 +375,7 @@ let Image3 = diagram.drawImage({ id: 'img3', url: plate, + textId: 'text5', point: [text6.bottom[0] - 36, text6.bottom[1] + 2], width: 74, height: 98, @@ -477,7 +481,8 @@ let Image8 = diagram.drawImage({ id: 'img8', url: dynamometry, - point: [line11[1][0]-6, line11[1][1] - 30], + textId: 'text10', + point: [line11[1][0] - 6, line11[1][1] - 30], width: 90, height: 85, }) @@ -506,6 +511,7 @@ let Image9 = diagram.drawImage({ id: 'img9', url: AFE, + textId: 'text7', point: [line12[1][0] - 45, line12[1][1] - 83], width: 70, height: 95, @@ -576,7 +582,7 @@ lineWidth: lineWidth, points: [ [line13[0][0], onOff4.arc1.top[1]], - [line13[0][0], onOff4.arc1.top[1] - 45], + [line13[0][0], onOff4.arc1.top[1] - 68], ] }) -- Gitblit v1.9.1