From 2132e07d2fbe79f94199f184a2860babe8d7b3ed Mon Sep 17 00:00:00 2001 From: zhanglei Date: Mon, 14 Sep 2026 14:59:13 +0800 Subject: [PATCH] 1 --- .../web-antd/src/views/health_device/data.ts | 352 --------- .../web-antd/src/views/health_device/form.ts | 384 ---------- .../src/views/health_device/index.vue | 691 ------------------ 3 files changed, 1427 deletions(-) delete mode 100644 vue-vben-admin/apps/web-antd/src/views/health_device/data.ts delete mode 100644 vue-vben-admin/apps/web-antd/src/views/health_device/form.ts delete mode 100644 vue-vben-admin/apps/web-antd/src/views/health_device/index.vue diff --git a/vue-vben-admin/apps/web-antd/src/views/health_device/data.ts b/vue-vben-admin/apps/web-antd/src/views/health_device/data.ts deleted file mode 100644 index b87e7f5..0000000 --- a/vue-vben-admin/apps/web-antd/src/views/health_device/data.ts +++ /dev/null @@ -1,352 +0,0 @@ -/** - * 表格列配置 - */ - -import type { VxeGridProps } from '#/adapter/vxe-table'; - -export const columns: VxeGridProps['columns'] = [ - - -{ - // 列标题 - title: '主键ID', - - // 对应字段 - field: 'id', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备名称', - - // 对应字段 - field: 'deviceName', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备品牌', - - // 对应字段 - field: 'deviceBrand', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备型号', - - // 对应字段 - field: 'deviceModel', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备类型:1边缘服务,2摄像头 3 热成像', - - // 对应字段 - field: 'deviceType', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '排序', - - // 对应字段 - field: 'deviceOrder', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '在线状态:0在线1不在线', - - // 对应字段 - field: 'deviceOnline', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '房间号', - - // 对应字段 - field: 'roomId', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '房间名称', - - // 对应字段 - field: 'roomName', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备开关: 0 开 1关 2停用', - - // 对应字段 - field: 'deviceSwitch', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '创建时间', - - // 对应字段 - field: 'createdAt', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '创建人', - - // 对应字段 - field: 'createdBy', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '更新时间', - - // 对应字段 - field: 'updatedAt', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '更新人', - - // 对应字段 - field: 'updatedBy', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '删除: 0 默认 1删除', - - // 对应字段 - field: 'deletedFlag', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '用户ID', - - // 对应字段 - field: 'userId', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '分类ID', - - // 对应字段 - field: 'classId', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备URL地址', - - // 对应字段 - field: 'deviceUrl', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备唯一标识', - - // 对应字段 - field: 'deviceCode', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备账号', - - // 对应字段 - field: 'deviceLanUser', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备密码', - - // 对应字段 - field: 'deviceLanPassword', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '设备IP', - - // 对应字段 - field: 'deviceLanIp', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '备注', - - // 对应字段 - field: 'deviceNote', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '外网IP', - - // 对应字段 - field: 'deviceAddressIp', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '是否绑定: 0未绑定,1绑定', - - // 对应字段 - field: 'deviceBind', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '摄像头截图', - - // 对应字段 - field: 'deviceImg', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '告警图片', - - // 对应字段 - field: 'warnImg', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '家庭ID', - - // 对应字段 - field: 'familyId', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: '服务版本号', - - // 对应字段 - field: 'serverVersion', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: 'ai版本号', - - // 对应字段 - field: 'aiVersion', - - // 宽度 - width: 150 -}, - -{ - // 列标题 - title: 'APP升级开关默认关闭', - - // 对应字段 - field: 'upSwitch', - - // 宽度 - width: 150 -}, - - -]; \ No newline at end of file diff --git a/vue-vben-admin/apps/web-antd/src/views/health_device/form.ts b/vue-vben-admin/apps/web-antd/src/views/health_device/form.ts deleted file mode 100644 index 3e22a81..0000000 --- a/vue-vben-admin/apps/web-antd/src/views/health_device/form.ts +++ /dev/null @@ -1,384 +0,0 @@ -/** - * 表单 schema - * component 类型来自 parse_component() - */ - -import type { VbenFormSchema } from '#/adapter/form'; - -export const formSchema: VbenFormSchema[] = [ - - -{ - // 字段名 - fieldName: 'id', - - // label - label: '主键ID', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'deviceName', - - // label - label: '设备名称', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceBrand', - - // label - label: '设备品牌', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceModel', - - // label - label: '设备型号', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceType', - - // label - label: '设备类型:1边缘服务,2摄像头 3 热成像', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'deviceOrder', - - // label - label: '排序', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'deviceOnline', - - // label - label: '在线状态:0在线1不在线', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'roomId', - - // label - label: '房间号', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'roomName', - - // label - label: '房间名称', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceSwitch', - - // label - label: '设备开关: 0 开 1关 2停用', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'createdAt', - - // label - label: '创建时间', - - // 自动组件 - component: 'DatePicker' - -}, - -{ - // 字段名 - fieldName: 'createdBy', - - // label - label: '创建人', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'updatedAt', - - // label - label: '更新时间', - - // 自动组件 - component: 'DatePicker' - -}, - -{ - // 字段名 - fieldName: 'updatedBy', - - // label - label: '更新人', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'deletedFlag', - - // label - label: '删除: 0 默认 1删除', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'userId', - - // label - label: '用户ID', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'classId', - - // label - label: '分类ID', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'deviceUrl', - - // label - label: '设备URL地址', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceCode', - - // label - label: '设备唯一标识', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceLanUser', - - // label - label: '设备账号', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceLanPassword', - - // label - label: '设备密码', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceLanIp', - - // label - label: '设备IP', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceNote', - - // label - label: '备注', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceAddressIp', - - // label - label: '外网IP', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'deviceBind', - - // label - label: '是否绑定: 0未绑定,1绑定', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'deviceImg', - - // label - label: '摄像头截图', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'warnImg', - - // label - label: '告警图片', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'familyId', - - // label - label: '家庭ID', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'serverVersion', - - // label - label: '服务版本号', - - // 自动组件 - component: 'InputNumber' - -}, - -{ - // 字段名 - fieldName: 'aiVersion', - - // label - label: 'ai版本号', - - // 自动组件 - component: 'Input' - -}, - -{ - // 字段名 - fieldName: 'upSwitch', - - // label - label: 'APP升级开关默认关闭', - - // 自动组件 - component: 'InputNumber' - -}, - - -]; \ No newline at end of file diff --git a/vue-vben-admin/apps/web-antd/src/views/health_device/index.vue b/vue-vben-admin/apps/web-antd/src/views/health_device/index.vue deleted file mode 100644 index 41d88fd..0000000 --- a/vue-vben-admin/apps/web-antd/src/views/health_device/index.vue +++ /dev/null @@ -1,691 +0,0 @@ - - - - - \ No newline at end of file