|
|
|
@ -35,7 +35,7 @@
|
|
|
|
设备号:{{ commit_uid }}
|
|
|
|
设备号:{{ commit_uid }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="status-item">
|
|
|
|
<div class="status-item">
|
|
|
|
版本号:1.0.0
|
|
|
|
版本号:{{ version }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="status-item">
|
|
|
|
<div class="status-item">
|
|
|
|
系统状态:<span class="status-online">开启</span>
|
|
|
|
系统状态:<span class="status-online">开启</span>
|
|
|
|
@ -54,6 +54,7 @@ import {
|
|
|
|
VideoPlay,
|
|
|
|
VideoPlay,
|
|
|
|
Bell
|
|
|
|
Bell
|
|
|
|
} from '@element-plus/icons-vue'
|
|
|
|
} from '@element-plus/icons-vue'
|
|
|
|
|
|
|
|
import RPC from '@/utils/rpc'
|
|
|
|
const currentTime = ref('')
|
|
|
|
const currentTime = ref('')
|
|
|
|
const router = useRouter()
|
|
|
|
const router = useRouter()
|
|
|
|
const route = useRoute()
|
|
|
|
const route = useRoute()
|
|
|
|
@ -61,8 +62,14 @@ const route = useRoute()
|
|
|
|
if (route.query.comm_uid) {
|
|
|
|
if (route.query.comm_uid) {
|
|
|
|
localStorage.setItem('central_control_comm_uid', route.query.comm_uid)
|
|
|
|
localStorage.setItem('central_control_comm_uid', route.query.comm_uid)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const version = ref('1.0.0')
|
|
|
|
const commit_uid = localStorage.getItem('central_control_comm_uid')
|
|
|
|
const commit_uid = ref('')
|
|
|
|
|
|
|
|
RPC.post('/m9z/touchdisplay/getDeviceID').then(res => {
|
|
|
|
|
|
|
|
commit_uid.value = res.deviceId
|
|
|
|
|
|
|
|
version.value = res.version
|
|
|
|
|
|
|
|
localStorage.setItem('central_control_comm_uid', res.deviceId)
|
|
|
|
|
|
|
|
localStorage.setItem('central_control_meterAddr', res.meterAddr)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const functionCards = [
|
|
|
|
const functionCards = [
|
|
|
|
{ key: 'monitor', title: '实时监控', icon: Camera, route: '/monitoring' },
|
|
|
|
{ key: 'monitor', title: '实时监控', icon: Camera, route: '/monitoring' },
|
|
|
|
|