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
6ae03e6a
Commit
6ae03e6a
authored
Oct 11, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
340bdb57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
index.vue
...iews/MLargeScreen/components/failureDeclaration/index.vue
+21
-1
No files found.
src/views/MLargeScreen/components/failureDeclaration/index.vue
View file @
6ae03e6a
...
@@ -58,7 +58,17 @@
...
@@ -58,7 +58,17 @@
<
script
>
<
script
>
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
carsInforQuery
,
failureDeclarationAdd
,
vehicleInformationQuery
,
personalCenterInforQuery
,
faultInforQuery
,
carRealTimeLocationQuery2
,
faultDayAdd
,
faultMonthAdd
,
faultYearAdd
}
from
"
@/axios/api.js
"
import
{
carsInforQuery
,
failureDeclarationAdd
,
vehicleInformationQuery
,
vehicleInformationUpdate
,
personalCenterInforQuery
,
faultInforQuery
,
carRealTimeLocationQuery2
,
faultDayAdd
,
faultMonthAdd
,
faultYearAdd
}
from
"
@/axios/api.js
"
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -180,6 +190,16 @@ export default {
...
@@ -180,6 +190,16 @@ export default {
this
.
getLocationText
=
'
点击获取车辆位置
'
;
this
.
getLocationText
=
'
点击获取车辆位置
'
;
this
.
zuobiaoShow
=
false
;
this
.
zuobiaoShow
=
false
;
}
}
});
//修改车辆状态
httpGet
(
vehicleInformationQuery
,{
number
:
this
.
from
.
carcode
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
putForJson
(
vehicleInformationUpdate
,{
id
:
res
.
data
.
content
[
0
].
id
,
status
:
1
}).
then
((
res
)
=>
{
this
.
$nextTick
(()
=>
{
window
.
location
.
reload
();
})
});
}
});
});
},
},
},
},
...
...
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