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
Hide 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,33 +87,33 @@ export default {
...
@@ -87,33 +87,33 @@ 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
];
}
}
});
});
}
}
},
},
carInCloseFn
(){
carInCloseFn
(){
this
.
showDecide
=
false
;
this
.
showDecide
=
false
;
this
.
$parent
.
selectFunction
=
0
;
this
.
$parent
.
selectFunction
=
0
;
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
var
day
=
date
.
getDate
();
//日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31)
var
day
=
date
.
getDate
();
//日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31)
var
hours
=
date
.
getHours
();
//小时 ,返回 Date 对象的小时 (0 ~ 23)
var
hours
=
date
.
getHours
();
//小时 ,返回 Date 对象的小时 (0 ~ 23)
var
minutes
=
date
.
getMinutes
();
//分钟 ,返回 Date 对象的分钟 (0 ~ 59)
var
minutes
=
date
.
getMinutes
();
//分钟 ,返回 Date 对象的分钟 (0 ~ 59)
var
seconds
=
date
.
getSeconds
();
//秒 ,返回 Date 对象的秒数 (0 ~ 59)
var
seconds
=
date
.
getSeconds
();
//秒 ,返回 Date 对象的秒数 (0 ~ 59)
//修改月份格式
//修改月份格式
if
(
month
>=
1
&&
month
<=
9
)
{
if
(
month
>=
1
&&
month
<=
9
)
{
month
=
"
0
"
+
month
;
month
=
"
0
"
+
month
;
...
@@ -200,9 +200,9 @@ export default {
...
@@ -200,9 +200,9 @@ export default {
.carInContent_left_title
{
.carInContent_left_title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
font-weight
:
600
;
background-image
:
-webkit-linear-gradient
(
bottom
,
#59C8FF
,
#FAFEFF
);
background-image
:
-webkit-linear-gradient
(
bottom
,
#59C8FF
,
#FAFEFF
);
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
.carInFrom_content
{
.carInFrom_content
{
margin-top
:
3.5vh
;
margin-top
:
3.5vh
;
...
@@ -273,9 +273,9 @@ export default {
...
@@ -273,9 +273,9 @@ export default {
.carInContent_left_title
{
.carInContent_left_title
{
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
600
;
font-weight
:
600
;
background-image
:
-webkit-linear-gradient
(
bottom
,
#59C8FF
,
#FAFEFF
);
background-image
:
-webkit-linear-gradient
(
bottom
,
#59C8FF
,
#FAFEFF
);
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
.carInFrom_content
{
.carInFrom_content
{
margin-top
:
15px
;
margin-top
:
15px
;
...
@@ -303,4 +303,4 @@ export default {
...
@@ -303,4 +303,4 @@ export default {
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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