diff --git a/.env.development b/.env.development index 06784d5..e03795b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 机器物联管理系统 +VITE_APP_TITLE = 工业物联网监控平台 # 开发环境配置 VITE_APP_ENV = 'development' diff --git a/.env.production b/.env.production index d433fea..aa1b0c8 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 机器物联管理系统 +VITE_APP_TITLE = 工业物联网监控平台 # 生产环境配置 VITE_APP_ENV = 'production' diff --git a/index.html b/index.html index 6308955..2056882 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 机器物联管理系统 + 工业物联网监控平台
diff --git a/src/views/screen/components/ltop2.vue b/src/views/screen/components/ltop2.vue index fb5b3ec..025d57d 100644 --- a/src/views/screen/components/ltop2.vue +++ b/src/views/screen/components/ltop2.vue @@ -9,7 +9,7 @@
-
+
{{ item['label'] }}
@@ -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: '' }, diff --git a/src/views/screen/index.vue b/src/views/screen/index.vue index 50a6b3c..dd37199 100644 --- a/src/views/screen/index.vue +++ b/src/views/screen/index.vue @@ -264,6 +264,9 @@ function getWebsocket(val) { }) abnormalData.value.alarm++ } + if (data.type == "product") { + init() + } } catch (err) { console.log(err); }