import request from "@/utils/httpRequest";
import { REGISTER_PATH as prefix } from "../../AppPath";

export default {
	list: function (params) {
		return request({
			url: prefix + '/reimburseRegister/list',
			method: 'get',
			params: params
		})
	},
	list2: function (params) {
		return request({
			url: prefix + '/reimburseRegister/list2',
			method: 'get',
			params: params
		})
	},
	save (inputForm) {
		return request({
			url: prefix +  `/reimburseRegister/save`,
			method: 'post',
			data: inputForm
		})
	},
	findById (id) {
		return request({
			url: prefix + '/reimburseRegister/findById',
			method: 'get',
			params: {id: id}
		})
	},
	updateStatusById (param) {
		return request({
			url: prefix + '/reimburseRegister/updateStatusById',
			method: 'post',
			data: param
		})
	},
	remove (id) {
		return request({
			url: prefix + '/reimburseRegister/remove',
			method: 'get',
			params: {id: id}
		})
	}
}
