- 新增OperationDashboard.vue全屏大屏组件 - 添加6个核心KPI指标卡片: 进水总量/出水总量/产销差率/营收额/平均水质/报警次数 - 实现6个ECharts图表: 供水趋势/水质分布/报警统计/管网空间/设备状态/营收分析 - 创建静态HTML版本operation-dashboard.html,使用CDN加载Vue3/ECharts/Element Plus - 更新路由配置,添加/operation路径支持 - 修复nextTick导入问题,优化build脚本 🚧 开发者: bot_dev1 📝 任务: #38 [BI] 运营仪表盘 + 供水专题大屏
61 lines
2.0 KiB
JavaScript
61 lines
2.0 KiB
JavaScript
// Hungarian [hu]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'hu',
|
|
weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
|
|
weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
|
|
weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
|
|
months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
|
|
monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
return n + ".";
|
|
},
|
|
weekStart: 1,
|
|
relativeTime: {
|
|
future: '%s múlva',
|
|
past: '%s',
|
|
s: function s(_, _s, ___, isFuture) {
|
|
return "n\xE9h\xE1ny m\xE1sodperc" + (isFuture || _s ? '' : 'e');
|
|
},
|
|
m: function m(_, s, ___, isFuture) {
|
|
return "egy perc" + (isFuture || s ? '' : 'e');
|
|
},
|
|
mm: function mm(n, s, ___, isFuture) {
|
|
return n + " perc" + (isFuture || s ? '' : 'e');
|
|
},
|
|
h: function h(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'óra' : 'órája');
|
|
},
|
|
hh: function hh(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'óra' : 'órája');
|
|
},
|
|
d: function d(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'nap' : 'napja');
|
|
},
|
|
dd: function dd(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'nap' : 'napja');
|
|
},
|
|
M: function M(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'hónap' : 'hónapja');
|
|
},
|
|
MM: function MM(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'hónap' : 'hónapja');
|
|
},
|
|
y: function y(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'év' : 'éve');
|
|
},
|
|
yy: function yy(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'év' : 'éve');
|
|
}
|
|
},
|
|
formats: {
|
|
LT: 'H:mm',
|
|
LTS: 'H:mm:ss',
|
|
L: 'YYYY.MM.DD.',
|
|
LL: 'YYYY. MMMM D.',
|
|
LLL: 'YYYY. MMMM D. H:mm',
|
|
LLLL: 'YYYY. MMMM D., dddd H:mm'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |