This commit is contained in:
dhr
2025-09-19 20:28:31 +08:00
parent b3a6918fef
commit aa443c3d62
12 changed files with 1539 additions and 572 deletions

View File

@ -0,0 +1,49 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
//查询列表
export const xunjianlist = (query) => {
return request({
url: '/ops/plan/list',
method: 'get',
params: query
});
};
//新增
export const addxunjian = (data) => {
return request({
url: '/ops/plan',
method: 'post',
data: data
});
};
//修改
export const updatexunjian = (data) => {
return request({
url: '/ops/plan',
method: 'put',
data: data
});
};
//删除
export const delxunjian = (ids) => {
return request({
url: `/ops/plan/${ids}`,
method: 'delete'
});
};
//查询人员
export const xunjianUserlist = (query) => {
return request({
url: '/ops/constructionUser/list',
method: 'get',
params: query
});
};
//查询巡检项
export const xunjianItemlist = (query) => {
return request({
url: '/ops/item/list',
method: 'get',
params: query
});
};