update
This commit is contained in:
parent
d6b71ae0bb
commit
ba7a565fce
@ -1,5 +1,5 @@
|
||||
# 页面标题
|
||||
VITE_APP_TITLE = 机器物联管理系统
|
||||
VITE_APP_TITLE = 工业物联网监控平台
|
||||
|
||||
# 开发环境配置
|
||||
VITE_APP_ENV = 'development'
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 页面标题
|
||||
VITE_APP_TITLE = 机器物联管理系统
|
||||
VITE_APP_TITLE = 工业物联网监控平台
|
||||
|
||||
# 生产环境配置
|
||||
VITE_APP_ENV = 'production'
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>机器物联管理系统</title>
|
||||
<title>工业物联网监控平台</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="right-item" v-for="item of devData">
|
||||
<div class="right-item" v-for="(item) in devData">
|
||||
<div class="title">{{ item['label'] }}</div>
|
||||
<div class="right-item-content" v-if="item['type'] == 'status'">
|
||||
<div class="status-box" :style="{ background: statusList[item.value]['color'] }"></div>
|
||||
@ -38,6 +38,7 @@ const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
let devData = computed(() => {
|
||||
|
||||
return {
|
||||
status: { 'label': proxy.tLang('home', '设备状态'), 'value': props.data.state, type: 'status' },
|
||||
scansNum: { 'label': proxy.tLang('message', '扫描次数'), 'value': props.data.outputToday, type: '' },
|
||||
|
@ -264,6 +264,9 @@ function getWebsocket(val) {
|
||||
})
|
||||
abnormalData.value.alarm++
|
||||
}
|
||||
if (data.type == "product") {
|
||||
init()
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user