Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-charge
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ffbacab0
authored
Mar 08, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
034b580c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/parkingPlace/index.vue
src/views/parkingPlace/index.vue
View file @
ffbacab
...
...
@@ -634,13 +634,12 @@ export default {
}
})
},
getRadarList
(
radar
Id
)
{
getRadarList
(
radar
Obj
)
{
let
params
=
{
pageNum
:
'1'
,
pageSize
:
'1000'
,
bindingStatus
:
0
}
if
(
radarId
)
params
.
radarId
=
radarId
this
.
$apis
.
parkingSpace
.
getRadarListApi
(
params
).
then
(
res
=>
{
if
(
res
?.
list
?.
length
)
{
const
_target
=
this
.
basicFormData
.
find
(
item
=>
item
.
name
==
'radarId'
)
_target
.
optionList
=
res
.
list
_target
.
optionList
=
[
radarObj
,
...
res
.
list
]
}
})
},
...
...
@@ -649,7 +648,8 @@ export default {
this
.
openParkingDialog
()
},
async
updateParkingPlaceFn
(
row
)
{
await
this
.
getRadarList
(
row
.
radarId
)
let
radarObj
=
{
radarNumber
:
row
.
radarNumber
,
id
:
row
.
radarId
}
await
this
.
getRadarList
(
radarObj
)
for
(
const
key
in
this
.
basicForm
)
{
this
.
basicForm
[
key
]
=
row
[
key
]
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment