12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- import request from '@/utils/request'
- // 查询样品管理列表
- export function listSampleInfo(query) {
- return request({
- url: '/sample/sampleInfo/list',
- method: 'get',
- params: query
- })
- }
- // 查询样品管理详细
- export function getSampleInfo(id) {
- return request({
- url: '/sample/sampleInfo/' + id,
- method: 'get'
- })
- }
- // 新增样品管理
- export function addSampleInfo(data) {
- return request({
- url: '/sample/sampleInfo',
- method: 'post',
- data: data
- })
- }
- // 修改样品管理
- export function updateSampleInfo(data) {
- return request({
- url: '/sample/sampleInfo',
- method: 'put',
- data: data
- })
- }
- // 删除样品管理
- export function delSampleInfo(id) {
- return request({
- url: '/sample/sampleInfo/' + id,
- method: 'delete'
- })
- }
- // 获取样本类型下拉列表
- export function getSampleTypeSelect() {
- return request({
- url: '/sample/sampleType/getAll',
- method: 'get'
- })
- }
|