diff --git a/src/api/manage/indicatorMonitoring.js b/src/api/manage/indicatorMonitoring.js new file mode 100644 index 0000000..4d4f95c --- /dev/null +++ b/src/api/manage/indicatorMonitoring.js @@ -0,0 +1,12 @@ +import request from '@/utils/request' + + +// 查询检测检测项目结果曲线统计 +export function curveStatistics(query) { + return request({ + url: `/manage/projectResult/curveStatistics`, + method: 'get', + params: query + }) +} + 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/components/indicatorMonitoring.vue b/src/views/manage/components/indicatorMonitoring.vue index b391a76..88e14e3 100644 --- a/src/views/manage/components/indicatorMonitoring.vue +++ b/src/views/manage/components/indicatorMonitoring.vue @@ -9,67 +9,200 @@