diff --git a/src/views/devices/DevFrom.vue b/src/views/devices/DevFrom.vue new file mode 100644 index 00000000..d2230c0d --- /dev/null +++ b/src/views/devices/DevFrom.vue @@ -0,0 +1,284 @@ + + + diff --git a/src/views/devices/devices_cards.vue b/src/views/devices/devices_cards.vue new file mode 100644 index 00000000..fb1fcdff --- /dev/null +++ b/src/views/devices/devices_cards.vue @@ -0,0 +1,300 @@ + + + + + diff --git a/src/views/devices/index.vue b/src/views/devices/index.vue new file mode 100644 index 00000000..6cc67a9f --- /dev/null +++ b/src/views/devices/index.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/src/views/system/cards/cards.vue b/src/views/system/cards/cards.vue deleted file mode 100644 index d57e47fe..00000000 --- a/src/views/system/cards/cards.vue +++ /dev/null @@ -1,172 +0,0 @@ - - - - - diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 86d8035e..c1a0f87b 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -100,18 +100,6 @@ - - - - @@ -122,7 +110,6 @@ import { handleTree } from '@/utils/tree' import * as DeptApi from '@/api/system/dept' import DeptForm from './DeptForm.vue' import * as UserApi from '@/api/system/user' -import DeviceCard from '../cards/cards.vue' defineOptions({ name: 'SystemDept' }) @@ -142,34 +129,6 @@ const isExpandAll = ref(true) // 是否展开,默认全部展开 const refreshTable = ref(true) // 重新渲染表格状态 const userList = ref([]) // 用户列表 -// 测试设备数据 -// const deviceList = ref([ -// { -// id: 'Blood001', -// name: '血压仪', -// type: '血压仪', -// location: '天津市/西青区/精武镇', -// status: 'normal', -// statusText: '正常' -// }, -// { -// id: 'Glucose001', -// name: '血糖仪', -// type: '血糖仪', -// location: '河北省/廊坊市/安次区', -// status: 'warning', -// statusText: '警告' -// }, -// { -// id: 'Oxygen001', -// name: '血氧仪', -// type: '血氧仪', -// location: '四川省/绵阳市/涪城区', -// status: 'error', -// statusText: '故障' -// } -// ]) - /** 查询机构列表 */ const getList = async () => { loading.value = true @@ -228,12 +187,3 @@ onMounted(async () => { userList.value = await UserApi.getSimpleUserList() }) - - diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index a72da7ed..ad949fc2 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -1,7 +1,4 @@