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
05200917
Commit
05200917
authored
Oct 12, 2022
by
SQL_Mou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 卡车绩效列表
parent
8252cc09
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
12 deletions
+28
-12
api.js
src/axios/api.js
+1
-0
index.vue
...s/MLargeScreen/components/performanceStatistics/index.vue
+27
-12
No files found.
src/axios/api.js
View file @
05200917
...
...
@@ -22,6 +22,7 @@ export const failureDeclarationAdd = '/api/Hitch'; //故障申报提交
export
const
achievementStatisticsQuery
=
'
/api/DispatchReal
'
;
//获取绩效统计——司机考核(不用)
export
const
apiManmadesJXQuery
=
'
/api/Manmades/JX
'
;
//获取绩效统计——司机考核(使用)
export
const
intelligentDispatchQuery
=
'
/api/Manmades
'
;
//获取绩效统计——智能派单
export
const
chanRealQuery
=
'
/api/Manmades/ChanReal
'
;
//获取绩效统计——智能派单
export
const
updatePass
=
'
/api/users/updatePass
'
;
//修改个人信息密码
export
const
carFleetQuery
=
'
/api/CarRoad
'
;
//获取语音申请车队
export
const
carsInforQuery
=
'
/api/CarBreak
'
;
//获取语音申请车辆
...
...
src/views/MLargeScreen/components/performanceStatistics/index.vue
View file @
05200917
...
...
@@ -98,9 +98,9 @@
<div>
卡车车牌号
</div>
<div>
装车时间
</div>
</dt>
<dd
v-for=
"(item,index) in
intelligentDispatch
Data"
:key=
"index"
>
<dd
v-for=
"(item,index) in
chanRealQuery
Data"
:key=
"index"
>
<div>
{{
item
.
odd
}}
</div>
<div>
{{
item
.
car
code
}}
</div>
<div>
{{
item
.
car
No
}}
</div>
<div>
{{
item
.
createTime
}}
</div>
</dd>
</dl>
...
...
@@ -113,7 +113,7 @@
<
script
>
import
{
httpGet
,
httpPostForJson
,
putForJson
,
httpDelForJson
}
from
"
@/common/httpBean.js
"
import
{
achievementStatisticsQuery
,
intelligentDispatchQuery
,
apiManmadesJXQuery
}
from
"
@/axios/api.js
"
import
{
achievementStatisticsQuery
,
intelligentDispatchQuery
,
apiManmadesJXQuery
,
chanRealQuery
}
from
"
@/axios/api.js
"
export
default
{
data
()
{
...
...
@@ -126,6 +126,7 @@ export default {
endTime
:
''
,
checkFromData
:{},
intelligentDispatchData
:[],
chanRealQueryData
:[],
carNumber
:
''
,
}
},
...
...
@@ -154,6 +155,19 @@ export default {
query1
.
endTime
=
this
.
currentTime
(
this
.
endTime
);
query1
.
carNo
=
this
.
carNumber
;
query1
.
flag
=
0
;
if
(
this
.
carclass
==
''
){
return
}
else
if
(
this
.
carclass
==
"
铲车
"
){
httpGet
(
chanRealQuery
,
query1
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
if
(
res
.
data
.
totalElements
==
0
){
return
}
else
{
this
.
chanRealQueryData
=
res
.
data
;
}
};
});
}
else
{
httpGet
(
intelligentDispatchQuery
,
query1
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
if
(
res
.
data
.
totalElements
==
0
){
...
...
@@ -163,6 +177,7 @@ export default {
}
};
});
}
},
//查询
toSearch
(){
...
...
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