Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
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 29f9a683
authored
Apr 15, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.6.0版本需求
1 parent
2bac41bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
src/common/constants.js
src/views/vehicleManage/vehicleList.vue
src/common/constants.js
View file @
29f9a68
...
@@ -50,4 +50,12 @@ export const FENCE_MONITOR_LIST = [
...
@@ -50,4 +50,12 @@ export const FENCE_MONITOR_LIST = [
export
const
FENCE_TYPE_LIST
=
[
export
const
FENCE_TYPE_LIST
=
[
{
label
:
'已开启'
,
value
:
'1'
},
{
label
:
'已开启'
,
value
:
'1'
},
{
label
:
'已关闭'
,
value
:
'0'
},
{
label
:
'已关闭'
,
value
:
'0'
},
]
// 车辆在线状态
export
const
VEHICLE_ONLINE_STATUS
=
[
{
label
:
'行驶中'
,
value
:
0
},
{
label
:
'静止'
,
value
:
1
},
{
label
:
'离线'
,
value
:
2
},
{
label
:
'在线'
,
value
:
3
},
]
]
\ No newline at end of file
\ No newline at end of file
src/views/vehicleManage/vehicleList.vue
View file @
29f9a68
...
@@ -48,12 +48,9 @@
...
@@ -48,12 +48,9 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备状态:"
>
<el-form-item
label=
"设备状态:"
>
<el-select
v-model=
"searchForm.
pTyp
e"
class=
"small_select"
>
<el-select
v-model=
"searchForm.
deviceStat
e"
class=
"small_select"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"在线"
value=
"1"
></el-option>
<el-option
v-for=
"(item,index) in VEHICLE_ONLINE_STATUS"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-option
label=
"离线"
value=
"2"
></el-option>
<el-option
label=
"行驶"
value=
"3"
></el-option>
<el-option
label=
"静止"
value=
"4"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -89,8 +86,8 @@
...
@@ -89,8 +86,8 @@
<el-table-column
label=
"车架号"
prop=
"vin"
show-overflow-tooltip
>
<el-table-column
label=
"车架号"
prop=
"vin"
show-overflow-tooltip
>
<
template
slot-scope=
"{row}"
>
{{
row
.
vin
||
'--'
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
vin
||
'--'
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"车辆归属"
prop=
"
vin
"
show-overflow-tooltip
>
<el-table-column
label=
"车辆归属"
prop=
"
creator
"
show-overflow-tooltip
>
<
template
slot-scope=
"{row}"
>
{{
row
.
vin
||
'--'
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
creator
||
'--'
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"设备号"
prop=
"sn"
show-overflow-tooltip
>
<el-table-column
label=
"设备号"
prop=
"sn"
show-overflow-tooltip
>
<
template
slot-scope=
"{row}"
>
{{
row
.
sn
||
'--'
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
sn
||
'--'
}}
</
template
>
...
@@ -347,6 +344,7 @@ import store from "@/store";
...
@@ -347,6 +344,7 @@ import store from "@/store";
import
freqModal
from
"./freqModal"
;
import
freqModal
from
"./freqModal"
;
import
{
Validator
}
from
"@/utils/validator"
;
import
{
Validator
}
from
"@/utils/validator"
;
import
{
deepClone
}
from
"@/utils/util"
;
import
{
deepClone
}
from
"@/utils/util"
;
import
{
VEHICLE_ONLINE_STATUS
}
from
'@/common/constants'
import
{
import
{
getVehicleList
,
getVehicleList
,
// getSpecialShopList,
// getSpecialShopList,
...
@@ -809,6 +807,7 @@ export default {
...
@@ -809,6 +807,7 @@ export default {
pType
:
"view"
,
pType
:
"view"
,
},
},
],
],
VEHICLE_ONLINE_STATUS
};
};
},
},
...
...
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