广丰卷烟厂数采质量分析系统
zhuguifei
7 天以前 2b31fa203f3435a582be51f45899d99164c9917a
ruoyi-plus-soybean/src/service/api/md/instrument.ts
@@ -1,35 +1,35 @@
import { request } from '@/service/request';
/** 获取测量仪器列表 */
export function fetchGetInstrumentList (params?: Api.Md.InstrumentSearchParams) {
    return request<Api.Md.InstrumentList>({
        url: '/md/instrument/list',
        method: 'get',
        params
    });
export function fetchGetInstrumentList(params?: Api.Md.InstrumentSearchParams) {
  return request<Api.Md.InstrumentList>({
    url: '/md/instrument/list',
    method: 'get',
    params
  });
}
/** 新增测量仪器 */
export function fetchCreateInstrument (data: Api.Md.InstrumentOperateParams) {
    return request<boolean>({
        url: '/md/instrument',
        method: 'post',
        data
    });
export function fetchCreateInstrument(data: Api.Md.InstrumentOperateParams) {
  return request<boolean>({
    url: '/md/instrument',
    method: 'post',
    data
  });
}
/** 修改测量仪器 */
export function fetchUpdateInstrument (data: Api.Md.InstrumentOperateParams) {
    return request<boolean>({
        url: '/md/instrument',
        method: 'put',
        data
    });
export function fetchUpdateInstrument(data: Api.Md.InstrumentOperateParams) {
  return request<boolean>({
    url: '/md/instrument',
    method: 'put',
    data
  });
}
/** 批量删除测量仪器 */
export function fetchBatchDeleteInstrument (ids: CommonType.IdType[]) {
    return request<boolean>({
        url: `/md/instrument/${ids.join(',')}`,
        method: 'delete'
    });
export function fetchBatchDeleteInstrument(ids: CommonType.IdType[]) {
  return request<boolean>({
    url: `/md/instrument/${ids.join(',')}`,
    method: 'delete'
  });
}