Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
fac41f43
Commit
fac41f43
authored
May 19, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纬度回显
parent
8d23121f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
15 deletions
+9
-15
package-lock.json
+0
-0
src/views/shse/zdcs/addZdcs.vue
+3
-2
src/views/shse/zdcs/index.vue
+5
-12
src/views/shse/zdcs/queryZdcs.vue
+1
-1
No files found.
package-lock.json
View file @
fac41f43
This diff is collapsed.
Click to expand it.
src/views/shse/zdcs/addZdcs.vue
View file @
fac41f43
...
...
@@ -101,9 +101,10 @@ export default {
this
.
isShowMap
=
false
;
},
parentAndChilenEvent
(
data1
,
data2
)
{
debugger
this
.
isShowMap
=
false
;
this
.
formLabelAlign
.
x
=
data1
;
this
.
formLabelAlign
.
y
=
data2
;
this
.
$set
(
this
.
formLabelAlign
,
'x'
,
data1
)
this
.
$set
(
this
.
formLabelAlign
,
'y'
,
data2
)
},
showJyDialog
(
id
)
{
if
(
id
==
"x"
||
id
==
"y"
)
{
...
...
src/views/shse/zdcs/index.vue
View file @
fac41f43
...
...
@@ -10,13 +10,7 @@
:show-close=
"false"
>
<div
id=
"map"
style=
"width: 821px; height: 352px"
></div>
<div
v-show=
"
jingdu != '' || jingdu != 'null' || weidu != '' || weidu != 'null'
"
>
当前经度:
{{
extent
[
0
]
}}
,纬度
{{
extent
[
1
]
}}
</div>
<div>
当前经度:
{{
extent
[
0
]
}}
,纬度
{{
extent
[
1
]
}}
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"closeDialog"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"saveMapDd"
>
确 定
</el-button>
...
...
@@ -57,9 +51,8 @@ export default {
this
.
$emit
(
"closeMap"
);
},
saveMapDd
()
{
if
(
this
.
jingdu
!=
""
)
{
this
.
$emit
(
"parentAndChilenEvent"
,
this
.
jingdu
,
this
.
weidu
);
}
debugger
;
this
.
$emit
(
"parentAndChilenEvent"
,
this
.
extent
[
0
],
this
.
extent
[
1
]);
this
.
jwdDialog
=
false
;
},
//初始化地图
...
...
@@ -236,13 +229,13 @@ export default {
jd
(
val
)
{
this
.
emitJd
=
val
;
if
(
val
!=
""
&&
val
!=
null
)
{
this
.
jingdu
=
val
;
this
.
extent
[
0
]
=
val
;
}
},
wd
(
val
)
{
this
.
emitWd
=
val
;
if
(
val
!=
""
&&
val
!=
null
)
{
this
.
weidu
=
val
;
this
.
extent
[
1
]
=
val
;
}
},
},
...
...
src/views/shse/zdcs/queryZdcs.vue
View file @
fac41f43
...
...
@@ -143,7 +143,7 @@ export default {
debugger
;
let
path
=
this
.
$baseUrl
.
alyIP9
+
"/#/SpaceTimeCombat/SmartControl?x="
+
"/#/
JumpPage/admin/admin/
SpaceTimeCombat/SmartControl?x="
+
scope
.
row
.
x
+
"&y="
+
scope
.
row
.
y
+
...
...
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