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 6b8148d7
authored
May 16, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.7.0' of
http://192.168.3.233:8090/micro-customization-system/mi…
…cro-trialrun into v1.6.0
2 parents
60aad223
4186aa45
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
12 deletions
src/views/alarmCenter/shutdown.vue
src/views/vehicleManage/vehicleList.vue
src/views/alarmCenter/shutdown.vue
View file @
6b8148d
...
@@ -78,6 +78,11 @@
...
@@ -78,6 +78,11 @@
<el-table-column
label=
"最后GPS定位地址"
prop=
"lastGpsAddress"
show-overflow-tooltip
width=
"240"
>
<el-table-column
label=
"最后GPS定位地址"
prop=
"lastGpsAddress"
show-overflow-tooltip
width=
"240"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
lastGpsAddress
||
'--'
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
lastGpsAddress
||
'--'
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
prop=
"lastGpsAddress"
>
<
template
slot-scope=
"{row}"
>
<el-link
class=
"el_link"
type=
"primary"
@
click=
"lookDetail(row)"
>
常住地
</el-link>
</
template
>
</el-table-column>
</el-table>
</el-table>
<div
class=
"pagination_list"
>
<div
class=
"pagination_list"
>
<el-pagination
background
layout=
"sizes, total,prev, pager, next, jumper"
:total=
"pageTotal"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
:page-sizes=
"pageSizes"
@
current-change=
"getList"
@
size-change=
"changePageSize"
/>
<el-pagination
background
layout=
"sizes, total,prev, pager, next, jumper"
:total=
"pageTotal"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
:page-sizes=
"pageSizes"
@
current-change=
"getList"
@
size-change=
"changePageSize"
/>
...
@@ -90,15 +95,18 @@
...
@@ -90,15 +95,18 @@
<
script
>
<
script
>
import
{
shutDownShortcuts
}
from
"@/common"
;
import
{
shutDownShortcuts
}
from
"@/common"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
GET_ALARM_SHUTDOWN
,
ALARM_SHUTDOWN_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
GET_ALARM_SHUTDOWN
,
ALARM_SHUTDOWN_EXPORT
,
}
from
"@/services/alarmCenter"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
export
default
{
export
default
{
components
:
{
components
:
{
GlsxOrganization
,
GlsxOrganization
,
},
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
stayRange
:
2
},
searchForm
:
{
stayRange
:
2
},
currentPage
:
1
,
currentPage
:
1
,
pageSizes
:
[
10
,
20
,
30
,
40
],
pageSizes
:
[
10
,
20
,
30
,
40
],
pageSize
:
10
,
pageSize
:
10
,
...
@@ -157,8 +165,8 @@ export default {
...
@@ -157,8 +165,8 @@ export default {
oParams
.
pageSize
=
this
.
pageSize
;
oParams
.
pageSize
=
this
.
pageSize
;
oParams
.
pageNumber
=
current
||
this
.
currentPage
;
oParams
.
pageNumber
=
current
||
this
.
currentPage
;
this
.
tloading
=
true
;
this
.
tloading
=
true
;
if
(
current
)
{
if
(
current
)
{
this
.
currentPage
=
current
this
.
currentPage
=
current
;
}
}
GET_ALARM_SHUTDOWN
(
oParams
).
then
((
res
)
=>
{
GET_ALARM_SHUTDOWN
(
oParams
).
then
((
res
)
=>
{
this
.
tloading
=
false
;
this
.
tloading
=
false
;
...
@@ -197,10 +205,16 @@ export default {
...
@@ -197,10 +205,16 @@ export default {
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
!=
200
)
{
return
false
;
return
false
;
}
}
downFileByPath
(
res
.
data
)
downFileByPath
(
res
.
data
)
;
//window.open(res.data);
//window.open(res.data);
});
});
},
},
// 查看常驻地
lookDetail
(
row
)
{
let
path
=
`/oEshield#/monitor/resident?sn=
${
row
.
sn
}
&name=
${
encodeURI
(
row
.
ownerName
)}
&standno=
${
row
.
vin
}
&locationType=
${
row
.
locationType
}
`
;
window
.
open
(
path
);
},
},
},
};
};
</
script
>
</
script
>
...
@@ -215,7 +229,7 @@ export default {
...
@@ -215,7 +229,7 @@ export default {
.el_radio_group
{
.el_radio_group
{
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.table_box
{
.table_box
{
margin-top
:
0
;
margin-top
:
0
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/vehicleManage/vehicleList.vue
View file @
6b8148d
...
@@ -217,12 +217,9 @@
...
@@ -217,12 +217,9 @@
<el-form-item
label=
"发动机号:"
prop=
"engine"
class=
"long_form_item"
>
<el-form-item
label=
"发动机号:"
prop=
"engine"
class=
"long_form_item"
>
<el-input
v-model=
"snForm.engine"
maxlength=
"50"
clearable
></el-input>
<el-input
v-model=
"snForm.engine"
maxlength=
"50"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车辆归属:"
prop=
"organizationName"
class=
"long_form_item"
>
<el-form-item
label=
"车辆归属:"
prop=
"organizationName"
>
<el-input
v-model=
"snForm.organizationName"
readonly
@
click
.
native=
"selectStore"
></el-input>
<el-input
v-model=
"snForm.organizationName"
readonly
@
click
.
native=
"selectStore"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车型/车系:"
prop=
"carIds"
class=
"long_form_item"
>
<el-cascader
v-model=
"snForm.carIds"
:options=
"vehicleList"
:props=
"vehicleProps"
class=
"el_cascader"
></el-cascader>
</el-form-item>
<el-form-item
label=
"是否结清:"
v-if=
"hasPermission('vehicle_vin_settle')"
>
<el-form-item
label=
"是否结清:"
v-if=
"hasPermission('vehicle_vin_settle')"
>
<div
class=
"el_switch_box"
>
<div
class=
"el_switch_box"
>
<el-switch
v-model=
"snForm.settleFlag"
:active-value=
"1"
:inactive-value=
"0"
>
<el-switch
v-model=
"snForm.settleFlag"
:active-value=
"1"
:inactive-value=
"0"
>
...
@@ -230,7 +227,10 @@
...
@@ -230,7 +227,10 @@
<span
class=
"tips"
>
{{snForm.settleFlag?'已结清':'未结清'}}
</span>
<span
class=
"tips"
>
{{snForm.settleFlag?'已结清':'未结清'}}
</span>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"排量:"
>
<el-form-item
label=
"车型/车系:"
prop=
"carIds"
class=
"long_form_item"
>
<el-cascader
v-model=
"snForm.carIds"
:options=
"vehicleList"
:props=
"vehicleProps"
class=
"el_cascader"
></el-cascader>
</el-form-item>
<el-form-item
label=
"排量:"
class=
"long_form_item"
>
<el-input
v-model=
"snForm.displacement"
maxlength=
"50"
clearable
></el-input>
<el-input
v-model=
"snForm.displacement"
maxlength=
"50"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车辆标签:"
prop=
"vehicleType"
>
<el-form-item
label=
"车辆标签:"
prop=
"vehicleType"
>
...
...
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