nxd-plugin 1.8.21 → 1.8.22

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 (93) hide show
  1. package/dist/chunks/YCServiceSummary-PPstZeY5.mjs +2 -0
  2. package/dist/chunks/{component-AiChat-C_DePYiS.mjs → component-AiChat-AMGDZOnM.mjs} +691 -691
  3. package/dist/chunks/{component-AqiMonitor-B4ZLQZOd.mjs → component-AqiMonitor-CbRqtu9p.mjs} +1 -1
  4. package/dist/chunks/{component-ChartCumulativePre-DQqNwEkp.mjs → component-ChartCumulativePre-BTqI2llc.mjs} +2 -2
  5. package/dist/chunks/{component-ChartServiceMaterial-BSXCSmjT.mjs → component-ChartServiceMaterial-B09CYvj1.mjs} +2 -2
  6. package/dist/chunks/{component-Duty-DnkxgYav.mjs → component-Duty-B_xLIwLc.mjs} +2 -2
  7. package/dist/chunks/{component-EarlyWarningStatistic-DZIISSb4.mjs → component-EarlyWarningStatistic-CuEZKyRd.mjs} +2 -2
  8. package/dist/chunks/{component-EarlyWarningStatistic2-vSCEWtaq.mjs → component-EarlyWarningStatistic2-CwxVVXDz.mjs} +2 -2
  9. package/dist/chunks/{component-Forecast72h-DicwnEaB.mjs → component-Forecast72h-DWuJmxhN.mjs} +2 -2
  10. package/dist/chunks/{component-GeologyLiveAlarm-DcLkKxQi.mjs → component-GeologyLiveAlarm-D0Qp3NkC.mjs} +2 -2
  11. package/dist/chunks/{component-GridForecastMsg-B1J5xBf1.mjs → component-GridForecastMsg-CACyyiD4.mjs} +2 -2
  12. package/dist/chunks/{component-HDSeaLegend-ubUWj-K6.mjs → component-HDSeaLegend-BKmNgyVy.mjs} +1 -1
  13. package/dist/chunks/{component-HdCameraList-DE5T_NCe.mjs → component-HdCameraList-CjERf58T.mjs} +4 -4
  14. package/dist/chunks/{component-HdFarmStation-Dr16UrnR.mjs → component-HdFarmStation-B7LiZJNn.mjs} +5 -4
  15. package/dist/chunks/{component-HdFarmStationDialog-DNAo261X.mjs → component-HdFarmStationDialog-DGaloDuc.mjs} +266 -282
  16. package/dist/chunks/{component-HdForecastProducts-DW94eZkZ.mjs → component-HdForecastProducts-Cqm11AZJ.mjs} +2 -2
  17. package/dist/chunks/{component-HdHeatChart-QyRCV140.mjs → component-HdHeatChart-DBrkJ7wc.mjs} +2 -2
  18. package/dist/chunks/{component-HdHeatChartDialog-CwUk9qQm.mjs → component-HdHeatChartDialog-COXAQ7bQ.mjs} +3 -3
  19. package/dist/chunks/{component-HdHeatService-Cbsa46Kg.mjs → component-HdHeatService-BytLjsOH.mjs} +2 -2
  20. package/dist/chunks/{component-HdInsectDetailList-Br06iK7W.mjs → component-HdInsectDetailList-Burje-lq.mjs} +2 -2
  21. package/dist/chunks/{component-HdInsectList-Djo-0pVh.mjs → component-HdInsectList-BmvZhDkG.mjs} +2 -2
  22. package/dist/chunks/component-HdMajorActivity-fd-kVYVY.mjs +221 -0
  23. package/dist/chunks/{component-HdObservation-5k_0GZGV.mjs → component-HdObservation-CEBvwX20.mjs} +4 -4
  24. package/dist/chunks/{component-HdPreSituation-B0yXJZVG.mjs → component-HdPreSituation-C9k5S8xb.mjs} +4 -4
  25. package/dist/chunks/{component-HdQxServiceEffects-Ds1vj_DV.mjs → component-HdQxServiceEffects-afWY5O0D.mjs} +2 -2
  26. package/dist/chunks/{component-HdRadarList-NLZ0YNV8.mjs → component-HdRadarList-CcQfA_IK.mjs} +3 -3
  27. package/dist/chunks/{component-HdRadarTime-D7-YoOkE.mjs → component-HdRadarTime-BinpFlES.mjs} +2 -2
  28. package/dist/chunks/{component-HdRadarTimeLine-CJ0_ejKf.mjs → component-HdRadarTimeLine-DsMjdctK.mjs} +2 -2
  29. package/dist/chunks/{component-HdRisk-fuJNWgJD.mjs → component-HdRisk-CtU4tAFm.mjs} +3 -3
  30. package/dist/chunks/{component-HdSeaCase-D21rq9pv.mjs → component-HdSeaCase-BSUlsIx4.mjs} +2 -2
  31. package/dist/chunks/{component-HdServiceMarterial-CgcHHy6J.mjs → component-HdServiceMarterial-BVRAV14z.mjs} +3 -3
  32. package/dist/chunks/{component-HdServiceRequirements-D2EdgZjN.mjs → component-HdServiceRequirements-CuKHpG2x.mjs} +3 -3
  33. package/dist/chunks/{component-HdSoil-D58PIu6D.mjs → component-HdSoil-Cg5eJ24C.mjs} +3 -3
  34. package/dist/chunks/{component-HdSoilDetailList-BpbPwCjd.mjs → component-HdSoilDetailList-BXkegoW8.mjs} +2 -2
  35. package/dist/chunks/{component-HdStationTem-qqZ5UXom.mjs → component-HdStationTem-BDWsPUTr.mjs} +4 -4
  36. package/dist/chunks/{component-HdSuggestion-Dbdlr5zS.mjs → component-HdSuggestion-Z8vAFQcx.mjs} +3 -3
  37. package/dist/chunks/{component-HdThreeWeatherTrend-zSmR2LIO.mjs → component-HdThreeWeatherTrend-D76c14hh.mjs} +4 -4
  38. package/dist/chunks/{component-HdWaveForcast-DllKzNgu.mjs → component-HdWaveForcast-BqdcmF-9.mjs} +3 -3
  39. package/dist/chunks/{component-HighQuality-BNVnCK0d.mjs → component-HighQuality-CxiEeJ6T.mjs} +2 -2
  40. package/dist/chunks/{component-HighWayEarlyWarningRed-CwzMQCqp.mjs → component-HighWayEarlyWarningRed-CXddcWf3.mjs} +2 -2
  41. package/dist/chunks/{component-HighWayFreeze-Ds2Hz7pR.mjs → component-HighWayFreeze-Ce2mS-fo.mjs} +2 -2
  42. package/dist/chunks/{component-HighwayLiveAlarm-Do4pwmnJ.mjs → component-HighwayLiveAlarm-cmXVG7kx.mjs} +2 -2
  43. package/dist/chunks/{component-HighwayLiveAlarmNew-DoWns_RH.mjs → component-HighwayLiveAlarmNew-DIh8-E-a.mjs} +3 -3
  44. package/dist/chunks/{component-HighwayStations-BBQa33JX.mjs → component-HighwayStations-DeOsPYJ4.mjs} +2 -2
  45. package/dist/chunks/{component-HighwayWeatherForecast-C-kwyE6Q.mjs → component-HighwayWeatherForecast-OTwm4aUB.mjs} +5 -5
  46. package/dist/chunks/{component-IframeWeb-uP8unwJj.mjs → component-IframeWeb-DJpLhA93.mjs} +1 -1
  47. package/dist/chunks/{component-ImageGeneration-CLAge4U1.mjs → component-ImageGeneration-CPp8qG9P.mjs} +1 -1
  48. package/dist/chunks/{component-IntroducePic-C8X8Y6hx.mjs → component-IntroducePic-DMbanecs.mjs} +2 -2
  49. package/dist/chunks/{component-LithiumBatteryMiningArea-xc5REiPe.mjs → component-LithiumBatteryMiningArea-BHUIxPQA.mjs} +2 -2
  50. package/dist/chunks/{component-MapPopup-DXRLi4wJ.mjs → component-MapPopup-CG1DlFH_.mjs} +1 -1
  51. package/dist/chunks/{component-MaterialPreview-B9iSbEIO.mjs → component-MaterialPreview-DFtr5Zsw.mjs} +2 -2
  52. package/dist/chunks/{component-PieLegend-DPwAQJxO.mjs → component-PieLegend-CUhuvyyt.mjs} +1 -1
  53. package/dist/chunks/{component-PrecipitationRanking-CwP3NZlf.mjs → component-PrecipitationRanking-CvuHO8-L.mjs} +4 -4
  54. package/dist/chunks/{component-RadarChart-BxEzHVOE.mjs → component-RadarChart-BtV2B9NQ.mjs} +2 -2
  55. package/dist/chunks/{component-RadarLegend-DVoe6ojQ.mjs → component-RadarLegend-uI-vbK2B.mjs} +1 -1
  56. package/dist/chunks/{component-RadarShortTerm-7v_EauV4.mjs → component-RadarShortTerm-C3yIFfjc.mjs} +4 -4
  57. package/dist/chunks/{component-RadarTime-CT8WOoJR.mjs → component-RadarTime-Cy5ezbus.mjs} +2 -2
  58. package/dist/chunks/{component-RenderMarkdown-CxAwaqBM.mjs → component-RenderMarkdown-Cf79iCPF.mjs} +2 -2
  59. package/dist/chunks/{component-ReservoirLiveAlarm-CWkaa2z8.mjs → component-ReservoirLiveAlarm-DvMi5KuT.mjs} +3 -3
  60. package/dist/chunks/{component-ServiceMaterial-CNjEwMGZ.mjs → component-ServiceMaterial-tM5xlUk5.mjs} +2 -2
  61. package/dist/chunks/{component-ServiceMaterialsBtn-DWBa1Hpa.mjs → component-ServiceMaterialsBtn-CkBLC8_V.mjs} +1 -1
  62. package/dist/chunks/{component-StationDialog-usekZclX.mjs → component-StationDialog-ThXd8RYz.mjs} +3 -3
  63. package/dist/chunks/{component-StationList-B0bav8JG.mjs → component-StationList-CTE-wJJe.mjs} +4 -4
  64. package/dist/chunks/{component-TimeBasedForecast-l0RpjVYi.mjs → component-TimeBasedForecast-BH14WI1X.mjs} +4 -4
  65. package/dist/chunks/{component-Typhoon-Cf8qko_n.mjs → component-Typhoon-BAh6wD79.mjs} +2 -2
  66. package/dist/chunks/{component-WarningLine-B2HyTDUW.mjs → component-WarningLine-DXy9x9WQ.mjs} +2 -2
  67. package/dist/chunks/{component-WarningSignal-Cy8MQ6oC.mjs → component-WarningSignal-omOhQ4Oe.mjs} +3 -3
  68. package/dist/chunks/{component-WeatherForecast-B-MV7oqR.mjs → component-WeatherForecast-CdccA6XY.mjs} +4 -4
  69. package/dist/chunks/{component-YCDataMonitor-p7tSzU_b.mjs → component-YCDataMonitor-b_yLhnlt.mjs} +2 -2
  70. package/dist/chunks/{component-YCDataService-BBVuyu-D.mjs → component-YCDataService-BuXN9Hbm.mjs} +4 -4
  71. package/dist/chunks/{component-YCHighWaySummary-BH34LVVj.mjs → component-YCHighWaySummary-BJ5NCRVX.mjs} +2 -2
  72. package/dist/chunks/{component-YCHome-CtSa__qB.mjs → component-YCHome-KZ-r1BIn.mjs} +4 -4
  73. package/dist/chunks/{component-YCHomeLegend-DqzGcZgD.mjs → component-YCHomeLegend-CI9bN8C9.mjs} +1 -1
  74. package/dist/chunks/{component-YCLoginNew-zgG8m4VV.mjs → component-YCLoginNew-BwaX10Om.mjs} +13 -13
  75. package/dist/chunks/component-YCServiceSummary-DyWhK07a.mjs +509 -0
  76. package/dist/components/HdFarmStationDialog/HdFarmStationDialog.vue.d.ts +0 -69
  77. package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +30 -0
  78. package/dist/components/YCServiceSummary/YCAIChatPanel.vue.d.ts +20 -2
  79. package/dist/components/YCServiceSummary/YCServiceSummary.vue.d.ts +19 -2
  80. package/dist/components/YCServiceSummary/YCServiceSummaryRefineAnalysis.vue.d.ts +21 -2
  81. package/dist/components/YCServiceSummary/YCServiceSummaryTrafficAnalysis.vue.d.ts +21 -2
  82. package/dist/index.d.ts +2 -1
  83. package/dist/nxd-plugin.mjs +75 -74
  84. package/dist/styles/component-HdCameraList.css +1 -1
  85. package/dist/styles/component-HdFarmStation.css +1 -1
  86. package/dist/styles/component-HdFarmStationDialog.css +1 -1
  87. package/dist/styles/component-HdMajorActivity.css +1 -0
  88. package/dist/styles/component-YCLoginNew.css +1 -1
  89. package/dist/styles/component-YCServiceSummary.css +1 -1
  90. package/package.json +1 -1
  91. package/dist/chunks/YCServiceSummary-9W7E-cRv.mjs +0 -2
  92. package/dist/chunks/component-YCServiceSummary-KF3yjd4u.mjs +0 -354
  93. package/dist/components/YCServiceSummary/types.d.ts +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nxd-plugin",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
4
4
  "main": "dist/nxd-plugin.mjs",
5
5
  "module": "dist/nxd-plugin.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -1,2 +0,0 @@
1
- import { t as e } from "./component-YCServiceSummary-KF3yjd4u.mjs";
2
- export { e as default };
@@ -1,354 +0,0 @@
1
- import { n as e } from "./component-AqiMonitor-B4ZLQZOd.mjs";
2
- import { Fragment as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, nextTick as l, normalizeClass as u, normalizeProps as d, normalizeStyle as f, onBeforeUnmount as p, onMounted as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as y, vModelText as b, withDirectives as x, withKeys as S, withModifiers as C } from "vue";
3
- import * as w from "echarts";
4
- //#region src/components/YCServiceSummary/YCAIChatPanel.vue?vue&type=script&setup=true&lang.ts
5
- var T = { class: "YCAIChatPanel" }, E = { class: "YCAIChatPanel-toolbar" }, D = ["onClick"], O = {
6
- key: 0,
7
- class: "YCAIChatPanel-suggestList"
8
- }, k = ["onClick"], A = {
9
- key: 0,
10
- class: "YCAIChatPanel-message-avatar"
11
- }, j = { class: "YCAIChatPanel-message-body" }, M = {
12
- key: 0,
13
- class: "YCAIChatPanel-message-tip"
14
- }, N = { class: "YCAIChatPanel-input" }, P = ["onKeydown"], F = "问题 / 词图、句材图...", I = /* @__PURE__ */ e(/* @__PURE__ */ s({
15
- __name: "YCAIChatPanel",
16
- props: {
17
- appKey: {},
18
- appSalt: {},
19
- baseHttp: {},
20
- interfaceBaseHttp: {},
21
- onlyofficeCallbackUrl: {},
22
- username: {},
23
- password: {},
24
- ids: {}
25
- },
26
- setup(e) {
27
- let o = g(""), s = g("message"), c = g(null), d = [{
28
- key: "message",
29
- label: "消息"
30
- }, {
31
- key: "new",
32
- label: "新建对话"
33
- }], f = [
34
- {
35
- role: "suggest",
36
- lines: [],
37
- suggests: [
38
- "近3天内可能的预约预报",
39
- "问题、公众号",
40
- "近一小时降水风险"
41
- ]
42
- },
43
- {
44
- role: "user",
45
- lines: ["您好,已为您预约明早 7 点预约的专业接待。"]
46
- },
47
- {
48
- role: "ai",
49
- lines: ["已订人工次平均预报低图,请问海港区明天是否会有强降水?"]
50
- },
51
- {
52
- role: "user",
53
- lines: ["已订人工次平均预报低图,请问海港区"]
54
- },
55
- {
56
- role: "ai",
57
- lines: ["好的,已经帮您查询到海港区未来 24 小时的预报情况。"],
58
- tip: "实时 AI 大脑回复已上线,请点击沟通。"
59
- },
60
- {
61
- role: "user",
62
- lines: ["已订人工次平均预报低图,请问海港区"]
63
- },
64
- {
65
- role: "ai",
66
- lines: ["已订人工次平均预报低图,请问海港区"]
67
- }
68
- ], p = async () => {
69
- await l();
70
- let e = c.value;
71
- e && (e.scrollTop = e.scrollHeight);
72
- }, m = (e) => {
73
- s.value = e;
74
- }, y = (e) => {
75
- o.value = e;
76
- }, w = () => {
77
- let e = o.value.trim();
78
- e && (f.push({
79
- role: "user",
80
- lines: [e]
81
- }), f.push({
82
- role: "ai",
83
- lines: ["已订人工次平均预报低图,请问海港区"]
84
- }), o.value = "", p());
85
- };
86
- return (e, l) => (h(), r("div", T, [
87
- l[2] ||= a("<div class=\"YCAIChatPanel-head\" data-v-a5213d56><div class=\"YCAIChatPanel-head-title\" data-v-a5213d56><span class=\"YCAIChatPanel-head-icon\" data-v-a5213d56></span><span data-v-a5213d56>智能数字</span></div><div class=\"YCAIChatPanel-head-status\" data-v-a5213d56><span class=\"YCAIChatPanel-head-dot\" data-v-a5213d56></span><span data-v-a5213d56>在线</span></div></div>", 1),
88
- i("div", E, [(h(), r(t, null, _(d, (e) => i("button", {
89
- key: e.key,
90
- class: u(["YCAIChatPanel-toolbar-btn", { "is-active": e.key === s.value }]),
91
- onClick: (t) => m(e.key)
92
- }, v(e.label), 11, D)), 64))]),
93
- i("div", {
94
- class: "YCAIChatPanel-messages",
95
- ref_key: "messagesRef",
96
- ref: c
97
- }, [(h(), r(t, null, _(f, (e, a) => (h(), r(t, { key: `${e.role}-${a}` }, [e.role === "suggest" ? (h(), r("div", O, [(h(!0), r(t, null, _(e.suggests, (e, t) => (h(), r("div", {
98
- key: `${a}-${t}`,
99
- class: "YCAIChatPanel-suggestItem",
100
- onClick: (t) => y(e)
101
- }, v(e), 9, k))), 128))])) : (h(), r("div", {
102
- key: 1,
103
- class: u(["YCAIChatPanel-message", `YCAIChatPanel-message--${e.role}`])
104
- }, [e.role === "ai" ? (h(), r("div", A, [...l[1] ||= [i("span", null, "AI", -1)]])) : n("", !0), i("div", j, [(h(!0), r(t, null, _(e.lines, (e, t) => (h(), r("div", {
105
- key: t,
106
- class: "YCAIChatPanel-message-line"
107
- }, v(e), 1))), 128)), e.tip ? (h(), r("div", M, v(e.tip), 1)) : n("", !0)])], 2))], 64))), 64))], 512),
108
- i("div", N, [x(i("textarea", {
109
- "onUpdate:modelValue": l[0] ||= (e) => o.value = e,
110
- class: "YCAIChatPanel-input-textarea",
111
- placeholder: F,
112
- rows: "2",
113
- onKeydown: S(C(w, ["exact", "prevent"]), ["enter"])
114
- }, null, 40, P), [[b, o.value]]), i("div", { class: "YCAIChatPanel-input-actions" }, [i("button", {
115
- class: "YCAIChatPanel-input-send",
116
- onClick: w
117
- }, "AI 发送")])])
118
- ]));
119
- }
120
- }), [["__scopeId", "data-v-a5213d56"]]), L = { class: "YCServiceSummaryRefineAnalysis" }, ee = { class: "YCServiceSummaryRefineAnalysis-legend" }, R = { class: "YCServiceSummaryRefineAnalysis-legend-name" }, z = /* @__PURE__ */ e(/* @__PURE__ */ s({
121
- __name: "YCServiceSummaryRefineAnalysis",
122
- props: {
123
- appKey: {},
124
- appSalt: {},
125
- baseHttp: {},
126
- interfaceBaseHttp: {},
127
- onlyofficeCallbackUrl: {},
128
- username: {},
129
- password: {},
130
- ids: {}
131
- },
132
- setup(e) {
133
- let n = [
134
- {
135
- name: "沪宁高速沿线一段",
136
- value: 1,
137
- color: "#52c41a"
138
- },
139
- {
140
- name: "沪宁高速沿线二段",
141
- value: 1,
142
- color: "#52c41a"
143
- },
144
- {
145
- name: "沪宁高速沿线三段",
146
- value: 1,
147
- color: "#ff9b3d"
148
- },
149
- {
150
- name: "沪宁高速沿线四段",
151
- value: 1,
152
- color: "#ff9b3d"
153
- },
154
- {
155
- name: "一区一段",
156
- value: 1,
157
- color: "#52c41a"
158
- },
159
- {
160
- name: "一区二段",
161
- value: 1,
162
- color: "#ff9b3d"
163
- },
164
- {
165
- name: "一区三段",
166
- value: 1,
167
- color: "#52c41a"
168
- },
169
- {
170
- name: "一区四段",
171
- value: 1,
172
- color: "#ff9b3d"
173
- }
174
- ], a = g(null), o = null, s = () => {
175
- a.value && (o = w.init(a.value), o.setOption({
176
- tooltip: {
177
- trigger: "item",
178
- formatter: "{b}"
179
- },
180
- color: "#52c41a",
181
- series: [{
182
- type: "pie",
183
- radius: ["20%", "50%"],
184
- center: ["50%", "50%"],
185
- label: {
186
- show: !0,
187
- position: "outside",
188
- fontSize: 11,
189
- color: "#fff",
190
- formatter: "{b}"
191
- },
192
- labelLine: {
193
- length: 8,
194
- length2: 6
195
- },
196
- data: n.map((e) => ({
197
- value: e.value,
198
- name: e.name,
199
- itemStyle: { color: e.color }
200
- }))
201
- }]
202
- }));
203
- };
204
- return m(() => {
205
- l(s);
206
- }), p(() => {
207
- o && o.dispose();
208
- }), (e, o) => (h(), r("div", L, [i("div", {
209
- class: "YCServiceSummaryRefineAnalysis-chart",
210
- ref_key: "chartRef",
211
- ref: a
212
- }, null, 512), i("div", ee, [(h(), r(t, null, _(n, (e) => i("div", {
213
- key: e.name,
214
- class: "YCServiceSummaryRefineAnalysis-legend-item"
215
- }, [i("span", {
216
- class: "YCServiceSummaryRefineAnalysis-legend-dot",
217
- style: f({ background: e.color })
218
- }, null, 4), i("span", R, v(e.name), 1)])), 64))])]));
219
- }
220
- }), [["__scopeId", "data-v-a8b3aae6"]]), B = { class: "YCServiceSummaryTrafficAnalysis" }, V = { class: "YCServiceSummaryTrafficAnalysis-legend" }, H = { class: "YCServiceSummaryTrafficAnalysis-legend-name" }, U = /* @__PURE__ */ e(/* @__PURE__ */ s({
221
- __name: "YCServiceSummaryTrafficAnalysis",
222
- props: {
223
- appKey: {},
224
- appSalt: {},
225
- baseHttp: {},
226
- interfaceBaseHttp: {},
227
- onlyofficeCallbackUrl: {},
228
- username: {},
229
- password: {},
230
- ids: {}
231
- },
232
- setup(e) {
233
- let n = [
234
- {
235
- name: "沪宁高速沿线一段",
236
- value: 1,
237
- color: "#52c41a"
238
- },
239
- {
240
- name: "沪宁高速沿线二段",
241
- value: 1,
242
- color: "#ff9b3d"
243
- },
244
- {
245
- name: "沪宁高速沿线三段",
246
- value: 1,
247
- color: "#52c41a"
248
- },
249
- {
250
- name: "沪宁高速沿线四段",
251
- value: 1,
252
- color: "#ff9b3d"
253
- },
254
- {
255
- name: "一区一段",
256
- value: 1,
257
- color: "#52c41a"
258
- },
259
- {
260
- name: "一区二段",
261
- value: 1,
262
- color: "#ff9b3d"
263
- },
264
- {
265
- name: "一区三段",
266
- value: 1,
267
- color: "#52c41a"
268
- },
269
- {
270
- name: "一区四段",
271
- value: 1,
272
- color: "#ff9b3d"
273
- }
274
- ], a = g(null), o = null, s = () => {
275
- a.value && (o = w.init(a.value), o.setOption({
276
- tooltip: {
277
- trigger: "item",
278
- formatter: "{b}"
279
- },
280
- color: "#ff9b3d",
281
- series: [{
282
- type: "pie",
283
- radius: ["20%", "50%"],
284
- center: ["50%", "50%"],
285
- label: {
286
- show: !0,
287
- position: "outside",
288
- fontSize: 11,
289
- color: "#fff",
290
- formatter: "{b}"
291
- },
292
- labelLine: {
293
- length: 8,
294
- length2: 6
295
- },
296
- data: n.map((e) => ({
297
- value: e.value,
298
- name: e.name,
299
- itemStyle: { color: e.color }
300
- }))
301
- }]
302
- }));
303
- };
304
- return m(() => {
305
- l(s);
306
- }), p(() => {
307
- o && o.dispose();
308
- }), (e, o) => (h(), r("div", B, [i("div", {
309
- class: "YCServiceSummaryTrafficAnalysis-chart",
310
- ref_key: "chartRef",
311
- ref: a
312
- }, null, 512), i("div", V, [(h(), r(t, null, _(n, (e) => i("div", {
313
- key: e.name,
314
- class: "YCServiceSummaryTrafficAnalysis-legend-item"
315
- }, [i("span", {
316
- class: "YCServiceSummaryTrafficAnalysis-legend-dot",
317
- style: f({ background: e.color })
318
- }, null, 4), i("span", H, v(e.name), 1)])), 64))])]));
319
- }
320
- }), [["__scopeId", "data-v-39a0dcaa"]]), W = { class: "YCServiceSummary" }, G = { class: "YCServiceSummary-left" }, K = { class: "YCServiceSummary-aiPanel" }, q = { class: "YCServiceSummary-aiPanel-charts" }, J = { class: "YCServiceSummary-aiPanel-chartItem" }, Y = { class: "YCServiceSummary-aiPanel-chartItem" }, X = { class: "YCServiceSummary-material" }, Z = { class: "YCServiceSummary-material-head" }, Q = { class: "YCServiceSummary-material-actions" }, $ = { class: "YCServiceSummary-material-body" }, te = ["src"], ne = { class: "YCServiceSummary-right" }, re = /* @__PURE__ */ e(/* @__PURE__ */ s({
321
- __name: "YCServiceSummary",
322
- props: {
323
- appKey: {},
324
- appSalt: {},
325
- baseHttp: {},
326
- interfaceBaseHttp: {},
327
- onlyofficeCallbackUrl: {},
328
- username: {},
329
- password: {},
330
- ids: {}
331
- },
332
- setup(e) {
333
- let t = e, n = new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC", "" + import.meta.url).href, s = (e) => {
334
- console.log(`[YCServiceSummary] material action: ${e}`);
335
- };
336
- return (e, l) => (h(), r("div", W, [i("div", G, [
337
- l[6] ||= a("<div class=\"YCServiceSummary-statPanel\" data-v-1c3ae0f3><div class=\"YCServiceSummary-statPanel-title\" data-v-1c3ae0f3>宜春气象服务</div><div class=\"YCServiceSummary-statPanel-content\" data-v-1c3ae0f3><div class=\"YCServiceSummary-statCard\" data-v-1c3ae0f3><div class=\"YCServiceSummary-statCard-label\" data-v-1c3ae0f3><span class=\"dot\" data-v-1c3ae0f3></span> 公路气象站 </div><div class=\"YCServiceSummary-statCard-list\" data-v-1c3ae0f3><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>下辖 7 条</span><span class=\"value\" data-v-1c3ae0f3>7</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>近 5 天</span><span class=\"value\" data-v-1c3ae0f3>30</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>风险预警</span><span class=\"value\" data-v-1c3ae0f3>246</span></div></div></div><div class=\"YCServiceSummary-statCard\" data-v-1c3ae0f3><div class=\"YCServiceSummary-statCard-label\" data-v-1c3ae0f3><span class=\"dot\" data-v-1c3ae0f3></span> 精细化交通化分析服务 </div><div class=\"YCServiceSummary-statCard-list\" data-v-1c3ae0f3><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>服务路段</span><span class=\"value\" data-v-1c3ae0f3>240</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>分级关注</span><span class=\"value\" data-v-1c3ae0f3>168</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>专题预报</span><span class=\"value\" data-v-1c3ae0f3>3</span></div></div></div><div class=\"YCServiceSummary-statCard\" data-v-1c3ae0f3><div class=\"YCServiceSummary-statCard-label\" data-v-1c3ae0f3><span class=\"dot\" data-v-1c3ae0f3></span> 公路交通化分析服务 </div><div class=\"YCServiceSummary-statCard-list\" data-v-1c3ae0f3><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>近 5 天</span><span class=\"value\" data-v-1c3ae0f3>12</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>分级关注</span><span class=\"value\" data-v-1c3ae0f3>56</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>专题化趋势</span><span class=\"value\" data-v-1c3ae0f3>3</span></div></div></div><div class=\"YCServiceSummary-statCard\" data-v-1c3ae0f3><div class=\"YCServiceSummary-statCard-label\" data-v-1c3ae0f3><span class=\"dot\" data-v-1c3ae0f3></span> 精细交通气象服务 </div><div class=\"YCServiceSummary-statCard-list\" data-v-1c3ae0f3><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>服务道路</span><span class=\"value\" data-v-1c3ae0f3>9</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>路段预报</span><span class=\"value\" data-v-1c3ae0f3>26</span></div><div class=\"row\" data-v-1c3ae0f3><span data-v-1c3ae0f3>近 30 条</span><span class=\"value\" data-v-1c3ae0f3>30</span></div></div></div></div></div>", 1),
338
- i("div", K, [l[4] ||= a("<div class=\"YCServiceSummary-aiPanel-head\" data-v-1c3ae0f3><div class=\"YCServiceSummary-aiPanel-title\" data-v-1c3ae0f3><span class=\"icon\" data-v-1c3ae0f3></span> 交通气象服务 AI 分析 </div><div class=\"YCServiceSummary-aiPanel-sub\" data-v-1c3ae0f3>基于 AI 模型预测结果</div></div><div class=\"YCServiceSummary-aiPanel-summary\" data-v-1c3ae0f3> 截至目前,交通行业关注的最高温路段 1 条,潮湿指数 3 条,大温差路段 7 条,预计未来 3 小时道路结冰路段路段 2 条,涉及路段约 192 公里。 </div>", 2), i("div", q, [i("div", J, [l[2] ||= i("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "精细化气象服务", -1), o(z, d(c(t)), null, 16)]), i("div", Y, [l[3] ||= i("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "交通气象服务", -1), o(U, d(c(t)), null, 16)])])]),
339
- i("div", X, [i("div", Z, [l[5] ||= i("span", { class: "YCServiceSummary-material-title" }, "交通气象服务材料", -1), i("div", Q, [i("button", {
340
- class: "YCServiceSummary-material-btn",
341
- onClick: l[0] ||= (e) => s("edit")
342
- }, "编辑"), i("button", {
343
- class: "YCServiceSummary-material-btn",
344
- onClick: l[1] ||= (e) => s("download")
345
- }, "下载")])]), i("div", $, [i("img", {
346
- class: "YCServiceSummary-material-image",
347
- src: y(n),
348
- alt: "交通气象服务材料"
349
- }, null, 8, te)])])
350
- ]), i("div", ne, [o(I, d(c(t)), null, 16)])]));
351
- }
352
- }), [["__scopeId", "data-v-1c3ae0f3"]]);
353
- //#endregion
354
- export { re as t };
@@ -1,14 +0,0 @@
1
- export interface YCServiceSummaryProps {
2
- appKey: string;
3
- appSalt: string;
4
- baseHttp: string;
5
- interfaceBaseHttp: string;
6
- onlyofficeCallbackUrl: string;
7
- username: string;
8
- password: string;
9
- ids: Record<string, {
10
- id: string;
11
- reqType: string;
12
- isFormData: boolean;
13
- }>;
14
- }