This commit is contained in:
PQZ 2024-09-20 01:20:40 +08:00
parent 0636b4a78c
commit a85bf4c466
2 changed files with 10 additions and 10 deletions

View File

@ -529,8 +529,8 @@
this.queryParams.endTime = this.queryParams.jcTime[1] this.queryParams.endTime = this.queryParams.jcTime[1]
} }
listDelWorkOrder(this.queryParams).then(response => { listDelWorkOrder(this.queryParams).then(response => {
this.infoList = response.rows; this.infoList = response.data.records;
this.total = response.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
workOrderData(this.queryParams).then(response => { workOrderData(this.queryParams).then(response => {
@ -544,7 +544,7 @@
} }
getWorker(data).then(res =>{ getWorker(data).then(res =>{
console.log(res) console.log(res)
this.workerList = res.rows this.workerList = res.data.records
}) })
getBankAccountList().then(res=>{ getBankAccountList().then(res=>{
res.data.forEach(it=>{ res.data.forEach(it=>{

View File

@ -399,7 +399,7 @@
inspectionId:'', inspectionId:'',
size:'', size:'',
workId:'', workId:'',
workerList:[], // workerList:[],
value: '', value: '',
options:[], options:[],
// //
@ -601,8 +601,8 @@
this.queryParams.endTime = this.queryParams.jcTime[1] this.queryParams.endTime = this.queryParams.jcTime[1]
} }
listWorkOrder(this.queryParams).then(response => { listWorkOrder(this.queryParams).then(response => {
this.infoList = response.rows; this.infoList = response.data.records;
this.total = response.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
workOrderData(this.queryParams).then(response => { workOrderData(this.queryParams).then(response => {
@ -614,10 +614,10 @@
pageNum:1, pageNum:1,
pageSize:100, pageSize:100,
} }
getWorker(data).then(res =>{ // getWorker(data).then(res =>{
console.log(res) // console.log(res)
this.workerList = res.rows // this.workerList = res.rows
}) // })
getBankAccountList().then(res=>{ getBankAccountList().then(res=>{
res.data.forEach(it=>{ res.data.forEach(it=>{
let temp={} let temp={}