work_admin/src/api/projectInfo.js
2024-01-03 11:23:06 +08:00

18 lines
398 B
JavaScript

import $http from '@/assets/js/http'
export function list(data) {
return $http.post('project/project_info', data);
}
export function doData(data) {
let url = 'project/project_info/save';
if (data.infoCode) {
url = 'project/project_info/edit';
}
return $http.post(url, data);
}
export function del(data) {
return $http.post('project/project_info/delete', data);
}