Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_app_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
kd_app_vue
Commits
e90645d0
Commit
e90645d0
authored
Jul 31, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
ae85b291
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
35 deletions
+35
-35
index.vue
src/views/MLargeScreen/components/carInformation/index.vue
+35
-35
No files found.
src/views/MLargeScreen/components/carInformation/index.vue
View file @
e90645d0
...
@@ -87,27 +87,27 @@ export default {
...
@@ -87,27 +87,27 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
loadData
(
value
,
carclass
)
{
loadData
(
value
,
carclass
)
{
let
byValue
=
value
;
let
byValue
=
value
;
this
.
showDecide
=
true
;
this
.
showDecide
=
true
;
httpGet
(
vehicleInformationQuery
,{
number
:
byValue
}).
then
((
res
)
=>
{
httpGet
(
vehicleInformationQuery
,
{
number
:
byValue
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
totalElements
==
0
)
{
if
(
res
.
data
.
totalElements
==
0
)
{
return
return
}
else
{
}
else
{
this
.
vehicleInformationData
=
res
.
data
.
content
[
0
];
this
.
vehicleInformationData
=
res
.
data
.
content
[
0
];
}
}
}
}
});
});
if
(
carclass
==
'
铲车
'
)
{
if
(
carclass
==
'
铲车
'
)
{
httpGet
(
apiManmadesChanCheRealQuery
,{
number
:
byValue
}).
then
((
res
)
=>
{
httpGet
(
apiManmadesChanCheRealQuery
,
{
number
:
byValue
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
length
!=
0
)
{
if
(
res
.
code
==
200
&&
res
.
data
.
length
!=
0
)
{
this
.
realTimeData
=
res
.
data
[
0
];
this
.
realTimeData
=
res
.
data
[
0
];
}
}
});
});
}
else
{
}
else
{
httpGet
(
apiManmadesRealQuery
,{
number
:
byValue
}).
then
((
res
)
=>
{
httpGet
(
apiManmadesRealQuery
,
{
number
:
byValue
}).
then
((
res
)
=>
{
if
(
res
.
length
!=
0
)
{
if
(
res
.
length
!=
0
)
{
this
.
realTimeData
=
res
[
0
];
this
.
realTimeData
=
res
[
0
];
}
}
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment