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 1ee1bf27
authored
Feb 28, 2024
by
zhangquan
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
df030993
4b331362
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
src/views/Radar/index.vue
src/views/parkingPlace/sign.vue
src/views/Radar/index.vue
View file @
1ee1bf2
...
...
@@ -13,6 +13,14 @@
<!-- 表格区域 开始 -->
<GLTable
ref=
"radarRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"deviceStatus"
slot-scope=
"scope"
>
<span
class=
"status-class"
:style=
"
{ 'background-color': deviceStatusEnum[scope.scope.deviceStatus] }">
</span>
<span>
{{
scope
.
scope
.
deviceStatusStr
}}
</span>
</div>
<div
slot=
"bindingStatus"
slot-scope=
"scope"
>
<span
class=
"status-class"
:style=
"
{ 'background-color': bindingStatusEnum[scope.scope.bindingStatus] }">
</span>
<span>
{{
scope
.
scope
.
bindingStatusStr
}}
</span>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
...
...
@@ -155,11 +163,13 @@ export default {
},
{
label
:
'设备状态'
,
prop
:
'deviceStatusStr'
prop
:
'deviceStatusStr'
,
addHtml
:
'deviceStatus'
},
{
label
:
'绑定关系'
,
prop
:
'bindingStatusStr'
prop
:
'bindingStatusStr'
,
addHtml
:
'bindingStatus'
},
{
label
:
'入库时间'
,
...
...
@@ -194,7 +204,9 @@ export default {
label
:
'绑定'
}
]
}
},
deviceStatusEnum
:
[
'#999999'
,
'#2CCA74'
,
'#EB4E4E'
],
bindingStatusEnum
:
[
'#999999'
,
'#2CCA74'
]
}
},
...
...
@@ -501,4 +513,13 @@ export default {
margin-top
:
-20px
;
}
}
.status-class
{
display
:
inline-block
;
margin-right
:
8px
;
width
:
6px
;
height
:
6px
;
background
:
#eb4e4e
;
border-radius
:
4px
;
vertical-align
:
middle
;
}
</
style
>
src/views/parkingPlace/sign.vue
View file @
1ee1bf2
...
...
@@ -131,7 +131,7 @@ export default {
marker
=
new
AMap
.
Marker
({
icon
:
require
(
`@/assets/
${
icon
}
.png`
),
position
:
[
item
.
parkingAddressLng
,
item
.
parkingAddressLat
],
anchor
:
'bottom
-left
'
,
anchor
:
'bottom'
,
clickable
:
true
,
extData
:
{
id
:
item
.
id
,
...
...
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