This commit is contained in:
hzz 2024-01-02 17:02:12 +08:00
parent f1d2f743a4
commit 2fd416dc34
4 changed files with 28 additions and 27 deletions

View File

@ -34,14 +34,14 @@ export default {
'mechanical_humidity': '机械分厂温湿度监测走势图', 'mechanical_humidity': '机械分厂温湿度监测走势图',
'mechanical_noise': '机械分厂噪声监测走势图', 'mechanical_noise': '机械分厂噪声监测走势图',
'performanceYOYto2023':'2023 Production Efficiency Year-on-Year\n Ratio(°/CNY10000)', 'performanceYOYto2023':'2024 Production Efficiency Year-on-Year\n Ratio(°/CNY10000)',
'PowerProductionto2023':'2023 Ratio of EC of Production', 'PowerProductionto2023':'2024 Ratio of EC of Production',
'Productionto2023':'2023 Production Volume (CNY)', 'Productionto2023':'2024 Production Volume (CNY)',
'Powerto2023':'Electricity Consumption (EC) (°)', 'Powerto2023':'Electricity Consumption (EC) (°)',
'jixiePowerto2023':'2023 Electricity Consumption (EC) (°)', 'jixiePowerto2023':'2024 Electricity Consumption (EC) (°)',
'waterto2023_t':'2023 Water Consumption(Ton)', 'waterto2023_t':'2024 Water Consumption(Ton)',
'waterto2023':'2023 Water Consumption(m³)', 'waterto2023':'2024 Water Consumption(m³)',
'gasto2023':'2023 Air Consumption(m³)', 'gasto2023':'2024 Air Consumption(m³)',
'powerTip':'EC', 'powerTip':'EC',
'powerhi_du':'Electricity Consumption(°)', 'powerhi_du':'Electricity Consumption(°)',
'Production_yuan':'Production(CNY)', 'Production_yuan':'Production(CNY)',

View File

@ -5,7 +5,7 @@
* @Date: 2023-05-04 16:36:13 * @Date: 2023-05-04 16:36:13
* @Description: * @Description:
* *
* 版权信息 : 2023 by ${}, All Rights Reserved. * 版权信息 : 2024 by ${}, All Rights Reserved.
*/ */
export default { export default {
@ -43,14 +43,14 @@ export default {
'mechanical_humidity': '机械分厂温湿度监测走势图', 'mechanical_humidity': '机械分厂温湿度监测走势图',
'mechanical_noise': '机械分厂噪声监测走势图', 'mechanical_noise': '机械分厂噪声监测走势图',
'performanceYOYto2023':'2023 Production Efficiency Year-on-Year\n Ratio(°/CNY10000)', 'performanceYOYto2023':'2024 Production Efficiency Year-on-Year\n Ratio(°/CNY10000)',
'PowerProductionto2023':'2023 Ratio of EC of Production', 'PowerProductionto2023':'2024 Ratio of EC of Production',
'Productionto2023':'2023 Production Volume (CNY)', 'Productionto2023':'2024 Production Volume (CNY)',
'Powerto2023':'Electricity Consumption (EC) (°)', 'Powerto2023':'Electricity Consumption (EC) (°)',
'jixiePowerto2023':'2023 Electricity Consumption (EC) (°)', 'jixiePowerto2023':'2024 Electricity Consumption (EC) (°)',
'waterto2023_t':'2023 Water Consumption(Ton)', 'waterto2023_t':'2024 Water Consumption(Ton)',
'waterto2023':'2023 Water Consumption(m³)', 'waterto2023':'2024 Water Consumption(m³)',
'gasto2023':'2023 Air Consumption(m³)', 'gasto2023':'2024 Air Consumption(m³)',
'powerTip':'EC', 'powerTip':'EC',
'powerhi_du':'Electricity Consumption(°)', 'powerhi_du':'Electricity Consumption(°)',
'Production_yuan':'Production(CNY)', 'Production_yuan':'Production(CNY)',

View File

@ -43,14 +43,14 @@ export default {
'mechanical_humidity': '机械分厂温湿度监测走势图', 'mechanical_humidity': '机械分厂温湿度监测走势图',
'mechanical_noise': '机械分厂噪声监测走势图', 'mechanical_noise': '机械分厂噪声监测走势图',
'performanceYOYto2023':'2023年各部门业绩上同比(度/万元)', 'performanceYOYto2023':'2024年各部门业绩上同比(度/万元)',
'PowerProductionto2023':'2023年用电量与生产额', 'PowerProductionto2023':'2024年用电量与生产额',
'Productionto2023':'2023年生产额(元)', 'Productionto2023':'2024年生产额(元)',
'Powerto2023':'2023年用电量(度)', 'Powerto2023':'2024年用电量(度)',
'jixiePowerto2023':'2023年机械分厂用电量(度)', 'jixiePowerto2023':'2024年机械分厂用电量(度)',
'waterto2023_t':'2023年用水量(吨)', 'waterto2023_t':'2024年用水量(吨)',
'waterto2023':'2023年用水量(立方)', 'waterto2023':'2024年用水量(立方)',
'gasto2023':'2023年用气量(立方)', 'gasto2023':'2024年用气量(立方)',
'powerTip':'用电量', 'powerTip':'用电量',
'powerhi_du':'用电量(度)', 'powerhi_du':'用电量(度)',
'Production_yuan':'生产额(元)', 'Production_yuan':'生产额(元)',
@ -255,9 +255,9 @@ export default {
'HanJie_generalEnvironment':'焊接-环境 实时监测系统', 'HanJie_generalEnvironment':'焊接-环境 实时监测系统',
'noiseDetection':'噪音监测', 'noiseDetection':'噪音监测',
'NormalValue':'正常值', 'NormalValue':'正常值',
'PowerConsumption_2023':'2023年度用电量(度)', 'PowerConsumption_2023':'2024年度用电量(度)',
'Production_2023':'2023年度生产额(元)', 'Production_2023':'2024年度生产额(元)',
'GasConsumption_2023JiXie':'2023年机械分厂用气量(立方)', 'GasConsumption_2023JiXie':'2024年机械分厂用气量(立方)',
'DianKongGatewayDtatus':'电控分厂物联网关状态', 'DianKongGatewayDtatus':'电控分厂物联网关状态',
'DianKongDevList':'电控分厂设备列表', 'DianKongDevList':'电控分厂设备列表',
'DianKongDetection':'电控分厂 实时监测系统', 'DianKongDetection':'电控分厂 实时监测系统',

View File

@ -97,7 +97,8 @@ import { useI18n } from 'vue-i18n'
let route = useRoute() let route = useRoute()
let { t } = useI18n(); let { t } = useI18n();
let lang = route.query.lang as string let lang = route.query.lang as string
if (lang &&languageHash(lang) != getStoredLanguage()) {
if (lang &&languageHash(lang)&&languageHash(lang) != getStoredLanguage()) {
saveStoredLanguage(languageHash(lang)) saveStoredLanguage(languageHash(lang))
window.location.reload() window.location.reload()
} }