diff --git a/src/api/home/device/instruction.ts b/src/api/home/device/instruction.ts new file mode 100644 index 0000000..bee99eb --- /dev/null +++ b/src/api/home/device/instruction.ts @@ -0,0 +1,32 @@ +/** + * 设备管理--指令下发 + */ +import request from '@/api/index' + +// 设备管理基础列表 +export function getInstructionListPage(data: any) { + return request({ + url: `/system/busConfig/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} +// 删除 +export function removeInstruction(ids: any) { + return request({ + url: '/system/busConfig/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新增 +export function addInstruction(data: any) { + return request({ + url: '/system/busConfig/add', + method: 'post', + data, + }) +} diff --git a/src/api/home/device/instruction.ts b/src/api/home/device/instruction.ts new file mode 100644 index 0000000..bee99eb --- /dev/null +++ b/src/api/home/device/instruction.ts @@ -0,0 +1,32 @@ +/** + * 设备管理--指令下发 + */ +import request from '@/api/index' + +// 设备管理基础列表 +export function getInstructionListPage(data: any) { + return request({ + url: `/system/busConfig/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} +// 删除 +export function removeInstruction(ids: any) { + return request({ + url: '/system/busConfig/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新增 +export function addInstruction(data: any) { + return request({ + url: '/system/busConfig/add', + method: 'post', + data, + }) +} diff --git a/src/api/home/ledger/pipeline.ts b/src/api/home/ledger/pipeline.ts new file mode 100644 index 0000000..1823500 --- /dev/null +++ b/src/api/home/ledger/pipeline.ts @@ -0,0 +1,42 @@ +/** + * 台账管理--管线管理接口 + */ +import request from '@/api/index' + +// 基础列表 +export function getPiePleListPage(data: any) { + return request({ + url: `/system/busPipeline/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} + +// 删除 +export function removePieple(ids: any) { + return request({ + url: '/system/busPipeline/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新建 +export function addPieple(data: any) { + return request({ + url: '/system/busPipeline/add', + method: 'post', + data, + }) +} + +// 编辑 +export function editPieple(data: any) { + return request({ + url: '/system/busPipeline/edit', + method: 'post', + data, + }) +} diff --git a/src/api/home/device/instruction.ts b/src/api/home/device/instruction.ts new file mode 100644 index 0000000..bee99eb --- /dev/null +++ b/src/api/home/device/instruction.ts @@ -0,0 +1,32 @@ +/** + * 设备管理--指令下发 + */ +import request from '@/api/index' + +// 设备管理基础列表 +export function getInstructionListPage(data: any) { + return request({ + url: `/system/busConfig/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} +// 删除 +export function removeInstruction(ids: any) { + return request({ + url: '/system/busConfig/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新增 +export function addInstruction(data: any) { + return request({ + url: '/system/busConfig/add', + method: 'post', + data, + }) +} diff --git a/src/api/home/ledger/pipeline.ts b/src/api/home/ledger/pipeline.ts new file mode 100644 index 0000000..1823500 --- /dev/null +++ b/src/api/home/ledger/pipeline.ts @@ -0,0 +1,42 @@ +/** + * 台账管理--管线管理接口 + */ +import request from '@/api/index' + +// 基础列表 +export function getPiePleListPage(data: any) { + return request({ + url: `/system/busPipeline/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} + +// 删除 +export function removePieple(ids: any) { + return request({ + url: '/system/busPipeline/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新建 +export function addPieple(data: any) { + return request({ + url: '/system/busPipeline/add', + method: 'post', + data, + }) +} + +// 编辑 +export function editPieple(data: any) { + return request({ + url: '/system/busPipeline/edit', + method: 'post', + data, + }) +} diff --git a/src/views/home/alarm/count/components/locationAnalysis.vue b/src/views/home/alarm/count/components/locationAnalysis.vue index b7da9cc..4265aaf 100644 --- a/src/views/home/alarm/count/components/locationAnalysis.vue +++ b/src/views/home/alarm/count/components/locationAnalysis.vue @@ -4,6 +4,7 @@ Date: 2023-07-08 --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/api/home/device/instruction.ts b/src/api/home/device/instruction.ts new file mode 100644 index 0000000..bee99eb --- /dev/null +++ b/src/api/home/device/instruction.ts @@ -0,0 +1,32 @@ +/** + * 设备管理--指令下发 + */ +import request from '@/api/index' + +// 设备管理基础列表 +export function getInstructionListPage(data: any) { + return request({ + url: `/system/busConfig/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} +// 删除 +export function removeInstruction(ids: any) { + return request({ + url: '/system/busConfig/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新增 +export function addInstruction(data: any) { + return request({ + url: '/system/busConfig/add', + method: 'post', + data, + }) +} diff --git a/src/api/home/ledger/pipeline.ts b/src/api/home/ledger/pipeline.ts new file mode 100644 index 0000000..1823500 --- /dev/null +++ b/src/api/home/ledger/pipeline.ts @@ -0,0 +1,42 @@ +/** + * 台账管理--管线管理接口 + */ +import request from '@/api/index' + +// 基础列表 +export function getPiePleListPage(data: any) { + return request({ + url: `/system/busPipeline/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} + +// 删除 +export function removePieple(ids: any) { + return request({ + url: '/system/busPipeline/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新建 +export function addPieple(data: any) { + return request({ + url: '/system/busPipeline/add', + method: 'post', + data, + }) +} + +// 编辑 +export function editPieple(data: any) { + return request({ + url: '/system/busPipeline/edit', + method: 'post', + data, + }) +} diff --git a/src/views/home/alarm/count/components/locationAnalysis.vue b/src/views/home/alarm/count/components/locationAnalysis.vue index b7da9cc..4265aaf 100644 --- a/src/views/home/alarm/count/components/locationAnalysis.vue +++ b/src/views/home/alarm/count/components/locationAnalysis.vue @@ -4,6 +4,7 @@ Date: 2023-07-08 --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/home/device/instruction/index.vue b/src/views/home/device/instruction/index.vue index d3ff9a2..266fb93 100644 --- a/src/views/home/device/instruction/index.vue +++ b/src/views/home/device/instruction/index.vue @@ -1,3 +1,243 @@ + + + - 指令下发 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 批量下发 + + + 新建 + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 查看 + + + 重新下发 + + + 删除 + + + + + + + diff --git a/src/api/home/device/instruction.ts b/src/api/home/device/instruction.ts new file mode 100644 index 0000000..bee99eb --- /dev/null +++ b/src/api/home/device/instruction.ts @@ -0,0 +1,32 @@ +/** + * 设备管理--指令下发 + */ +import request from '@/api/index' + +// 设备管理基础列表 +export function getInstructionListPage(data: any) { + return request({ + url: `/system/busConfig/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} +// 删除 +export function removeInstruction(ids: any) { + return request({ + url: '/system/busConfig/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新增 +export function addInstruction(data: any) { + return request({ + url: '/system/busConfig/add', + method: 'post', + data, + }) +} diff --git a/src/api/home/ledger/pipeline.ts b/src/api/home/ledger/pipeline.ts new file mode 100644 index 0000000..1823500 --- /dev/null +++ b/src/api/home/ledger/pipeline.ts @@ -0,0 +1,42 @@ +/** + * 台账管理--管线管理接口 + */ +import request from '@/api/index' + +// 基础列表 +export function getPiePleListPage(data: any) { + return request({ + url: `/system/busPipeline/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} + +// 删除 +export function removePieple(ids: any) { + return request({ + url: '/system/busPipeline/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新建 +export function addPieple(data: any) { + return request({ + url: '/system/busPipeline/add', + method: 'post', + data, + }) +} + +// 编辑 +export function editPieple(data: any) { + return request({ + url: '/system/busPipeline/edit', + method: 'post', + data, + }) +} diff --git a/src/views/home/alarm/count/components/locationAnalysis.vue b/src/views/home/alarm/count/components/locationAnalysis.vue index b7da9cc..4265aaf 100644 --- a/src/views/home/alarm/count/components/locationAnalysis.vue +++ b/src/views/home/alarm/count/components/locationAnalysis.vue @@ -4,6 +4,7 @@ Date: 2023-07-08 --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/home/device/instruction/index.vue b/src/views/home/device/instruction/index.vue index d3ff9a2..266fb93 100644 --- a/src/views/home/device/instruction/index.vue +++ b/src/views/home/device/instruction/index.vue @@ -1,3 +1,243 @@ + + + - 指令下发 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 批量下发 + + + 新建 + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 查看 + + + 重新下发 + + + 删除 + + + + + + + diff --git a/src/views/home/ledger/pipeline/components/editDialog.vue b/src/views/home/ledger/pipeline/components/editDialog.vue new file mode 100644 index 0000000..49a6cf5 --- /dev/null +++ b/src/views/home/ledger/pipeline/components/editDialog.vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/api/home/device/instruction.ts b/src/api/home/device/instruction.ts new file mode 100644 index 0000000..bee99eb --- /dev/null +++ b/src/api/home/device/instruction.ts @@ -0,0 +1,32 @@ +/** + * 设备管理--指令下发 + */ +import request from '@/api/index' + +// 设备管理基础列表 +export function getInstructionListPage(data: any) { + return request({ + url: `/system/busConfig/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} +// 删除 +export function removeInstruction(ids: any) { + return request({ + url: '/system/busConfig/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新增 +export function addInstruction(data: any) { + return request({ + url: '/system/busConfig/add', + method: 'post', + data, + }) +} diff --git a/src/api/home/ledger/pipeline.ts b/src/api/home/ledger/pipeline.ts new file mode 100644 index 0000000..1823500 --- /dev/null +++ b/src/api/home/ledger/pipeline.ts @@ -0,0 +1,42 @@ +/** + * 台账管理--管线管理接口 + */ +import request from '@/api/index' + +// 基础列表 +export function getPiePleListPage(data: any) { + return request({ + url: `/system/busPipeline/listPage?limit=${data.limit}&offset=${data.offset}`, + method: 'post', + data, + }) +} + +// 删除 +export function removePieple(ids: any) { + return request({ + url: '/system/busPipeline/batchDelete', + method: 'post', + data: { + ids, + }, + }) +} + +// 新建 +export function addPieple(data: any) { + return request({ + url: '/system/busPipeline/add', + method: 'post', + data, + }) +} + +// 编辑 +export function editPieple(data: any) { + return request({ + url: '/system/busPipeline/edit', + method: 'post', + data, + }) +} diff --git a/src/views/home/alarm/count/components/locationAnalysis.vue b/src/views/home/alarm/count/components/locationAnalysis.vue index b7da9cc..4265aaf 100644 --- a/src/views/home/alarm/count/components/locationAnalysis.vue +++ b/src/views/home/alarm/count/components/locationAnalysis.vue @@ -4,6 +4,7 @@ Date: 2023-07-08 --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/home/device/instruction/index.vue b/src/views/home/device/instruction/index.vue index d3ff9a2..266fb93 100644 --- a/src/views/home/device/instruction/index.vue +++ b/src/views/home/device/instruction/index.vue @@ -1,3 +1,243 @@ + + + - 指令下发 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 批量下发 + + + 新建 + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 查看 + + + 重新下发 + + + 删除 + + + + + + + diff --git a/src/views/home/ledger/pipeline/components/editDialog.vue b/src/views/home/ledger/pipeline/components/editDialog.vue new file mode 100644 index 0000000..49a6cf5 --- /dev/null +++ b/src/views/home/ledger/pipeline/components/editDialog.vue @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/home/ledger/pipeline/index.vue b/src/views/home/ledger/pipeline/index.vue index d7dbc40..94706ba 100644 --- a/src/views/home/ledger/pipeline/index.vue +++ b/src/views/home/ledger/pipeline/index.vue @@ -1,3 +1,245 @@ + + + - 管线管理 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~ + + + + + ~ + + + + + + + + + + 新增 + + + 批量导入 + + + 批量导出 + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 编辑 + + + 删除 + + + + + + + + +