nxd-plugin 1.7.69 → 1.7.71
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-YCDataMonitor-BGlcRDb4.mjs +326 -0
- package/dist/chunks/component-YCDataService-8077kO8a.mjs +399 -0
- package/dist/nxd-plugin.mjs +7 -7
- package/dist/src/components/YCDataService/YCDataService.vue.d.ts +66 -1
- package/dist/src/index.d.ts +1 -3
- package/dist/styles/component-YCDataMonitor.css +1 -0
- package/dist/styles/component-YCDataService.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-YCDataService-CH46V7Oz.mjs +0 -715
- /package/dist/chunks/{component-ChartCumulativePre-B-8gpBKH.mjs → component-ChartCumulativePre-CqnTrs3A.mjs} +0 -0
- /package/dist/chunks/{component-ChartServiceMaterial-BJmsK4Yo.mjs → component-ChartServiceMaterial-DN-uO_OP.mjs} +0 -0
- /package/dist/chunks/{component-YCHomeLegend-Yq4pVH01.mjs → component-YCHomeLegend-CsgZ7ayU.mjs} +0 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
|
|
2
|
+
import { ElInput as n, ElLoadingDirective as r } from "element-plus/es";
|
|
3
|
+
import { Fragment as i, Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, onBeforeUnmount as ee, onMounted as te, openBlock as h, ref as g, renderList as _, toDisplayString as v, withDirectives as y, withModifiers as ne } from "vue";
|
|
4
|
+
import { ElMessage as re } from "element-plus";
|
|
5
|
+
import "element-plus/es/components/input/style/css";
|
|
6
|
+
import "element-plus/es/components/message/style/css";
|
|
7
|
+
//#region src/components/YCDataMonitor/YCDataMonitor.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var ie = {
|
|
9
|
+
class: "YCDataMonitor",
|
|
10
|
+
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
11
|
+
}, ae = { class: "YCDataMonitor-summary" }, oe = { class: "summary-table" }, se = { class: "summary-head" }, ce = ["onClick"], le = { class: "summary-body" }, ue = { class: "summary-row" }, de = { class: "summary-row" }, fe = { class: "summary-row" }, pe = { class: "summary-row" }, me = { class: "YCDataMonitor-toolbar" }, he = { class: "filter-group" }, ge = { class: "YCDataMonitor-detail" }, _e = { class: "detail-table" }, ve = { class: "detail-head" }, b = ["onClick"], x = { class: "detail-body" }, S = { class: "detail-cell detail-cell-index" }, C = { class: "detail-cell detail-cell-action" }, w = ["onClick"], T = { class: "dialog-box" }, E = { class: "dialog-header" }, D = { class: "dialog-title" }, O = { class: "dialog-body" }, k = { class: "info-grid" }, A = { class: "info-row-inline" }, j = { class: "info-item" }, M = { class: "info-value" }, N = { class: "info-item" }, P = { class: "info-value" }, F = { class: "info-item" }, ye = { class: "info-value" }, be = { class: "info-item info-item-full" }, xe = { class: "info-header" }, Se = { class: "info-value" }, Ce = { class: "info-missing" }, we = { class: "missing-list" }, Te = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "missing-empty"
|
|
14
|
+
}, Ee = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "info-action"
|
|
17
|
+
}, De = { class: "info-item info-item-full" }, Oe = { class: "info-header" }, ke = { class: "info-value" }, I = { class: "info-missing" }, Ae = { class: "missing-list" }, je = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "missing-empty"
|
|
20
|
+
}, Me = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "info-action"
|
|
23
|
+
}, Ne = { class: "info-item info-item-full" }, Pe = { class: "info-header" }, Fe = { class: "info-value" }, Ie = { class: "info-missing" }, Le = { class: "missing-list" }, Re = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "missing-empty"
|
|
26
|
+
}, ze = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "info-action"
|
|
29
|
+
}, Be = { class: "info-item info-item-full" }, Ve = { class: "info-header" }, He = { class: "info-value" }, Ue = { class: "info-missing" }, We = { class: "missing-list" }, Ge = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "missing-empty"
|
|
32
|
+
}, Ke = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "info-action"
|
|
35
|
+
}, L = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
36
|
+
__name: "YCDataMonitor",
|
|
37
|
+
props: {
|
|
38
|
+
appKey: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: ""
|
|
41
|
+
},
|
|
42
|
+
appSalt: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: ""
|
|
45
|
+
},
|
|
46
|
+
baseHttp: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: ""
|
|
49
|
+
},
|
|
50
|
+
ids: {
|
|
51
|
+
type: Object,
|
|
52
|
+
default: () => ({})
|
|
53
|
+
},
|
|
54
|
+
date: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: ""
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
setup(e, { expose: p }) {
|
|
60
|
+
let L = e, R = g(!1), z = g([]), B = g([]), V = [
|
|
61
|
+
{
|
|
62
|
+
key: "cnty",
|
|
63
|
+
label: "县名",
|
|
64
|
+
sortable: !1
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
key: "stationName",
|
|
68
|
+
label: "站名",
|
|
69
|
+
sortable: !1
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
key: "stationId",
|
|
73
|
+
label: "站号",
|
|
74
|
+
sortable: !0
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: "minuteWeather",
|
|
78
|
+
label: "分钟天气数据统计(实际/预期)",
|
|
79
|
+
sortable: !1
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
key: "minutePrecipitation",
|
|
83
|
+
label: "分钟降水数据统计(实际/预期)",
|
|
84
|
+
sortable: !1
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
key: "hourly",
|
|
88
|
+
label: "小时数据统计(实际/预期)",
|
|
89
|
+
sortable: !1
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
key: "daily",
|
|
93
|
+
label: "日数据统计(实际/预期)",
|
|
94
|
+
sortable: !1
|
|
95
|
+
}
|
|
96
|
+
], qe = [
|
|
97
|
+
{
|
|
98
|
+
key: "index",
|
|
99
|
+
label: "序号",
|
|
100
|
+
sortable: !1
|
|
101
|
+
},
|
|
102
|
+
...V,
|
|
103
|
+
{
|
|
104
|
+
key: "action",
|
|
105
|
+
label: "操作",
|
|
106
|
+
sortable: !1
|
|
107
|
+
}
|
|
108
|
+
], H = g(null), U = g(!0), W = g(""), G = g(""), K = g(null), q = g(null), Je = o(() => {
|
|
109
|
+
let e = B.value;
|
|
110
|
+
U.value || (e = e.filter((e) => e.cnty === "袁州区"));
|
|
111
|
+
let t = W.value.trim();
|
|
112
|
+
t && (e = e.filter((e) => e.cnty.includes(t)));
|
|
113
|
+
let n = G.value.trim();
|
|
114
|
+
return n && (e = e.filter((e) => e.stationName.includes(n))), e;
|
|
115
|
+
}), Ye = o(() => {
|
|
116
|
+
let e = [...Je.value];
|
|
117
|
+
if (!K.value || !q.value) return e;
|
|
118
|
+
let t = K.value;
|
|
119
|
+
return e.sort((e, n) => {
|
|
120
|
+
let r = e[t], i = n[t], a = r === null || r === "" || r === void 0, o = i === null || i === "" || i === void 0;
|
|
121
|
+
if (a && o) return 0;
|
|
122
|
+
if (a) return 1;
|
|
123
|
+
if (o) return -1;
|
|
124
|
+
let s = J(String(r)), c = J(String(i));
|
|
125
|
+
return q.value === "asc" ? s - c : c - s;
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
te(() => {
|
|
129
|
+
$(), H.value = setInterval(() => {
|
|
130
|
+
$();
|
|
131
|
+
}, 1e3 * 60 * 10);
|
|
132
|
+
}), ee(() => {
|
|
133
|
+
clearInterval(H.value), H.value = null;
|
|
134
|
+
});
|
|
135
|
+
let J = (e) => {
|
|
136
|
+
let t = e.match(/^(-?\d+(?:\.\d+)?)/);
|
|
137
|
+
return t ? Number(t[1]) : Number(e) || 0;
|
|
138
|
+
}, Xe = (e) => {
|
|
139
|
+
K.value === e ? q.value === "desc" ? q.value = "asc" : q.value === "asc" ? (K.value = null, q.value = null) : q.value = "desc" : (K.value = e, q.value = "desc");
|
|
140
|
+
}, Y = g(!1), X = g({}), Z = (e) => {
|
|
141
|
+
X.value = { ...e }, Y.value = !0;
|
|
142
|
+
}, Q = async (e) => {
|
|
143
|
+
let n = JSON.parse(JSON.stringify(X.value));
|
|
144
|
+
R.value = !0;
|
|
145
|
+
let r = await t({
|
|
146
|
+
appKey: L.appKey,
|
|
147
|
+
appSalt: L.appSalt,
|
|
148
|
+
id: L.ids.YCDataMonitor_getUrl.id,
|
|
149
|
+
variables: {
|
|
150
|
+
dataType: e,
|
|
151
|
+
stationIds: n.stationId,
|
|
152
|
+
missingTimes: n[e].missingTimes.toString()
|
|
153
|
+
},
|
|
154
|
+
baseHttp: L.baseHttp,
|
|
155
|
+
reqType: L.ids.YCDataMonitor_getUrl.reqType,
|
|
156
|
+
isFormData: L.ids.YCDataMonitor_getUrl.isFormData
|
|
157
|
+
}), i = JSON.parse(r.data.result.output || "{}"), a = await t({
|
|
158
|
+
appKey: L.appKey,
|
|
159
|
+
appSalt: L.appSalt,
|
|
160
|
+
id: L.ids.YCDataMonitor_toQuery.id,
|
|
161
|
+
variables: {
|
|
162
|
+
dataType: e,
|
|
163
|
+
urls: i.data.urls.toString()
|
|
164
|
+
},
|
|
165
|
+
baseHttp: L.baseHttp,
|
|
166
|
+
reqType: L.ids.YCDataMonitor_toQuery.reqType,
|
|
167
|
+
isFormData: L.ids.YCDataMonitor_toQuery.isFormData
|
|
168
|
+
}), o = JSON.parse(a.data.result.output || "{}");
|
|
169
|
+
re({
|
|
170
|
+
message: `当前补录共${n[e].missingTimes.length}条数据,成功${o.data.insertedRecords || 0}条数据`,
|
|
171
|
+
type: "success",
|
|
172
|
+
zIndex: 6e3
|
|
173
|
+
}), R.value = !1, Y.value = !1, $();
|
|
174
|
+
}, $ = async () => {
|
|
175
|
+
console.log("查询日期", L.date), R.value = !0, z.value = [], B.value = [];
|
|
176
|
+
let e = await t({
|
|
177
|
+
appKey: L.appKey,
|
|
178
|
+
appSalt: L.appSalt,
|
|
179
|
+
id: L.ids.YCDataMonitor_data.id,
|
|
180
|
+
variables: { date: L.date },
|
|
181
|
+
baseHttp: L.baseHttp,
|
|
182
|
+
reqType: L.ids.YCDataMonitor_data.reqType,
|
|
183
|
+
isFormData: L.ids.YCDataMonitor_data.isFormData
|
|
184
|
+
});
|
|
185
|
+
R.value = !1;
|
|
186
|
+
let n = JSON.parse(e.data.result.output || "{}").data || {};
|
|
187
|
+
console.log("list", n), z.value = n.nationalStations || [], B.value = n.regionalStations || [];
|
|
188
|
+
};
|
|
189
|
+
return p({ handleSearch: $ }), (e, t) => {
|
|
190
|
+
let o = n, p = r;
|
|
191
|
+
return y((h(), l("div", ie, [
|
|
192
|
+
u("div", ae, [u("div", oe, [u("div", se, [t[9] ||= u("div", { class: "summary-cell summary-cell-label" }, "监测要素", -1), (h(!0), l(i, null, _(z.value, (e) => (h(), l("div", {
|
|
193
|
+
class: "summary-cell",
|
|
194
|
+
key: e.stationId
|
|
195
|
+
}, [d(v(e.stationName) + " ", 1), u("button", {
|
|
196
|
+
class: "view-btn",
|
|
197
|
+
onClick: (t) => Z(e)
|
|
198
|
+
}, "查看", 8, ce)]))), 128))]), u("div", le, [
|
|
199
|
+
u("div", ue, [t[10] ||= u("div", { class: "summary-cell summary-cell-label" }, "分钟天气数据统计(实际/预期)", -1), (h(!0), l(i, null, _(z.value, (e) => (h(), l("div", {
|
|
200
|
+
class: "summary-cell",
|
|
201
|
+
key: e.stationId
|
|
202
|
+
}, v(e.minuteWeather?.actualCount ?? "-") + " /" + v(e.minuteWeather?.expectedCount ?? "-"), 1))), 128))]),
|
|
203
|
+
u("div", de, [t[11] ||= u("div", { class: "summary-cell summary-cell-label" }, "分钟降水数据统计(实际/预期)", -1), (h(!0), l(i, null, _(z.value, (e) => (h(), l("div", {
|
|
204
|
+
class: "summary-cell",
|
|
205
|
+
key: e.stationId
|
|
206
|
+
}, v(e.minutePrecipitation?.actualCount ?? "-") + " /" + v(e.minutePrecipitation?.expectedCount ?? "-"), 1))), 128))]),
|
|
207
|
+
u("div", fe, [t[12] ||= u("div", { class: "summary-cell summary-cell-label" }, "小时数据统计(实际/预期)", -1), (h(!0), l(i, null, _(z.value, (e) => (h(), l("div", {
|
|
208
|
+
class: "summary-cell",
|
|
209
|
+
key: e.stationId
|
|
210
|
+
}, v(e.hourly?.actualCount ?? "-") + " /" + v(e.hourly?.expectedCount ?? "-"), 1))), 128))]),
|
|
211
|
+
u("div", pe, [t[13] ||= u("div", { class: "summary-cell summary-cell-label" }, "日数据统计(实际/预期)", -1), (h(!0), l(i, null, _(z.value, (e) => (h(), l("div", {
|
|
212
|
+
class: "summary-cell",
|
|
213
|
+
key: e.stationId
|
|
214
|
+
}, v(e.daily?.actualCount ?? "-") + " /" + v(e.daily?.expectedCount ?? "-"), 1))), 128))])
|
|
215
|
+
])])]),
|
|
216
|
+
u("div", me, [u("div", he, [
|
|
217
|
+
u("button", {
|
|
218
|
+
class: m(["city-btn", { active: U.value }]),
|
|
219
|
+
onClick: t[0] ||= (e) => U.value = !U.value
|
|
220
|
+
}, "全市", 2),
|
|
221
|
+
f(o, {
|
|
222
|
+
modelValue: W.value,
|
|
223
|
+
"onUpdate:modelValue": t[1] ||= (e) => W.value = e,
|
|
224
|
+
placeholder: "县名搜索",
|
|
225
|
+
clearable: "",
|
|
226
|
+
class: "filter-input"
|
|
227
|
+
}, null, 8, ["modelValue"]),
|
|
228
|
+
f(o, {
|
|
229
|
+
modelValue: G.value,
|
|
230
|
+
"onUpdate:modelValue": t[2] ||= (e) => G.value = e,
|
|
231
|
+
placeholder: "站名搜索",
|
|
232
|
+
clearable: "",
|
|
233
|
+
class: "filter-input"
|
|
234
|
+
}, null, 8, ["modelValue"])
|
|
235
|
+
])]),
|
|
236
|
+
u("div", ge, [u("div", _e, [u("div", ve, [(h(), l(i, null, _(qe, (e) => u("div", {
|
|
237
|
+
class: m(["detail-cell", {
|
|
238
|
+
"is-sortable": e.sortable,
|
|
239
|
+
"is-active": K.value === e.key,
|
|
240
|
+
"detail-cell-index": e.key === "index",
|
|
241
|
+
"detail-cell-action": e.key === "action"
|
|
242
|
+
}]),
|
|
243
|
+
key: e.key,
|
|
244
|
+
onClick: (t) => e.sortable && Xe(e.key)
|
|
245
|
+
}, [d(v(e.label) + " ", 1), e.sortable ? (h(), l("span", {
|
|
246
|
+
key: 0,
|
|
247
|
+
class: m(["sort-icon", K.value === e.key ? q.value : ""])
|
|
248
|
+
}, null, 2)) : c("", !0)], 10, b)), 64))]), u("div", x, [(h(!0), l(i, null, _(Ye.value, (e, t) => (h(), l("div", {
|
|
249
|
+
class: "detail-row",
|
|
250
|
+
key: e.stationId
|
|
251
|
+
}, [
|
|
252
|
+
u("div", S, v(t + 1), 1),
|
|
253
|
+
(h(), l(i, null, _(V, (t) => u("div", {
|
|
254
|
+
class: "detail-cell",
|
|
255
|
+
key: t.key
|
|
256
|
+
}, [t.key === "minuteWeather" ? (h(), l(i, { key: 0 }, [d(v(e.minuteWeather?.actualCount ?? "-") + "/" + v(e.minuteWeather?.expectedCount ?? "-"), 1)], 64)) : t.key === "minutePrecipitation" ? (h(), l(i, { key: 1 }, [d(v(e.minutePrecipitation?.actualCount ?? "-") + "/" + v(e.minutePrecipitation?.expectedCount ?? "-"), 1)], 64)) : t.key === "hourly" ? (h(), l(i, { key: 2 }, [d(v(e.hourly?.actualCount ?? "-") + "/" + v(e.hourly?.expectedCount ?? "-"), 1)], 64)) : t.key === "daily" ? (h(), l(i, { key: 3 }, [d(v(e.daily?.actualCount ?? "-") + "/" + v(e.daily?.expectedCount ?? "-"), 1)], 64)) : (h(), l(i, { key: 4 }, [d(v(e[t.key]), 1)], 64))])), 64)),
|
|
257
|
+
u("div", C, [u("button", {
|
|
258
|
+
class: "view-btn",
|
|
259
|
+
onClick: (t) => Z(e)
|
|
260
|
+
}, "查看", 8, w)])
|
|
261
|
+
]))), 128))])])]),
|
|
262
|
+
(h(), s(a, { to: "body" }, [Y.value ? y((h(), l("div", {
|
|
263
|
+
key: 0,
|
|
264
|
+
class: "dialog-overlay",
|
|
265
|
+
onClick: t[8] ||= ne((e) => Y.value = !1, ["self"]),
|
|
266
|
+
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
267
|
+
}, [u("div", T, [u("div", E, [u("span", D, "站点详情 - " + v(X.value.stationName), 1), u("button", {
|
|
268
|
+
class: "dialog-close",
|
|
269
|
+
onClick: t[3] ||= (e) => Y.value = !1
|
|
270
|
+
}, "×")]), u("div", O, [u("div", k, [
|
|
271
|
+
u("div", A, [
|
|
272
|
+
u("div", j, [t[14] ||= u("div", { class: "info-label" }, "县名:", -1), u("div", M, v(X.value.cnty || "-"), 1)]),
|
|
273
|
+
u("div", N, [t[15] ||= u("div", { class: "info-label" }, "站名:", -1), u("div", P, v(X.value.stationName || "-"), 1)]),
|
|
274
|
+
u("div", F, [t[16] ||= u("div", { class: "info-label" }, "站号:", -1), u("div", ye, v(X.value.stationId || "-"), 1)])
|
|
275
|
+
]),
|
|
276
|
+
u("div", be, [
|
|
277
|
+
u("div", xe, [t[17] ||= u("div", { class: "info-title" }, "分钟天气数据统计(实际/预期):", -1), u("div", Se, v(X.value.minuteWeather?.actualCount ?? "-") + "/" + v(X.value.minuteWeather?.expectedCount ?? "-"), 1)]),
|
|
278
|
+
u("div", Ce, [t[18] ||= u("div", { class: "missing-label" }, "缺失日期:", -1), u("div", we, [(h(!0), l(i, null, _(X.value.minuteWeather?.missingTimes || [], (e, t) => (h(), l("span", {
|
|
279
|
+
class: "missing-tag",
|
|
280
|
+
key: t
|
|
281
|
+
}, v(e), 1))), 128)), X.value.minuteWeather?.missingTimes?.length ? c("", !0) : (h(), l("span", Te, "-"))])]),
|
|
282
|
+
X.value.minuteWeather?.missingTimes?.length ? (h(), l("div", Ee, [u("button", {
|
|
283
|
+
class: "dialog-btn dialog-btn-small",
|
|
284
|
+
onClick: t[4] ||= (e) => Q("minuteWeather")
|
|
285
|
+
}, "补录")])) : c("", !0)
|
|
286
|
+
]),
|
|
287
|
+
u("div", De, [
|
|
288
|
+
u("div", Oe, [t[19] ||= u("div", { class: "info-title" }, "分钟降水数据统计(实际/预期):", -1), u("div", ke, v(X.value.minutePrecipitation?.actualCount ?? "-") + "/" + v(X.value.minutePrecipitation?.expectedCount ?? "-"), 1)]),
|
|
289
|
+
u("div", I, [t[20] ||= u("div", { class: "missing-label" }, "缺失日期:", -1), u("div", Ae, [(h(!0), l(i, null, _(X.value.minutePrecipitation?.missingTimes || [], (e, t) => (h(), l("span", {
|
|
290
|
+
class: "missing-tag",
|
|
291
|
+
key: t
|
|
292
|
+
}, v(e), 1))), 128)), X.value.minutePrecipitation?.missingTimes?.length ? c("", !0) : (h(), l("span", je, "-"))])]),
|
|
293
|
+
X.value.minutePrecipitation?.missingTimes?.length ? (h(), l("div", Me, [u("button", {
|
|
294
|
+
class: "dialog-btn dialog-btn-small",
|
|
295
|
+
onClick: t[5] ||= (e) => Q("minutePrecipitation")
|
|
296
|
+
}, "补录 ")])) : c("", !0)
|
|
297
|
+
]),
|
|
298
|
+
u("div", Ne, [
|
|
299
|
+
u("div", Pe, [t[21] ||= u("div", { class: "info-title" }, "小时数据统计(实际/预期):", -1), u("div", Fe, v(X.value.hourly?.actualCount ?? "-") + "/" + v(X.value.hourly?.expectedCount ?? "-"), 1)]),
|
|
300
|
+
u("div", Ie, [t[22] ||= u("div", { class: "missing-label" }, "缺失日期:", -1), u("div", Le, [(h(!0), l(i, null, _(X.value.hourly?.missingTimes || [], (e, t) => (h(), l("span", {
|
|
301
|
+
class: "missing-tag",
|
|
302
|
+
key: t
|
|
303
|
+
}, v(e), 1))), 128)), X.value.hourly?.missingTimes?.length ? c("", !0) : (h(), l("span", Re, "-"))])]),
|
|
304
|
+
X.value.hourly?.missingTimes?.length ? (h(), l("div", ze, [u("button", {
|
|
305
|
+
class: "dialog-btn dialog-btn-small",
|
|
306
|
+
onClick: t[6] ||= (e) => Q("hourly")
|
|
307
|
+
}, "补录")])) : c("", !0)
|
|
308
|
+
]),
|
|
309
|
+
u("div", Be, [
|
|
310
|
+
u("div", Ve, [t[23] ||= u("div", { class: "info-title" }, "日数据统计(实际/预期):", -1), u("div", He, v(X.value.daily?.actualCount ?? "-") + "/" + v(X.value.daily?.expectedCount ?? "-"), 1)]),
|
|
311
|
+
u("div", Ue, [t[24] ||= u("div", { class: "missing-label" }, "缺失日期:", -1), u("div", We, [(h(!0), l(i, null, _(X.value.daily?.missingTimes || [], (e, t) => (h(), l("span", {
|
|
312
|
+
class: "missing-tag",
|
|
313
|
+
key: t
|
|
314
|
+
}, v(e), 1))), 128)), X.value.daily?.missingTimes?.length ? c("", !0) : (h(), l("span", Ge, "-"))])]),
|
|
315
|
+
X.value.daily?.missingTimes?.length ? (h(), l("div", Ke, [u("button", {
|
|
316
|
+
class: "dialog-btn dialog-btn-small",
|
|
317
|
+
onClick: t[7] ||= (e) => Q("daily")
|
|
318
|
+
}, "补录")])) : c("", !0)
|
|
319
|
+
])
|
|
320
|
+
])])])])), [[p, R.value]]) : c("", !0)]))
|
|
321
|
+
])), [[p, R.value]]);
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
}), [["__scopeId", "data-v-c179647d"]]);
|
|
325
|
+
//#endregion
|
|
326
|
+
export { L as t };
|