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 d7207d7f
authored
Mar 08, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'yc_v1.0.0' of
http://192.168.3.233:8090/saas/scrm-micro-charge
into yc_v1.0.0
2 parents
5b6aed29
ffbacab0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
15 deletions
src/views/Radar/index.vue
src/views/parkingPlace/index.vue
src/views/Radar/index.vue
View file @
d7207d7
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
<div
slot=
"bindingStatus"
slot-scope=
"scope"
>
<div
slot=
"bindingStatus"
slot-scope=
"scope"
>
<span
class=
"status-class"
:style=
"
{ 'background-color': bindingStatusEnum[scope.scope.bindingStatus] }">
</span>
<span
class=
"status-class"
:style=
"
{ 'background-color': bindingStatusEnum[scope.scope.bindingStatus] }">
</span>
<span>
{{
scope
.
scope
.
bindingStatusStr
}}
</span>
<span>
{{
scope
.
scope
.
bindingStatusStr
}}
</span>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
...
@@ -265,11 +265,6 @@ export default {
...
@@ -265,11 +265,6 @@ export default {
this
.
$apis
.
radar
this
.
$apis
.
radar
.
createMessageInfo
(
params
)
.
createMessageInfo
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
$message
({
message
:
res
.
code
==
'0'
?
'导入成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
,
customClass
:
'message-class'
})
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
batchForm
.
isUpload
=
true
this
.
batchForm
.
isUpload
=
true
this
.
batchForm
.
successCount
=
res
?.
data
?.
successCount
this
.
batchForm
.
successCount
=
res
?.
data
?.
successCount
...
...
src/views/parkingPlace/index.vue
View file @
d7207d7
...
@@ -457,11 +457,6 @@ export default {
...
@@ -457,11 +457,6 @@ export default {
this
.
$apis
.
parkingSpace
this
.
$apis
.
parkingSpace
.
importParkingSpaceApi
(
params
)
.
importParkingSpaceApi
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
$message
({
message
:
res
.
code
==
'0'
?
'导入成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
,
customClass
:
'message-class'
})
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
const
data
=
res
?.
data
||
{}
const
data
=
res
?.
data
||
{}
this
.
batchForm
.
isUpload
=
true
this
.
batchForm
.
isUpload
=
true
...
@@ -642,13 +637,12 @@ export default {
...
@@ -642,13 +637,12 @@ export default {
}
}
})
})
},
},
getRadarList
(
radar
Id
)
{
getRadarList
(
radar
Obj
)
{
let
params
=
{
pageNum
:
'1'
,
pageSize
:
'1000'
,
bindingStatus
:
0
}
let
params
=
{
pageNum
:
'1'
,
pageSize
:
'1000'
,
bindingStatus
:
0
}
if
(
radarId
)
params
.
radarId
=
radarId
this
.
$apis
.
parkingSpace
.
getRadarListApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
parkingSpace
.
getRadarListApi
(
params
).
then
(
res
=>
{
if
(
res
?.
list
?.
length
)
{
if
(
res
?.
list
?.
length
)
{
const
_target
=
this
.
basicFormData
.
find
(
item
=>
item
.
name
==
'radarId'
)
const
_target
=
this
.
basicFormData
.
find
(
item
=>
item
.
name
==
'radarId'
)
_target
.
optionList
=
res
.
list
_target
.
optionList
=
[
radarObj
,
...
res
.
list
]
}
}
})
})
},
},
...
@@ -657,7 +651,8 @@ export default {
...
@@ -657,7 +651,8 @@ export default {
this
.
openParkingDialog
()
this
.
openParkingDialog
()
},
},
async
updateParkingPlaceFn
(
row
)
{
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
)
{
for
(
const
key
in
this
.
basicForm
)
{
this
.
basicForm
[
key
]
=
row
[
key
]
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