12345678910111213141516171819202122232425262728293031323334353637383940 |
- import request from '@/utils/request'
- export function getReqList(params) {
- return request({
- url: `/system/apply/material/list`,
- method: 'get',
- params: params
- })
- }
- export function addReq(data) {
- return request({
- url: `/system/apply/material`,
- method: 'post',
- data: data
- })
- }
- export function getReqDetail(id) {
- return request({
- url: `/system/apply/material/${id}`,
- method: 'get',
- })
- }
- export function editReq(data) {
- return request({
- url: `/system/apply/material`,
- method: 'put',
- data: data
- })
- }
- export function delReq(id) {
- return request({
- url: `/system/apply/material/${id}`,
- method: 'delete',
- })
- }
|