diff --git a/src/api/manage/project.js b/src/api/manage/project.js new file mode 100644 index 0000000..12cea4b --- /dev/null +++ b/src/api/manage/project.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检测项目列表 +export function listProject(query) { + return request({ + url: '/manage/project/list', + method: 'get', + params: query + }) +} + +// 查询检测项目详细 +export function getProject(id) { + return request({ + url: '/manage/project/' + id, + method: 'get' + }) +} + +// 新增检测项目 +export function addProject(data) { + return request({ + url: '/manage/project', + method: 'post', + data: data + }) +} + +// 修改检测项目 +export function updateProject(data) { + return request({ + url: '/manage/project', + method: 'put', + data: data + }) +} + +// 删除检测项目 +export function delProject(id) { + return request({ + url: '/manage/project/' + id, + method: 'delete' + }) +} diff --git a/src/api/manage/projectdevice.js b/src/api/manage/projectdevice.js new file mode 100644 index 0000000..00706ea --- /dev/null +++ b/src/api/manage/projectdevice.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检测项目设备列表 +export function listProjectdevice(query) { + return request({ + url: '/manage/projectdevice/list', + method: 'get', + params: query + }) +} + +// 查询检测项目设备详细 +export function getProjectdevice(id) { + return request({ + url: '/manage/projectdevice/' + id, + method: 'get' + }) +} + +// 新增检测项目设备 +export function addProjectdevice(data) { + return request({ + url: '/manage/projectdevice', + method: 'post', + data: data + }) +} + +// 修改检测项目设备 +export function updateProjectdevice(data) { + return request({ + url: '/manage/projectdevice', + method: 'put', + data: data + }) +} + +// 删除检测项目设备 +export function delProjectdevice(id) { + return request({ + url: '/manage/projectdevice/' + id, + method: 'delete' + }) +} diff --git a/src/api/manage/projectgroup.js b/src/api/manage/projectgroup.js new file mode 100644 index 0000000..d6f16c4 --- /dev/null +++ b/src/api/manage/projectgroup.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检测项目分组列表 +export function listProjectgroup(query) { + return request({ + url: '/manage/projectgroup/list', + method: 'get', + params: query + }) +} + +// 查询检测项目分组详细 +export function getProjectgroup(id) { + return request({ + url: '/manage/projectgroup/' + id, + method: 'get' + }) +} + +// 新增检测项目分组 +export function addProjectgroup(data) { + return request({ + url: '/manage/projectgroup/addList', + method: 'post', + data: data + }) +} + +// 修改检测项目分组 +export function updateProjectgroup(data) { + return request({ + url: '/manage/projectgroup', + method: 'put', + data: data + }) +} + +// 删除检测项目分组 +export function delProjectgroup(id) { + return request({ + url: '/manage/projectgroup/' + id, + method: 'delete' + }) +} diff --git a/src/api/manage/projectresult.js b/src/api/manage/projectresult.js new file mode 100644 index 0000000..51d63f0 --- /dev/null +++ b/src/api/manage/projectresult.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询检测项目结果列表 +export function listProjectresult(query) { + return request({ + url: '/manage/projectResult/list', + method: 'get', + params: query + }) +} + +// 查询检测项目结果详细 +export function getProjectresult(id) { + return request({ + url: '/manage/projectresult/' + id, + method: 'get' + }) +} + +// 新增检测项目结果 +export function addProjectresult(data) { + return request({ + url: '/manage/projectresult', + method: 'post', + data: data + }) +} + +// 修改检测项目结果 +export function updateProjectresult(data) { + return request({ + url: '/manage/projectresult', + method: 'put', + data: data + }) +} + +// 删除检测项目结果 +export function delProjectresult(id) { + return request({ + url: '/manage/projectresult/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/partition.js b/src/api/system/partition.js new file mode 100644 index 0000000..bcf7339 --- /dev/null +++ b/src/api/system/partition.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 查询任务细分字典列表 +export function listPartition(query) { + return request({ + url: '/system/partition/list', + method: 'get', + params: query + }) +} +// 任务类型名称下拉框 +export function selectTaskTypeList(query) { + return request({ + url: '/system/taskType/selectTaskTypeList', + method: 'get', + params: query + }) +} + + +// 查询任务细分字典详细 +export function getPartition(id) { + return request({ + url: '/system/partition/' + id, + method: 'get' + }) +} + +// 新增任务细分字典 +export function addPartition(data) { + return request({ + url: '/system/partition/add', + method: 'post', + data: data + }) +} + +// 修改任务细分字典 +export function updatePartition(data) { + return request({ + url: '/system/partition/edit', + method: 'put', + data: data + }) +} + +// 删除任务细分字典 +export function delPartition(id) { + return request({ + url: '/system/partition/' + id, + method: 'delete' + }) +} + diff --git a/src/api/system/taskType.js b/src/api/system/taskType.js new file mode 100644 index 0000000..1261b77 --- /dev/null +++ b/src/api/system/taskType.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询任务类型字典列表 +export function listTaskType(query) { + return request({ + url: '/system/taskType/list', + method: 'get', + params: query + }) +} + +// 查询任务类型字典详细 +export function getTaskType(id) { + return request({ + url: '/system/taskType/' + id, + method: 'get' + }) +} + +// 新增任务类型字典 +export function addTaskType(data) { + return request({ + url: '/system/taskType/add', + method: 'post', + data: data + }) +} + +// 修改任务类型字典 +export function updateTaskType(data) { + return request({ + url: '/system/taskType/edit', + method: 'put', + data: data + }) +} + +// 删除任务类型字典 +export function delTaskType(id) { + return request({ + url: '/system/taskType/' + id, + method: 'delete' + }) +} diff --git a/src/views/manage/message/index.vue b/src/views/manage/message/index.vue index 35b9f4f..83d1ca6 100644 --- a/src/views/manage/message/index.vue +++ b/src/views/manage/message/index.vue @@ -239,6 +239,11 @@ + + + + + diff --git a/src/views/system/agencyCategory/index.vue b/src/views/system/agencyCategory/index.vue index 746febf..e89eed2 100644 --- a/src/views/system/agencyCategory/index.vue +++ b/src/views/system/agencyCategory/index.vue @@ -450,7 +450,7 @@ export default { }, }; - - diff --git a/src/views/system/subdivision/index.vue b/src/views/system/subdivision/index.vue index 93b3240..3050f71 100644 --- a/src/views/system/subdivision/index.vue +++ b/src/views/system/subdivision/index.vue @@ -176,11 +176,12 @@ /> - + +
+ + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +