diff --git a/src/components/DotStatus/index.vue b/src/components/DotStatus/index.vue new file mode 100644 index 0000000..d0f7dbc --- /dev/null +++ b/src/components/DotStatus/index.vue @@ -0,0 +1,104 @@ + + + + + \ No newline at end of file diff --git a/src/utils/constants.js b/src/utils/constants.js index 88b4aab..da17638 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -237,6 +237,13 @@ export const DeviceOnlineStatus = { OFFLINE: "0", // 离线 } +// 设备状态 +export const DeviceStatus = { + FREE: "1", // 空闲 + USING: "2", // 使用中 + FIXING: "3", // 维修中 +} + // 分成状态 export const BonusStatus = { UN_DIVIDEND: "1", // 未出账 diff --git a/src/views/system/device/components/DeviceActions.vue b/src/views/system/device/components/DeviceActions.vue deleted file mode 100644 index 483e680..0000000 --- a/src/views/system/device/components/DeviceActions.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/system/device/components/DeviceInfoCard.vue b/src/views/system/device/components/DeviceInfoCard.vue deleted file mode 100644 index 1d8971d..0000000 --- a/src/views/system/device/components/DeviceInfoCard.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/system/device/components/DeviceOverview.vue b/src/views/system/device/components/DeviceOverview.vue deleted file mode 100644 index 68ccb18..0000000 --- a/src/views/system/device/components/DeviceOverview.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/system/device/components/DeviceOwnerCard.vue b/src/views/system/device/components/DeviceOwnerCard.vue deleted file mode 100644 index 15a4dfb..0000000 --- a/src/views/system/device/components/DeviceOwnerCard.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/system/device/components/DeviceStatusCard.vue b/src/views/system/device/components/DeviceStatusCard.vue deleted file mode 100644 index c044e66..0000000 --- a/src/views/system/device/components/DeviceStatusCard.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/system/device/components/suitList.vue b/src/views/system/device/components/suitList.vue deleted file mode 100644 index 3380ae6..0000000 --- a/src/views/system/device/components/suitList.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - diff --git a/src/views/system/device/components/tenantList.vue b/src/views/system/device/components/tenantList.vue deleted file mode 100644 index 212d2d2..0000000 --- a/src/views/system/device/components/tenantList.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/src/views/system/device/detail.vue b/src/views/system/device/detail.vue index bc1f7f8..79f0d12 100644 --- a/src/views/system/device/detail.vue +++ b/src/views/system/device/detail.vue @@ -1,71 +1,232 @@