nxd-plugin 1.8.2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/chunks/component-AiChat-CeZDSC6J.mjs +27518 -0
  2. package/dist/chunks/{component-AqiMonitor-DWhSDKFM.mjs → component-AqiMonitor-H0Wp1HAw.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-CYVahvTN.mjs → component-ChartCumulativePre-CqXMJ4z9.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-CbiB7503.mjs → component-ChartServiceMaterial-D_ZZCNxP.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-CxH58EY9.mjs → component-Duty-E-Dd33NH.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-BsgcJent.mjs → component-EarlyWarningStatistic-BGcuzOnG.mjs} +2 -2
  7. package/dist/chunks/{component-EarlyWarningStatistic2-CEnr2SX2.mjs → component-EarlyWarningStatistic2-BtLBIU0D.mjs} +2 -2
  8. package/dist/chunks/{component-Forecast72h-6g0PcT0B.mjs → component-Forecast72h-Dpkg5_KQ.mjs} +2 -2
  9. package/dist/chunks/{component-GeologyLiveAlarm-CzEt43gy.mjs → component-GeologyLiveAlarm-B2ixrdDt.mjs} +2 -2
  10. package/dist/chunks/{component-GridForecastMsg-CwRQve29.mjs → component-GridForecastMsg-BY5aJXUJ.mjs} +2 -2
  11. package/dist/chunks/{component-HDSeaLegend-B2xekirw.mjs → component-HDSeaLegend-Dn2RmUBf.mjs} +1 -1
  12. package/dist/chunks/{component-HdCameraList-CEOhupnQ.mjs → component-HdCameraList-WZaDs59k.mjs} +3 -3
  13. package/dist/chunks/{component-HdForecastProducts-DaeNeMiI.mjs → component-HdForecastProducts-eFMIm14a.mjs} +2 -2
  14. package/dist/chunks/{component-HdHeatChart-DiG-hplN.mjs → component-HdHeatChart-CFULsU5U.mjs} +2 -2
  15. package/dist/chunks/{component-HdHeatChartDialog-C1tPPcVw.mjs → component-HdHeatChartDialog-CdQ4Od_n.mjs} +92 -254
  16. package/dist/chunks/{component-HdHeatService-UxyMUQp4.mjs → component-HdHeatService-2mDKw72Q.mjs} +2 -2
  17. package/dist/chunks/{component-HdInsectDetailList-BiVgf4Nc.mjs → component-HdInsectDetailList-BiP31JHB.mjs} +2 -2
  18. package/dist/chunks/{component-HdInsectList-CToVsJiF.mjs → component-HdInsectList-mBVoNs-B.mjs} +2 -2
  19. package/dist/chunks/{component-HdObservation-BV5jDCZt.mjs → component-HdObservation-CUEsxT9s.mjs} +3 -3
  20. package/dist/chunks/{component-HdPreSituation-DY4j43V7.mjs → component-HdPreSituation-DpRDRpB_.mjs} +4 -4
  21. package/dist/chunks/{component-HdQxServiceEffects-DM-KlAru.mjs → component-HdQxServiceEffects-DhSLi3Cp.mjs} +2 -2
  22. package/dist/chunks/{component-HdRadarList-BdXRt42m.mjs → component-HdRadarList-9Q_oEiBF.mjs} +3 -3
  23. package/dist/chunks/{component-HdRadarTime-OAbsHPlS.mjs → component-HdRadarTime-XKmy4dyn.mjs} +2 -2
  24. package/dist/chunks/{component-HdRisk-tQq0onmA.mjs → component-HdRisk-Bo57Q4xq.mjs} +3 -3
  25. package/dist/chunks/{component-HdSeaCase-DoWAhrNy.mjs → component-HdSeaCase-WdFh7dv1.mjs} +2 -2
  26. package/dist/chunks/{component-HdServiceMarterial-nCfTCfyI.mjs → component-HdServiceMarterial-DFSKApZF.mjs} +3 -3
  27. package/dist/chunks/{component-HdServiceRequirements-S9zSof01.mjs → component-HdServiceRequirements-COoVZtfX.mjs} +50 -44
  28. package/dist/chunks/{component-HdSoil-tr6IWswf.mjs → component-HdSoil-DlC7gAqh.mjs} +3 -3
  29. package/dist/chunks/{component-HdSoilDetailList-DG-TzCl0.mjs → component-HdSoilDetailList-BCdpAtsB.mjs} +2 -2
  30. package/dist/chunks/{component-HdStationTem-DrPBR7fV.mjs → component-HdStationTem-Bf5Q8rvP.mjs} +4 -4
  31. package/dist/chunks/{component-HdSuggestion-DQO0InyO.mjs → component-HdSuggestion-CT7ooPOt.mjs} +3 -3
  32. package/dist/chunks/{component-HdThreeWeatherTrend-CElSAKJs.mjs → component-HdThreeWeatherTrend-DuSNvwRA.mjs} +3 -3
  33. package/dist/chunks/{component-HdWaveForcast-D3Hm8Dg3.mjs → component-HdWaveForcast-U-r8mC1w.mjs} +3 -3
  34. package/dist/chunks/{component-HighQuality-C_W_iOrU.mjs → component-HighQuality-lq3xhGme.mjs} +2 -2
  35. package/dist/chunks/{component-HighWayEarlyWarningRed-D5iSGN5l.mjs → component-HighWayEarlyWarningRed-DodC7Q7T.mjs} +2 -2
  36. package/dist/chunks/{component-HighWayFreeze-B9v5Z9Yd.mjs → component-HighWayFreeze-CDZ-Ri-M.mjs} +2 -2
  37. package/dist/chunks/{component-HighwayLiveAlarm-DjcOZUJv.mjs → component-HighwayLiveAlarm-Bjlu4poS.mjs} +2 -2
  38. package/dist/chunks/{component-HighwayLiveAlarmNew-C35RKvL1.mjs → component-HighwayLiveAlarmNew-B3Aw1Zd7.mjs} +3 -3
  39. package/dist/chunks/{component-HighwayStations-U_rU4hJi.mjs → component-HighwayStations-Ci1myZq5.mjs} +2 -2
  40. package/dist/chunks/{component-HighwayWeatherForecast-BD547juJ.mjs → component-HighwayWeatherForecast-CLDFHuPu.mjs} +4 -4
  41. package/dist/chunks/{component-IframeWeb-DMn6K9zk.mjs → component-IframeWeb-BHP2g66t.mjs} +1 -1
  42. package/dist/chunks/{component-ImageGeneration-BFSnXOdZ.mjs → component-ImageGeneration-lYDj19Jl.mjs} +1 -1
  43. package/dist/chunks/{component-IntroducePic-BmvED_mB.mjs → component-IntroducePic-j3qRU7Cj.mjs} +2 -2
  44. package/dist/chunks/{component-LithiumBatteryMiningArea-BM_8uVPy.mjs → component-LithiumBatteryMiningArea-wsAv4C6e.mjs} +2 -2
  45. package/dist/chunks/{component-MapPopup-CRQjbIZT.mjs → component-MapPopup-Dw7cp6k-.mjs} +1 -1
  46. package/dist/chunks/{component-MaterialPreview-Dmg4LG8h.mjs → component-MaterialPreview-BdQ9gQtF.mjs} +2 -2
  47. package/dist/chunks/{component-PieLegend-B90e9FMW.mjs → component-PieLegend-Cj3h7w78.mjs} +1 -1
  48. package/dist/chunks/{component-PrecipitationRanking-BamBChop.mjs → component-PrecipitationRanking-DhSrSttD.mjs} +4 -4
  49. package/dist/chunks/{component-RadarChart-DrQnSK2_.mjs → component-RadarChart-Db88YYWF.mjs} +2 -2
  50. package/dist/chunks/{component-RadarLegend-UaQXwEdl.mjs → component-RadarLegend-BpRGczol.mjs} +1 -1
  51. package/dist/chunks/{component-RadarShortTerm-B6DiXwjj.mjs → component-RadarShortTerm-BaL6zDH-.mjs} +4 -4
  52. package/dist/chunks/{component-RadarTime-CrWj-oVD.mjs → component-RadarTime-0xKLDAcb.mjs} +2 -2
  53. package/dist/chunks/{component-RenderMarkdown-CSoLEsFv.mjs → component-RenderMarkdown-Dw99Ty38.mjs} +2 -2
  54. package/dist/chunks/{component-ReservoirLiveAlarm-CJUDC3QW.mjs → component-ReservoirLiveAlarm-CgkyIQU2.mjs} +3 -3
  55. package/dist/chunks/{component-ServiceMaterial-DR7imvMZ.mjs → component-ServiceMaterial-6osl8Qwc.mjs} +2 -2
  56. package/dist/chunks/{component-ServiceMaterialsBtn-BWxBKKWn.mjs → component-ServiceMaterialsBtn-BwAhXu4S.mjs} +1 -1
  57. package/dist/chunks/{component-StationDialog-2KObsuJ8.mjs → component-StationDialog-DY0Q7jkr.mjs} +4 -4
  58. package/dist/chunks/{component-StationList-CJ7XHlZl.mjs → component-StationList-BcjW3-qn.mjs} +5 -5
  59. package/dist/chunks/{component-TimeBasedForecast-B2ewC_QX.mjs → component-TimeBasedForecast-DnVvJspO.mjs} +4 -4
  60. package/dist/chunks/{component-Typhoon-BQQCoEbU.mjs → component-Typhoon-DpKHqVCe.mjs} +2 -2
  61. package/dist/chunks/{component-WarningLine-9Y5OJRig.mjs → component-WarningLine-BgWKZMr1.mjs} +2 -2
  62. package/dist/chunks/{component-WarningSignal-uXiAUGTl.mjs → component-WarningSignal-BqQL2xhk.mjs} +3 -3
  63. package/dist/chunks/{component-WeatherForecast-BIeLjzMw.mjs → component-WeatherForecast-Py4-GQHI.mjs} +4 -4
  64. package/dist/chunks/{component-YCDataMonitor-D8jFTVaA.mjs → component-YCDataMonitor-hdC9otVC.mjs} +2 -2
  65. package/dist/chunks/{component-YCDataService--R26h5UL.mjs → component-YCDataService-CmRkGbtG.mjs} +4 -4
  66. package/dist/chunks/{component-YCHighWaySummary-CeYp4g4j.mjs → component-YCHighWaySummary-D9B2cuv8.mjs} +2 -2
  67. package/dist/chunks/component-YCHome-D8Th31Ia.mjs +540 -0
  68. package/dist/chunks/{component-YCHomeLegend-DiFftuY3.mjs → component-YCHomeLegend-Jpy9sG9k.mjs} +1 -1
  69. package/dist/chunks/{component-YCLoginNew-CFJSyKfV.mjs → component-YCLoginNew-CdJa_ljn.mjs} +7 -7
  70. package/dist/components/AiChat/AiChat.vue.d.ts +126 -50
  71. package/dist/components/AiChat/types.d.ts +0 -12
  72. package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +0 -25
  73. package/dist/components/StationDialog/StationDialog.vue.d.ts +1 -1
  74. package/dist/nxd-plugin.mjs +70 -70
  75. package/dist/styles/component-AiChat.css +1 -1
  76. package/dist/styles/component-HdHeatChartDialog.css +1 -1
  77. package/dist/styles/component-HdServiceRequirements.css +1 -1
  78. package/dist/styles/component-PrecipitationRanking.css +1 -1
  79. package/dist/styles/component-YCLoginNew.css +1 -1
  80. package/package.json +1 -1
  81. package/dist/assets/dataJson/AiChatMock.json.d.ts +0 -509
  82. package/dist/chunks/component-AiChat-B2YoRfzz.mjs +0 -27514
  83. package/dist/chunks/component-YCHome-DQSDzxCG.mjs +0 -540
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nxd-plugin",
3
- "version": "1.8.02",
3
+ "version": "1.8.3",
4
4
  "main": "dist/nxd-plugin.mjs",
5
5
  "module": "dist/nxd-plugin.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -1,509 +0,0 @@
1
- declare const _default: {
2
- "categories": {
3
- "knowledge": {
4
- "label": "查知识",
5
- "responses": [
6
- {
7
- "keywords": ["台风", "大风", "预警"],
8
- "blocks": [
9
- {
10
- "sort": 1,
11
- "type": "thinking",
12
- "steps": [
13
- { "type": "text", "content": "1. 识别用户需求:查询台风预警及防御知识。" },
14
- { "type": "text", "content": "2. 检索台风数据库:获取当前编号台风“卡努”的位置、强度、移向移速。" },
15
- { "type": "text", "content": "3. 查询预警规则:根据风力影响范围匹配台风黄色预警标准。" },
16
- { "type": "text", "content": "4. 整理防御提示:结合沿海、农业、城市内涝等场景输出建议。" }
17
- ]
18
- },
19
- {
20
- "sort": 2,
21
- "type": "markdown",
22
- "content": "## 🌀 台风预警信息\n\n今年第 6 号台风 **“卡努”** 预计将于 48 小时内影响本市沿海区域。\n\n### 影响时段\n| 阶段 | 时间 | 风力 | 降雨 |\n|------|------|------|------|\n| 外围影响 | 今晚~明天上午 | 东北风 6-7 级 | 阵雨 |\n| 主体影响 | 明天下午~后天 | 偏东风 8-10 级 | 暴雨到大暴雨 |\n| 减弱远离 | 大后天 | 东南风 5-6 级 | 小雨 |\n\n### 防御提示\n1. 沿海景区、海上作业平台请于今天 18 时前撤离人员。\n2. 加固户外广告牌、脚手架、农业大棚等易被大风吹动的搭建物。\n3. 低洼地区居民请提前备好沙袋,注意防范城市内涝。\n\n> 市气象台将每 3 小时滚动发布台风路径及风雨预报。"
23
- }
24
- ]
25
- },
26
- {
27
- "keywords": ["雷达", "云图", "卫星", "回波"],
28
- "blocks": [
29
- {
30
- "sort": 1,
31
- "type": "thinking",
32
- "steps": [
33
- { "type": "text", "content": "1. 识别用户需求:解读雷达回波实况。" },
34
- { "type": "text", "content": "2. 读取雷达拼图:分析回波强度、走向、移动速度。" },
35
- { "type": "text", "content": "3. 反演对流参数:回波顶高、VIL、质心高度等。" },
36
- { "type": "text", "content": "4. 生成解读文本:给出短时临近预报建议。" }
37
- ]
38
- },
39
- {
40
- "sort": 2,
41
- "type": "markdown",
42
- "content": "## 📡 雷达回波实况解读\n\n当前我市上游 150 km 范围内存在一条东北-西南向对流回波带,强度 35-50 dBZ,正以约 40 km/h 向东南方向移动。\n\n### 回波特征\n- **回波顶高**:9-12 km,属于发展旺盛的对流单体。\n- **垂直液态水含量**:最大 45 kg/m²,伴有短时强降水风险。\n- **移动方向**:自西北向东南,预计 1.5 小时后影响市区。\n\n### 建议\n1. 短时强降水可能引发道路积水,建议避开低洼路段。\n2. 雷电活跃时段尽量减少户外活动。\n3. 可通过实时雷达拼图持续关注回波移动。"
43
- }
44
- ]
45
- },
46
- {
47
- "keywords": ["农业", "农事", "作物", "墒情"],
48
- "blocks": [
49
- {
50
- "sort": 1,
51
- "type": "thinking",
52
- "steps": [
53
- { "type": "text", "content": "1. 识别用户需求:获取农业气象服务建议。" },
54
- { "type": "text", "content": "2. 调用土壤墒情数据:各区县土壤相对湿度。" },
55
- { "type": "table", "columns": [{ "key": "region", "title": "区域", "align": "left" }, { "key": "rh", "title": "土壤相对湿度", "align": "center" }, { "key": "evaluate", "title": "评价", "align": "center" }], "data": [{ "region": "西海岸新区", "rh": "78%", "evaluate": "适宜" }, { "region": "即墨区", "rh": "65%", "evaluate": "略偏旱" }, { "region": "平度市", "rh": "85%", "evaluate": "偏湿" }] },
56
- { "type": "text", "content": "3. 结合未来 7 天天气预报,生成农事建议。" }
57
- ]
58
- },
59
- {
60
- "sort": 2,
61
- "type": "markdown",
62
- "content": "## 🌾 农业气象服务建议\n\n### 当前农田墒情\n| 区域 | 土壤相对湿度 | 评价 | 建议 |\n|------|------------|------|------|\n| 西海岸新区 | 78% | 适宜 | 可正常播种夏玉米 |\n| 即墨区 | 65% | 略偏旱 | 灌溉 1 次,确保出苗 |\n| 平度市 | 85% | 偏湿 | 注意清沟理墒,防渍害 |\n\n### 未来 7 天农事建议\n1. **今明两天**有小雨,雨后趁墒开展夏玉米、大豆等作物播种。\n2. **周三至周五**以多云为主,利于田间管理,可喷施除草剂。\n3. 周末有阵雨,抓紧收获成熟瓜果蔬菜,避免田间腐烂。"
63
- }
64
- ]
65
- },
66
- {
67
- "default": true,
68
- "blocks": [
69
- {
70
- "sort": 1,
71
- "type": "thinking",
72
- "steps": [
73
- { "type": "text", "content": "1. 识别用户需求:查询指定位置当前及未来 24 小时气象概况。" },
74
- { "type": "text", "content": "2. 定位最近自动站:西海岸新区国家气象站。" },
75
- { "type": "table", "columns": [{ "key": "stationNumber", "title": "站号", "align": "center" }, { "key": "stationName", "title": "站名", "align": "left" }, { "key": "temperature", "title": "气温(°C)", "align": "right" }, { "key": "relativeHumidity", "title": "相对湿度(%)", "align": "right" }, { "key": "windDirectionTxt", "title": "风向", "align": "center" }, { "key": "windSpeed", "title": "风速(m/s)", "align": "right" }], "data": [{ "stationNumber": "54943", "stationName": "黄岛", "temperature": "26.3", "relativeHumidity": "78", "windDirectionTxt": "东南风", "windSpeed": "3.2" }] },
76
- { "type": "text", "content": "3. 融合数值预报:生成通俗防御建议。" }
77
- ]
78
- },
79
- {
80
- "sort": 2,
81
- "type": "markdown",
82
- "content": "根据你提供的位置信息,我查询了当前及未来 24 小时气象概况 👇\n\n## 🌤️ 青岛市西海岸新区 · 气象概况\n\n### 当前实况\n| 要素 | 数值 |\n|------|------|\n| 气温 | **26.3°C** |\n| 相对湿度 | **78%** |\n| 风向风力 | 东南风 **3~4 级** |\n| 能见度 | **12 km** |\n| 气压 | 1008 hPa |\n\n### 防御建议\n1. **今夜至凌晨有小雨**,沿海路段能见度较低,出行请注意交通安全。\n2. 明早气温降至 **20°C 左右**,体感偏凉,建议携带薄外套。\n3. 明天白天转为多云,最高气温回升至 **28°C**,适宜户外活动。\n\n> 数据来源:气象大数据平台"
83
- }
84
- ]
85
- }
86
- ]
87
- },
88
- "data": {
89
- "label": "查数据",
90
- "responses": [
91
- {
92
- "keywords": ["台风", "路径", "风力"],
93
- "blocks": [
94
- {
95
- "sort": 1,
96
- "type": "thinking",
97
- "steps": [
98
- { "type": "text", "content": "1. 识别用户需求:查询台风路径及强度变化数据。" },
99
- { "type": "text", "content": "2. 调用台风预报接口:获取未来 72 小时路径点。" },
100
- { "type": "text", "content": "3. 绘制趋势图表:中心气压变化曲线。" },
101
- { "type": "text", "content": "4. 输出结构化表格与预报图。" }
102
- ]
103
- },
104
- {
105
- "sort": 2,
106
- "type": "markdown",
107
- "content": "#### 🌀 台风“卡努”未来 72 小时路径预报"
108
- },
109
- {
110
- "sort": 3,
111
- "type": "table",
112
- "columns": [
113
- { "key": "time", "title": "时间", "align": "left" },
114
- { "key": "lon", "title": "经度", "align": "center" },
115
- { "key": "lat", "title": "纬度", "align": "center" },
116
- { "key": "level", "title": "强度等级", "align": "center" },
117
- { "key": "wind", "title": "近中心风力", "align": "center" },
118
- { "key": "dir", "title": "移向", "align": "center" },
119
- { "key": "speed", "title": "移速", "align": "right" }
120
- ],
121
- "data": [
122
- { "time": "今天 20 时", "lon": "125.8°E", "lat": "28.4°N", "level": "强台风", "wind": "14 级", "dir": "西北", "speed": "12 km/h" },
123
- { "time": "明天 08 时", "lon": "124.9°E", "lat": "29.1°N", "level": "强台风", "wind": "15 级", "dir": "西北偏北", "speed": "10 km/h" },
124
- { "time": "明天 20 时", "lon": "123.7°E", "lat": "30.0°N", "level": "台风", "wind": "13 级", "dir": "北", "speed": "8 km/h" },
125
- { "time": "后天 08 时", "lon": "122.8°E", "lat": "31.2°N", "level": "强热带风暴", "wind": "11 级", "dir": "东北", "speed": "15 km/h" }
126
- ]
127
- },
128
- {
129
- "sort": 4,
130
- "type": "echarts",
131
- "title": "台风中心气压变化趋势",
132
- "option": {
133
- "grid": { "top": 40, "right": 20, "bottom": 30, "left": 50 },
134
- "xAxis": { "type": "category", "data": ["今天", "明天", "后天", "大后天"] },
135
- "yAxis": { "type": "value", "name": "hPa", "min": 900 },
136
- "series": [
137
- { "type": "line", "data": [955, 940, 965, 985], "smooth": true, "areaStyle": { "opacity": 0.2 } }
138
- ]
139
- }
140
- },
141
- {
142
- "sort": 5,
143
- "type": "image",
144
- "url": "https://picsum.photos/seed/typhoon_track/400/220",
145
- "caption": "台风路径概率预报图"
146
- }
147
- ]
148
- },
149
- {
150
- "keywords": ["降水", "雨量", "降雨", "暴雨"],
151
- "blocks": [
152
- {
153
- "sort": 1,
154
- "type": "thinking",
155
- "steps": [
156
- { "type": "text", "content": "1. 识别用户需求:查询未来 24 小时累计降水量。" },
157
- { "type": "text", "content": "2. 调用格点预报数据:各区县逐 6 小时降水量。" },
158
- { "type": "table", "columns": [{ "key": "district", "title": "区县", "align": "left" }, { "key": "h06", "title": "0-6h", "align": "right" }, { "key": "h12", "title": "6-12h", "align": "right" }, { "key": "h18", "title": "12-18h", "align": "right" }, { "key": "h24", "title": "18-24h", "align": "right" }, { "key": "total", "title": "过程累计", "align": "right" }], "data": [{ "district": "市南区", "h06": "5 mm", "h12": "15 mm", "h18": "35 mm", "h24": "12 mm", "total": "67 mm" }, { "district": "崂山区", "h06": "8 mm", "h12": "25 mm", "h18": "55 mm", "h24": "20 mm", "total": "108 mm" }, { "district": "西海岸新区", "h06": "10 mm", "h12": "30 mm", "h18": "60 mm", "h24": "22 mm", "total": "122 mm" }] },
159
- { "type": "text", "content": "3. 生成柱状图:直观展示各区县过程累计降水量。" }
160
- ]
161
- },
162
- {
163
- "sort": 2,
164
- "type": "markdown",
165
- "content": "#### 🌧️ 未来 24 小时累计降水量预报"
166
- },
167
- {
168
- "sort": 3,
169
- "type": "table",
170
- "columns": [
171
- { "key": "district", "title": "区县", "align": "left" },
172
- { "key": "h06", "title": "0-6h", "align": "right" },
173
- { "key": "h12", "title": "6-12h", "align": "right" },
174
- { "key": "h18", "title": "12-18h", "align": "right" },
175
- { "key": "h24", "title": "18-24h", "align": "right" },
176
- { "key": "total", "title": "过程累计", "align": "right" }
177
- ],
178
- "data": [
179
- { "district": "市南区", "h06": "5 mm", "h12": "15 mm", "h18": "35 mm", "h24": "12 mm", "total": "67 mm" },
180
- { "district": "市北区", "h06": "3 mm", "h12": "12 mm", "h18": "28 mm", "h24": "10 mm", "total": "53 mm" },
181
- { "district": "李沧区", "h06": "4 mm", "h12": "18 mm", "h18": "42 mm", "h24": "15 mm", "total": "79 mm" },
182
- { "district": "崂山区", "h06": "8 mm", "h12": "25 mm", "h18": "55 mm", "h24": "20 mm", "total": "108 mm" },
183
- { "district": "城阳区", "h06": "6 mm", "h12": "20 mm", "h18": "38 mm", "h24": "14 mm", "total": "78 mm" },
184
- { "district": "西海岸新区", "h06": "10 mm", "h12": "30 mm", "h18": "60 mm", "h24": "22 mm", "total": "122 mm" },
185
- { "district": "即墨区", "h06": "7 mm", "h12": "22 mm", "h18": "45 mm", "h24": "16 mm", "total": "90 mm" }
186
- ]
187
- },
188
- {
189
- "sort": 4,
190
- "type": "echarts",
191
- "title": "各区县过程累计降水量",
192
- "option": {
193
- "grid": { "top": 40, "right": 20, "bottom": 50, "left": 60 },
194
- "xAxis": { "type": "category", "data": ["市南", "市北", "李沧", "崂山", "城阳", "西海岸", "即墨"], "axisLabel": { "rotate": 30 } },
195
- "yAxis": { "type": "value", "name": "mm" },
196
- "series": [
197
- { "type": "bar", "data": [67, 53, 79, 108, 78, 122, 90], "itemStyle": { "color": "#22d3ee" } }
198
- ]
199
- }
200
- },
201
- {
202
- "sort": 5,
203
- "type": "image",
204
- "url": "https://picsum.photos/seed/rain_map/400/220",
205
- "caption": "24 小时降水预报图"
206
- }
207
- ]
208
- },
209
- {
210
- "default": true,
211
- "blocks": [
212
- {
213
- "sort": 1,
214
- "type": "thinking",
215
- "steps": [
216
- { "type": "text", "content": "1. 识别用户需求:查询未来 7 天天气预报。" },
217
- { "type": "text", "content": "2. 调用城市预报数据:天气现象、气温、风向风力、降水概率。" },
218
- { "type": "text", "content": "3. 绘制气温趋势图:最高温与最低温双曲线。" },
219
- { "type": "text", "content": "4. 输出表格与趋势图。" }
220
- ]
221
- },
222
- {
223
- "sort": 2,
224
- "type": "markdown",
225
- "content": "#### 🌦️ 青岛市未来 7 天天气预报"
226
- },
227
- {
228
- "sort": 3,
229
- "type": "table",
230
- "columns": [
231
- { "key": "date", "title": "日期", "align": "left" },
232
- { "key": "weather", "title": "天气现象", "align": "left" },
233
- { "key": "max", "title": "最高温", "align": "right" },
234
- { "key": "min", "title": "最低温", "align": "right" },
235
- { "key": "wind", "title": "风向风力", "align": "left" },
236
- { "key": "rain", "title": "降水概率", "align": "right" }
237
- ],
238
- "data": [
239
- { "date": "今天", "weather": "多云转小雨", "max": "28°C", "min": "21°C", "wind": "东南风 3-4 级", "rain": "60%" },
240
- { "date": "明天", "weather": "小雨转多云", "max": "26°C", "min": "19°C", "wind": "东北风 3 级", "rain": "40%" },
241
- { "date": "后天", "weather": "多云", "max": "29°C", "min": "20°C", "wind": "南风 2-3 级", "rain": "10%" },
242
- { "date": "周四", "weather": "晴", "max": "31°C", "min": "22°C", "wind": "南风 2 级", "rain": "0%" },
243
- { "date": "周五", "weather": "晴转多云", "max": "30°C", "min": "23°C", "wind": "东南风 3 级", "rain": "10%" },
244
- { "date": "周六", "weather": "多云转阴", "max": "28°C", "min": "22°C", "wind": "东风 3 级", "rain": "30%" },
245
- { "date": "周日", "weather": "阵雨", "max": "27°C", "min": "21°C", "wind": "东北风 3-4 级", "rain": "70%" }
246
- ]
247
- },
248
- {
249
- "sort": 4,
250
- "type": "echarts",
251
- "title": "未来 7 天气温趋势",
252
- "option": {
253
- "grid": { "top": 40, "right": 20, "bottom": 30, "left": 40 },
254
- "legend": { "data": ["最高温", "最低温"] },
255
- "xAxis": { "type": "category", "data": ["今天", "明天", "后天", "周四", "周五", "周六", "周日"] },
256
- "yAxis": { "type": "value", "name": "°C" },
257
- "series": [
258
- { "name": "最高温", "type": "line", "data": [28, 26, 29, 31, 30, 28, 27], "smooth": true, "itemStyle": { "color": "#f59e0b" } },
259
- { "name": "最低温", "type": "line", "data": [21, 19, 20, 22, 23, 22, 21], "smooth": true, "itemStyle": { "color": "#22d3ee" } }
260
- ]
261
- }
262
- },
263
- {
264
- "sort": 5,
265
- "type": "image",
266
- "url": "https://picsum.photos/seed/weather_trend/400/220",
267
- "caption": "未来 7 天气温趋势图"
268
- }
269
- ]
270
- }
271
- ]
272
- },
273
- "material": {
274
- "label": "查材料",
275
- "responses": [
276
- {
277
- "keywords": ["海洋", "台风", "灾害", "防御"],
278
- "blocks": [
279
- {
280
- "sort": 1,
281
- "type": "thinking",
282
- "steps": [
283
- { "type": "text", "content": "1. 识别用户需求:检索台风灾害防御相关材料。" },
284
- { "type": "text", "content": "2. 检索材料库:按关键词“台风”“灾害”“防御”匹配文档。" },
285
- { "type": "text", "content": "3. 筛选格式:PDF、XLSX、DOCX,保留权威来源。" },
286
- { "type": "text", "content": "4. 输出材料列表及摘要。" }
287
- ]
288
- },
289
- {
290
- "sort": 2,
291
- "type": "text",
292
- "content": "已检索到与台风灾害防御相关的材料,共 3 份:"
293
- },
294
- {
295
- "sort": 3,
296
- "type": "fileList",
297
- "files": [
298
- {
299
- "name": "青岛市台风灾害防御应急预案.pdf",
300
- "url": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
301
- "size": "4.2 MB",
302
- "ext": "pdf",
303
- "description": "本预案明确了台风预警分级、应急响应启动条件、各部门职责分工及人员转移安置要求。"
304
- },
305
- {
306
- "name": "台风风险隐患清单.xlsx",
307
- "url": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
308
- "size": "1.8 MB",
309
- "ext": "xlsx",
310
- "description": "全市低洼易涝点、地质灾害隐患点、海上作业平台等风险隐患台账。"
311
- },
312
- {
313
- "name": "人员转移安置方案.docx",
314
- "url": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
315
- "size": "2.5 MB",
316
- "ext": "docx",
317
- "description": "受台风影响区域人员转移路线图、安置点分布及物资保障方案。"
318
- }
319
- ]
320
- }
321
- ]
322
- },
323
- {
324
- "default": true,
325
- "blocks": [
326
- {
327
- "sort": 1,
328
- "type": "thinking",
329
- "steps": [
330
- { "type": "text", "content": "1. 识别用户需求:检索海洋气象预报相关材料。" },
331
- { "type": "text", "content": "2. 检索材料库:按关键词“海洋”“预报”“精细化”匹配。" },
332
- { "type": "text", "content": "3. 筛选格式:DOC、PDF、PPTX,按时间倒序排列。" },
333
- { "type": "text", "content": "4. 输出材料列表及摘要。" }
334
- ]
335
- },
336
- {
337
- "sort": 2,
338
- "type": "text",
339
- "content": "已检索到海洋气象预报相关材料,共 3 份:"
340
- },
341
- {
342
- "sort": 3,
343
- "type": "fileList",
344
- "files": [
345
- {
346
- "name": "精细化海洋预报(20260531).doc",
347
- "url": "http://58.59.29.51:11014/productFilePath/seaService/2026/5/31/%E7%B2%BE%E7%BB%86%E5%8C%96%E6%B5%B7%E6%B4%8B%E9%A2%84%E6%8A%A5%EF%BC%8820260531%EF%BC%89.doc",
348
- "size": "5.8 MB",
349
- "ext": "doc",
350
- "description": "海洋气象预报"
351
- },
352
- {
353
- "name": "气象灾害防御工作手册.pdf",
354
- "url": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
355
- "size": "3.6 MB",
356
- "ext": "pdf",
357
- "description": "面向基层网格员的灾害防御操作指南,包含预警信息接收、传播和应急处置流程。"
358
- },
359
- {
360
- "name": "防灾减灾宣传材料.pptx",
361
- "url": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
362
- "size": "8.2 MB",
363
- "ext": "pptx",
364
- "description": "面向社区、学校的防灾减灾科普宣传课件。"
365
- }
366
- ]
367
- }
368
- ]
369
- }
370
- ]
371
- },
372
- "smartMake": {
373
- "label": "智能制作",
374
- "responses": [
375
- {
376
- "keywords": ["预警", "通知", "发文"],
377
- "blocks": [
378
- {
379
- "sort": 1,
380
- "type": "thinking",
381
- "steps": [
382
- { "type": "text", "content": "1. 识别用户需求:需要生成一份气象灾害预警通知公文。" },
383
- { "type": "text", "content": "2. 匹配模板:选择《气象灾害预警通知》公文模板。" },
384
- { "type": "text", "content": "3. 填充要素:当前预警类型为台风黄色预警,影响时段为 24-48 小时,重点关注沿海区域。" },
385
- { "type": "text", "content": "4. 生成落款:青岛市气象局,日期为今日。" },
386
- { "type": "text", "content": "5. 输出格式:Word 文档,便于后续编辑和正式发文。" }
387
- ]
388
- },
389
- {
390
- "sort": 2,
391
- "type": "file",
392
- "title": "",
393
- "name": "气象灾害预警通知.docx",
394
- "fileUrl": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
395
- "ext": "docx"
396
- }
397
- ]
398
- },
399
- {
400
- "keywords": ["报告", "总结", "分析"],
401
- "blocks": [
402
- {
403
- "sort": 1,
404
- "type": "thinking",
405
- "steps": [
406
- { "type": "text", "content": "1. 识别用户需求:需要生成气象服务总结报告。" },
407
- { "type": "text", "content": "2. 梳理素材:调用近期天气预报、服务产品、用户反馈等数据。" },
408
- { "type": "text", "content": "3. 构建框架:包含服务概况、重点过程、服务效益、存在问题及下一步计划。" },
409
- { "type": "text", "content": "4. 图表插入:自动插入降水预报准确率、服务覆盖人次等统计图表。" },
410
- { "type": "text", "content": "5. 输出格式:PDF 文档,便于归档和报送。" }
411
- ]
412
- },
413
- {
414
- "sort": 2,
415
- "type": "file",
416
- "title": "",
417
- "name": "气象服务总结报告.pdf",
418
- "fileUrl": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
419
- "ext": "pdf"
420
- }
421
- ]
422
- },
423
- {
424
- "default": true,
425
- "blocks": [
426
- {
427
- "sort": 1,
428
- "type": "thinking",
429
- "steps": [
430
- { "type": "text", "content": "1. 识别用户需求:需要基于自动站数据智能制作气象服务材料。" },
431
- { "type": "text", "content": "2. 数据获取:调用自动站接口,获取黄岛区共 17 个站点最新实况。" },
432
- {
433
- "type": "table",
434
- "columns": [
435
- { "key": "stationNumber", "title": "站号", "align": "center" },
436
- { "key": "stationName", "title": "站名", "align": "left" },
437
- { "key": "observationTime", "title": "观测时间", "align": "center" },
438
- { "key": "temperature", "title": "气温(°C)", "align": "right" },
439
- { "key": "relativeHumidity", "title": "相对湿度(%)", "align": "right" },
440
- { "key": "windDirectionTxt", "title": "风向", "align": "center" },
441
- { "key": "windSpeed", "title": "风速(m/s)", "align": "right" },
442
- { "key": "weatherinfo", "title": "天气", "align": "center" }
443
- ],
444
- "data": [
445
- { "stationNumber": "54943", "stationName": "黄岛", "observationTime": "8/7 10", "temperature": "33.3", "relativeHumidity": "65", "windDirectionTxt": "东风", "windSpeed": "1.8", "weatherinfo": "晴天" },
446
- { "stationNumber": "D0002", "stationName": "黄岛金沙滩", "observationTime": "8/7 10", "temperature": "33.7", "relativeHumidity": "60", "windDirectionTxt": "北风", "windSpeed": "2.5", "weatherinfo": "晴天" },
447
- { "stationNumber": "D0008", "stationName": "黄岛琅琊", "observationTime": "8/7 10", "temperature": "32.4", "relativeHumidity": "61", "windDirectionTxt": "东风", "windSpeed": "1.7", "weatherinfo": "晴天" },
448
- { "stationNumber": "D0063", "stationName": "黄岛大涧山", "observationTime": "8/7 10", "temperature": "34.6", "relativeHumidity": "58", "windDirectionTxt": "东北风", "windSpeed": "2.4", "weatherinfo": "晴天" },
449
- { "stationNumber": "D0076", "stationName": "黄岛滨海杜鹃花区气象观测站", "observationTime": "8/7 10", "temperature": "33.9", "relativeHumidity": "缺测", "windDirectionTxt": "东风", "windSpeed": "1.3", "weatherinfo": "晴天" },
450
- { "stationNumber": "D0167", "stationName": "黄岛隐珠气象观测站", "observationTime": "8/7 10", "temperature": "33.6", "relativeHumidity": "55", "windDirectionTxt": "西北风", "windSpeed": "3.0", "weatherinfo": "晴天" },
451
- { "stationNumber": "D0189", "stationName": "黄岛竹岔岛", "observationTime": "8/7 10", "temperature": "30.8", "relativeHumidity": "74", "windDirectionTxt": "缺测", "windSpeed": "0.0", "weatherinfo": "晴天" },
452
- { "stationNumber": "D0192", "stationName": "黄岛灵山岛", "observationTime": "8/7 10", "temperature": "29.5", "relativeHumidity": "62", "windDirectionTxt": "东北风", "windSpeed": "0.3", "weatherinfo": "晴天" },
453
- { "stationNumber": "D0197", "stationName": "黄岛台子沟", "observationTime": "8/7 10", "temperature": "33.1", "relativeHumidity": "缺测", "windDirectionTxt": "东风", "windSpeed": "2.0", "weatherinfo": "晴天" },
454
- { "stationNumber": "D0199", "stationName": "黄岛轮渡", "observationTime": "8/7 10", "temperature": "33.4", "relativeHumidity": "60", "windDirectionTxt": "西北风", "windSpeed": "0.9", "weatherinfo": "晴天" },
455
- { "stationNumber": "D0200", "stationName": "黄岛董家口港", "observationTime": "8/7 10", "temperature": "30.4", "relativeHumidity": "62", "windDirectionTxt": "东南风", "windSpeed": "2.7", "weatherinfo": "晴天" },
456
- { "stationNumber": "D0206", "stationName": "黄岛实验中学气象观测站", "observationTime": "8/7 10", "temperature": "34.3", "relativeHumidity": "54", "windDirectionTxt": "西南风", "windSpeed": "2.6", "weatherinfo": "晴天" },
457
- { "stationNumber": "D0212", "stationName": "黄岛前湾港码头", "observationTime": "8/7 10", "temperature": "34.0", "relativeHumidity": "54", "windDirectionTxt": "东北风", "windSpeed": "3.4", "weatherinfo": "晴天" },
458
- { "stationNumber": "D0231", "stationName": "黄岛泊里气象观测站", "observationTime": "8/7 10", "temperature": "34.0", "relativeHumidity": "55", "windDirectionTxt": "缺测", "windSpeed": "缺测", "weatherinfo": "晴天" },
459
- { "stationNumber": "D0263", "stationName": "黄岛薛家岛气象观测站", "observationTime": "8/7 10", "temperature": "30.8", "relativeHumidity": "75", "windDirectionTxt": "东南风", "windSpeed": "3.2", "weatherinfo": "晴天" },
460
- { "stationNumber": "D0267", "stationName": "黄岛区小珠山气象观测站", "observationTime": "8/7 10", "temperature": "34.4", "relativeHumidity": "缺测", "windDirectionTxt": "北风", "windSpeed": "3.1", "weatherinfo": "晴天" },
461
- { "stationNumber": "D0501", "stationName": "黄岛滨海气象观测站", "observationTime": "8/7 10", "temperature": "34.1", "relativeHumidity": "55", "windDirectionTxt": "北风", "windSpeed": "2.5", "weatherinfo": "晴天" }
462
- ]
463
- },
464
- { "type": "text", "content": "3. 降水分析:获取黄岛区近 3 小时累计降水量。" },
465
- {
466
- "type": "table",
467
- "columns": [
468
- { "key": "stationName", "title": "站名", "align": "left" },
469
- { "key": "rainfall1h", "title": "1h降水(mm)", "align": "right" },
470
- { "key": "rainfall3h", "title": "3h降水(mm)", "align": "right" },
471
- { "key": "rainfall6h", "title": "6h降水(mm)", "align": "right" },
472
- { "key": "rainfall12h", "title": "12h降水(mm)", "align": "right" }
473
- ],
474
- "data": [
475
- { "stationName": "黄岛", "rainfall1h": "0.0", "rainfall3h": "0.0", "rainfall6h": "0.2", "rainfall12h": "1.5" },
476
- { "stationName": "黄岛金沙滩", "rainfall1h": "0.0", "rainfall3h": "0.0", "rainfall6h": "0.0", "rainfall12h": "0.8" },
477
- { "stationName": "黄岛琅琊", "rainfall1h": "0.0", "rainfall3h": "0.1", "rainfall6h": "0.5", "rainfall12h": "2.1" },
478
- { "stationName": "黄岛大涧山", "rainfall1h": "0.0", "rainfall3h": "0.0", "rainfall6h": "0.3", "rainfall12h": "1.2" },
479
- { "stationName": "黄岛滨海杜鹃花区气象观测站", "rainfall1h": "0.0", "rainfall3h": "0.0", "rainfall6h": "0.1", "rainfall12h": "0.9" },
480
- { "stationName": "黄岛隐珠气象观测站", "rainfall1h": "0.0", "rainfall3h": "0.0", "rainfall6h": "0.4", "rainfall12h": "1.8" },
481
- { "stationName": "黄岛竹岔岛", "rainfall1h": "0.0", "rainfall3h": "0.2", "rainfall6h": "0.6", "rainfall12h": "2.4" },
482
- { "stationName": "黄岛灵山岛", "rainfall1h": "0.0", "rainfall3h": "0.0", "rainfall6h": "0.2", "rainfall12h": "1.0" }
483
- ]
484
- },
485
- { "type": "text", "content": "4. 数据解析:原始返回为 JSON 格式,已提取关键字段。" },
486
- {
487
- "type": "markdown",
488
- "content": "JSON 结构示例:\n```json\n{\n \"msg\": \"success\",\n \"code\": 0,\n \"dataType\": 14,\n \"ds\": [\n {\n \"stationNumber\": \"54943\",\n \"stationName\": \"黄岛\",\n \"observationTime\": \"8/7 10\",\n \"temperature\": \"33.3\",\n \"relativeHumidity\": \"65\",\n \"windDirectionTxt\": \"东风\",\n \"windSpeed\": \"1.8\",\n \"weatherinfo\": \"晴天\"\n }\n ]\n}\n```"
489
- },
490
- { "type": "text", "content": "5. 生成服务材料:基于以上数据生成 Word 文档。" }
491
- ]
492
- },
493
- {
494
- "sort": 2,
495
- "type": "file",
496
- "title": "",
497
- "name": "智能制作成果.docx",
498
- "fileUrl": "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",
499
- "ext": "docx"
500
- }
501
- ]
502
- }
503
- ]
504
- }
505
- }
506
- }
507
- ;
508
-
509
- export default _default;