Initial commit, repo migration
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const AkunList = async (data) => {
|
||||
const response = await axios.post('akun/list', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const AkunGetOne = async (data) => {
|
||||
const response = await axios.post('akun/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const AkunUpdate = async (data) => {
|
||||
const response = await axios.post('akun/update', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const AkunCreate = async (data) => {
|
||||
const response = await axios.post('akun/create', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const AkunDelete = async (data) => {
|
||||
const response = await axios.post('akun/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const JenisBelanjaList = async (data) => {
|
||||
const response = await axios.post('jenis-belanja/list', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisBelanjaGetOne = async (data) => {
|
||||
const response = await axios.post('jenis-belanja/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisBelanjaUpdate = async (data) => {
|
||||
const response = await axios.post('jenis-belanja/update', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisBelanjaCreate = async (data) => {
|
||||
const response = await axios.post('jenis-belanja/create', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisBelanjaDelete = async (data) => {
|
||||
const response = await axios.post('jenis-belanja/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const JenisKegiatanList = async (data) => {
|
||||
const response = await axios.post('jenis-kegiatan/list', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisKegiatanGetOne = async (data) => {
|
||||
const response = await axios.post('jenis-kegiatan/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisKegiatanUpdate = async (data) => {
|
||||
const response = await axios.post('jenis-kegiatan/update', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisKegiatanCreate = async (data) => {
|
||||
const response = await axios.post('jenis-kegiatan/create', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisKegiatanDelete = async (data) => {
|
||||
const response = await axios.post('jenis-kegiatan/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const JenisTagihanList = async (data) => {
|
||||
const response = await axios.post('jenis-tagihan/list', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisTagihanGetOne = async (data) => {
|
||||
const response = await axios.post('jenis-tagihan/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisTagihanUpdate = async (data) => {
|
||||
const response = await axios.post('jenis-tagihan/update', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisTagihanCreate = async (data) => {
|
||||
const response = await axios.post('jenis-tagihan/create', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const JenisTagihanDelete = async (data) => {
|
||||
const response = await axios.post('jenis-tagihan/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const PersyaratanList = async (data) => {
|
||||
const response = await axios.post('persyaratan/list', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const PersyaratanGetOne = async (data) => {
|
||||
const response = await axios.post('persyaratan/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const PersyaratanUpdate = async (data) => {
|
||||
const response = await axios.post('persyaratan/update', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const PersyaratanCreate = async (data) => {
|
||||
const response = await axios.post('persyaratan/create', data, { headers: { 'Content-Type': 'application/json' } })
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const PersyaratanDelete = async (data) => {
|
||||
const response = await axios.post('persyaratan/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const PersyaratanSearch = async (data) => {
|
||||
const response = await axios.post('persyaratan/search', data, headers)
|
||||
return response.data
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const UnitKerjaList = async (data) => {
|
||||
const response = await axios.post('unit/list', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const UnitKerjaGetOne = async (data) => {
|
||||
const response = await axios.post('unit/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const UnitKerjaUpdate = async (data) => {
|
||||
const response = await axios.post('unit/update', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const UnitKerjaCreate = async (data) => {
|
||||
const response = await axios.post('unit/create', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const UnitKerjaDelete = async (data) => {
|
||||
const response = await axios.post('unit/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import axios from '../../lib/axios'
|
||||
|
||||
const headers = {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
}
|
||||
|
||||
export const VerifikatorList = async () => {
|
||||
const response = await axios.get('verifikator/list')
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const VerifikatorGetOne = async (data) => {
|
||||
const response = await axios.post('verifikator/get', data, headers)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const VerifikatorCreate = async (data) => {
|
||||
const response = await axios.post('verifikator/save_bobot', data, { headers: { 'Content-Type': 'application/json' } })
|
||||
return response.data
|
||||
}
|
||||
|
||||
export const VerifikatorDelete = async (data) => {
|
||||
const response = await axios.post('user/delete', data, headers)
|
||||
return response.data
|
||||
}
|
||||
Reference in New Issue
Block a user