12345678910111213141516171819202122 |
- import request from '@/utils/request'
- import qs from 'qs'
- export function saveOrUpdate(unitPersonnelInformation,token) {
- return new request({
- url: './uc/unitPersonnelInformations',
- method: (unitPersonnelInformation.id ? 'put' : 'post'),
- headers: {
- token
- },
- data: {
- unitPersonnelInformation,
- }
- });
- }
- export function del(id) {
- return new request({
- url: './uc/unitPersonnelInformations/' + id,
- method: 'delete',
- });
- }
|