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 1fc55cfa
authored
Dec 30, 2021
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
d359bba1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
src/views/reportManage/mileageGeneral.vue
src/views/reportManage/mileageGeneralDetail.vue
src/views/reportManage/mileageGeneral.vue
View file @
1fc55cf
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
lookDetail
(
row
)
{
lookDetail
(
row
)
{
console
.
log
(
row
);
console
.
log
(
row
);
let
query
=
{
vin
:
row
.
vin
};
let
query
=
{
vin
:
row
.
vin
};
let
path
=
"/trialRun#/reportManage/mileageGeneralDetail?
vin="
+
row
.
vi
n
;
let
path
=
"/trialRun#/reportManage/mileageGeneralDetail?
sn="
+
row
.
s
n
;
history
.
pushState
(
query
,
path
,
path
);
history
.
pushState
(
query
,
path
,
path
);
//this.$router.push({ name: "mileageDetail", query: { vin: row.vin } });
//this.$router.push({ name: "mileageDetail", query: { vin: row.vin } });
},
},
...
...
src/views/reportManage/mileageGeneralDetail.vue
View file @
1fc55cf
...
@@ -12,12 +12,8 @@
...
@@ -12,12 +12,8 @@
</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.input3"
>
<el-input
placeholder=
"设备号"
v-model=
"searchForm.sn"
>
<template
slot=
"prepend"
>
设备号
</
template
>
</el-input>
</el-input>
-->
<el-select
v-model=
"searchForm.sn"
>
<el-option
v-for=
"item in snList"
:key=
"item"
:label=
"item"
:value=
"item"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"getList()"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"getList()"
>
搜索
</el-button>
...
@@ -72,7 +68,7 @@ import moment from "moment";
...
@@ -72,7 +68,7 @@ import moment from "moment";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
searchForm
:
{},
searchForm
:
{
sn
:
this
.
$route
.
query
.
sn
},
snList
:
[],
snList
:
[],
dateTime
:
[],
dateTime
:
[],
tableData
:
[],
tableData
:
[],
...
@@ -169,11 +165,10 @@ export default {
...
@@ -169,11 +165,10 @@ export default {
GlsxTable
,
GlsxTable
,
},
},
created
()
{
created
()
{
this
.
getSn
();
//
this.getSn();
},
},
mounted
()
{
mounted
()
{
const
startDate
=
moment
().
weekday
(
1
).
format
(
"YYYY-MM-DD"
);
this
.
getList
()
console
.
log
(
startDate
);
//this.getTableList();
//this.getTableList();
},
},
methods
:
{
methods
:
{
...
...
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