Cleanup
This commit is contained in:
parent
d7fadb74d6
commit
99cd91158a
1 changed files with 0 additions and 4 deletions
|
|
@ -20,8 +20,6 @@ export default () => {
|
||||||
const response = await ofetch(api + 'get-laststatus-electrical/' + list[i], { parseResponse: JSON.parse })
|
const response = await ofetch(api + 'get-laststatus-electrical/' + list[i], { parseResponse: JSON.parse })
|
||||||
if (response.result === 'FOR ELECTRICAL ORDER OF PAYMENT APPROVAL') {
|
if (response.result === 'FOR ELECTRICAL ORDER OF PAYMENT APPROVAL') {
|
||||||
newList.push(list[i])
|
newList.push(list[i])
|
||||||
} else {
|
|
||||||
// console.log(response.result)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -43,8 +41,6 @@ export default () => {
|
||||||
const listOfReadyForApproval = await getListOfReadyForApproval()
|
const listOfReadyForApproval = await getListOfReadyForApproval()
|
||||||
const listOfReadyForApprovalFiltered = await getListOfReadyForApprovalFiltered(listOfReadyForApproval)
|
const listOfReadyForApprovalFiltered = await getListOfReadyForApprovalFiltered(listOfReadyForApproval)
|
||||||
await getApplicationById(listOfReadyForApprovalFiltered)
|
await getApplicationById(listOfReadyForApprovalFiltered)
|
||||||
|
|
||||||
console.log(updatedList())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
load()
|
load()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue