nxd-plugin 1.8.37 → 1.8.39
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-CP4xYmeZ.mjs +2 -0
- package/dist/chunks/{component-Agent-DqXO06Ql.mjs → component-Agent-Cm2BEfcV.mjs} +2451 -2405
- package/dist/chunks/{component-AiChat-C8NFYtVc.mjs → component-AiChat-C0nCRTDL.mjs} +202 -202
- package/dist/chunks/{component-AqiMonitor-WvrknfI9.mjs → component-AqiMonitor-buvqeOgY.mjs} +9 -9
- package/dist/chunks/{component-ChartCumulativePre-B9Prk8Sx.mjs → component-ChartCumulativePre-C4PgcnVy.mjs} +7 -7
- package/dist/chunks/{component-ChartServiceMaterial-dSZ_Pec0.mjs → component-ChartServiceMaterial-C7a1Qqo_.mjs} +6 -6
- package/dist/chunks/{component-Duty-CcPTE385.mjs → component-Duty-DOs3Ug6k.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic-Ug-1jfiU.mjs → component-EarlyWarningStatistic-CXmSRC_Z.mjs} +6 -6
- package/dist/chunks/{component-EarlyWarningStatistic2-BnZqgK4P.mjs → component-EarlyWarningStatistic2-DBipE3hf.mjs} +15 -15
- package/dist/chunks/{component-Forecast72h-5DGIhVUd.mjs → component-Forecast72h-CU8p9veB.mjs} +16 -16
- package/dist/chunks/{component-GeologyLiveAlarm-Bg710d1g.mjs → component-GeologyLiveAlarm-Br4JKabm.mjs} +7 -7
- package/dist/chunks/{component-GridForecastMsg-D0jzurbN.mjs → component-GridForecastMsg-8ERFdIt7.mjs} +8 -8
- package/dist/chunks/{component-HDSeaLegend-D5FWHvmR.mjs → component-HDSeaLegend-DQXZYgpR.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-4ArboSf0.mjs → component-HdCameraList-CzJDCIUd.mjs} +151 -150
- package/dist/chunks/{component-HdFarmStation-D9qZ2csY.mjs → component-HdFarmStation-Bw9K6NJn.mjs} +11 -11
- package/dist/chunks/{component-HdFarmStationDialog-DHGlfkae.mjs → component-HdFarmStationDialog-jR-LBbQP.mjs} +33 -33
- package/dist/chunks/{component-HdForecastProducts-qj9Yzh7D.mjs → component-HdForecastProducts-TXRVg26S.mjs} +10 -10
- package/dist/chunks/{component-HdHeatChart-Br63YpFN.mjs → component-HdHeatChart-DZak9Ft6.mjs} +12 -12
- package/dist/chunks/{component-HdHeatChartDialog-DOkB8heB.mjs → component-HdHeatChartDialog-D1fXxl0L.mjs} +11 -11
- package/dist/chunks/{component-HdHeatService-BeUpAmBA.mjs → component-HdHeatService-B6jbZMfm.mjs} +34 -34
- package/dist/chunks/{component-HdInsectDetailList-C9tAtciq.mjs → component-HdInsectDetailList-B3sikKhM.mjs} +16 -16
- package/dist/chunks/{component-HdInsectList-pU1-mQ-C.mjs → component-HdInsectList-BhwtKWGc.mjs} +18 -18
- package/dist/chunks/{component-HdMajorActivity-DSPYsbdQ.mjs → component-HdMajorActivity-EC4Hvfqb.mjs} +23 -23
- package/dist/chunks/{component-HdObservation-osOGizJv.mjs → component-HdObservation-DZLNEWhN.mjs} +10 -10
- package/dist/chunks/{component-HdPreSituation-Ca_d4L11.mjs → component-HdPreSituation-DBGR2Ryu.mjs} +9 -9
- package/dist/chunks/{component-HdQxServiceEffects-CtlLJVdx.mjs → component-HdQxServiceEffects-dREiY6bN.mjs} +10 -10
- package/dist/chunks/{component-HdRadarList-CgWMdwBo.mjs → component-HdRadarList-BxHqX6lK.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-Bp7D80GJ.mjs → component-HdRadarTime-BmXlFJFB.mjs} +12 -12
- package/dist/chunks/{component-HdRadarTimeLine-DfOce6fK.mjs → component-HdRadarTimeLine-DuKt7347.mjs} +13 -13
- package/dist/chunks/{component-HdRisk-Bd3if-1-.mjs → component-HdRisk-CAF1JxIu.mjs} +11 -11
- package/dist/chunks/{component-HdSeaCase-CbY3FsOy.mjs → component-HdSeaCase-DVhbtYSc.mjs} +26 -26
- package/dist/chunks/{component-HdServiceMarterial-B7FEviHO.mjs → component-HdServiceMarterial-CAXKIPOW.mjs} +17 -17
- package/dist/chunks/{component-HdServiceRequirements-DKJ8uQja.mjs → component-HdServiceRequirements-ByhUd4ey.mjs} +13 -13
- package/dist/chunks/{component-HdSoil-ztBxJspH.mjs → component-HdSoil-qNATYOOB.mjs} +11 -11
- package/dist/chunks/{component-HdSoilDetailList-1gMQt-uL.mjs → component-HdSoilDetailList-BbihIcJ9.mjs} +12 -12
- package/dist/chunks/{component-HdStationTem-DfJ0I_2S.mjs → component-HdStationTem-C7eTBEla.mjs} +17 -17
- package/dist/chunks/{component-HdSuggestion-FXvLu_OD.mjs → component-HdSuggestion-BGz6-uaw.mjs} +13 -13
- package/dist/chunks/{component-HdThreeWeatherTrend-DGLSVUb8.mjs → component-HdThreeWeatherTrend-CZTzNuEZ.mjs} +18 -18
- package/dist/chunks/{component-HdWaveForcast-dTEB0h8d.mjs → component-HdWaveForcast-CFfbmxOJ.mjs} +11 -11
- package/dist/chunks/{component-HighQuality-DZGJXvJC.mjs → component-HighQuality-qHBWb-O7.mjs} +16 -16
- package/dist/chunks/{component-HighWayEarlyWarningRed-F0q1FCTw.mjs → component-HighWayEarlyWarningRed-D5xK5D0V.mjs} +16 -16
- package/dist/chunks/{component-HighWayFreeze-d4Xwkwf1.mjs → component-HighWayFreeze-Bfzy5Py4.mjs} +8 -8
- package/dist/chunks/{component-HighwayLiveAlarm-ChAdlgNB.mjs → component-HighwayLiveAlarm-C0NVxNlc.mjs} +6 -6
- package/dist/chunks/{component-HighwayLiveAlarmNew-B-KnOey_.mjs → component-HighwayLiveAlarmNew-BkPc1uHT.mjs} +11 -11
- package/dist/chunks/{component-HighwayStations-CknEywO_.mjs → component-HighwayStations-gLCzqaFg.mjs} +6 -6
- package/dist/chunks/{component-HighwayWeatherForecast-B4szOq2G.mjs → component-HighwayWeatherForecast-Di4k_gXe.mjs} +9 -9
- package/dist/chunks/{component-IframeWeb-iDh9lrPn.mjs → component-IframeWeb-BI6ARPim.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-CsIZ2Kz2.mjs → component-ImageGeneration-HZcmty4a.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-BggfUWvz.mjs → component-IntroducePic-BzcpXcDu.mjs} +13 -13
- package/dist/chunks/{component-LithiumBatteryMiningArea-RpuBju1r.mjs → component-LithiumBatteryMiningArea-CWmowyvH.mjs} +12 -12
- package/dist/chunks/{component-MapPopup-LFWUnUl3.mjs → component-MapPopup-BMpK3HDv.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DvNKoDNy.mjs → component-MaterialPreview-opXV5MsP.mjs} +5 -5
- package/dist/chunks/{component-PieLegend-B2Nor3pz.mjs → component-PieLegend-DbYkitpz.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-ClwjH24B.mjs → component-PrecipitationRanking-DCkl4WcA.mjs} +27 -27
- package/dist/chunks/{component-RadarChart-BMoy8MXR.mjs → component-RadarChart-elpvJJcV.mjs} +10 -10
- package/dist/chunks/{component-RadarLegend-rXlAb8lF.mjs → component-RadarLegend-CooXza3E.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-4RS7HYWc.mjs → component-RadarShortTerm-CThl2lDU.mjs} +20 -20
- package/dist/chunks/{component-RadarTime-W1ZVEA9e.mjs → component-RadarTime-CvudM45Q.mjs} +18 -18
- package/dist/chunks/{component-RenderMarkdown-DO4bEFoj.mjs → component-RenderMarkdown-hrLIIwgE.mjs} +6 -6
- package/dist/chunks/{component-ReservoirLiveAlarm-ZD1RSFHm.mjs → component-ReservoirLiveAlarm-CzZpNTun.mjs} +8 -8
- package/dist/chunks/{component-ServiceMaterial-DrxeAmRt.mjs → component-ServiceMaterial-9oH_DZq1.mjs} +9 -9
- package/dist/chunks/{component-ServiceMaterialsBtn-CZFRzpDr.mjs → component-ServiceMaterialsBtn-ckhadvV7.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-NhNr3lY1.mjs → component-StationDialog-XTeGI3qA.mjs} +9 -9
- package/dist/chunks/{component-StationList-CSU1nUgF.mjs → component-StationList-rrmZM7q1.mjs} +9 -9
- package/dist/chunks/{component-TimeBasedForecast-BObdyMNh.mjs → component-TimeBasedForecast-C8eEmt7r.mjs} +10 -10
- package/dist/chunks/{component-Typhoon-AxGQ8VuM.mjs → component-Typhoon-RsStDsjO.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-Biz0NEC8.mjs → component-WarningLine-gmXFFeUv.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-D5ux6LCy.mjs → component-WarningSignal-CjQjyTr4.mjs} +17 -17
- package/dist/chunks/{component-WeatherForecast-DnvELAB8.mjs → component-WeatherForecast-CtNxOx9i.mjs} +16 -16
- package/dist/chunks/{component-YCDataMonitor-Dumu7_mw.mjs → component-YCDataMonitor-CI7XRJ83.mjs} +16 -16
- package/dist/chunks/{component-YCDataService-CibX3y21.mjs → component-YCDataService-DkIDLzWF.mjs} +10 -10
- package/dist/chunks/{component-YCHighWaySummary-B4rfNY9B.mjs → component-YCHighWaySummary-B3VElvls.mjs} +7 -7
- package/dist/chunks/{component-YCHome-BgH2uOoL.mjs → component-YCHome-CiN9AggT.mjs} +36 -36
- package/dist/chunks/{component-YCHomeLegend-BpForfu4.mjs → component-YCHomeLegend-DzDo8zz6.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BsQr4jFy.mjs → component-YCLoginNew-IfVsyv0t.mjs} +23 -23
- package/dist/chunks/{component-YCServiceSummary-CnnEfTaE.mjs → component-YCServiceSummary-Dy_GyJoy.mjs} +161 -161
- package/dist/nxd-plugin.mjs +73 -73
- package/dist/styles/component-Agent.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-tHEqhFHj.mjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as e, o as t, p as n } from "./component-Agent-Cm2BEfcV.mjs";
|
|
2
2
|
import { ElLoadingDirective as r } from "element-plus/es";
|
|
3
3
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createStaticVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, vModelText as S, watch as C, withDirectives as w } from "vue";
|
|
4
4
|
import * as T from "echarts";
|
|
@@ -13,7 +13,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
13
13
|
}, j = ["innerHTML"], M = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "YCAIChatPanel-subMenu"
|
|
16
|
-
}, N = ["onClick"], P = ["src"], ee = { class: "YCAIChatPanel-footer" }, te = { class: "YCAIChatPanel-mainMenu" }, F = ["onClick"], ne = { class: "YCAIChatPanel-inputBar" }, re = ["placeholder"], ie = ["disabled"], ae = 2e3, I = 300 * 1e3, oe = "正在思考...", se = "做材料", L = /* @__PURE__ */
|
|
16
|
+
}, N = ["onClick"], P = ["src"], ee = { class: "YCAIChatPanel-footer" }, te = { class: "YCAIChatPanel-mainMenu" }, F = ["onClick"], ne = { class: "YCAIChatPanel-inputBar" }, re = ["placeholder"], ie = ["disabled"], ae = 2e3, I = 300 * 1e3, oe = "正在思考...", se = "做材料", L = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
17
17
|
__name: "YCAIChatPanel",
|
|
18
18
|
props: [
|
|
19
19
|
"appKey",
|
|
@@ -26,8 +26,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
26
26
|
"ids",
|
|
27
27
|
"theme"
|
|
28
28
|
],
|
|
29
|
-
setup(
|
|
30
|
-
let r =
|
|
29
|
+
setup(n) {
|
|
30
|
+
let r = n, u = [
|
|
31
31
|
"查数据",
|
|
32
32
|
"查知识",
|
|
33
33
|
"查材料"
|
|
@@ -65,21 +65,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
65
65
|
console.error("[YCAIChatPanel] 登录失败:", e);
|
|
66
66
|
}
|
|
67
67
|
}, G = (e) => Array.isArray(e) ? e : !e || typeof e != "object" ? null : e.output ?? e.list ?? e.items ?? e.children ?? e.data ?? e.records ?? null, pe = async () => {
|
|
68
|
-
let
|
|
69
|
-
if (!
|
|
68
|
+
let t = r.ids?.subMenu;
|
|
69
|
+
if (!t?.id) {
|
|
70
70
|
console.warn("[YCAIChatPanel] 未配置 subMenu 工作流 id");
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
try {
|
|
74
|
-
let
|
|
74
|
+
let n = await e({
|
|
75
75
|
appKey: r.appKey,
|
|
76
76
|
appSalt: r.appSalt,
|
|
77
|
-
id:
|
|
77
|
+
id: t.id,
|
|
78
78
|
variables: { newParam: "subMenu" },
|
|
79
79
|
baseHttp: r.baseHttp.replace(/\/$/, ""),
|
|
80
|
-
reqType:
|
|
81
|
-
isFormData:
|
|
82
|
-
}), i =
|
|
80
|
+
reqType: t.reqType || "post",
|
|
81
|
+
isFormData: t.isFormData ?? !1
|
|
82
|
+
}), i = n?.data?.result ?? n?.data;
|
|
83
83
|
if (typeof i == "string") try {
|
|
84
84
|
i = JSON.parse(i);
|
|
85
85
|
} catch {
|
|
@@ -132,13 +132,13 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
132
132
|
console.error("[YCAIChatPanel] 发送失败:", e), Y("请求失败,请稍后重试", "error"), C.value = !1;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
}, ge = async (
|
|
135
|
+
}, ge = async (t, n) => {
|
|
136
136
|
try {
|
|
137
|
-
let i = await
|
|
137
|
+
let i = await e({
|
|
138
138
|
appKey: r.appKey,
|
|
139
139
|
appSalt: r.appSalt,
|
|
140
|
-
id:
|
|
141
|
-
variables: { newParam:
|
|
140
|
+
id: n,
|
|
141
|
+
variables: { newParam: t },
|
|
142
142
|
baseHttp: r.baseHttp.replace(/\/$/, ""),
|
|
143
143
|
reqType: "post",
|
|
144
144
|
isFormData: !1
|
|
@@ -265,7 +265,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
265
265
|
}, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8, ie)])])
|
|
266
266
|
]));
|
|
267
267
|
}
|
|
268
|
-
}), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */
|
|
268
|
+
}), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
269
269
|
__name: "YCServiceSummaryRefineAnalysis",
|
|
270
270
|
props: [
|
|
271
271
|
"appKey",
|
|
@@ -278,8 +278,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
278
278
|
"ids",
|
|
279
279
|
"theme"
|
|
280
280
|
],
|
|
281
|
-
setup(
|
|
282
|
-
let
|
|
281
|
+
setup(t) {
|
|
282
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
283
283
|
let e = o.value;
|
|
284
284
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
285
285
|
};
|
|
@@ -289,21 +289,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
289
289
|
window.removeEventListener("resize", O), l && l.dispose();
|
|
290
290
|
});
|
|
291
291
|
let p = async () => {
|
|
292
|
-
let
|
|
293
|
-
if (!
|
|
292
|
+
let t = n.ids?.road;
|
|
293
|
+
if (!t?.id) {
|
|
294
294
|
console.warn("[YCServiceSummaryRefineAnalysis] ids.road 未配置");
|
|
295
295
|
return;
|
|
296
296
|
}
|
|
297
297
|
u.value = !0;
|
|
298
298
|
try {
|
|
299
|
-
let r = (await
|
|
300
|
-
appKey:
|
|
301
|
-
appSalt:
|
|
302
|
-
id:
|
|
299
|
+
let r = (await e({
|
|
300
|
+
appKey: n.appKey,
|
|
301
|
+
appSalt: n.appSalt,
|
|
302
|
+
id: t.id,
|
|
303
303
|
variables: {},
|
|
304
|
-
baseHttp:
|
|
305
|
-
reqType:
|
|
306
|
-
isFormData:
|
|
304
|
+
baseHttp: n.baseHttp,
|
|
305
|
+
reqType: t.reqType,
|
|
306
|
+
isFormData: t.isFormData
|
|
307
307
|
}))?.data?.result?.ds;
|
|
308
308
|
if (typeof r == "string") try {
|
|
309
309
|
r = JSON.parse(r);
|
|
@@ -368,7 +368,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
368
368
|
}]
|
|
369
369
|
});
|
|
370
370
|
};
|
|
371
|
-
C(() =>
|
|
371
|
+
C(() => n.theme, async () => {
|
|
372
372
|
await m(), D();
|
|
373
373
|
});
|
|
374
374
|
let O = () => {
|
|
@@ -387,7 +387,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
387
387
|
}, null, 512)], 8, R)), [[n, u.value]]);
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
}), [["__scopeId", "data-v-118dfe5e"]]), H = ["element-loading-background"], U = "#ff4d4f", W = "#52c41a", ce = /* @__PURE__ */
|
|
390
|
+
}), [["__scopeId", "data-v-118dfe5e"]]), H = ["element-loading-background"], U = "#ff4d4f", W = "#52c41a", ce = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
391
391
|
__name: "YCServiceSummaryTrafficAnalysis",
|
|
392
392
|
props: [
|
|
393
393
|
"appKey",
|
|
@@ -400,8 +400,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
400
400
|
"ids",
|
|
401
401
|
"theme"
|
|
402
402
|
],
|
|
403
|
-
setup(
|
|
404
|
-
let
|
|
403
|
+
setup(t) {
|
|
404
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
405
405
|
let e = o.value;
|
|
406
406
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
407
407
|
};
|
|
@@ -411,21 +411,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
411
411
|
window.removeEventListener("resize", S), l && l.dispose();
|
|
412
412
|
});
|
|
413
413
|
let p = async () => {
|
|
414
|
-
let
|
|
415
|
-
if (!
|
|
414
|
+
let t = n.ids?.shortTerm;
|
|
415
|
+
if (!t?.id) {
|
|
416
416
|
console.warn("[YCServiceSummaryTrafficAnalysis] ids.shortTerm 未配置");
|
|
417
417
|
return;
|
|
418
418
|
}
|
|
419
419
|
u.value = !0;
|
|
420
420
|
try {
|
|
421
|
-
let r = (await
|
|
422
|
-
appKey:
|
|
423
|
-
appSalt:
|
|
424
|
-
id:
|
|
421
|
+
let r = (await e({
|
|
422
|
+
appKey: n.appKey,
|
|
423
|
+
appSalt: n.appSalt,
|
|
424
|
+
id: t.id,
|
|
425
425
|
variables: {},
|
|
426
|
-
baseHttp:
|
|
427
|
-
reqType:
|
|
428
|
-
isFormData:
|
|
426
|
+
baseHttp: n.baseHttp,
|
|
427
|
+
reqType: t.reqType,
|
|
428
|
+
isFormData: t.isFormData
|
|
429
429
|
}))?.data?.result?.ds;
|
|
430
430
|
if (typeof r == "string") try {
|
|
431
431
|
r = JSON.parse(r);
|
|
@@ -486,7 +486,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
486
486
|
}]
|
|
487
487
|
});
|
|
488
488
|
};
|
|
489
|
-
C(() =>
|
|
489
|
+
C(() => n.theme, async () => {
|
|
490
490
|
await m(), x();
|
|
491
491
|
});
|
|
492
492
|
let S = () => {
|
|
@@ -505,7 +505,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
505
505
|
}, null, 512)], 8, H)), [[n, u.value]]);
|
|
506
506
|
};
|
|
507
507
|
}
|
|
508
|
-
}), [["__scopeId", "data-v-ec9e589d"]]), le = ["element-loading-background"], ue = "#ff4d4f", de = "#52c41a", fe = /* @__PURE__ */
|
|
508
|
+
}), [["__scopeId", "data-v-ec9e589d"]]), le = ["element-loading-background"], ue = "#ff4d4f", de = "#52c41a", fe = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
509
509
|
__name: "YCServiceSummaryGeologyRefineAnalysis",
|
|
510
510
|
props: [
|
|
511
511
|
"appKey",
|
|
@@ -518,8 +518,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
518
518
|
"ids",
|
|
519
519
|
"theme"
|
|
520
520
|
],
|
|
521
|
-
setup(
|
|
522
|
-
let
|
|
521
|
+
setup(t) {
|
|
522
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
523
523
|
let e = o.value;
|
|
524
524
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
525
525
|
};
|
|
@@ -529,21 +529,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
529
529
|
window.removeEventListener("resize", x), l && l.dispose();
|
|
530
530
|
});
|
|
531
531
|
let p = async () => {
|
|
532
|
-
let
|
|
533
|
-
if (!
|
|
532
|
+
let t = n.ids?.data;
|
|
533
|
+
if (!t?.id) {
|
|
534
534
|
console.warn("[YCServiceSummaryGeologyRefineAnalysis] ids.data 未配置");
|
|
535
535
|
return;
|
|
536
536
|
}
|
|
537
537
|
u.value = !0;
|
|
538
538
|
try {
|
|
539
|
-
let r = (await
|
|
540
|
-
appKey:
|
|
541
|
-
appSalt:
|
|
542
|
-
id:
|
|
539
|
+
let r = (await e({
|
|
540
|
+
appKey: n.appKey,
|
|
541
|
+
appSalt: n.appSalt,
|
|
542
|
+
id: t.id,
|
|
543
543
|
variables: {},
|
|
544
|
-
baseHttp:
|
|
545
|
-
reqType:
|
|
546
|
-
isFormData:
|
|
544
|
+
baseHttp: n.baseHttp,
|
|
545
|
+
reqType: t.reqType,
|
|
546
|
+
isFormData: t.isFormData
|
|
547
547
|
}))?.data?.result?.ds;
|
|
548
548
|
if (typeof r == "string") try {
|
|
549
549
|
r = JSON.parse(r);
|
|
@@ -597,7 +597,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
597
597
|
}]
|
|
598
598
|
});
|
|
599
599
|
};
|
|
600
|
-
C(() =>
|
|
600
|
+
C(() => n.theme, async () => {
|
|
601
601
|
await m(), b();
|
|
602
602
|
});
|
|
603
603
|
let x = () => {
|
|
@@ -616,7 +616,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
616
616
|
}, null, 512)], 8, le)), [[n, u.value]]);
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
|
-
}), [["__scopeId", "data-v-faed9df7"]]), G = ["element-loading-background"], pe = "#ff4d4f", K = "#52c41a", me = /* @__PURE__ */
|
|
619
|
+
}), [["__scopeId", "data-v-faed9df7"]]), G = ["element-loading-background"], pe = "#ff4d4f", K = "#52c41a", me = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
620
620
|
__name: "YCServiceSummaryGeologyTrafficAnalysis",
|
|
621
621
|
props: [
|
|
622
622
|
"appKey",
|
|
@@ -629,8 +629,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
629
629
|
"ids",
|
|
630
630
|
"theme"
|
|
631
631
|
],
|
|
632
|
-
setup(
|
|
633
|
-
let
|
|
632
|
+
setup(t) {
|
|
633
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
634
634
|
let e = o.value;
|
|
635
635
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
636
636
|
};
|
|
@@ -640,21 +640,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
640
640
|
window.removeEventListener("resize", S), l && l.dispose();
|
|
641
641
|
});
|
|
642
642
|
let p = async () => {
|
|
643
|
-
let
|
|
644
|
-
if (!
|
|
643
|
+
let t = n.ids?.geologyShortTerm;
|
|
644
|
+
if (!t?.id) {
|
|
645
645
|
console.warn("[YCServiceSummaryGeologyTrafficAnalysis] ids.geologyShortTerm 未配置");
|
|
646
646
|
return;
|
|
647
647
|
}
|
|
648
648
|
u.value = !0;
|
|
649
649
|
try {
|
|
650
|
-
let r = (await
|
|
651
|
-
appKey:
|
|
652
|
-
appSalt:
|
|
653
|
-
id:
|
|
650
|
+
let r = (await e({
|
|
651
|
+
appKey: n.appKey,
|
|
652
|
+
appSalt: n.appSalt,
|
|
653
|
+
id: t.id,
|
|
654
654
|
variables: {},
|
|
655
|
-
baseHttp:
|
|
656
|
-
reqType:
|
|
657
|
-
isFormData:
|
|
655
|
+
baseHttp: n.baseHttp,
|
|
656
|
+
reqType: t.reqType,
|
|
657
|
+
isFormData: t.isFormData
|
|
658
658
|
}))?.data?.result?.ds;
|
|
659
659
|
if (typeof r == "string") try {
|
|
660
660
|
r = JSON.parse(r);
|
|
@@ -715,7 +715,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
715
715
|
}]
|
|
716
716
|
});
|
|
717
717
|
};
|
|
718
|
-
C(() =>
|
|
718
|
+
C(() => n.theme, async () => {
|
|
719
719
|
await m(), x();
|
|
720
720
|
});
|
|
721
721
|
let S = () => {
|
|
@@ -734,7 +734,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
734
734
|
}, null, 512)], 8, G)), [[n, u.value]]);
|
|
735
735
|
};
|
|
736
736
|
}
|
|
737
|
-
}), [["__scopeId", "data-v-32323a02"]]), he = ["element-loading-background"], q = "#ff4d4f", ge = "#52c41a", _e = /* @__PURE__ */
|
|
737
|
+
}), [["__scopeId", "data-v-32323a02"]]), he = ["element-loading-background"], q = "#ff4d4f", ge = "#52c41a", _e = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
738
738
|
__name: "YCServiceSummaryReservoirRefineAnalysis",
|
|
739
739
|
props: [
|
|
740
740
|
"appKey",
|
|
@@ -747,8 +747,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
747
747
|
"ids",
|
|
748
748
|
"theme"
|
|
749
749
|
],
|
|
750
|
-
setup(
|
|
751
|
-
let
|
|
750
|
+
setup(t) {
|
|
751
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
752
752
|
let e = o.value;
|
|
753
753
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
754
754
|
};
|
|
@@ -758,21 +758,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
758
758
|
window.removeEventListener("resize", x), l && l.dispose();
|
|
759
759
|
});
|
|
760
760
|
let p = async () => {
|
|
761
|
-
let
|
|
762
|
-
if (!
|
|
761
|
+
let t = n.ids?.reservoirData;
|
|
762
|
+
if (!t?.id) {
|
|
763
763
|
console.warn("[YCServiceSummaryReservoirRefineAnalysis] ids.reservoirData 未配置");
|
|
764
764
|
return;
|
|
765
765
|
}
|
|
766
766
|
u.value = !0;
|
|
767
767
|
try {
|
|
768
|
-
let r = (await
|
|
769
|
-
appKey:
|
|
770
|
-
appSalt:
|
|
771
|
-
id:
|
|
768
|
+
let r = (await e({
|
|
769
|
+
appKey: n.appKey,
|
|
770
|
+
appSalt: n.appSalt,
|
|
771
|
+
id: t.id,
|
|
772
772
|
variables: {},
|
|
773
|
-
baseHttp:
|
|
774
|
-
reqType:
|
|
775
|
-
isFormData:
|
|
773
|
+
baseHttp: n.baseHttp,
|
|
774
|
+
reqType: t.reqType,
|
|
775
|
+
isFormData: t.isFormData
|
|
776
776
|
}))?.data?.result?.ds;
|
|
777
777
|
if (typeof r == "string") try {
|
|
778
778
|
r = JSON.parse(r);
|
|
@@ -826,7 +826,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
826
826
|
}]
|
|
827
827
|
});
|
|
828
828
|
};
|
|
829
|
-
C(() =>
|
|
829
|
+
C(() => n.theme, async () => {
|
|
830
830
|
await m(), b();
|
|
831
831
|
});
|
|
832
832
|
let x = () => {
|
|
@@ -845,7 +845,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
845
845
|
}, null, 512)], 8, he)), [[n, u.value]]);
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
|
-
}), [["__scopeId", "data-v-8d675142"]]), J = ["element-loading-background"], Y = "#ff4d4f", X = "#52c41a", Z = /* @__PURE__ */
|
|
848
|
+
}), [["__scopeId", "data-v-8d675142"]]), J = ["element-loading-background"], Y = "#ff4d4f", X = "#52c41a", Z = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
849
849
|
__name: "YCServiceSummaryReservoirTrafficAnalysis",
|
|
850
850
|
props: [
|
|
851
851
|
"appKey",
|
|
@@ -858,8 +858,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
858
858
|
"ids",
|
|
859
859
|
"theme"
|
|
860
860
|
],
|
|
861
|
-
setup(
|
|
862
|
-
let
|
|
861
|
+
setup(t) {
|
|
862
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
863
863
|
let e = o.value;
|
|
864
864
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
865
865
|
};
|
|
@@ -869,21 +869,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
869
869
|
window.removeEventListener("resize", S), l && l.dispose();
|
|
870
870
|
});
|
|
871
871
|
let p = async () => {
|
|
872
|
-
let
|
|
873
|
-
if (!
|
|
872
|
+
let t = n.ids?.reservoirShortTerm;
|
|
873
|
+
if (!t?.id) {
|
|
874
874
|
console.warn("[YCServiceSummaryReservoirTrafficAnalysis] ids.reservoirShortTerm 未配置");
|
|
875
875
|
return;
|
|
876
876
|
}
|
|
877
877
|
u.value = !0;
|
|
878
878
|
try {
|
|
879
|
-
let r = (await
|
|
880
|
-
appKey:
|
|
881
|
-
appSalt:
|
|
882
|
-
id:
|
|
879
|
+
let r = (await e({
|
|
880
|
+
appKey: n.appKey,
|
|
881
|
+
appSalt: n.appSalt,
|
|
882
|
+
id: t.id,
|
|
883
883
|
variables: {},
|
|
884
|
-
baseHttp:
|
|
885
|
-
reqType:
|
|
886
|
-
isFormData:
|
|
884
|
+
baseHttp: n.baseHttp,
|
|
885
|
+
reqType: t.reqType,
|
|
886
|
+
isFormData: t.isFormData
|
|
887
887
|
}))?.data?.result?.ds;
|
|
888
888
|
if (typeof r == "string") try {
|
|
889
889
|
r = JSON.parse(r);
|
|
@@ -944,7 +944,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
944
944
|
}]
|
|
945
945
|
});
|
|
946
946
|
};
|
|
947
|
-
C(() =>
|
|
947
|
+
C(() => n.theme, async () => {
|
|
948
948
|
await m(), x();
|
|
949
949
|
});
|
|
950
950
|
let S = () => {
|
|
@@ -963,7 +963,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
963
963
|
}, null, 512)], 8, J)), [[n, u.value]]);
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
|
-
}), [["__scopeId", "data-v-56bb4ef3"]]), Q = ["element-loading-background"], $ = "#ff4d4f", ve = "#52c41a", ye = /* @__PURE__ */
|
|
966
|
+
}), [["__scopeId", "data-v-56bb4ef3"]]), Q = ["element-loading-background"], $ = "#ff4d4f", ve = "#52c41a", ye = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
967
967
|
__name: "YCServiceSummaryMiningAreaRefineAnalysis",
|
|
968
968
|
props: [
|
|
969
969
|
"appKey",
|
|
@@ -976,8 +976,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
976
976
|
"ids",
|
|
977
977
|
"theme"
|
|
978
978
|
],
|
|
979
|
-
setup(
|
|
980
|
-
let
|
|
979
|
+
setup(t) {
|
|
980
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
981
981
|
let e = o.value;
|
|
982
982
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
983
983
|
};
|
|
@@ -990,21 +990,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
990
990
|
let n = (Array.isArray(e) ? e : []).find((e) => e?.category === t);
|
|
991
991
|
return Array.isArray(n?.area) ? n.area : [];
|
|
992
992
|
}, h = async () => {
|
|
993
|
-
let
|
|
994
|
-
if (!
|
|
993
|
+
let t = n.ids?.miningAreaCharts;
|
|
994
|
+
if (!t?.id) {
|
|
995
995
|
console.warn("[YCServiceSummaryMiningAreaRefineAnalysis] ids.miningAreaCharts 未配置");
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
998
998
|
u.value = !0;
|
|
999
999
|
try {
|
|
1000
|
-
let r = await
|
|
1001
|
-
appKey:
|
|
1002
|
-
appSalt:
|
|
1003
|
-
id:
|
|
1000
|
+
let r = await e({
|
|
1001
|
+
appKey: n.appKey,
|
|
1002
|
+
appSalt: n.appSalt,
|
|
1003
|
+
id: t.id,
|
|
1004
1004
|
variables: {},
|
|
1005
|
-
baseHttp:
|
|
1006
|
-
reqType:
|
|
1007
|
-
isFormData:
|
|
1005
|
+
baseHttp: n.baseHttp,
|
|
1006
|
+
reqType: t.reqType,
|
|
1007
|
+
isFormData: t.isFormData
|
|
1008
1008
|
}), a = r?.data?.result?.output ?? r?.data?.result?.ds;
|
|
1009
1009
|
if (typeof a == "string") try {
|
|
1010
1010
|
a = JSON.parse(a);
|
|
@@ -1055,7 +1055,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1055
1055
|
}]
|
|
1056
1056
|
});
|
|
1057
1057
|
};
|
|
1058
|
-
C(() =>
|
|
1058
|
+
C(() => n.theme, async () => {
|
|
1059
1059
|
await m(), b();
|
|
1060
1060
|
});
|
|
1061
1061
|
let x = () => {
|
|
@@ -1074,7 +1074,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1074
1074
|
}, null, 512)], 8, Q)), [[n, u.value]]);
|
|
1075
1075
|
};
|
|
1076
1076
|
}
|
|
1077
|
-
}), [["__scopeId", "data-v-42e03332"]]), be = ["element-loading-background"], xe = "#ff4d4f", Se = "#52c41a", Ce = /* @__PURE__ */
|
|
1077
|
+
}), [["__scopeId", "data-v-42e03332"]]), be = ["element-loading-background"], xe = "#ff4d4f", Se = "#52c41a", Ce = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
1078
1078
|
__name: "YCServiceSummaryMiningAreaTrafficAnalysis",
|
|
1079
1079
|
props: [
|
|
1080
1080
|
"appKey",
|
|
@@ -1087,8 +1087,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1087
1087
|
"ids",
|
|
1088
1088
|
"theme"
|
|
1089
1089
|
],
|
|
1090
|
-
setup(
|
|
1091
|
-
let
|
|
1090
|
+
setup(t) {
|
|
1091
|
+
let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
|
|
1092
1092
|
let e = o.value;
|
|
1093
1093
|
return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
|
|
1094
1094
|
};
|
|
@@ -1101,21 +1101,21 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1101
1101
|
let n = (Array.isArray(e) ? e : []).find((e) => e?.category === t);
|
|
1102
1102
|
return Array.isArray(n?.area) ? n.area : [];
|
|
1103
1103
|
}, h = async () => {
|
|
1104
|
-
let
|
|
1105
|
-
if (!
|
|
1104
|
+
let t = n.ids?.miningAreaCharts;
|
|
1105
|
+
if (!t?.id) {
|
|
1106
1106
|
console.warn("[YCServiceSummaryMiningAreaTrafficAnalysis] ids.miningAreaCharts 未配置");
|
|
1107
1107
|
return;
|
|
1108
1108
|
}
|
|
1109
1109
|
u.value = !0;
|
|
1110
1110
|
try {
|
|
1111
|
-
let r = await
|
|
1112
|
-
appKey:
|
|
1113
|
-
appSalt:
|
|
1114
|
-
id:
|
|
1111
|
+
let r = await e({
|
|
1112
|
+
appKey: n.appKey,
|
|
1113
|
+
appSalt: n.appSalt,
|
|
1114
|
+
id: t.id,
|
|
1115
1115
|
variables: {},
|
|
1116
|
-
baseHttp:
|
|
1117
|
-
reqType:
|
|
1118
|
-
isFormData:
|
|
1116
|
+
baseHttp: n.baseHttp,
|
|
1117
|
+
reqType: t.reqType,
|
|
1118
|
+
isFormData: t.isFormData
|
|
1119
1119
|
}), a = r?.data?.result?.output ?? r?.data?.result?.ds;
|
|
1120
1120
|
if (typeof a == "string") try {
|
|
1121
1121
|
a = JSON.parse(a);
|
|
@@ -1166,7 +1166,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1166
1166
|
}]
|
|
1167
1167
|
});
|
|
1168
1168
|
};
|
|
1169
|
-
C(() =>
|
|
1169
|
+
C(() => n.theme, async () => {
|
|
1170
1170
|
await m(), b();
|
|
1171
1171
|
});
|
|
1172
1172
|
let x = () => {
|
|
@@ -1206,7 +1206,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1206
1206
|
}, st = {
|
|
1207
1207
|
key: 1,
|
|
1208
1208
|
class: "YCServiceSummary-editorDialog-error"
|
|
1209
|
-
}, ct = { class: "YCServiceSummary-editorDialog-errorText" }, lt = /* @__PURE__ */
|
|
1209
|
+
}, ct = { class: "YCServiceSummary-editorDialog-errorText" }, lt = /* @__PURE__ */ n(/* @__PURE__ */ f({
|
|
1210
1210
|
__name: "YCServiceSummary",
|
|
1211
1211
|
props: [
|
|
1212
1212
|
"appKey",
|
|
@@ -1219,8 +1219,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1219
1219
|
"ids",
|
|
1220
1220
|
"showEditBtn"
|
|
1221
1221
|
],
|
|
1222
|
-
setup(
|
|
1223
|
-
let
|
|
1222
|
+
setup(t) {
|
|
1223
|
+
let n = t, r = y([]), l = y(0), f = a(() => r.value[l.value]?.title || ""), g = a(() => r.value[l.value]?.warnInfo || ""), S = y(!1), w = a(() => n.showEditBtn != null && n.showEditBtn !== !1), T = y([]), E = y("交通气象服务材料"), D = y(""), O = y(""), k = y(!1), A = y(!1), j = y(""), M = y(null), N = null, P = a(() => D.value.split("/").pop() || `${E.value}.docx`), ee = (e) => e && (e.split("/").pop() || "").replace(/\.[^.]+$/, "") || "交通气象服务材料", te = (e) => !e || typeof e != "object" ? [] : Object.entries(e).map(([e, t]) => ({
|
|
1224
1224
|
label: e.includes(":") ? e : `${e}:`,
|
|
1225
1225
|
value: String(t)
|
|
1226
1226
|
})), F = () => {
|
|
@@ -1231,20 +1231,20 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1231
1231
|
F();
|
|
1232
1232
|
});
|
|
1233
1233
|
let ne = async () => {
|
|
1234
|
-
let
|
|
1235
|
-
if (!
|
|
1234
|
+
let t = n.ids?.baseData;
|
|
1235
|
+
if (!t?.id) {
|
|
1236
1236
|
console.warn("[YCServiceSummary] ids.baseData 未配置");
|
|
1237
1237
|
return;
|
|
1238
1238
|
}
|
|
1239
1239
|
try {
|
|
1240
|
-
let i = (await
|
|
1241
|
-
appKey:
|
|
1242
|
-
appSalt:
|
|
1243
|
-
id:
|
|
1240
|
+
let i = (await e({
|
|
1241
|
+
appKey: n.appKey,
|
|
1242
|
+
appSalt: n.appSalt,
|
|
1243
|
+
id: t.id,
|
|
1244
1244
|
variables: {},
|
|
1245
|
-
baseHttp:
|
|
1246
|
-
reqType:
|
|
1247
|
-
isFormData:
|
|
1245
|
+
baseHttp: n.baseHttp,
|
|
1246
|
+
reqType: t.reqType,
|
|
1247
|
+
isFormData: t.isFormData
|
|
1248
1248
|
}))?.data?.result?.output;
|
|
1249
1249
|
if (!Array.isArray(i) || i.length === 0) {
|
|
1250
1250
|
console.warn("[YCServiceSummary] baseData 返回为空");
|
|
@@ -1265,7 +1265,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1265
1265
|
_(() => {
|
|
1266
1266
|
ne();
|
|
1267
1267
|
});
|
|
1268
|
-
let re = (e) => e ? /^(https?:)?\/\//i.test(e) || e.startsWith("data:") || !
|
|
1268
|
+
let re = (e) => e ? /^(https?:)?\/\//i.test(e) || e.startsWith("data:") || !n.baseHttp ? e : n.baseHttp.replace(/\/$/, "") + (e.startsWith("/") ? e : `/${e}`) : "", ie = (e) => {
|
|
1269
1269
|
let t = (e || "docx").toLowerCase();
|
|
1270
1270
|
return [
|
|
1271
1271
|
"xls",
|
|
@@ -1315,8 +1315,8 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1315
1315
|
A.value = !0, j.value = "";
|
|
1316
1316
|
try {
|
|
1317
1317
|
await ae();
|
|
1318
|
-
let
|
|
1319
|
-
if (!
|
|
1318
|
+
let t = window.DocsAPI;
|
|
1319
|
+
if (!t?.DocEditor) {
|
|
1320
1320
|
j.value = "OnlyOffice API 不可用,请检查服务地址和代理";
|
|
1321
1321
|
return;
|
|
1322
1322
|
}
|
|
@@ -1362,12 +1362,12 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
},
|
|
1364
1364
|
editorConfig: {
|
|
1365
|
-
callbackUrl:
|
|
1365
|
+
callbackUrl: n.onlyofficeCallbackUrl,
|
|
1366
1366
|
mode: "edit",
|
|
1367
1367
|
lang: "zh-CN",
|
|
1368
1368
|
user: {
|
|
1369
|
-
id:
|
|
1370
|
-
name:
|
|
1369
|
+
id: n.username || "user1",
|
|
1370
|
+
name: n.username || "User"
|
|
1371
1371
|
},
|
|
1372
1372
|
customization: {
|
|
1373
1373
|
forcesave: !0,
|
|
@@ -1420,7 +1420,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1420
1420
|
};
|
|
1421
1421
|
console.warn("key", s.document.key);
|
|
1422
1422
|
try {
|
|
1423
|
-
N = new
|
|
1423
|
+
N = new t.DocEditor(a, s);
|
|
1424
1424
|
} catch (e) {
|
|
1425
1425
|
console.error("[YCServiceSummary] new DocEditor 抛出异常:", e), j.value = "OnlyOffice 编辑器创建失败";
|
|
1426
1426
|
}
|
|
@@ -1450,57 +1450,57 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1450
1450
|
}, z = (e) => {
|
|
1451
1451
|
e === "edit" && oe(), e === "download" && R();
|
|
1452
1452
|
};
|
|
1453
|
-
return (e,
|
|
1453
|
+
return (e, t) => (v(), s("div", { class: h(["YCServiceSummary", { "is-dark": S.value }]) }, [
|
|
1454
1454
|
c("div", we, [c("button", {
|
|
1455
1455
|
class: h(["YCServiceSummary-themeBtn", { "is-active": !S.value }]),
|
|
1456
|
-
onClick:
|
|
1456
|
+
onClick: t[0] ||= (e) => S.value = !1,
|
|
1457
1457
|
title: "浅色"
|
|
1458
|
-
}, [...
|
|
1458
|
+
}, [...t[4] ||= [c("svg", {
|
|
1459
1459
|
viewBox: "0 0 24 24",
|
|
1460
1460
|
width: "12",
|
|
1461
1461
|
height: "12",
|
|
1462
1462
|
fill: "currentColor"
|
|
1463
1463
|
}, [c("path", { d: "M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V22h-2v5.45zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z" })], -1), u(" 浅色 ", -1)]], 2), c("button", {
|
|
1464
1464
|
class: h(["YCServiceSummary-themeBtn", { "is-active": S.value }]),
|
|
1465
|
-
onClick:
|
|
1465
|
+
onClick: t[1] ||= (e) => S.value = !0,
|
|
1466
1466
|
title: "深色"
|
|
1467
|
-
}, [...
|
|
1467
|
+
}, [...t[5] ||= [c("svg", {
|
|
1468
1468
|
viewBox: "0 0 24 24",
|
|
1469
1469
|
width: "12",
|
|
1470
1470
|
height: "12",
|
|
1471
1471
|
fill: "currentColor"
|
|
1472
1472
|
}, [c("path", { d: "M9 2c-1.05 0-2.05.16-3 .46 1.69 1.2 2.86 3.06 2.86 5.21 0 3.58-2.9 6.48-6.48 6.48-.63 0-1.25-.09-1.83-.26.52 2.64 2.28 4.85 4.59 5.93C7.21 21.22 9.46 22 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2c-1 0-1.97.15-2.89.42C8.43 2.15 8.73 2 9 2z" })], -1), u(" 深色 ", -1)]], 2)]),
|
|
1473
1473
|
c("div", Te, [
|
|
1474
|
-
c("div", Ee, [
|
|
1474
|
+
c("div", Ee, [t[7] ||= c("div", { class: "YCServiceSummary-statPanel-title" }, "宜春气象服务", -1), c("div", De, [(v(!0), s(i, null, b(r.value, (e, n) => (v(), s("div", {
|
|
1475
1475
|
key: e.title,
|
|
1476
|
-
class: h(["YCServiceSummary-statCard", { "is-active": l.value ===
|
|
1477
|
-
onClick: (e) => l.value =
|
|
1478
|
-
}, [c("div", ke, [
|
|
1476
|
+
class: h(["YCServiceSummary-statCard", { "is-active": l.value === n }]),
|
|
1477
|
+
onClick: (e) => l.value = n
|
|
1478
|
+
}, [c("div", ke, [t[6] ||= c("span", { class: "dot" }, null, -1), u(" " + x(e.title), 1)]), c("div", Ae, [(v(!0), s(i, null, b(e.rows, (e) => (v(), s("div", {
|
|
1479
1479
|
key: e.label,
|
|
1480
1480
|
class: "row"
|
|
1481
1481
|
}, [c("span", null, x(e.label), 1), c("span", je, x(e.value), 1)]))), 128))])], 10, Oe))), 128))])]),
|
|
1482
1482
|
c("div", Me, [
|
|
1483
|
-
c("div", Ne, [c("div", Pe, [
|
|
1484
|
-
|
|
1483
|
+
c("div", Ne, [c("div", Pe, [t[8] ||= c("span", { class: "icon" }, null, -1), u(" " + x(f.value) + " AI 分析 ", 1)])]),
|
|
1484
|
+
t[17] ||= c("div", { class: "YCServiceSummary-aiPanel-warningTitle" }, "预警信号", -1),
|
|
1485
1485
|
c("div", Fe, x(g.value), 1),
|
|
1486
|
-
f.value === "公路气象服务" ? (v(), s("div", Ie, [c("div", Le, [
|
|
1487
|
-
f.value === "地质灾害风险分析服务" ? (v(), s("div", ze, [c("div", Be, [
|
|
1488
|
-
f.value === "水库灾害风险分析服务" ? (v(), s("div", He, [c("div", Ue, [
|
|
1489
|
-
f.value === "锂电矿区气象服务" ? (v(), s("div", Ge, [c("div", Ke, [
|
|
1486
|
+
f.value === "公路气象服务" ? (v(), s("div", Ie, [c("div", Le, [t[9] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "高速公路实况状态", -1), d(V, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", Re, [t[10] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "高速公路预报状态", -1), d(ce, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
|
|
1487
|
+
f.value === "地质灾害风险分析服务" ? (v(), s("div", ze, [c("div", Be, [t[11] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "地质灾害实况报警", -1), d(fe, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", Ve, [t[12] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "地质灾害预报报警", -1), d(me, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
|
|
1488
|
+
f.value === "水库灾害风险分析服务" ? (v(), s("div", He, [c("div", Ue, [t[13] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "水库灾害实况报警", -1), d(_e, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", We, [t[14] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "水库灾害预报报警", -1), d(Z, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
|
|
1489
|
+
f.value === "锂电矿区气象服务" ? (v(), s("div", Ge, [c("div", Ke, [t[15] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "锂电矿区实况预警", -1), d(ye, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", qe, [t[16] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "锂电矿区预报报警", -1), d(Ce, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0)
|
|
1490
1490
|
]),
|
|
1491
1491
|
c("div", Je, [c("div", Ye, [c("span", Xe, x(E.value), 1), c("div", Ze, [w.value ? (v(), s("button", {
|
|
1492
1492
|
key: 0,
|
|
1493
1493
|
class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--edit",
|
|
1494
|
-
onClick:
|
|
1495
|
-
}, [...
|
|
1494
|
+
onClick: t[2] ||= (e) => z("edit")
|
|
1495
|
+
}, [...t[18] ||= [c("svg", {
|
|
1496
1496
|
viewBox: "0 0 24 24",
|
|
1497
1497
|
width: "12",
|
|
1498
1498
|
height: "12",
|
|
1499
1499
|
fill: "currentColor"
|
|
1500
1500
|
}, [c("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })], -1), u(" 编辑 ", -1)]])) : o("", !0), c("button", {
|
|
1501
1501
|
class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--download",
|
|
1502
|
-
onClick:
|
|
1503
|
-
}, [...
|
|
1502
|
+
onClick: t[3] ||= (e) => z("download")
|
|
1503
|
+
}, [...t[19] ||= [c("svg", {
|
|
1504
1504
|
viewBox: "0 0 24 24",
|
|
1505
1505
|
width: "12",
|
|
1506
1506
|
height: "12",
|
|
@@ -1512,11 +1512,11 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1512
1512
|
alt: E.value
|
|
1513
1513
|
}, null, 8, $e))), 128))])])
|
|
1514
1514
|
]),
|
|
1515
|
-
c("div", et, [d(L, p(
|
|
1515
|
+
c("div", et, [d(L, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]),
|
|
1516
1516
|
k.value ? (v(), s("div", tt, [c("div", nt, [c("div", rt, [c("span", it, x(P.value), 1), c("div", { class: "YCServiceSummary-editorDialog-actions" }, [c("button", {
|
|
1517
1517
|
class: "YCServiceSummary-editorDialog-btn",
|
|
1518
1518
|
onClick: R
|
|
1519
|
-
}, [...
|
|
1519
|
+
}, [...t[20] ||= [c("svg", {
|
|
1520
1520
|
viewBox: "0 0 24 24",
|
|
1521
1521
|
width: "12",
|
|
1522
1522
|
height: "12",
|
|
@@ -1525,7 +1525,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1525
1525
|
class: "YCServiceSummary-editorDialog-close",
|
|
1526
1526
|
title: "关闭",
|
|
1527
1527
|
onClick: se
|
|
1528
|
-
}, [...
|
|
1528
|
+
}, [...t[21] ||= [c("svg", {
|
|
1529
1529
|
viewBox: "0 0 24 24",
|
|
1530
1530
|
width: "14",
|
|
1531
1531
|
height: "14",
|
|
@@ -1536,7 +1536,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1536
1536
|
ref: M,
|
|
1537
1537
|
class: "YCServiceSummary-editorDialog-container"
|
|
1538
1538
|
}, null, 512),
|
|
1539
|
-
A.value ? (v(), s("div", ot, [...
|
|
1539
|
+
A.value ? (v(), s("div", ot, [...t[22] ||= [c("span", { class: "YCServiceSummary-editorDialog-spinner" }, null, -1), c("span", null, "正在加载文档编辑器...", -1)]])) : o("", !0),
|
|
1540
1540
|
j.value ? (v(), s("div", st, [c("span", ct, x(j.value), 1), c("button", {
|
|
1541
1541
|
class: "YCServiceSummary-editorDialog-retryBtn",
|
|
1542
1542
|
onClick: I
|