Commit 05200917 authored by SQL_Mou's avatar SQL_Mou

修改 卡车绩效列表

parent 8252cc09
......@@ -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'; //获取语音申请车辆
......
......@@ -98,9 +98,9 @@
<div>卡车车牌号</div>
<div>装车时间</div>
</dt>
<dd v-for="(item,index) in intelligentDispatchData" :key="index">
<dd v-for="(item,index) in chanRealQueryData" :key="index">
<div>{{item.odd}}</div>
<div>{{item.carcode}}</div>
<div>{{item.carNo}}</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,15 +155,29 @@ export default {
query1.endTime = this.currentTime(this.endTime);
query1.carNo = this.carNumber;
query1.flag = 0;
httpGet(intelligentDispatchQuery,query1).then((res) => {
if(res.code === 200){
if(res.data.totalElements == 0){
return
}else{
this.intelligentDispatchData = res.data.content;
}
};
});
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){
return
}else{
this.intelligentDispatchData = res.data.content;
}
};
});
}
},
//查询
toSearch(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment