Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
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
SQL_Mou
NewTruckTerminalSyetem
Commits
54b3b245
Commit
54b3b245
authored
Oct 18, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
064f4148
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
+18
-8
api.js
src/axios/api.js
+1
-0
index.vue
src/views/MLargeScreen/components/carInformation/index.vue
+16
-7
index.vue
src/views/MLargeScreen/index.vue
+1
-1
No files found.
src/axios/api.js
View file @
54b3b245
...
@@ -44,3 +44,4 @@ export const apiCpointQuery = '/api/Cpoint'; //获取关键控制点坐标
...
@@ -44,3 +44,4 @@ export const apiCpointQuery = '/api/Cpoint'; //获取关键控制点坐标
export
const
apiPathmapNavigationQuery
=
'
/api/Pathmap/navigation
'
;
//获取关键控制点坐标
export
const
apiPathmapNavigationQuery
=
'
/api/Pathmap/navigation
'
;
//获取关键控制点坐标
export
const
apiManmadesRealCarQuery
=
'
/api/Manmades/RealCar
'
;
//点击车辆小弹框
export
const
apiManmadesRealCarQuery
=
'
/api/Manmades/RealCar
'
;
//点击车辆小弹框
export
const
apiManmadesChanJxQuery
=
'
/api/Manmades/ChanJx
'
;
//铲车绩效上面
export
const
apiManmadesChanJxQuery
=
'
/api/Manmades/ChanJx
'
;
//铲车绩效上面
export
const
apiManmadesChanCheRealQuery
=
'
/api/Manmades/ChanCheReal
'
;
//铲车车辆信息实时数据
src/views/MLargeScreen/components/carInformation/index.vue
View file @
54b3b245
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<
script
>
<
script
>
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
vehicleInformationQuery
,
apiManmadesRealQuery
}
from
"
@/axios/api.js
"
import
{
vehicleInformationQuery
,
apiManmadesRealQuery
,
apiManmadesChanCheRealQuery
}
from
"
@/axios/api.js
"
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
loadData
(
value
)
{
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
)
=>
{
...
@@ -99,11 +99,20 @@ export default {
...
@@ -99,11 +99,20 @@ export default {
}
}
}
}
});
});
if
(
carclass
==
'
铲车
'
){
httpGet
(
apiManmadesChanCheRealQuery
,{
number
:
byValue
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
length
!=
0
){
this
.
realTimeData
=
res
.
data
[
0
];
}
});
}
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
];
}
}
});
});
}
},
},
carInCloseFn
(){
carInCloseFn
(){
this
.
showDecide
=
false
;
this
.
showDecide
=
false
;
...
...
src/views/MLargeScreen/index.vue
View file @
54b3b245
...
@@ -388,7 +388,7 @@ export default {
...
@@ -388,7 +388,7 @@ export default {
this
.
$refs
.
personalCenterMethod
.
personalCenCloseFn
();
this
.
$refs
.
personalCenterMethod
.
personalCenCloseFn
();
this
.
$refs
.
smallWindowMethod
.
carInCloseFn
();
this
.
$refs
.
smallWindowMethod
.
carInCloseFn
();
let
byValue
=
this
.
carnumber
;
let
byValue
=
this
.
carnumber
;
this
.
$refs
.
carInformationMethod
.
loadData
(
byValue
);
this
.
$refs
.
carInformationMethod
.
loadData
(
byValue
,
this
.
carclass
);
}
else
{
}
else
{
this
.
selectFunction
=
0
;
this
.
selectFunction
=
0
;
this
.
$refs
.
voiceApplicationMethod
.
voiceAppCloseFn
();
this
.
$refs
.
voiceApplicationMethod
.
voiceAppCloseFn
();
...
...
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