import { HcApi } from '../../request/index' export default { async save(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/save', method: 'post', data: form, }) }, async update(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/update', method: 'post', data: form, }) }, async getTrialNumberRule(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/getTrialNumberRule', method: 'get', params: form, }) }, //删除 async remove(form) { return HcApi({ url: '/api//blade-business/trialnumberrule/remove', method: 'post', params: form, }) }, async getTrialNumber(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/getTrialNumber', method: 'get', params: form, }) }, async reTrialNumberRule(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/reTrialNumberRule', method: 'get', params: form, }) }, async getEntrustNumber(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/getEntrustNumber', method: 'get', params: form, }) }, async sort(form) { return HcApi({ url: '/api/blade-business/trialnumberrule/sort', method: 'post', data: form, }) }, ///获取基础信息 async getBaseInfo(form) { return HcApi({ url: '/api/blade-business/detection/self/getBaseInfo', method: 'get', params: form, }) }, async saveBaseInfo(form) { return HcApi({ url: '/api/blade-business/detection/self/saveBaseInfo', method: 'post', data: form, }) }, //根据standardCode获取检测项目 async getStandardInfoByStandardId(form) { return HcApi({ url: '/api/blade-business/detection/self/getStandardInfoByStandardId', method: 'get', params: form, }) }, //关联上次设备 async lastTrailDeviceInfo(form) { return HcApi({ url: '/api/blade-business/detection/self/lastTrailDeviceInfo', method: 'get', params: form, }) }, //获取关联设备修改 async getDeviceInfoByIds(form) { return HcApi({ url: '/api/blade-business/detection/self/getDeviceInfoByIds', method: 'get', params: form, }) }, }