You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
889 B

import axios from 'axios';
export function listTable1(query) {
const url = '/system/table1/list';
return axios.get(url, { params: query })
.then(response => response.data)
.catch(error => console.error(error));
}
// 查询药品作用管理详细
export function getTable1(id) {
return request({
url: '/system/table1/' + id,
method: 'get'
})
}
// // 新增药品作用管理
// export function addTable1(data) {
// return request({
// url: '/system/table1',
// method: 'post',
// data: data
// })
// }
//
// // 修改药品作用管理
// export function updateTable1(data) {
// return request({
// url: '/system/table1',
// method: 'put',
// data: data
// })
// }
//
// // 删除药品作用管理
// export function delTable1(id) {
// return request({
// url: '/system/table1/' + id,
// method: 'delete'
// })
// }