@ued_fpi/data-visual
Version:
<br /> <br /> <div style="text-align:center"> <b style="font-size:30px">@ued_fpi/data-visual</b> <p>基于Vite4+TypeScript的Vue3大屏组件库开发框架</p> <img style="display:inline" src="https://img.shields.io/npm/v/@ued_fpi/data-visual" />
140 lines (138 loc) • 3.19 kB
JavaScript
const meta = {
id: "wgms.AlgaeTopicsWarningStatistics",
componentName: "AlgaeTopicsWarningStatistics",
displayName: "藻类监测预警",
category: "wgms",
keywords: [
"wgms.AlgaeTopicsWarningStatistics",
"AlgaeTopicsWarningStatistics",
"藻类监测预警",
"藻类监测预警相关信息",
"wgms",
"DvWgmsAlgaeTopicsWarningStatistics",
"藻类预警",
"预警统计",
"监测预警"
],
description: "用于展示藻类监测预警相关信息。支持按区域或者流域code、自动 002 手工 006等条件进行数据查询或筛选。",
tags: [
"wgms",
"builtin-api",
"panel",
"monitor",
"warning",
"algae"
],
layout: {
minWidth: 320,
minHeight: 180,
preferredAspectRatio: "16:9",
supportedSlotTypes: [
"panel"
]
},
propsSchema: [
{
name: "params",
type: "object",
required: false,
description: "组件请求参数",
source: "component"
},
{
name: "params.treeCode",
type: "string",
required: false,
defaultValue: "330100000000",
description: "区域或者流域code",
source: "query"
},
{
name: "params.stationType",
type: "string",
required: false,
defaultValue: "002",
description: "自动 002 手工 006",
source: "query"
},
{
name: "periodBeginTime",
type: "number",
required: false,
defaultValue: "1685894400000",
description: "期的开始时间",
source: "component"
},
{
name: "periodEndTime",
type: "number",
required: false,
defaultValue: "1685894400000",
description: "期的结束时间",
source: "component"
},
{
name: "currentTime",
type: "number",
required: false,
defaultValue: "1685894400000",
description: "期当前日时间",
source: "component"
},
{
name: "currentType",
type: "string",
required: false,
defaultValue: "dailyControl",
description: "dailyControl 日常管控 currentType 历史期",
source: "component"
},
{
name: "upToDate",
type: "boolean",
required: false,
defaultValue: "true",
description: "true 最新 false 今日累计",
source: "component"
},
{
name: "isLazy",
type: "boolean",
required: false,
defaultValue: "false",
description: "是否默认不请求 需要手动调用 `reload`",
source: "lifecycle"
}
],
dataContract: {
mode: "builtin-api",
request: {
fields: [
{
name: "treeCode",
type: "string",
description: "区域或者流域code"
},
{
name: "stationType",
type: "string",
description: "自动 002 手工 006"
}
]
},
response: null,
events: [
{
name: "reload",
description: "手动控制组件请求数据刷新"
}
]
},
adapter: {
queryProp: "params",
dataProp: null,
lazyProp: "isLazy",
reloadMethod: "reload"
}
};
export { meta as default };