wangxinyuan^2
Qin Dong Ming 2024-08-23 20:46:48 +08:00
parent b8c4c1db55
commit 30fdb2543a
2 changed files with 8 additions and 5 deletions

View File

@ -4,7 +4,7 @@ import request from '@/utils/request'
export function selectEngineList(data){ export function selectEngineList(data){
return request({ return request({
url: "/engine/engine/getMaintenanceList", url: "/engine/engine/getMaintenanceList",
method: "Get", method: "post",
data:data data:data
}) })
} }

View File

@ -168,13 +168,15 @@ export default {
return { return {
engineReq:{ engineReq:{
pageNum:1,
pageSize:5
}, },
engine:{ engine:{
}, },
arr:[], arr:[],
dialogFormVisible:false dialogFormVisible:false,
total:0
}; };
}, },
// data", // data",
@ -191,8 +193,9 @@ export default {
this.engine = {} this.engine = {}
}, },
findSelectSourceList(){ findSelectSourceList(){
selectEngineList().then(res=>{ selectEngineList(this.engineReq).then(res=>{
this.arr=res.data; this.arr=res.data.list;
this.total=res.data.total;
}) })
}, },
handleDelete(id){ handleDelete(id){