Files
bot_dev1 85df71fc28 feat: 实现供水运营专题大屏BI可视化
- 新增OperationDashboard.vue全屏大屏组件
- 添加6个核心KPI指标卡片: 进水总量/出水总量/产销差率/营收额/平均水质/报警次数
- 实现6个ECharts图表: 供水趋势/水质分布/报警统计/管网空间/设备状态/营收分析
- 创建静态HTML版本operation-dashboard.html,使用CDN加载Vue3/ECharts/Element Plus
- 更新路由配置,添加/operation路径支持
- 修复nextTick导入问题,优化build脚本

🚧 开发者: bot_dev1
📝 任务: #38 [BI] 运营仪表盘 + 供水专题大屏
2026-06-15 09:06:11 +08:00

171 lines
5.2 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* AUTO-GENERATED FILE. DO NOT MODIFY.
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (
typeof exports === 'object' &&
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
})(this, function(exports, echarts) {
/**
* Language: Türkçe.
*/
var localeObj = {
time: {
month: [
'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran',
'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'
],
monthAbbr: [
'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz',
'Tem', 'Agu', 'Eyl', 'Eki', 'Kas', 'Ara'
],
dayOfWeek: [
'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'
],
dayOfWeekAbbr: [
'Paz', 'Pzt', 'Sal', 'Çrş', 'Prş', 'Cum', 'Cts'
]
},
legend: {
selector: {
all: 'Tümünü Seç',
inverse: 'Seçimi Ters Çevir'
}
},
toolbox: {
brush: {
title: {
rect: 'Dikdörtgen Seçimi',
polygon: 'Kement Seçimi',
lineX: 'Yatay Seçim',
lineY: 'Dikey Seçim',
keep: 'Seçimi Koru',
clear: 'Seçimi Sil'
}
},
dataView: {
title: 'Veri Görünümü',
lang: ['Veri Görünümü', 'Kapat', 'Yenile']
},
dataZoom: {
title: {
zoom: 'Yakınlaştır/Uzaklaştır',
back: 'Yakınlaştırmayı Sıfırla'
}
},
magicType: {
title: {
line: 'Çizgisel Grafiğe Çevir',
bar: 'Çubuk Grafiğe Çevir',
stack: 'Yığın',
tiled: 'Blok'
}
},
restore: {
title: 'Eski Haline Getir'
},
saveAsImage: {
title: 'Resim Olarak Kaydet',
lang: ['Resim Olarak Kaydetmek için Sağ Tıklayın']
}
},
series: {
typeNames: {
pie: 'Pasta Grafiği',
bar: 'Çubuk Grafik',
line: 'Çizgi Grafiği',
scatter: 'Dağılım Grafiği',
effectScatter: 'Dalga Efekt Dağılım Grafiği',
radar: 'Radar Grafiği',
tree: 'Ağaç Grafiği',
treemap: 'Ağaç Haritası',
boxplot: 'Kutu Grafiği',
candlestick: 'Şamdan Grafik',
k: 'K Çizgi Grafiği',
heatmap: 'Sıcaklık Haritası',
map: 'Harita',
parallel: 'Paralel Koordinat Haritası',
lines: 'Çizgisel Grafik',
graph: 'İlişkisel Grafik',
sankey: 'Sankey Diagramı',
funnel: 'Huni Grafik',
gauge: 'Gösterge',
pictorialBar: 'Resimli Çubuk Grafiği',
themeRiver: 'Akış Haritası',
sunburst: 'Güeş Patlaması Tablosu',
custom: 'Özel grafik',
chart: 'Grafiği'
}
},
aria: {
general: {
withTitle: 'Bu grafik "{title}" içindir.',
withoutTitle: 'Bu Bir Grafiktir.'
},
series: {
single: {
prefix: '',
withName: ' Grafik Türü {seriesType} ve {seriesName} gösteriyor.',
withoutName: ' {seriesType} tipinde grafik.'
},
multiple: {
prefix: '. {seriesCount} kadar grafik sayısından oluşur.',
withName: ' {seriesId}.serisi {seriesName} adını temsil eden bir {seriesType} temsil eder.',
withoutName: ' {seriesId}. serisi bir {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Veriler Aşağıdaki Gibidir: ',
partialData: 'İlk {displayCnt} öğesi: ',
withName: ' {value} için {name}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
echarts.registerLocale('TR', localeObj);
});