Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
39 additions
and
1 deletions
... | @@ -167,6 +167,12 @@ export default { | ... | @@ -167,6 +167,12 @@ export default { |
167 | stroke: 'rgba(78,142,230,0.45)', | 167 | stroke: 'rgba(78,142,230,0.45)', |
168 | }, | 168 | }, |
169 | }, | 169 | }, |
170 | // defaultEdge: { | ||
171 | // type: 'cubic-vertical', | ||
172 | // style: { | ||
173 | // stroke: '#F6BD16', | ||
174 | // }, | ||
175 | // }, | ||
170 | nodeStateStyles: { | 176 | nodeStateStyles: { |
171 | selected: { | 177 | selected: { |
172 | stroke: '#d9d9d9', | 178 | stroke: '#d9d9d9', |
... | @@ -240,6 +246,38 @@ export default { | ... | @@ -240,6 +246,38 @@ export default { |
240 | getLshs(data).then((res)=>{ | 246 | getLshs(data).then((res)=>{ |
241 | if(res.code===200){ | 247 | if(res.code===200){ |
242 | _this.data=res.result; | 248 | _this.data=res.result; |
249 | _this.data = {"nodes":[ | ||
250 | {"id":"836524edab33ab19bb0e0b4fd064cd77","dataType":"sql","name":"20201127宗地A", | ||
251 | "conf":[{"label":"宗地代码","value":"610102123666GA10002"},{"label":"项目名称","value":"20201127宗地A"}, | ||
252 | {"label":"不动产单元号","value":"610102123666GA10002W00000000"},{"label":"坐落","value":"610102123666G10003W"}, | ||
253 | {"label":"权利人","value":""}]}, | ||
254 | {"id":"601130536a6bf6efc7a248af469e982c","dataType":"sql","name":"20201127宗地A222221", | ||
255 | "conf":[{"label":"宗地代码","value":null},{"label":"项目名称","value":"20201127宗地A222221"}, | ||
256 | {"label":"不动产单元号","value":null},{"label":"坐落","value":null},{"label":"权利人","value":""}]}, | ||
257 | {"id":"c0818d9e4286b35b8ee9b96d90b522aa","dataType":"sql","name":"20201127宗地A2222222", | ||
258 | "conf":[{"label":"宗地代码","value":null},{"label":"项目名称","value":"20201127宗地A2222222"}, | ||
259 | {"label":"不动产单元号","value":null},{"label":"坐落","value":null},{"label":"权利人","value":""}]}, | ||
260 | |||
261 | {"id":"601130536a6bf6efc7a248af469e982c1","dataType":"sql","name":"20201127宗地B", | ||
262 | "conf":[{"label":"宗地代码","value":null},{"label":"项目名称","value":"20201127宗地B"}, | ||
263 | {"label":"不动产单元号","value":null},{"label":"坐落","value":null},{"label":"权利人","value":""}]}, | ||
264 | {"id":"c0818d9e4286b35b8ee9b96d90b522aa1","dataType":"sql","name":"20201127宗地B1", | ||
265 | "conf":[{"label":"宗地代码","value":null},{"label":"项目名称","value":"20201127宗地B1"}, | ||
266 | {"label":"不动产单元号","value":null},{"label":"坐落","value":null},{"label":"权利人","value":""}]}, | ||
267 | |||
268 | {"id":"c0818d9e4286b35b8ee9b96d90b522aa12","dataType":"sql","name":"20201127宗地C", | ||
269 | "conf":[{"label":"宗地代码","value":null},{"label":"项目名称","value":"20201127宗地C"}, | ||
270 | {"label":"不动产单元号","value":null},{"label":"坐落","value":null},{"label":"权利人","value":""}]}, | ||
271 | ], | ||
272 | |||
273 | "edges":[ | ||
274 | {"source":"836524edab33ab19bb0e0b4fd064cd77","target":"601130536a6bf6efc7a248af469e982c"}, | ||
275 | {"source":"836524edab33ab19bb0e0b4fd064cd77","target":"c0818d9e4286b35b8ee9b96d90b522aa"}, | ||
276 | {"source":"c0818d9e4286b35b8ee9b96d90b522aa","target":"601130536a6bf6efc7a248af469e982c1"}, | ||
277 | {"source":"c0818d9e4286b35b8ee9b96d90b522aa","target":"c0818d9e4286b35b8ee9b96d90b522aa1"}, | ||
278 | {"source":"601130536a6bf6efc7a248af469e982c1","target":"c0818d9e4286b35b8ee9b96d90b522aa12"}, | ||
279 | {"source":"c0818d9e4286b35b8ee9b96d90b522aa1","target":"c0818d9e4286b35b8ee9b96d90b522aa12"}, | ||
280 | ]}; | ||
243 | this.initG6(); | 281 | this.initG6(); |
244 | } | 282 | } |
245 | }) | 283 | }) |
... | @@ -256,7 +294,7 @@ export default { | ... | @@ -256,7 +294,7 @@ export default { |
256 | } | 294 | } |
257 | 295 | ||
258 | #mountNode{ | 296 | #mountNode{ |
259 | width: 100%; | 297 | margin-left: 15%; |
260 | } | 298 | } |
261 | 299 | ||
262 | .slot{ | 300 | .slot{ | ... | ... |
-
Please register or sign in to post a comment