diff --git a/src/assets/images/device/device-card.png b/src/assets/images/device/device-card.png new file mode 100644 index 00000000..2eedfa20 Binary files /dev/null and b/src/assets/images/device/device-card.png differ diff --git a/src/assets/images/device/device-number.png b/src/assets/images/device/device-number.png new file mode 100644 index 00000000..abf24752 Binary files /dev/null and b/src/assets/images/device/device-number.png differ diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index fbc87974..44952127 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -310,8 +310,8 @@
@@ -586,6 +586,7 @@ import EDialogTableInput from "@/components/EDialogTableInput"; import DialogTemplate from "@/components/DialogTemplate"; import JsBarcode from "jsbarcode"; import { getProjectGroupList, listProject } from "@/api/tenant/project"; +import deviceCardImgUrl from "@/assets/images/device/device-card.png"; const deviceStatusOpt = { ONLINE: "在线", @@ -803,6 +804,7 @@ export default { }, data() { return { + deviceCardImgUrl, //列表显示视图 viewType: "card", deviceStatusOpt, diff --git a/src/views/iot/project/index.vue b/src/views/iot/project/index.vue index 318568cf..1e94aedb 100644 --- a/src/views/iot/project/index.vue +++ b/src/views/iot/project/index.vue @@ -161,8 +161,8 @@
@@ -410,7 +410,6 @@
- @@ -437,6 +436,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css"; import DialogTemplate from "@/components/DialogTemplate/index"; import EDialogTableInput from "@/components/EDialogTableInput"; +import deviceImgUrl from "@/assets/images/device/device-number.png"; /////、、、、、、、、、、、、、、、、、、、、 import EDetailsWrap from "./profileV2/details"; @@ -603,6 +603,7 @@ export default { }, data() { return { + deviceImgUrl, //列表显示视图 viewType: "card", selectPriceTable, diff --git a/src/views/tenant/device/index.vue b/src/views/tenant/device/index.vue index ee35e61e..a4a238dd 100644 --- a/src/views/tenant/device/index.vue +++ b/src/views/tenant/device/index.vue @@ -241,8 +241,8 @@
@@ -363,6 +363,7 @@ import DetailsWrap from "./profile/details"; import GatewayDetail from "@/views/profile/DeviceDetailsView/index"; import JsBarcode from "jsbarcode"; import { getProjectGroupList, listProject } from "@/api/tenant/project"; +import deviceCardImgUrl from "@/assets/images/device/device-card.png"; const deviceStatusOpt = { ONLINE: "在线", OFFLINE: "离线", @@ -382,6 +383,7 @@ export default { }, data() { return { + deviceCardImgUrl, //列表显示视图 viewType: "card", deviceStatusOpt, diff --git a/src/views/tenant/project/index.vue b/src/views/tenant/project/index.vue index a874448a..df980635 100644 --- a/src/views/tenant/project/index.vue +++ b/src/views/tenant/project/index.vue @@ -118,7 +118,7 @@
@@ -173,6 +173,7 @@ import { import DetailsWrap from '@/views/iot/project/profileV2/details' import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; +import deviceImgUrl from "@/assets/images/device/device-number.png"; export default { name: "Project", @@ -182,6 +183,7 @@ export default { }, data() { return { + deviceImgUrl, //列表显示视图 viewType: "card", // 遮罩层