123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- 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,
- })
- },
- }
|