mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 10:23:38 +09:00
func : 계약관리 등록폼
- 가격조사 가져오기 활성화
This commit is contained in:
@@ -17,12 +17,6 @@ export async function getIntegratedApproval(params = {}) {
|
||||
console.log(result)
|
||||
if (result.status === 200) {
|
||||
return result.data
|
||||
} else if (result.status >= 500) {
|
||||
throw new Error('서버 오류가 발생했습니다.')
|
||||
} else if (result.status >= 400) {
|
||||
throw new Error('잘못된 요청입니다.')
|
||||
} else {
|
||||
throw new Error(`예상치 못한 상태코드: ${result.status}`)
|
||||
}
|
||||
} catch (e) {
|
||||
if (e.response) {
|
||||
@@ -55,10 +49,6 @@ export async function updateIntegratedApproval(params = {}) {
|
||||
})
|
||||
if (result.status === 200) {
|
||||
return result.data
|
||||
} else if (result.status >= 500) {
|
||||
throw new Error('서버 오류가 발생했습니다.')
|
||||
} else {
|
||||
throw new Error(`예상치 못한 상태코드: ${result.status}`)
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user