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 4b331362
authored
Feb 28, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
152560db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
src/views/Radar/index.vue
src/views/parkingPlace/sign.vue
src/views/Radar/index.vue
View file @
4b33136
...
...
@@ -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>
...
...
@@ -31,7 +39,7 @@
</el-button>
<input
type=
"file"
style=
"opacity: 0"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
</div>
<a
href=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/xlsx/
红包链接
.xlsx"
target=
"_blank"
>
下载模板
</a>
<a
href=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/xlsx/
导入设备
.xlsx"
target=
"_blank"
>
下载模板
</a>
</div>
</el-form-item>
<div
class=
"tip"
>
支持扩展名:xlsx、xls、csv
</div>
...
...
@@ -154,11 +162,13 @@ export default {
},
{
label
:
'设备状态'
,
prop
:
'deviceStatusStr'
prop
:
'deviceStatusStr'
,
addHtml
:
'deviceStatus'
,
},
{
label
:
'绑定关系'
,
prop
:
'bindingStatusStr'
prop
:
'bindingStatusStr'
,
addHtml
:
'bindingStatus'
,
},
{
label
:
'入库时间'
,
...
...
@@ -193,7 +203,9 @@ export default {
label
:
'绑定'
}
]
}
},
deviceStatusEnum
:[
'#999999'
,
'#2CCA74'
,
'#EB4E4E'
],
bindingStatusEnum
:[
'#999999'
,
'#2CCA74'
]
}
},
...
...
@@ -500,4 +512,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 @
4b33136
...
...
@@ -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