Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-convertor-view
Commits
0166f09f
Commit
0166f09f
authored
Nov 09, 2020
by
zhengjiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路维护
parent
153eccd6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
fireRectification.scss
src/styles/view/biz/fireRectification/fireRectification.scss
+1
-1
index.js
src/view/bizview/stationMainten/index.js
+3
-4
indexMap.js
src/view/bizview/stationMainten/indexMap.js
+2
-2
No files found.
src/styles/view/biz/fireRectification/fireRectification.scss
View file @
0166f09f
...
...
@@ -164,7 +164,7 @@
.ant-table-header
{
position
:
relative
;
top
:
55px
;
z-index
:
5
;
z-index
:
1
;
height
:
8px
;
background-color
:
#0e0808
0a
;
}
...
...
src/view/bizview/stationMainten/index.js
View file @
0166f09f
...
...
@@ -169,9 +169,9 @@ class StationMainten extends Component {
initMap
()
{
let
_this
=
this
;
if
(
outMap
)
{
Object
.
keys
(
localStorage
).
map
(
e
=>
{
Object
.
keys
(
window
.
localStorage
).
map
(
e
=>
{
if
(
e
.
indexOf
(
'_AMap'
)
===
0
)
{
localStorage
.
removeItem
(
e
);
window
.
localStorage
.
removeItem
(
e
);
}
});
let
script
=
null
;
...
...
@@ -195,8 +195,6 @@ class StationMainten extends Component {
BasicMap
:
require
(
'./indexMap'
)
});
},
timeout2000
);
console
.
log
(
this
.
state
);
console
.
log
(
require
(
'./indexMap'
));
});
});
}
else
{
...
...
@@ -518,6 +516,7 @@ class StationMainten extends Component {
<
/Col
>
<
Col
span
=
{
12
}
style
=
{{
height
:
'614px'
,
border
:
'1px solid black'
}}
>
<
div
style
=
{{
height
:
'614px'
}}
>
{
/**this.state.loadAmap && <BasicMap indexViewChange={this.indexViewChange} pushMarkerPoint={this.handleMarkerMap} /> */
}
{
this
.
state
.
loadAmap
&&
<
BasicMap
indexViewChange
=
{
this
.
indexViewChange
}
pushMarkerPoint
=
{
this
.
handleMarkerMap
}
/>
}
<
/div
>
<
/Col
>
...
...
src/view/bizview/stationMainten/indexMap.js
View file @
0166f09f
...
...
@@ -69,7 +69,7 @@ class IndexMap extends Component {
* @memberof IndexMap
*/
handleClickMap
=
e
=>
{
le
t
{
marker
}
=
this
.
state
;
cons
t
{
marker
}
=
this
.
state
;
marker
.
longitude
=
e
.
lnglat
.
lng
;
marker
.
latitude
=
e
.
lnglat
.
lat
;
this
.
setState
({
marker
});
...
...
@@ -81,7 +81,7 @@ class IndexMap extends Component {
created
:
this
.
setInstanceToGlobal
,
click
:
this
.
handleClickMap
};
le
t
{
mapCenter
,
marker
}
=
this
.
state
;
cons
t
{
mapCenter
,
marker
}
=
this
.
state
;
if
(
outMap
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment