nxd-plugin 1.7.83 → 1.7.85
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/{component-AiChat-C1xBPkS5.mjs → component-AiChat-BXNBLM1G.mjs} +92 -93
- package/dist/chunks/{component-AqiMonitor-DoAVs1Jf.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-BOIMPYxl.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-CmR3bmG_.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
- package/dist/chunks/{component-Duty-gmt7ZcSc.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-BWYWrz65.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-TFBSlUgI.mjs +543 -0
- package/dist/chunks/{component-GeologyLiveAlarm-CNpQPmGs.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
- package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
- package/dist/chunks/{component-HdHeatService-ok6q8UuG.mjs → component-HdHeatService-Bf9XH3DP.mjs} +2 -2
- package/dist/chunks/{component-HdObservation-BmQdGJV6.mjs → component-HdObservation-rcQFHEfW.mjs} +51 -45
- package/dist/chunks/{component-HdPreSituation-LBpO58bE.mjs → component-HdPreSituation-CnRwuRGg.mjs} +168 -133
- package/dist/chunks/{component-HdRadarTime-D7hOn_ph.mjs → component-HdRadarTime-Gcn9dJky.mjs} +179 -148
- package/dist/chunks/{component-HdSeaCase-DYPQ7CdN.mjs → component-HdSeaCase-3-YFxSuM.mjs} +2 -2
- package/dist/chunks/component-HdServiceMarterial-ehquoNg2.mjs +317 -0
- package/dist/chunks/{component-HdServiceRequirements-DcXrcIIV.mjs → component-HdServiceRequirements-Bd4HJrpn.mjs} +38 -39
- package/dist/chunks/{component-HdStationTem-US6IRwbQ.mjs → component-HdStationTem-CbJkt6Ww.mjs} +100 -100
- package/dist/chunks/component-HdSuggestion-_JNJhwSK.mjs +161 -0
- package/dist/chunks/component-HdThreeWeatherTrend-HlRMLWm8.mjs +372 -0
- package/dist/chunks/component-HdWaveForcast-jNK-H1b1.mjs +269 -0
- package/dist/chunks/{component-HighQuality-B0OgPi3T.mjs → component-HighQuality-1iqLOQAF.mjs} +2 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-BTl2WWZ-.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +3 -3
- package/dist/chunks/{component-HighWayFreeze-B1aMHQWU.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-8u45ZdnN.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DK827eVk.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-BzrbWP50.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
- package/dist/chunks/component-HighwayWeatherForecast-CDLKFRNB.mjs +32194 -0
- package/dist/chunks/{component-IframeWeb-DuBssYPk.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-3G3j7utC.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-L8VH8Yq8.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-DSFTVepN.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-BNc18syw.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DhLUbjcT.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-Haojhtet.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
- package/dist/chunks/component-PrecipitationRanking-BOm_vb1L.mjs +740 -0
- package/dist/chunks/{component-RadarChart-BYMbkI3K.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-CiGsla7a.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-yPc2UWpz.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CkqIaTJh.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-D590sXEf.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-DTtKdDQS.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-BKbVQbKm.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-CskK-Qiz.mjs → component-ServiceMaterialsBtn-C9m-epfv.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-Bn7Fbk24.mjs → component-StationDialog-CnJuYTfB.mjs} +246 -177
- package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BcnqOIZY.mjs} +101 -85
- package/dist/chunks/{component-TimeBasedForecast-D1fJ4rGJ.mjs → component-TimeBasedForecast-C1yk1Iu-.mjs} +4 -4
- package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-CYsbJhYt.mjs → component-WeatherForecast-BRml38Ik.mjs} +80 -76
- package/dist/chunks/{component-YCDataMonitor-vVlnkSzT.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
- package/dist/chunks/{component-YCDataService-okkY1-iU.mjs → component-YCDataService-B4PPV3Dp.mjs} +4 -4
- package/dist/chunks/{component-YCHome-BfpbxDIg.mjs → component-YCHome-C-_Hf_oA.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-CuT-BwNJ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-KZoyW1EV.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
- package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
- package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +0 -1
- package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +4 -2
- package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
- package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
- package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +5 -0
- package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
- package/dist/index.d.ts +6 -1
- package/dist/nxd-plugin.mjs +56 -51
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-HdForecastProducts.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -1
- package/dist/styles/component-HdPreSituation.css +1 -1
- package/dist/styles/component-HdRadarTime.css +1 -1
- package/dist/styles/component-HdServiceMarterial.css +1 -0
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdSuggestion.css +1 -0
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
- package/dist/styles/component-HdWaveForcast.css +1 -0
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -1
- package/dist/styles/component-StationDialog.css +1 -1
- package/dist/styles/component-StationList.css +1 -1
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCDataMonitor.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-Forecast72h-BZ1kB2TJ.mjs +0 -427
- package/dist/chunks/component-HighwayWeatherForecast-DER5XGc3.mjs +0 -32251
- package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +0 -608
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import "./component-Forecast72h-TFBSlUgI.mjs";
|
|
4
|
+
import { ElIcon as n, ElInput as r, ElOption as i, ElSelect as a, ElTable as o, ElTableColumn as s } from "element-plus/es";
|
|
5
|
+
import { Fragment as c, Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withKeys as T, withModifiers as E } from "vue";
|
|
6
|
+
import { Search as D } from "@element-plus/icons-vue";
|
|
7
|
+
import "element-plus/es/components/select/style/css";
|
|
8
|
+
import "element-plus/es/components/option/style/css";
|
|
9
|
+
import "element-plus/es/components/icon/style/css";
|
|
10
|
+
import "element-plus/es/components/input/style/css";
|
|
11
|
+
import "element-plus/es/components/table/style/css";
|
|
12
|
+
import "element-plus/es/components/table-column/style/css";
|
|
13
|
+
import "element-plus/dist/index.css";
|
|
14
|
+
//#region src/components/HdServiceMarterial/HdServiceMarterial.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
+
var O = { class: "HdServiceMarterial" }, ee = { class: "HdServiceMarterial-header" }, te = { class: "HdServiceMarterial-headerContent" }, ne = { class: "HdServiceMarterial-title" }, re = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "HdServiceMarterial-dataTime"
|
|
18
|
+
}, ie = { class: "HdServiceMarterial-toolbar" }, ae = { class: "HdServiceMarterial-tableWrap" }, oe = { class: "HdServiceMarterial-name" }, se = { class: "HdServiceMarterial-actions" }, ce = ["onClick"], le = ["onClick"], ue = { class: "HdServiceMarterial-preview" }, de = { class: "HdServiceMarterial-previewHead" }, fe = { class: "HdServiceMarterial-previewHeadTitle" }, pe = { class: "HdServiceMarterial-previewBody" }, k = ["src"], A = /* @__PURE__ */ e(/* @__PURE__ */ g({
|
|
19
|
+
__name: "HdServiceMarterial",
|
|
20
|
+
props: {
|
|
21
|
+
mock: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !0
|
|
24
|
+
},
|
|
25
|
+
baseHttp: { default: "" },
|
|
26
|
+
baseFileUrl: { default: "" },
|
|
27
|
+
appKey: { default: "" },
|
|
28
|
+
appSalt: { default: "" },
|
|
29
|
+
ids: { default: () => ({}) },
|
|
30
|
+
title: { default: "" },
|
|
31
|
+
dataTime: { default: "" },
|
|
32
|
+
list: { default: () => [] },
|
|
33
|
+
mockData: { default: () => ({
|
|
34
|
+
title: "服务材料",
|
|
35
|
+
dataTime: "2026-04-12",
|
|
36
|
+
list: [
|
|
37
|
+
{
|
|
38
|
+
id: 1,
|
|
39
|
+
name: "精细化海洋预报(20260412)",
|
|
40
|
+
time: "2026-04-12",
|
|
41
|
+
type: "专业服务",
|
|
42
|
+
year: 2026,
|
|
43
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
44
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 2,
|
|
48
|
+
name: "精细化海洋预报(20260411)",
|
|
49
|
+
time: "2026-04-11",
|
|
50
|
+
type: "专业服务",
|
|
51
|
+
year: 2026,
|
|
52
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
53
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 3,
|
|
57
|
+
name: "精细化海洋预报(20260410)",
|
|
58
|
+
time: "2026-04-10",
|
|
59
|
+
type: "决策服务",
|
|
60
|
+
year: 2026,
|
|
61
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
62
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 4,
|
|
66
|
+
name: "精细化海洋预报(20260409)",
|
|
67
|
+
time: "2026-04-09",
|
|
68
|
+
type: "决策服务",
|
|
69
|
+
year: 2026,
|
|
70
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
71
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: 5,
|
|
75
|
+
name: "精细化海洋预报(20260407)",
|
|
76
|
+
time: "2026-04-07",
|
|
77
|
+
type: "公众服务",
|
|
78
|
+
year: 2026,
|
|
79
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
80
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 6,
|
|
84
|
+
name: "精细化海洋预报(20250412)",
|
|
85
|
+
time: "2025-04-12",
|
|
86
|
+
type: "专业服务",
|
|
87
|
+
year: 2025,
|
|
88
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
89
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: 7,
|
|
93
|
+
name: "精细化海洋预报(20250410)",
|
|
94
|
+
time: "2025-04-10",
|
|
95
|
+
type: "公众服务",
|
|
96
|
+
year: 2025,
|
|
97
|
+
url: "seaService\\2026\\5\\31\\精细化海洋预报(20260531).doc",
|
|
98
|
+
images: "\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-0.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-1.jpg,\\seaService\\2026\\5\\31\\精细化海洋预报(20260531)\\精细化海洋预报(20260531)-2.jpg"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}) }
|
|
102
|
+
},
|
|
103
|
+
emits: ["close", "change"],
|
|
104
|
+
setup(e, { emit: g }) {
|
|
105
|
+
let A = _()?.appContext.config.globalProperties.$bus, j = e, M = g, N = [
|
|
106
|
+
{
|
|
107
|
+
label: "决策服务",
|
|
108
|
+
value: "decision"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: "公众服务",
|
|
112
|
+
value: "public"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
label: "专业服务",
|
|
116
|
+
value: "professional"
|
|
117
|
+
}
|
|
118
|
+
], P = (/* @__PURE__ */ new Date()).getFullYear(), F = Array.from({ length: 10 }, (e, t) => P - t), I = b(""), L = b(P), R = b("decision"), z = b([]), B = b(!1), V = b(""), H = b([]), U = b({
|
|
119
|
+
title: "",
|
|
120
|
+
dataTime: "",
|
|
121
|
+
list: []
|
|
122
|
+
}), me = u(() => j.title || U.value.title || "服务材料"), W = u(() => j.dataTime || U.value.dataTime || ""), he = u(() => j.list.length ? j.list : U.value.list), G = () => {
|
|
123
|
+
let e = I.value.trim().toLowerCase();
|
|
124
|
+
z.value = he.value.filter((t) => {
|
|
125
|
+
let n = !e || t.name.toLowerCase().includes(e), r = String(t.year) === String(L.value), i = t.type === K[R.value];
|
|
126
|
+
return n && r && i;
|
|
127
|
+
});
|
|
128
|
+
}, K = {
|
|
129
|
+
decision: "决策服务",
|
|
130
|
+
public: "公众服务",
|
|
131
|
+
professional: "专业服务"
|
|
132
|
+
}, q = () => {
|
|
133
|
+
j.mock ? G() : Q();
|
|
134
|
+
}, J = () => {
|
|
135
|
+
j.mock ? G() : Q();
|
|
136
|
+
}, ge = (e) => /^https?:\/\//i.test(e), Y = (e) => {
|
|
137
|
+
if (!e) return "";
|
|
138
|
+
if (ge(e)) return e;
|
|
139
|
+
let t = j.baseFileUrl || "";
|
|
140
|
+
return `${t}${t && !t.endsWith("/") && !e.startsWith("/") ? "/" : ""}${e}`;
|
|
141
|
+
}, _e = (e) => e.images ? (Array.isArray(e.images) ? e.images : String(e.images).split(",")).map((e) => e.trim()).filter(Boolean).map(Y) : [], ve = (e) => {
|
|
142
|
+
V.value = e.name, H.value = _e(e), B.value = !0;
|
|
143
|
+
}, X = () => {
|
|
144
|
+
B.value = !1, H.value = [], V.value = "";
|
|
145
|
+
}, Z = (e) => {
|
|
146
|
+
let t = Y(e.url || e.downloadUrl);
|
|
147
|
+
t ? window.open(t, "_blank") : console.warn("HdServiceMarterial 缺少下载地址", e);
|
|
148
|
+
}, ye = () => {
|
|
149
|
+
M("close", "HdServiceMarterial");
|
|
150
|
+
}, be = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, xe = () => {
|
|
151
|
+
let e = j.mockData || {};
|
|
152
|
+
U.value = {
|
|
153
|
+
title: e.title || "",
|
|
154
|
+
dataTime: e.dataTime || "",
|
|
155
|
+
list: e.list || []
|
|
156
|
+
}, G();
|
|
157
|
+
}, Q = async () => {
|
|
158
|
+
let e = j.ids.search || j.ids.data;
|
|
159
|
+
if (!e?.id) {
|
|
160
|
+
console.warn("HdServiceMarterial 缺少搜索工作流配置");
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
try {
|
|
164
|
+
let n = be(await t({
|
|
165
|
+
id: e.id,
|
|
166
|
+
baseHttp: j.baseHttp,
|
|
167
|
+
reqType: e.reqType,
|
|
168
|
+
variables: {
|
|
169
|
+
keyword: I.value,
|
|
170
|
+
year: L.value,
|
|
171
|
+
type: K[R.value]
|
|
172
|
+
},
|
|
173
|
+
isFormData: e.isFormData,
|
|
174
|
+
appKey: j.appKey,
|
|
175
|
+
appSalt: j.appSalt
|
|
176
|
+
}));
|
|
177
|
+
n?.list && (z.value = n.list);
|
|
178
|
+
} catch (e) {
|
|
179
|
+
console.error("HdServiceMarterial 搜索失败", e);
|
|
180
|
+
}
|
|
181
|
+
}, Se = async () => {
|
|
182
|
+
await Q();
|
|
183
|
+
}, $ = async () => {
|
|
184
|
+
j.mock ? xe() : await Se();
|
|
185
|
+
};
|
|
186
|
+
return v(() => {
|
|
187
|
+
A?.on("toComponent", (e) => {
|
|
188
|
+
e.componentName === "HdServiceMarterial" && $();
|
|
189
|
+
}), $();
|
|
190
|
+
}), (e, t) => {
|
|
191
|
+
let u = n, g = r, _ = i, v = a, b = s, A = o;
|
|
192
|
+
return y(), p("div", O, [
|
|
193
|
+
m("button", {
|
|
194
|
+
class: "HdServiceMarterial-close",
|
|
195
|
+
onClick: ye
|
|
196
|
+
}, [...t[3] ||= [m("span", null, "✕", -1)]]),
|
|
197
|
+
m("div", ee, [m("div", te, [m("h3", ne, S(me.value), 1), W.value ? (y(), p("span", re, "(数据时间:" + S(W.value) + ")", 1)) : f("", !0)]), t[4] ||= m("img", {
|
|
198
|
+
class: "HdServiceMarterial-headerLine",
|
|
199
|
+
src: "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",
|
|
200
|
+
alt: ""
|
|
201
|
+
}, null, -1)]),
|
|
202
|
+
m("div", ie, [
|
|
203
|
+
h(g, {
|
|
204
|
+
modelValue: I.value,
|
|
205
|
+
"onUpdate:modelValue": t[0] ||= (e) => I.value = e,
|
|
206
|
+
class: "HdServiceMarterial-search",
|
|
207
|
+
placeholder: "请输入材料名称",
|
|
208
|
+
size: "small",
|
|
209
|
+
onKeyup: T(q, ["enter"])
|
|
210
|
+
}, {
|
|
211
|
+
suffix: w(() => [h(u, {
|
|
212
|
+
class: "HdServiceMarterial-searchIcon",
|
|
213
|
+
onClick: q
|
|
214
|
+
}, {
|
|
215
|
+
default: w(() => [h(C(D))]),
|
|
216
|
+
_: 1
|
|
217
|
+
})]),
|
|
218
|
+
_: 1
|
|
219
|
+
}, 8, ["modelValue"]),
|
|
220
|
+
h(v, {
|
|
221
|
+
modelValue: L.value,
|
|
222
|
+
"onUpdate:modelValue": t[1] ||= (e) => L.value = e,
|
|
223
|
+
class: "HdServiceMarterial-year",
|
|
224
|
+
"popper-class": "HdServiceMarterial-selectPopper",
|
|
225
|
+
placeholder: "年份",
|
|
226
|
+
size: "small",
|
|
227
|
+
teleport: !1,
|
|
228
|
+
onChange: J
|
|
229
|
+
}, {
|
|
230
|
+
default: w(() => [(y(!0), p(c, null, x(C(F), (e) => (y(), d(_, {
|
|
231
|
+
key: e,
|
|
232
|
+
label: `${e}年`,
|
|
233
|
+
value: e
|
|
234
|
+
}, null, 8, ["label", "value"]))), 128))]),
|
|
235
|
+
_: 1
|
|
236
|
+
}, 8, ["modelValue"]),
|
|
237
|
+
h(v, {
|
|
238
|
+
modelValue: R.value,
|
|
239
|
+
"onUpdate:modelValue": t[2] ||= (e) => R.value = e,
|
|
240
|
+
class: "HdServiceMarterial-type",
|
|
241
|
+
"popper-class": "HdServiceMarterial-selectPopper",
|
|
242
|
+
placeholder: "服务类型",
|
|
243
|
+
size: "small",
|
|
244
|
+
teleport: !1,
|
|
245
|
+
onChange: J
|
|
246
|
+
}, {
|
|
247
|
+
default: w(() => [(y(), p(c, null, x(N, (e) => h(_, {
|
|
248
|
+
key: e.value,
|
|
249
|
+
label: e.label,
|
|
250
|
+
value: e.value
|
|
251
|
+
}, null, 8, ["label", "value"])), 64))]),
|
|
252
|
+
_: 1
|
|
253
|
+
}, 8, ["modelValue"])
|
|
254
|
+
]),
|
|
255
|
+
m("div", ae, [h(A, {
|
|
256
|
+
data: z.value,
|
|
257
|
+
class: "HdServiceMarterial-table",
|
|
258
|
+
height: "100%",
|
|
259
|
+
size: "small",
|
|
260
|
+
style: { width: "100%" }
|
|
261
|
+
}, {
|
|
262
|
+
default: w(() => [
|
|
263
|
+
h(b, {
|
|
264
|
+
prop: "name",
|
|
265
|
+
label: "材料名称",
|
|
266
|
+
"min-width": "160",
|
|
267
|
+
"show-overflow-tooltip": ""
|
|
268
|
+
}, {
|
|
269
|
+
default: w(({ row: e }) => [m("span", oe, S(e.name), 1)]),
|
|
270
|
+
_: 1
|
|
271
|
+
}),
|
|
272
|
+
h(b, {
|
|
273
|
+
prop: "time",
|
|
274
|
+
label: "材料时间",
|
|
275
|
+
width: "100",
|
|
276
|
+
align: "center"
|
|
277
|
+
}),
|
|
278
|
+
h(b, {
|
|
279
|
+
label: "操作",
|
|
280
|
+
width: "100",
|
|
281
|
+
align: "center"
|
|
282
|
+
}, {
|
|
283
|
+
default: w(({ row: e }) => [m("div", se, [m("span", {
|
|
284
|
+
class: "HdServiceMarterial-link HdServiceMarterial-previewLink",
|
|
285
|
+
onClick: (t) => ve(e)
|
|
286
|
+
}, "预览", 8, ce), m("span", {
|
|
287
|
+
class: "HdServiceMarterial-link HdServiceMarterial-downloadLink",
|
|
288
|
+
onClick: (t) => Z(e)
|
|
289
|
+
}, "下载", 8, le)])]),
|
|
290
|
+
_: 1
|
|
291
|
+
})
|
|
292
|
+
]),
|
|
293
|
+
_: 1
|
|
294
|
+
}, 8, ["data"])]),
|
|
295
|
+
(y(), d(l, { to: "body" }, [B.value ? (y(), p("div", {
|
|
296
|
+
key: 0,
|
|
297
|
+
class: "HdServiceMarterial-mask",
|
|
298
|
+
onClick: E(X, ["self"])
|
|
299
|
+
}, [m("div", ue, [m("div", de, [
|
|
300
|
+
t[6] ||= m("i", { class: "HdServiceMarterial-previewHeadBar" }, null, -1),
|
|
301
|
+
m("span", fe, S(V.value), 1),
|
|
302
|
+
m("button", {
|
|
303
|
+
class: "HdServiceMarterial-previewClose",
|
|
304
|
+
onClick: X
|
|
305
|
+
}, [...t[5] ||= [m("span", null, "✕", -1)]])
|
|
306
|
+
]), m("div", pe, [(y(!0), p(c, null, x(H.value, (e, t) => (y(), p("img", {
|
|
307
|
+
key: t,
|
|
308
|
+
class: "HdServiceMarterial-previewImage",
|
|
309
|
+
src: e,
|
|
310
|
+
alt: ""
|
|
311
|
+
}, null, 8, k))), 128))])])])) : f("", !0)]))
|
|
312
|
+
]);
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
}), [["__scopeId", "data-v-c3419287"]]);
|
|
316
|
+
//#endregion
|
|
317
|
+
export { A as t };
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import "./component-Forecast72h-TFBSlUgI.mjs";
|
|
4
4
|
import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, withModifiers as g } from "vue";
|
|
5
5
|
//#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-header" }, y = { class: "HdServiceRequirements-headerContent" }, b = { class: "HdServiceRequirements-title" }, x = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "HdServiceRequirements-dataTime"
|
|
9
|
-
}, S = { class: "HdServiceRequirements-body" }, C = {
|
|
9
|
+
}, S = { class: "HdServiceRequirements-body" }, C = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "HdServiceRequirements-mask"
|
|
12
|
+
}, w = { class: "HdServiceRequirements-popup" }, T = { class: "HdServiceRequirements-popupHead" }, E = { class: "HdServiceRequirements-popupHeadTitle" }, D = { class: "HdServiceRequirements-popupBody" }, O = { class: "HdServiceRequirements-itemMain" }, k = { class: "HdServiceRequirements-itemTitle" }, A = { class: "HdServiceRequirements-itemContent" }, j = { class: "HdServiceRequirements-itemText" }, M = /* @__PURE__ */ e(/* @__PURE__ */ l({
|
|
10
13
|
__name: "HdServiceRequirements",
|
|
11
14
|
props: {
|
|
12
15
|
mock: {
|
|
@@ -55,42 +58,42 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
|
|
|
55
58
|
},
|
|
56
59
|
emits: ["close"],
|
|
57
60
|
setup(e, { emit: l }) {
|
|
58
|
-
let
|
|
61
|
+
let M = u()?.appContext.config.globalProperties.$bus, N = e, P = l, F = p(!1), I = p({
|
|
59
62
|
title: "",
|
|
60
63
|
dataTime: "",
|
|
61
64
|
serviceType: "",
|
|
62
65
|
list: []
|
|
63
|
-
}),
|
|
64
|
-
|
|
65
|
-
}, V = () => {
|
|
66
|
-
P.value = !1;
|
|
66
|
+
}), L = i(() => N.title || I.value.title || N.serviceType + "气象服务"), R = i(() => N.dataTime || I.value.dataTime || ""), z = i(() => (N.serviceType || I.value.serviceType || "海洋") + "气象服务需求"), B = i(() => N.list.length ? N.list : I.value.list), V = () => {
|
|
67
|
+
F.value = !0;
|
|
67
68
|
}, H = () => {
|
|
68
|
-
|
|
69
|
-
}, U = (
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
F.value = !1;
|
|
70
|
+
}, U = () => {
|
|
71
|
+
P("close", "HdServiceRequirements");
|
|
72
|
+
}, W = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, G = () => {
|
|
73
|
+
let e = N.mockData || {};
|
|
74
|
+
I.value = {
|
|
72
75
|
title: e.title || "",
|
|
73
76
|
dataTime: e.dataTime || "",
|
|
74
77
|
serviceType: e.serviceType || "",
|
|
75
78
|
list: e.list || []
|
|
76
79
|
};
|
|
77
|
-
},
|
|
78
|
-
let e =
|
|
80
|
+
}, K = async () => {
|
|
81
|
+
let e = N.ids.data;
|
|
79
82
|
if (!e?.id) {
|
|
80
83
|
console.warn("HdServiceRequirements 缺少数据工作流配置");
|
|
81
84
|
return;
|
|
82
85
|
}
|
|
83
86
|
try {
|
|
84
|
-
let n =
|
|
87
|
+
let n = W(await t({
|
|
85
88
|
id: e.id,
|
|
86
|
-
baseHttp:
|
|
89
|
+
baseHttp: N.baseHttp,
|
|
87
90
|
reqType: e.reqType,
|
|
88
91
|
variables: {},
|
|
89
92
|
isFormData: e.isFormData,
|
|
90
|
-
appKey:
|
|
91
|
-
appSalt:
|
|
93
|
+
appKey: N.appKey,
|
|
94
|
+
appSalt: N.appSalt
|
|
92
95
|
}));
|
|
93
|
-
n && (
|
|
96
|
+
n && (I.value = {
|
|
94
97
|
title: n.title || "",
|
|
95
98
|
dataTime: n.dataTime || "",
|
|
96
99
|
serviceType: n.serviceType || "",
|
|
@@ -99,45 +102,41 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
|
|
|
99
102
|
} catch (e) {
|
|
100
103
|
console.error("HdServiceRequirements 数据加载失败", e);
|
|
101
104
|
}
|
|
102
|
-
},
|
|
103
|
-
|
|
105
|
+
}, q = async () => {
|
|
106
|
+
N.mock ? G() : await K();
|
|
104
107
|
};
|
|
105
108
|
return d(() => {
|
|
106
|
-
|
|
107
|
-
e.componentName === "HdServiceRequirements" &&
|
|
108
|
-
}),
|
|
109
|
+
M?.on("toComponent", (e) => {
|
|
110
|
+
e.componentName === "HdServiceRequirements" && q();
|
|
111
|
+
}), q();
|
|
109
112
|
}), (t, i) => (f(), s("div", _, [
|
|
110
113
|
e.showClose ? (f(), s("button", {
|
|
111
114
|
key: 0,
|
|
112
115
|
class: "HdServiceRequirements-close",
|
|
113
|
-
onClick:
|
|
116
|
+
onClick: U
|
|
114
117
|
}, [...i[0] ||= [c("span", null, "✕", -1)]])) : o("", !0),
|
|
115
|
-
c("div", v, [c("div", y, [c("h3", b, h(
|
|
118
|
+
c("div", v, [c("div", y, [c("h3", b, h(L.value), 1), R.value ? (f(), s("span", x, "(数据时间:" + h(R.value) + ")", 1)) : o("", !0)]), i[1] ||= c("img", {
|
|
116
119
|
class: "HdServiceRequirements-headerLine",
|
|
117
120
|
src: "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",
|
|
118
121
|
alt: ""
|
|
119
122
|
}, null, -1)]),
|
|
120
123
|
c("div", S, [c("button", {
|
|
121
124
|
class: "HdServiceRequirements-btn",
|
|
122
|
-
onClick: g(
|
|
125
|
+
onClick: g(V, ["stop"])
|
|
123
126
|
}, [...i[2] ||= [c("span", null, "服务需求", -1)]])]),
|
|
124
|
-
(f(), a(r, { to: "body" }, [
|
|
125
|
-
key: 0,
|
|
126
|
-
class: "HdServiceRequirements-mask",
|
|
127
|
-
onClick: g(V, ["self"])
|
|
128
|
-
}, [c("div", C, [c("div", w, [
|
|
127
|
+
(f(), a(r, { to: "body" }, [F.value ? (f(), s("div", C, [c("div", w, [c("div", T, [
|
|
129
128
|
i[4] ||= c("i", { class: "HdServiceRequirements-popupHeadBar" }, null, -1),
|
|
130
|
-
c("span",
|
|
129
|
+
c("span", E, h(z.value), 1),
|
|
131
130
|
c("button", {
|
|
132
131
|
class: "HdServiceRequirements-popupClose",
|
|
133
|
-
onClick:
|
|
132
|
+
onClick: H
|
|
134
133
|
}, [...i[3] ||= [c("span", null, "✕", -1)]])
|
|
135
|
-
]), c("div",
|
|
134
|
+
]), c("div", D, [(f(!0), s(n, null, m(B.value, (e, t) => (f(), s("div", {
|
|
136
135
|
key: t,
|
|
137
136
|
class: "HdServiceRequirements-item"
|
|
138
|
-
}, [i[5] ||= c("div", { class: "HdServiceRequirements-timeline" }, [c("div", { class: "HdServiceRequirements-timelineDot" }, [c("i")]), c("div", { class: "HdServiceRequirements-timelineLine" })], -1), c("div",
|
|
137
|
+
}, [i[5] ||= c("div", { class: "HdServiceRequirements-timeline" }, [c("div", { class: "HdServiceRequirements-timelineDot" }, [c("i")]), c("div", { class: "HdServiceRequirements-timelineLine" })], -1), c("div", O, [c("div", k, h(e.title), 1), c("div", A, [c("div", j, h(e.content), 1)])])]))), 128))])])])) : o("", !0)]))
|
|
139
138
|
]));
|
|
140
139
|
}
|
|
141
|
-
}), [["__scopeId", "data-v-
|
|
140
|
+
}), [["__scopeId", "data-v-99450771"]]);
|
|
142
141
|
//#endregion
|
|
143
|
-
export {
|
|
142
|
+
export { M as t };
|