|
@@ -14,7 +14,7 @@
|
|
|
:data-theme="'theme-' + proxy.$settingStore.themeColor.type"
|
|
|
>
|
|
|
<template #default>
|
|
|
- <view class="deviceSelect">
|
|
|
+ <view class="deviceManage">
|
|
|
<u-grid :border="true">
|
|
|
<u-grid-item v-for="(base, index) in dataList" :key="index" @click="handleToDevice(base.id, base.productName)">
|
|
|
<u-badge type="primary" max="9999" :value="base.deviceCount" :showZero="true" :absolute="true" :offset="[10, 10, 0, 0]"></u-badge>
|
|
@@ -32,7 +32,7 @@ import { onReady, onLoad, onShow, onNavigationBarButtonTap, onPullDownRefresh, o
|
|
|
import { ref, onMounted, inject, shallowRef, reactive, getCurrentInstance } from "vue";
|
|
|
import { useStores, publicStores } from "@/store/modules/index";
|
|
|
|
|
|
-import { dmpProductInfo } from "@/api/business/fireIot/deviceSelect/index";
|
|
|
+import { dmpProductInfo } from "@/api/business/fireIot/deviceManage.js";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
@@ -64,7 +64,7 @@ function init() {
|
|
|
}
|
|
|
|
|
|
function handleToDevice(id, productName) {
|
|
|
- proxy.$tab.navigateTo(`/pages/business/fireIot/deviceSelect/components/deviceDetailsList?id=${id}&productName=${productName}`);
|
|
|
+ proxy.$tab.navigateTo(`/pages/business/fireIot/deviceManage/components/deviceDetailsList?id=${id}&productName=${productName}`);
|
|
|
}
|
|
|
|
|
|
/**
|