Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
binhai-video
Project
Project
Details
Activity
Releases
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
binhai-jiaoguan
binhai-video
Commits
3ff6d2ce
Commit
3ff6d2ce
authored
Nov 17, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地图获取机制修改
parent
8e1f314b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
mapConfig.vue
src/views/configurationManagement/components/mapConfig.vue
+2
-2
index.vue
src/views/intelligentAnalysis/index.vue
+1
-2
No files found.
src/views/configurationManagement/components/mapConfig.vue
View file @
3ff6d2ce
...
...
@@ -45,7 +45,7 @@ export default {
methods
:
{
// 获取本地配置详情
getConfig
()
{
getMap
(
this
.
userId
).
then
(
res
=>
{
getMap
(
'1'
).
then
(
res
=>
{
this
.
form
=
{
...
res
.
data
}
})
},
...
...
@@ -53,7 +53,7 @@ export default {
submitForm
()
{
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
form
.
userId
=
this
.
userId
this
.
form
.
id
=
'1'
updateMap
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'修改成功'
)
})
...
...
src/views/intelligentAnalysis/index.vue
View file @
3ff6d2ce
...
...
@@ -172,12 +172,11 @@ export default {
// 页面加载完之后,加载百度地图
// 加载引入BMap
this
.
getConfig
()
console
.
log
(
'JJJJJJJJJJJJJJJJJJJJJJJJJJJ'
,
window
.
parent
)
},
methods
:
{
// 获取本地配置详情
getConfig
()
{
getMap
(
this
.
userId
).
then
(
res
=>
{
getMap
(
'1'
).
then
(
res
=>
{
this
.
secretKey
=
res
.
data
.
secretKey
this
.
mapCenter
=
res
.
data
.
mapCenter
.
split
(
','
)
this
.
mapLevel
=
res
.
data
.
mapLevel
...
...
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