feat: 实现供水运营专题大屏BI可视化
- 新增OperationDashboard.vue全屏大屏组件 - 添加6个核心KPI指标卡片: 进水总量/出水总量/产销差率/营收额/平均水质/报警次数 - 实现6个ECharts图表: 供水趋势/水质分布/报警统计/管网空间/设备状态/营收分析 - 创建静态HTML版本operation-dashboard.html,使用CDN加载Vue3/ECharts/Element Plus - 更新路由配置,添加/operation路径支持 - 修复nextTick导入问题,优化build脚本 🚧 开发者: bot_dev1 📝 任务: #38 [BI] 运营仪表盘 + 供水专题大屏
This commit is contained in:
+61
@@ -0,0 +1,61 @@
|
||||
import DeveloperError from "../Core/DeveloperError.js";
|
||||
|
||||
/**
|
||||
* Defines the interface for visualizers. Visualizers are plug-ins to
|
||||
* {@link DataSourceDisplay} that render data associated with
|
||||
* {@link DataSource} instances.
|
||||
* This object is an interface for documentation purposes and is not intended
|
||||
* to be instantiated directly.
|
||||
* @alias Visualizer
|
||||
* @constructor
|
||||
*
|
||||
* @see BillboardVisualizer
|
||||
* @see LabelVisualizer
|
||||
* @see ModelVisualizer
|
||||
* @see PathVisualizer
|
||||
* @see PointVisualizer
|
||||
* @see GeometryVisualizer
|
||||
*/
|
||||
function Visualizer() {
|
||||
DeveloperError.throwInstantiationError();
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the visualization to the provided time.
|
||||
* @function
|
||||
*
|
||||
* @param {JulianDate} time The time.
|
||||
*
|
||||
* @returns {boolean} True if the display was updated to the provided time,
|
||||
* false if the visualizer is waiting for an asynchronous operation to
|
||||
* complete before data can be updated.
|
||||
*/
|
||||
Visualizer.prototype.update = DeveloperError.throwInstantiationError;
|
||||
|
||||
/**
|
||||
* Computes a bounding sphere which encloses the visualization produced for the specified entity.
|
||||
* The bounding sphere is in the fixed frame of the scene's globe.
|
||||
*
|
||||
* @param {Entity} entity The entity whose bounding sphere to compute.
|
||||
* @param {BoundingSphere} result The bounding sphere onto which to store the result.
|
||||
* @returns {BoundingSphereState} BoundingSphereState.DONE if the result contains the bounding sphere,
|
||||
* BoundingSphereState.PENDING if the result is still being computed, or
|
||||
* BoundingSphereState.FAILED if the entity has no visualization in the current scene.
|
||||
* @private
|
||||
*/
|
||||
Visualizer.prototype.getBoundingSphere = DeveloperError.throwInstantiationError;
|
||||
|
||||
/**
|
||||
* Returns true if this object was destroyed; otherwise, false.
|
||||
* @function
|
||||
*
|
||||
* @returns {boolean} True if this object was destroyed; otherwise, false.
|
||||
*/
|
||||
Visualizer.prototype.isDestroyed = DeveloperError.throwInstantiationError;
|
||||
|
||||
/**
|
||||
* Removes all visualization and cleans up any resources associated with this instance.
|
||||
* @function
|
||||
*/
|
||||
Visualizer.prototype.destroy = DeveloperError.throwInstantiationError;
|
||||
export default Visualizer;
|
||||
Reference in New Issue
Block a user