diff --git a/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue b/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue new file mode 100644 index 000000000..42deca53f --- /dev/null +++ b/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue @@ -0,0 +1,165 @@ + + + diff --git a/apps/web-antd/src/views/aiot/device/roi/components/RoiAlgorithmBind.vue b/apps/web-antd/src/views/aiot/device/roi/components/RoiAlgorithmBind.vue new file mode 100644 index 000000000..7f984bedd --- /dev/null +++ b/apps/web-antd/src/views/aiot/device/roi/components/RoiAlgorithmBind.vue @@ -0,0 +1,229 @@ + + + diff --git a/apps/web-antd/src/views/aiot/device/roi/components/RoiCanvas.vue b/apps/web-antd/src/views/aiot/device/roi/components/RoiCanvas.vue new file mode 100644 index 000000000..d4080fee1 --- /dev/null +++ b/apps/web-antd/src/views/aiot/device/roi/components/RoiCanvas.vue @@ -0,0 +1,354 @@ + + + + + diff --git a/apps/web-antd/src/views/aiot/device/roi/data.ts b/apps/web-antd/src/views/aiot/device/roi/data.ts deleted file mode 100644 index 67dcee6d5..000000000 --- a/apps/web-antd/src/views/aiot/device/roi/data.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { VxeTableGridOptions } from '#/adapter/vxe-table'; - -/** ROI 列表字段 */ -export function useRoiGridColumns(): VxeTableGridOptions['columns'] { - return [ - { - field: 'name', - title: 'ROI 名称', - minWidth: 150, - }, - { - field: 'channelName', - title: '摄像头', - minWidth: 150, - }, - { - field: 'type', - title: '类型', - minWidth: 100, - }, - { - field: 'enabled', - title: '启用状态', - minWidth: 90, - slots: { default: 'enabled' }, - }, - { - field: 'createdAt', - title: '创建时间', - minWidth: 170, - formatter: 'formatDateTime', - }, - { - title: '操作', - width: 120, - fixed: 'right', - slots: { default: 'actions' }, - }, - ]; -} diff --git a/apps/web-antd/src/views/aiot/device/roi/index.vue b/apps/web-antd/src/views/aiot/device/roi/index.vue index b31993e8f..f9dfa30b9 100644 --- a/apps/web-antd/src/views/aiot/device/roi/index.vue +++ b/apps/web-antd/src/views/aiot/device/roi/index.vue @@ -1,99 +1,522 @@ + +