| | |
| | | import request from '@/router/axios'; |
| | | import qs from 'qs' // axios自带的工具不需要安装npm依赖 |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const adds = (row) => { |
| | | return request({ |
| | | url: '/api/feedback/feedback/saves', |
| | | method: 'post', |
| | | headers: { |
| | | 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8' |
| | | }, |
| | | data: qs.stringify(row) |
| | | }) |
| | | } |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/feedback/feedback/submit', |
| | |
| | | }) |
| | | } |
| | | |
| | | export const updates = (row) => { |
| | | return request({ |
| | | url: '/api/feedback/feedback/updates', |
| | | method: 'post', |
| | | headers: { |
| | | 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8' |
| | | }, |
| | | data: qs.stringify(row) |
| | | }) |
| | | } |
| | | |