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 1e20a2cc
authored
Dec 30, 2021
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化界面展示
1 parent
1fc55cfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
src/views/reportManage/mileageGeneralDetail.vue
src/views/reportManage/mileageGeneralDetail.vue
View file @
1e20a2c
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备号:"
>
<el-form-item
label=
"设备号:"
>
<el-input
placeholder=
"设备号"
v-model=
"searchForm.sn"
>
<el-input
placeholder=
"设备号"
v-model=
"searchForm.sn"
readonly
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<!-- 按钮区域 end -->
<!-- 按钮区域 end -->
<!-- 列表 开始 -->
<!-- 列表 开始 -->
<glsx-table
ref=
"glsxTable"
:list=
"tableData"
:column=
"columnList"
:pageTotal=
"pageTotal"
@
change=
"getList"
>
<glsx-table
ref=
"glsxTable"
:list=
"tableData"
v-loading=
"aloding"
:column=
"columnList"
:pageTotal=
"pageTotal"
@
change=
"getList"
>
<div
slot=
"operate"
slot-scope=
"
{scope}">
<div
slot=
"operate"
slot-scope=
"
{scope}">
<el-link
type=
"primary"
:underline=
"false"
@
click=
"lookTrack(scope)"
>
查看轨迹
</el-link>
<el-link
type=
"primary"
:underline=
"false"
@
click=
"lookTrack(scope)"
>
查看轨迹
</el-link>
</div>
</div>
...
@@ -159,6 +159,7 @@ export default {
...
@@ -159,6 +159,7 @@ export default {
],
],
},
},
dloading
:
false
,
dloading
:
false
,
aloding
:
false
};
};
},
},
components
:
{
components
:
{
...
@@ -190,7 +191,9 @@ export default {
...
@@ -190,7 +191,9 @@ export default {
let
oParams
=
this
.
getParams
();
let
oParams
=
this
.
getParams
();
oParams
.
pageSize
=
this
.
$refs
.
glsxTable
.
pageSize
;
oParams
.
pageSize
=
this
.
$refs
.
glsxTable
.
pageSize
;
oParams
.
pageNumber
=
options
?
options
.
pageNumber
||
1
:
1
;
oParams
.
pageNumber
=
options
?
options
.
pageNumber
||
1
:
1
;
this
.
aloding
=
true
;
GET_JOURNEYS_SEARCHDETAIL
(
oParams
).
then
((
res
)
=>
{
GET_JOURNEYS_SEARCHDETAIL
(
oParams
).
then
((
res
)
=>
{
this
.
aloding
=
false
;
let
{
data
}
=
res
;
let
{
data
}
=
res
;
let
{
list
,
totalElements
}
=
data
||
{};
let
{
list
,
totalElements
}
=
data
||
{};
this
.
pageTotal
=
totalElements
;
this
.
pageTotal
=
totalElements
;
...
@@ -239,7 +242,7 @@ export default {
...
@@ -239,7 +242,7 @@ export default {
// 重置
// 重置
rest
()
{
rest
()
{
this
.
searchForm
=
{};
//
this.searchForm = {};
this
.
dateTime
=
[];
this
.
dateTime
=
[];
this
.
getList
();
this
.
getList
();
this
.
$refs
.
glsxTable
.
rest
();
this
.
$refs
.
glsxTable
.
rest
();
...
...
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