nxd-plugin 1.8.21 → 1.8.23
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.
- package/dist/chunks/YCServiceSummary-D9qP6hLO.mjs +2 -0
- package/dist/chunks/{component-AiChat-C_DePYiS.mjs → component-AiChat-BwP3zj0h.mjs} +1167 -884
- package/dist/chunks/{component-AqiMonitor-B4ZLQZOd.mjs → component-AqiMonitor-Cga2wb4h.mjs} +27 -31
- package/dist/chunks/{component-ChartCumulativePre-DQqNwEkp.mjs → component-ChartCumulativePre-CkQrY-fM.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-BSXCSmjT.mjs → component-ChartServiceMaterial-BSfXMgj4.mjs} +2 -2
- package/dist/chunks/{component-Duty-DnkxgYav.mjs → component-Duty-DLMdCDNu.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-DZIISSb4.mjs → component-EarlyWarningStatistic-CHCmDM5w.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-vSCEWtaq.mjs → component-EarlyWarningStatistic2-D_Uc9rbm.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-DicwnEaB.mjs → component-Forecast72h-CwDS2BCV.mjs} +91 -92
- package/dist/chunks/{component-GeologyLiveAlarm-DcLkKxQi.mjs → component-GeologyLiveAlarm-TXjC0N1b.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-B1J5xBf1.mjs → component-GridForecastMsg-J7V2m_bm.mjs} +1 -2
- package/dist/chunks/{component-HDSeaLegend-ubUWj-K6.mjs → component-HDSeaLegend-BbW1vk-L.mjs} +2 -1
- package/dist/chunks/{component-HdCameraList-DE5T_NCe.mjs → component-HdCameraList-ya7gQWsk.mjs} +84 -101
- package/dist/chunks/{component-HdFarmStation-Dr16UrnR.mjs → component-HdFarmStation-DbvF94Z6.mjs} +77 -81
- package/dist/chunks/{component-HdFarmStationDialog-DNAo261X.mjs → component-HdFarmStationDialog-p3vjS1JB.mjs} +265 -282
- package/dist/chunks/{component-HdForecastProducts-DW94eZkZ.mjs → component-HdForecastProducts-2ZXLMLdw.mjs} +1 -2
- package/dist/chunks/{component-HdHeatChart-QyRCV140.mjs → component-HdHeatChart-CM4uhNsK.mjs} +1 -2
- package/dist/chunks/{component-HdHeatChartDialog-CwUk9qQm.mjs → component-HdHeatChartDialog-CxIaxIg5.mjs} +2 -3
- package/dist/chunks/{component-HdHeatService-Cbsa46Kg.mjs → component-HdHeatService-BNRBwLEC.mjs} +1 -2
- package/dist/chunks/{component-HdInsectDetailList-Br06iK7W.mjs → component-HdInsectDetailList-CNfJip9R.mjs} +1 -2
- package/dist/chunks/{component-HdInsectList-Djo-0pVh.mjs → component-HdInsectList-D0fRM6cx.mjs} +1 -2
- package/dist/chunks/component-HdMajorActivity-C95MgI5Y.mjs +704 -0
- package/dist/chunks/{component-HdObservation-5k_0GZGV.mjs → component-HdObservation-DUMGmfJN.mjs} +3 -4
- package/dist/chunks/{component-HdPreSituation-B0yXJZVG.mjs → component-HdPreSituation-IILymZ3h.mjs} +3 -4
- package/dist/chunks/{component-HdQxServiceEffects-Ds1vj_DV.mjs → component-HdQxServiceEffects-B-C0VBH3.mjs} +1 -2
- package/dist/chunks/{component-HdRadarList-NLZ0YNV8.mjs → component-HdRadarList-DSMrSb-T.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-D7-YoOkE.mjs → component-HdRadarTime-FEhuGBEg.mjs} +1 -2
- package/dist/chunks/{component-HdRadarTimeLine-CJ0_ejKf.mjs → component-HdRadarTimeLine-UfzKKTgp.mjs} +1 -2
- package/dist/chunks/{component-HdRisk-fuJNWgJD.mjs → component-HdRisk-B3N71NoC.mjs} +2 -3
- package/dist/chunks/{component-HdSeaCase-D21rq9pv.mjs → component-HdSeaCase-Cim-Y8hP.mjs} +1 -2
- package/dist/chunks/{component-HdServiceMarterial-CgcHHy6J.mjs → component-HdServiceMarterial-BxifbLBR.mjs} +2 -3
- package/dist/chunks/{component-HdServiceRequirements-D2EdgZjN.mjs → component-HdServiceRequirements-BawMn0jA.mjs} +2 -3
- package/dist/chunks/{component-HdSoil-D58PIu6D.mjs → component-HdSoil-DaGj6RPD.mjs} +2 -3
- package/dist/chunks/{component-HdSoilDetailList-BpbPwCjd.mjs → component-HdSoilDetailList-fBu8i74J.mjs} +1 -2
- package/dist/chunks/{component-HdStationTem-qqZ5UXom.mjs → component-HdStationTem-DgGFJ20c.mjs} +3 -4
- package/dist/chunks/{component-HdSuggestion-Dbdlr5zS.mjs → component-HdSuggestion-BnpgzKkp.mjs} +2 -3
- package/dist/chunks/{component-HdThreeWeatherTrend-zSmR2LIO.mjs → component-HdThreeWeatherTrend-Bmire4sm.mjs} +3 -4
- package/dist/chunks/{component-HdWaveForcast-DllKzNgu.mjs → component-HdWaveForcast-Bc3sB9Fn.mjs} +2 -3
- package/dist/chunks/{component-HighQuality-BNVnCK0d.mjs → component-HighQuality-DjDZKwMT.mjs} +1 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-CwzMQCqp.mjs → component-HighWayEarlyWarningRed-CzBI_AJA.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-Ds2Hz7pR.mjs → component-HighWayFreeze-sFMx0umE.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-Do4pwmnJ.mjs → component-HighwayLiveAlarm-Ozq7Y8qF.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DoWns_RH.mjs → component-HighwayLiveAlarmNew-ByL2OYk0.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-BBQa33JX.mjs → component-HighwayStations-DXj5h1vg.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-C-kwyE6Q.mjs → component-HighwayWeatherForecast-6I714FL1.mjs} +69 -69
- package/dist/chunks/{component-IframeWeb-uP8unwJj.mjs → component-IframeWeb-DDYUNdVl.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-CLAge4U1.mjs → component-ImageGeneration-C0K8D1lM.mjs} +2 -1
- package/dist/chunks/{component-IntroducePic-C8X8Y6hx.mjs → component-IntroducePic-Bzsjmjql.mjs} +1 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-xc5REiPe.mjs → component-LithiumBatteryMiningArea-ClvF3vsD.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-DXRLi4wJ.mjs → component-MapPopup-BnKmR10m.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-B9iSbEIO.mjs → component-MaterialPreview-DG5VgGJp.mjs} +1 -2
- package/dist/chunks/{component-PieLegend-DPwAQJxO.mjs → component-PieLegend-Y_AZPS0g.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-CwP3NZlf.mjs → component-PrecipitationRanking-71G9U_UP.mjs} +3 -4
- package/dist/chunks/{component-RadarChart-BxEzHVOE.mjs → component-RadarChart-u6Xs1TTB.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-DVoe6ojQ.mjs → component-RadarLegend-9ahVi99l.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-7v_EauV4.mjs → component-RadarShortTerm-wwvpXBvp.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CT8WOoJR.mjs → component-RadarTime-BqkIprmh.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-CxAwaqBM.mjs → component-RenderMarkdown-Cip_f4e8.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-CWkaa2z8.mjs → component-ReservoirLiveAlarm-D6fDm2mR.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-CNjEwMGZ.mjs → component-ServiceMaterial-DHdRLUhG.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-DWBa1Hpa.mjs → component-ServiceMaterialsBtn-B6fjh9Bc.mjs} +2 -1
- package/dist/chunks/{component-StationDialog-usekZclX.mjs → component-StationDialog-DP9cwrI_.mjs} +2 -3
- package/dist/chunks/{component-StationList-B0bav8JG.mjs → component-StationList-Cfmz5c3d.mjs} +3 -4
- package/dist/chunks/{component-TimeBasedForecast-l0RpjVYi.mjs → component-TimeBasedForecast-DIBNCv4O.mjs} +36 -36
- package/dist/chunks/{component-Typhoon-Cf8qko_n.mjs → component-Typhoon-4Oj6wl91.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-B2HyTDUW.mjs → component-WarningLine-XjCN_f4w.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-Cy8MQ6oC.mjs → component-WarningSignal-DPUOC73O.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-B-MV7oqR.mjs → component-WeatherForecast-Cl3G0gZG.mjs} +36 -36
- package/dist/chunks/{component-YCDataMonitor-p7tSzU_b.mjs → component-YCDataMonitor-Cmugq2Hc.mjs} +1 -2
- package/dist/chunks/{component-YCDataService-BBVuyu-D.mjs → component-YCDataService-Veq9EEB6.mjs} +3 -4
- package/dist/chunks/{component-YCHighWaySummary-BH34LVVj.mjs → component-YCHighWaySummary-BfcLGdxr.mjs} +2 -2
- package/dist/chunks/{component-YCHome-CtSa__qB.mjs → component-YCHome-BgGFtVlS.mjs} +3 -4
- package/dist/chunks/{component-YCHomeLegend-DqzGcZgD.mjs → component-YCHomeLegend-jG8vwIka.mjs} +2 -1
- package/dist/chunks/{component-YCLoginNew-zgG8m4VV.mjs → component-YCLoginNew-BKMD-5TL.mjs} +9 -10
- package/dist/chunks/component-YCServiceSummary-C2K81UiN.mjs +869 -0
- package/dist/components/AiChat/AiChat.vue.d.ts +18 -0
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +2 -0
- package/dist/components/AiChat/AiChatThinking.vue.d.ts +4 -0
- package/dist/components/AiChat/types.d.ts +1 -0
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +0 -10
- package/dist/components/HdFarmStationDialog/HdFarmStationDialog.vue.d.ts +0 -69
- package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +74 -0
- package/dist/components/YCServiceSummary/YCAIChatPanel.vue.d.ts +22 -2
- package/dist/components/YCServiceSummary/YCServiceSummary.vue.d.ts +21 -2
- package/dist/components/YCServiceSummary/YCServiceSummaryGeologyRefineAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryGeologyTrafficAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryRefineAnalysis.vue.d.ts +21 -2
- package/dist/components/YCServiceSummary/YCServiceSummaryReservoirRefineAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryReservoirTrafficAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryTrafficAnalysis.vue.d.ts +21 -2
- package/dist/index.d.ts +2 -1
- package/dist/nxd-plugin.mjs +75 -74
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-HdCameraList.css +1 -1
- package/dist/styles/component-HdFarmStation.css +1 -1
- package/dist/styles/component-HdFarmStationDialog.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -1
- package/dist/styles/component-HdMajorActivity.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/dist/styles/component-YCServiceSummary.css +1 -1
- package/dist/utils/request.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-9W7E-cRv.mjs +0 -2
- package/dist/chunks/component-YCServiceSummary-KF3yjd4u.mjs +0 -354
- package/dist/components/YCServiceSummary/types.d.ts +0 -14
package/dist/utils/request.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ type ReqFlowConfig = {
|
|
|
9
9
|
appKey?: string;
|
|
10
10
|
appSalt?: string;
|
|
11
11
|
};
|
|
12
|
+
export declare const http: import('axios').AxiosInstance;
|
|
12
13
|
export declare const reqFlow: <T = any>({ id, baseHttp, reqType, variables, isFormData, appKey, appSalt }: ReqFlowConfig) => Promise<T>;
|
|
13
14
|
export default reqFlow;
|
|
14
15
|
export declare const sendSms: (phone: string, code: string, url: string) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -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
|
-
}
|