nxd-plugin 1.7.74 → 1.7.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/assets/dataJson/AiChatMock.json.d.ts +345 -0
  2. package/dist/assets/dataJson/HighQualityConfig.json.d.ts +8 -6
  3. package/dist/chunks/component-AiChat-DvOiS6XW.mjs +26690 -0
  4. package/dist/chunks/component-AqiMonitor-xtkg3YYL.mjs +138 -0
  5. package/dist/chunks/{component-ChartCumulativePre-C0GUFXEa.mjs → component-ChartCumulativePre-CrIsXxUC.mjs} +7 -6
  6. package/dist/chunks/{component-ChartServiceMaterial-CNGZyHfu.mjs → component-ChartServiceMaterial-CH2JRmXk.mjs} +6 -5
  7. package/dist/chunks/{component-Duty-8taqj71c.mjs → component-Duty-Btcizjpy.mjs} +6 -5
  8. package/dist/chunks/{component-EarlyWarningStatistic-CXzvMFSw.mjs → component-EarlyWarningStatistic-iiIJr86a.mjs} +6 -5
  9. package/dist/chunks/{component-GeologyLiveAlarm-C6uBCDIM.mjs → component-GeologyLiveAlarm-BDKH6_3N.mjs} +7 -6
  10. package/dist/chunks/component-HighQuality-YqVCokC1.mjs +1175 -0
  11. package/dist/chunks/{component-HighWayEarlyWarningRed-VCLYuCBe.mjs → component-HighWayEarlyWarningRed-UpU-jUbO.mjs} +7 -6
  12. package/dist/chunks/{component-HighWayFreeze-B3F7d3lb.mjs → component-HighWayFreeze-DDt3yPAK.mjs} +8 -7
  13. package/dist/chunks/{component-HighwayLiveAlarm-CJdM4vx6.mjs → component-HighwayLiveAlarm-vaPU17Pr.mjs} +6 -5
  14. package/dist/chunks/{component-HighwayLiveAlarmNew-F1sJV5h6.mjs → component-HighwayLiveAlarmNew-CVFrU6SR.mjs} +10 -9
  15. package/dist/chunks/{component-HighwayStations-Bz6Zekf1.mjs → component-HighwayStations-Choq-MV8.mjs} +6 -5
  16. package/dist/chunks/{component-HighwayWeatherForecast-BvuVI9p6.mjs → component-HighwayWeatherForecast-CFnbV8Es.mjs} +6 -5
  17. package/dist/chunks/{component-IframeWeb-CqORkYhs.mjs → component-IframeWeb-GuGLuA4w.mjs} +1 -1
  18. package/dist/chunks/{component-ImageGeneration-DxvSAg0-.mjs → component-ImageGeneration-BMwWQhbf.mjs} +1 -1
  19. package/dist/chunks/{component-IntroducePic-CW0bRPyF.mjs → component-IntroducePic-D7aUONYj.mjs} +1 -1
  20. package/dist/chunks/{component-LithiumBatteryMiningArea-DRuCBQHX.mjs → component-LithiumBatteryMiningArea-BGAEr-4D.mjs} +12 -11
  21. package/dist/chunks/{component-MapPopup-5ov9bufN.mjs → component-MapPopup-CGpYPcYD.mjs} +1 -1
  22. package/dist/chunks/{component-MaterialPreview-BIrxdpHg.mjs → component-MaterialPreview-Z3_Z3x1C.mjs} +6 -5
  23. package/dist/chunks/{component-PieLegend-BrcbU4Hc.mjs → component-PieLegend-D2apgbNW.mjs} +1 -1
  24. package/dist/chunks/{component-RadarChart-BvRhuudc.mjs → component-RadarChart-D8eFzW4q.mjs} +10 -9
  25. package/dist/chunks/{component-RadarLegend-BQrNUHJu.mjs → component-RadarLegend-DAntSPne.mjs} +1 -1
  26. package/dist/chunks/{component-RadarShortTerm-DSqGlMQq.mjs → component-RadarShortTerm-LAv0PwHu.mjs} +13 -12
  27. package/dist/chunks/{component-RadarTime-DeA11c09.mjs → component-RadarTime-DqgZVM8j.mjs} +18 -17
  28. package/dist/chunks/{component-RenderMarkdown-BA6QDwis.mjs → component-RenderMarkdown-Bi1MnEOL.mjs} +6 -5
  29. package/dist/chunks/{component-ReservoirLiveAlarm-CwQGV2pX.mjs → component-ReservoirLiveAlarm-BalTtyVE.mjs} +8 -7
  30. package/dist/chunks/{component-ServiceMaterial-D4na59x3.mjs → component-ServiceMaterial-By9uSbYq.mjs} +9 -8
  31. package/dist/chunks/{component-ServiceMaterialsBtn-pvj67yYf.mjs → component-ServiceMaterialsBtn-9ES9CZQH.mjs} +1 -1
  32. package/dist/chunks/{component-TimeBasedForecast-JuvtROGA.mjs → component-TimeBasedForecast-DTdtBrV3.mjs} +10 -9
  33. package/dist/chunks/{component-WarningLine-Dcn_betl.mjs → component-WarningLine-2IP9h9JP.mjs} +2 -2
  34. package/dist/chunks/{component-WarningSignal-q50D47rs.mjs → component-WarningSignal-DMypm-jM.mjs} +17 -16
  35. package/dist/chunks/{component-WeatherForecast-ByBdU74M.mjs → component-WeatherForecast-BjnV3mxQ.mjs} +12 -11
  36. package/dist/chunks/{component-YCDataMonitor-DcWd4kcO.mjs → component-YCDataMonitor-LV6a6dpF.mjs} +17 -16
  37. package/dist/chunks/{component-YCDataService-mOrVZ4oo.mjs → component-YCDataService-B01UoeW1.mjs} +11 -10
  38. package/dist/chunks/{component-YCHome-C-UM-oMR.mjs → component-YCHome-BvC1CqzO.mjs} +35 -34
  39. package/dist/chunks/{component-YCHomeLegend-LI2zcDnx.mjs → component-YCHomeLegend-DFvcgNHr.mjs} +1 -1
  40. package/dist/chunks/{component-YCLoginNew-DSeX5cyy.mjs → component-YCLoginNew-CPTUpoF2.mjs} +16 -15
  41. package/dist/components/AiChat/AiChat.vue.d.ts +4 -3
  42. package/dist/components/AiChat/AiChatResponse.vue.d.ts +7 -2
  43. package/dist/components/AiChat/types.d.ts +39 -24
  44. package/dist/components/HighQuality/HighQuality.vue.d.ts +4 -0
  45. package/dist/nxd-plugin.mjs +39 -39
  46. package/dist/styles/component-AiChat.css +1 -1
  47. package/dist/styles/component-HighQuality.css +1 -1
  48. package/dist/styles/component-YCLoginNew.css +1 -1
  49. package/package.json +1 -1
  50. package/dist/chunks/component-AiChat-CQMg5jup.mjs +0 -47554
  51. package/dist/chunks/component-AqiMonitor-Bnnw0FMj.mjs +0 -5151
  52. package/dist/chunks/component-HighQuality-CCKtA_xe.mjs +0 -1087
@@ -1,1087 +0,0 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
- import { ElButton as n, ElCheckbox as r, ElDialog as i, ElEmpty as a, ElForm as o, ElFormItem as ee, ElIcon as te, ElInput as ne, ElSwitch as re, ElUpload as ie } from "element-plus/es";
3
- import { Fragment as s, Teleport as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, nextTick as ae, normalizeClass as oe, normalizeStyle as se, onMounted as _, onUnmounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as ce, watch as w, withCtx as T, withDirectives as le, withModifiers as ue } from "vue";
4
- import { Close as E, Plus as de } from "@element-plus/icons-vue";
5
- import * as fe from "echarts";
6
- import { ElMessage as D, ElMessageBox as pe } from "element-plus";
7
- //#endregion
8
- //#region src/assets/dataJson/HighQualityConfig.json
9
- var me = {
10
- name: "高质量发展123",
11
- lng: 120.20175986248839,
12
- lat: 35.881343354176586,
13
- openZoom: 9.5,
14
- maxZoom: 12,
15
- minZoom: 9,
16
- latlngArr: [
17
- {
18
- mapUrl: "http://58.59.29.51:11014/geoserver/gwc/service/wmts",
19
- type: "huangdao1:huangdaoweixing2",
20
- opacity: 1
21
- },
22
- {
23
- mapUrl: "http://58.59.29.51:11014/geoserver/gwc/service/wmts",
24
- type: "huangdao1:shandongshen",
25
- opacity: 1
26
- },
27
- {
28
- mapUrl: "http://192.168.3.222:8084/geoserver/gwc/service/wmts",
29
- type: "huangdao1:huangdaohangxian",
30
- visible: !0,
31
- opacity: 1
32
- },
33
- {
34
- mapUrl: "http://192.168.3.222:8084/geoserver/gwc/service/wmts",
35
- type: "huangdao1:daqiao",
36
- visible: !0,
37
- opacity: 1
38
- },
39
- {
40
- mapUrl: "http://192.168.3.222:8084/geoserver/gwc/service/wmts",
41
- type: "huangdao1:huangdaozhoubian",
42
- visible: !0,
43
- opacity: 1
44
- },
45
- {
46
- mapUrl: "http://192.168.3.222:8084/geoserver/gwc/service/wmts",
47
- type: "huangdaogongneng:haungdaogongneng1",
48
- visible: !0,
49
- opacity: 1
50
- }
51
- ]
52
- }, O = [
53
- {
54
- label: "人员及经费配置",
55
- type: "num",
56
- list: [{ richContent: [
57
- {
58
- text: "国编人员",
59
- isRed: !1
60
- },
61
- {
62
- text: "8人",
63
- isRed: !0
64
- },
65
- {
66
- text: ",政府购买服务人员",
67
- isRed: !1
68
- },
69
- {
70
- text: "19人",
71
- isRed: !0
72
- },
73
- {
74
- text: ",硕士研究生",
75
- isRed: !1
76
- },
77
- {
78
- text: "7人",
79
- isRed: !0
80
- },
81
- {
82
- text: ",45岁及以下",
83
- isRed: !1
84
- },
85
- {
86
- text: "21人",
87
- isRed: !0
88
- }
89
- ] }],
90
- jingji: [
91
- {
92
- year: "2021",
93
- all: 509,
94
- people: 192
95
- },
96
- {
97
- year: "2022",
98
- all: 546,
99
- people: 195
100
- },
101
- {
102
- year: "2023",
103
- all: 452,
104
- people: 301
105
- }
106
- ],
107
- imgs: ["/staticImg/HighQuality/3.png", "/staticImg/HighQuality/4.jpg"]
108
- },
109
- {
110
- label: "高质量试点批复",
111
- type: "img",
112
- list: ["/staticImg/HighQuality/20.png"]
113
- },
114
- {
115
- label: "高质量发展工作",
116
- type: "circle",
117
- list: [
118
- {
119
- label: "防灾减灾",
120
- entries: [{
121
- label: "应急",
122
- path: "/Prevention?u=farmService&p=admin123456"
123
- }]
124
- },
125
- {
126
- label: "特色农业",
127
- entries: [
128
- {
129
- label: "蓝莓",
130
- path: "/SSHome?pageCode=AgricultureService&name=农业&cacheJson=/cache/agriculture.json&typeParam={'serviceTypeName':'农业服务','awsnum':35,'serviceareacount':1,'servicecount':5}&u=farmService&p=admin123456&serviceType=蓝莓"
131
- },
132
- {
133
- label: "茶叶",
134
- path: "/SSHome?pageCode=AgricultureService&name=农业&cacheJson=/cache/agriculture.json&typeParam={'serviceTypeName':'农业服务','awsnum':35,'serviceareacount':1,'servicecount':5}&u=farmService&p=admin123456&serviceType=茶叶"
135
- },
136
- {
137
- label: "黄烟",
138
- path: "/SSHome?pageCode=AgricultureService&name=农业&cacheJson=/cache/agriculture.json&typeParam={'serviceTypeName':'农业服务','awsnum':35,'serviceareacount':1,'servicecount':5}&u=farmService&p=admin123456&serviceType=黄烟"
139
- }
140
- ]
141
- },
142
- {
143
- label: "海洋",
144
- entries: [{
145
- label: "海区分区",
146
- path: "/SSHome?pageCode=HaiyangSpecialService&name=海洋&cacheJson=/cache/sea.json&typeParam={'serviceTypeName':'海洋服务','awsnum':14,'serviceareacount':11,'servicecount':0}&u=SeaService&p=admin123456"
147
- }, {
148
- label: "航线",
149
- path: "/SSHome?pageCode=HaiyangSpecialService&name=海洋&cacheJson=/cache/sea.json&hx=true&typeParam={'serviceTypeName':'海洋服务','awsnum':14,'serviceareacount':11,'servicecount':0}&u=SeaService&p=admin123456"
150
- }]
151
- },
152
- {
153
- label: "城市",
154
- entries: [{
155
- label: "供暖",
156
- path: "/SpecialServiceLogin?u=hotService&p=admin123456"
157
- }, {
158
- label: "地铁",
159
- path: "/SSHome?pageCode=JiaoTongSpecialService&name=地铁&cacheJson=/cache/diTie.json&typeParam={'serviceTypeName':'地铁服务','awsnum':14,'serviceareacount':8,'servicecount':1}"
160
- }]
161
- },
162
- {
163
- label: "重点行业",
164
- entries: [{
165
- label: "石化",
166
- path: ""
167
- }, {
168
- label: "保险",
169
- path: "/SSHome?pageCode=HuangYanSpecialService&name=黄烟&cacheJson=/cache/baoXian.json&typeParam={'serviceTypeName':'保险服务','awsnum':23,'serviceareacount':20,'servicecount':0}"
170
- }]
171
- },
172
- {
173
- label: "气候文旅",
174
- entries: [{
175
- label: "杜鹃花",
176
- path: "/SSHome?pageCode=DuJuanHuaSpecialService&name=杜鹃花&cacheJson=/cache/duJuanHua.json&typeParam={'serviceTypeName':'杜鹃花服务','awsnum':4,'serviceareacount':2,'servicecount':1}"
177
- }, {
178
- label: "重大活动",
179
- path: "/Activity?u=farmService&p=admin123456"
180
- }]
181
- }
182
- ],
183
- imgs: ["/staticImg/HighQuality/6.jpeg", "/staticImg/HighQuality/7.png"],
184
- previewImg: ["/staticImg/HighQuality/8.png", "/staticImg/HighQuality/9.png"]
185
- },
186
- {
187
- label: "新区气象服务需求",
188
- type: "multiLine",
189
- list: [
190
- {
191
- title: "一、承担“打造海洋强国战略支点”的国家使命",
192
- content: "需进一步优化海洋气象观测手段,提升海洋气象服务能力。"
193
- },
194
- {
195
- title: "二、创建乡村振兴齐鲁样板示范县",
196
- content: "暨率先实现农业农村现代化试点区总目标,需进一步加强为农气象服务保障。"
197
- },
198
- {
199
- title: "三、创建乡村振兴齐鲁样板示范县",
200
- content: "暨率先实现农业农村现代化试点区总目标,需进一步加强为农气象服务保障。"
201
- },
202
- {
203
- title: "四、着力擦靓四张国际名片“影视之都、音乐之岛、啤酒之城、会展之滨",
204
- content: "青岛国际啤酒节、凤凰音乐节等各类重大活动对气象保障服务需求明显增强。"
205
- },
206
- {
207
- title: "五、国家生态文明建设示范区全国首批、山东首个获批开展气候投融资试点区市",
208
- content: "需为生态系统保护和气候资源合理开发利用提供专项气象服务支撑。"
209
- },
210
- {
211
- title: "六、全国唯一军民融合示范区",
212
- content: "是亚洲最大军港以及众多保障基地驻地,保障需求日益增多、要求越来越高。"
213
- }
214
- ]
215
- }
216
- ], k = ["/staticImg/HighQuality/基本情况.jpg", "/staticImg/HighQuality/领导调研.jpg"], A = ["/staticImg/HighQuality/基本情况.jpg", "/staticImg/HighQuality/领导调研.jpg"], he = {
217
- map: me,
218
- content: O,
219
- "5个机制": ["/staticImg/HighQuality/5个机制.png"],
220
- "5个机制详情图": [
221
- ["/staticImg/HighQuality/建立5个机制/1.jpg"],
222
- ["/staticImg/HighQuality/建立5个机制/2.jpg"],
223
- ["/staticImg/HighQuality/建立5个机制/3.jpg"],
224
- ["/staticImg/HighQuality/建立5个机制/4.jpg"],
225
- ["/staticImg/HighQuality/建立5个机制/5.jpg"]
226
- ],
227
- "5个举措": ["/staticImg/HighQuality/5项举措.png"],
228
- "5个举措详情图": [
229
- ["/staticImg/HighQuality/实施5个举措/1.jpg"],
230
- ["/staticImg/HighQuality/实施5个举措/1.jpg"],
231
- ["/staticImg/HighQuality/实施5个举措/1.jpg"],
232
- ["/staticImg/HighQuality/实施5个举措/1.jpg"],
233
- ["/staticImg/HighQuality/实施5个举措/1.jpg"]
234
- ],
235
- "5个创新": ["/staticImg/HighQuality/5个创新.png"],
236
- "5个创新详情图": [
237
- ["/staticImg/HighQuality/实现5个创新/1.jpg"],
238
- ["/staticImg/HighQuality/实现5个创新/2.jpg"],
239
- ["/staticImg/HighQuality/实现5个创新/3.jpg", "/staticImg/HighQuality/实现5个创新/31.jpg"],
240
- ["/staticImg/HighQuality/实现5个创新/4.jpg"],
241
- ["/staticImg/HighQuality/实现5个创新/4.jpg"]
242
- ],
243
- "5大领域": ["/staticImg/HighQuality/5大领域.png"],
244
- "5大领域详情图": [
245
- ["/staticImg/HighQuality/拓展5个领域/1.jpg", "/staticImg/HighQuality/拓展5个领域/1.1.jpg"],
246
- ["/staticImg/HighQuality/拓展5个领域/2.jpg", "/staticImg/HighQuality/拓展5个领域/2.2.jpg"],
247
- ["/staticImg/HighQuality/拓展5个领域/3.jpg", "/staticImg/HighQuality/拓展5个领域/3.3.jpg"],
248
- ["/staticImg/HighQuality/拓展5个领域/4.jpg", "/staticImg/HighQuality/拓展5个领域/4.4.jpg"],
249
- ["/staticImg/HighQuality/拓展5个领域/5.jpg", "/staticImg/HighQuality/拓展5个领域/5.5.jpg"]
250
- ],
251
- 高质量发展: k,
252
- topBarImg: A
253
- }, j = {
254
- key: 0,
255
- class: "HighQualityPop-overlay"
256
- }, ge = { class: "HighQualityPop-panel" }, M = { class: "HighQualityPop-header" }, _e = { class: "HighQualityPop-title" }, N = { class: "HighQualityPop-body" }, P = {
257
- key: 0,
258
- class: "HighQualityPop-list"
259
- }, F = ["src"], ve = /* @__PURE__ */ e(/* @__PURE__ */ g({
260
- __name: "HightQualityPop",
261
- props: {
262
- visible: { type: Boolean },
263
- title: { default: "" },
264
- images: { default: () => [] }
265
- },
266
- emits: ["update:visible"],
267
- setup(e, { emit: t }) {
268
- let n = t, r = () => {
269
- n("update:visible", !1);
270
- };
271
- return (t, n) => {
272
- let i = te, o = a;
273
- return y(), u(c, { to: "body" }, [e.visible ? (y(), f("div", j, [p("div", {
274
- class: "HighQualityPop-mask",
275
- onClick: r
276
- }), p("div", ge, [p("div", M, [p("span", _e, S(e.title), 1), h(i, {
277
- class: "HighQualityPop-close",
278
- onClick: r
279
- }, {
280
- default: T(() => [h(C(E))]),
281
- _: 1
282
- })]), p("div", N, [e.images.length ? (y(), f("div", P, [(y(!0), f(s, null, x(e.images, (e, t) => (y(), f("div", {
283
- key: `${e}-${t}`,
284
- class: "HighQualityPop-item"
285
- }, [p("img", {
286
- src: e,
287
- alt: ""
288
- }, null, 8, F)]))), 128))])) : (y(), u(o, {
289
- key: 1,
290
- description: "暂无图片"
291
- }))])])])) : d("", !0)]);
292
- };
293
- }
294
- }), [["__scopeId", "data-v-af05a963"]]), ye = { class: "HighQuality" }, be = { class: "HighQuality-win-li" }, xe = ["onDblclick"], Se = ["innerHTML"], Ce = { class: "HighQuality-win-chart" }, we = { class: "multiLine-content" }, Te = { class: "HighQuality-win-li HighQuality-win-img" }, Ee = { class: "img-side-title" }, De = { class: "img-side-content" }, Oe = ["src"], ke = { class: "HighQuality-win-field" }, Ae = { class: "HighQuality-win-field-title" }, je = { class: "field-title-sub" }, Me = { class: "HighQuality-win-field-li-circle" }, Ne = { class: "HighQuality-win-field-li-entries" }, Pe = ["onClick"], Fe = { class: "HighQuality-win-field-service" }, Ie = { class: "service-imgs" }, Le = ["src", "onClick"], Re = { class: "HighQuality-btns" }, ze = { class: "HighQuality-btns-scroll" }, Be = ["onClick"], Ve = {
295
- key: 0,
296
- class: "HighQuality-approval-overlay"
297
- }, He = { class: "HighQuality-approval-panel HighQuality-approval-panel--single" }, Ue = { class: "HighQuality-approval-header" }, We = { class: "HighQuality-approval-body HighQuality-approval-body--single" }, Ge = ["src"], Ke = {
298
- key: 0,
299
- class: "HQ-pure-viewer"
300
- }, qe = { class: "HQ-pure-viewer-inner" }, Je = ["src"], Ye = {
301
- key: 2,
302
- class: "HQ-pure-viewer-counter"
303
- }, Xe = { class: "diaogIntroduce" }, Ze = ["innerHTML"], Qe = { class: "diaogIntroduce-list" }, $e = { class: "diaogIntroduce-actions" }, et = { class: "dialog-footer" }, tt = { class: "diaogJingji" }, nt = { class: "diaogJingji-list" }, rt = { class: "diaogJingji-actions" }, it = { class: "dialog-footer" }, at = {
304
- key: 0,
305
- class: "HQ-modal-overlay HQ-modal-overlay--menu"
306
- }, ot = { class: "HQ-modal-panel HQ-modal-panel--menu" }, st = { class: "HQ-modal-header" }, ct = { class: "HQ-modal-body" }, lt = { class: "dialogBtnManage" }, ut = { class: "dialogBtnManage-label" }, dt = { class: "dialogBtnManage-label" }, ft = { class: "dialogBtnManage-actions" }, pt = { class: "HQ-modal-footer" }, mt = {
307
- key: 0,
308
- class: "HQ-modal-overlay HQ-modal-overlay--edit-custom"
309
- }, ht = { class: "HQ-modal-panel HQ-modal-panel--edit-custom" }, gt = { class: "HQ-modal-header" }, _t = { class: "HQ-modal-title" }, vt = { class: "HQ-modal-body" }, yt = { class: "dialogEditCustom" }, bt = { class: "custom-upload-box" }, xt = ["src"], St = { class: "custom-item-actions" }, Ct = { class: "HQ-modal-footer HQ-modal-footer--center" }, wt = /* @__PURE__ */ e(/* @__PURE__ */ g({
310
- __name: "HighQuality",
311
- props: {
312
- config: { default: void 0 },
313
- baseHttp: { default: "" },
314
- jsonPath: { default: "/staticJson/HighQualityConfig.json" },
315
- title: { default: "西海岸新区气象高质量发展" },
316
- titleStyle: { default: () => ({}) }
317
- },
318
- emits: ["navigate"],
319
- setup(e, { emit: a }) {
320
- let g = e, me = a, O = b({ content: [] }), k = b("num"), A = b(null), j = b(null), ge = b(!1), M = null, _e = b([]), N = b(!1), P = b(""), F = b([]), wt = b(!1), Tt = b(""), Et = b([]), I = b(!1), L = b(!1), R = b([]), z = b(0), B = b(!1), V = b(null), H = b([]), U = b(!1), W = b([]), G = b(!1), K = b(!1), q = b(-1), J = b({
321
- id: "",
322
- label: "",
323
- showImg: !1,
324
- imgUrl: "",
325
- list: []
326
- }), Dt = b(null), Ot = l(() => window.g1 ? window.g1.BASE_API + "/fileConfig/CommonConfigfilese" : "/fileConfig/CommonConfigfilese"), kt = { ConfigCode: "imgfilecode" }, At = l(() => (O.value.content || []).filter((e) => e.isBasic)), jt = l(() => (O.value.content || []).filter((e) => !e.isBasic)), Mt = l(() => (O.value.content || []).filter((e) => e.visible !== !1)), Nt = l(() => A.value?.type === "num" && A.value.list || []), Pt = l(() => (A.value?.type === "multiLine" || A.value?.type === "custom") && A.value.list || []), Ft = l(() => A.value?.type === "circle" && A.value.list || []), It = l(() => {
327
- if (A.value?.type === "circle") {
328
- let e = A.value.imgs;
329
- return Array.isArray(e) ? e : [];
330
- }
331
- return [];
332
- }), Lt = l(() => {
333
- let e = A.value;
334
- if (e && e.type === "img") {
335
- let t = e.list;
336
- if (Array.isArray(t) && t.length > 0 && typeof t[0] == "string") return t[0];
337
- }
338
- return "/staticImg/HighQuality/21.png";
339
- }), Rt = l(() => [...["/staticImg/HighQuality/21.png"]]), Y = b(0), zt = l(() => R.value[Y.value] || ""), Bt = () => {
340
- let e = R.value.length;
341
- e && (Y.value = (Y.value - 1 + e) % e);
342
- }, Vt = () => {
343
- let e = R.value.length;
344
- e && (Y.value = (Y.value + 1) % e);
345
- };
346
- w(() => z.value, (e) => {
347
- Y.value = e >= 0 ? e : 0;
348
- }), w(() => L.value, (e) => {
349
- if (e) {
350
- let e = R.value.length;
351
- z.value >= 0 && z.value < e ? Y.value = z.value : Y.value = 0;
352
- }
353
- });
354
- let Ht = (e) => {
355
- let t = JSON.parse(JSON.stringify(e || { content: [] })), n = t.content || [];
356
- n.forEach((e, t) => {
357
- e.isActive = t === 0, e.isBasic = !0, e.visible === void 0 && (e.visible = !0);
358
- });
359
- let r = window.localStorage.getItem("tem_hd:highQuality:customMenus"), i = [];
360
- if (r) try {
361
- i = JSON.parse(r);
362
- } catch {
363
- i = [];
364
- }
365
- i.forEach((e) => {
366
- e.isActive = !1, e.isBasic = !1, e.visible === void 0 && (e.visible = !0);
367
- }), t.content = [...n, ...i], O.value = t, A.value = t.content[0] || null, k.value = A.value?.type || "num", ln(), fn(), bn(), _e.value = t.高质量发展 || [];
368
- }, Ut = async () => {
369
- if (g.config) return JSON.parse(JSON.stringify(g.config));
370
- try {
371
- let e = await t(g.baseHttp + g.jsonPath, !0);
372
- return e && typeof e == "object" ? e : JSON.parse(JSON.stringify(he));
373
- } catch (e) {
374
- return console.error("加载 HighQualityConfig.json 失败,使用默认配置:", e), JSON.parse(JSON.stringify(he));
375
- }
376
- }, Wt = async () => {
377
- Ht(await Ut()), k.value === "num" && ae(() => {
378
- Gt(), Yt();
379
- }), ge.value = !0;
380
- }, Gt = () => {
381
- if (!j.value) return;
382
- M &&= (M.dispose(), null), M = fe.init(j.value);
383
- let e = O.value.content.find((e) => e.type === "num")?.jingji || [], t = [], n = [], r = [];
384
- e.forEach((e) => {
385
- t.push(String(e.year)), n.push(Number(e.all) || 0), r.push(Number(e.people) || 0);
386
- });
387
- let i = {
388
- show: !0,
389
- position: "top",
390
- color: "#ffffff",
391
- distance: 18,
392
- align: "center",
393
- verticalAlign: "left",
394
- rotate: 360,
395
- formatter: "{c} {name|{a}}",
396
- fontSize: 14,
397
- rich: { name: {} }
398
- }, a = {
399
- xAxis: {
400
- type: "category",
401
- axisTick: { show: !1 },
402
- data: t,
403
- nameTextStyle: { color: "#ffffff" },
404
- axisLabel: { textStyle: { color: "#ffffff" } }
405
- },
406
- yAxis: {
407
- type: "value",
408
- name: "万元",
409
- nameTextStyle: { color: "#ffffff" },
410
- axisLabel: { textStyle: { color: "#ffffff" } }
411
- },
412
- series: [{
413
- name: " ",
414
- type: "bar",
415
- label: i,
416
- emphasis: { focus: "series" },
417
- data: n
418
- }, {
419
- name: "",
420
- type: "bar",
421
- label: i,
422
- emphasis: { focus: "series" },
423
- data: r
424
- }]
425
- };
426
- M.setOption(a);
427
- }, Kt = () => {
428
- M?.resize();
429
- }, qt = (e) => {
430
- O.value.content.forEach((t) => t.isActive = t === e), k.value = e.type, A.value = e, e.type === "num" ? ae(() => {
431
- Gt(), Yt();
432
- }) : e.type === "img" ? Jt() : e.type === "custom" && e.showImg && e.imgUrl && Xt(e);
433
- }, Jt = () => {
434
- I.value = !0;
435
- }, Yt = () => {
436
- A.value?.type === "num" && (P.value = "区政府保障机制及经费支持", F.value = ["/staticImg/HighQuality/11.png"], N.value = !0);
437
- }, Xt = (e) => {
438
- P.value = e.label, F.value = e.showImg && e.imgUrl ? [e.imgUrl] : [], N.value = !0;
439
- }, X = (e) => {
440
- P.value = e;
441
- let t = `${e}详情图`, n = O.value[t];
442
- Array.isArray(n) ? F.value = n.flat() : F.value = [], N.value = !0;
443
- }, Zt = (e) => {
444
- let t = A.value?.previewImg, n = Array.isArray(t) ? t.filter((e) => typeof e == "string") : [];
445
- n.length && (R.value = n, z.value = e, Y.value = e, L.value = !0);
446
- }, Qt = (e) => {
447
- e.path && me("navigate", e.path, e.label);
448
- }, $t = (e) => e ? Array.isArray(e.richContent) && e.richContent.length ? Z(e.richContent) : e.content || "" : "", Z = (e) => `<div style='font-size:24px;'>${e.map((e) => {
449
- let t = en(e.text || "");
450
- return `<span ${e.isRed ? "style='color:red;font-size:32px;margin-right:8px;'" : "style='font-size:24px;'"}>${t}</span>`;
451
- }).join("")}</div>`, en = (e) => String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;"), tn = (e) => {
452
- if (Array.isArray(e.richContent) && e.richContent.length) return e.richContent.map((e) => ({
453
- id: Q(),
454
- text: e.text || "",
455
- isRed: !!e.isRed
456
- }));
457
- if (!e.content) return [];
458
- let t = document.createElement("div");
459
- t.innerHTML = e.content;
460
- let n = [], r = (e) => {
461
- Array.from(e).forEach((e) => {
462
- if (e.nodeType === 3) {
463
- e.textContent && n.push({
464
- id: Q(),
465
- text: e.textContent,
466
- isRed: !1
467
- });
468
- return;
469
- }
470
- if (e.nodeType === 1) {
471
- let t = e, i = (t.getAttribute("style") || "").toLowerCase(), a = i.includes("color:red") || i.includes("color: red"), o = t.textContent || "";
472
- if (o) {
473
- n.push({
474
- id: Q(),
475
- text: o,
476
- isRed: a
477
- });
478
- return;
479
- }
480
- r(t.childNodes);
481
- }
482
- });
483
- };
484
- return r(t.childNodes), n.length ? n : [{
485
- id: Q(),
486
- text: "",
487
- isRed: !1
488
- }];
489
- }, Q = () => `segment_${Date.now()}_${Math.random().toString(16).slice(2)}`, nn = () => Z(H.value), rn = () => {
490
- H.value.push({
491
- id: Q(),
492
- text: "",
493
- isRed: !1
494
- });
495
- }, an = (e) => {
496
- H.value.splice(e, 1), H.value.length || rn();
497
- }, on = () => {
498
- if (!V.value) {
499
- B.value = !1;
500
- return;
501
- }
502
- let e = H.value.map((e) => ({
503
- text: String(e.text || ""),
504
- isRed: !!e.isRed
505
- }));
506
- V.value.richContent = e, V.value.content = Z(e), un(), B.value = !1;
507
- }, sn = (e) => {
508
- V.value = e, H.value = tn(e), B.value = !0;
509
- }, cn = () => "tem_hd:highQuality:numList", ln = () => {
510
- let e = O.value.content.find((e) => e.type === "num");
511
- if (!e) return;
512
- let t = window.localStorage.getItem(cn());
513
- if (t) try {
514
- let n = JSON.parse(t);
515
- Array.isArray(n) && n.length && (e.list = n);
516
- } catch {}
517
- }, un = () => {
518
- let e = O.value.content.find((e) => e.type === "num");
519
- !e || !Array.isArray(e.list) || window.localStorage.setItem(cn(), JSON.stringify(e.list));
520
- }, dn = () => "tem_hd:highQuality:numJingji", fn = () => {
521
- let e = O.value.content.find((e) => e.type === "num");
522
- if (!e) return;
523
- let t = window.localStorage.getItem(dn());
524
- if (t) try {
525
- let n = JSON.parse(t);
526
- Array.isArray(n) && (e.jingji = n);
527
- } catch {}
528
- }, pn = () => {
529
- let e = O.value.content.find((e) => e.type === "num");
530
- !e || !Array.isArray(e.jingji) || window.localStorage.setItem(dn(), JSON.stringify(e.jingji));
531
- }, mn = () => {
532
- let e = O.value.content.find((e) => e.type === "num");
533
- !e || !Array.isArray(e.jingji) ? W.value = [] : W.value = e.jingji.map((e) => ({
534
- year: String(e.year || ""),
535
- all: String(e.all || ""),
536
- people: String(e.people || "")
537
- })), U.value = !0;
538
- }, hn = () => {
539
- W.value.push({
540
- year: "",
541
- all: "",
542
- people: ""
543
- });
544
- }, gn = (e) => {
545
- W.value.splice(e, 1);
546
- }, _n = (e) => {
547
- let t = String(e || "").replace(/\D/g, "");
548
- return t ? Number(t) : 0;
549
- }, vn = () => {
550
- let e = O.value.content.find((e) => e.type === "num");
551
- if (!e) {
552
- U.value = !1;
553
- return;
554
- }
555
- e.jingji = W.value.map((e) => ({
556
- year: String(e.year || "").trim(),
557
- all: _n(e.all),
558
- people: _n(e.people)
559
- })), pn(), U.value = !1, Gt();
560
- }, yn = () => "tem_hd:highQuality:btnVisible", bn = () => {
561
- if (!O.value || !O.value.content) return;
562
- let e = window.localStorage.getItem(yn());
563
- if (e) try {
564
- let t = JSON.parse(e);
565
- O.value.content.forEach((e) => {
566
- t[e.label] === void 0 ? e.visible === void 0 && (e.visible = !0) : e.visible = t[e.label];
567
- });
568
- } catch {
569
- O.value.content.forEach((e) => {
570
- e.visible === void 0 && (e.visible = !0);
571
- });
572
- }
573
- else O.value.content.forEach((e) => {
574
- e.visible === void 0 && (e.visible = !0);
575
- });
576
- }, $ = () => {
577
- let e = {};
578
- O.value.content.forEach((t) => {
579
- e[t.label] = t.visible;
580
- }), window.localStorage.setItem(yn(), JSON.stringify(e));
581
- }, xn = (e, t) => {
582
- e ? (q.value = t ?? -1, J.value = JSON.parse(JSON.stringify(e))) : (q.value = -1, J.value = {
583
- id: Date.now() + "",
584
- label: "",
585
- showImg: !1,
586
- imgUrl: "",
587
- list: [{
588
- title: "",
589
- content: ""
590
- }]
591
- }), K.value = !0;
592
- }, Sn = (e) => {
593
- kt.ConfigCode = "imgfilecode";
594
- let t = new FileReader();
595
- return t.onload = (e) => {
596
- J.value.imgUrl = String(e.target?.result || "");
597
- }, t.readAsDataURL(e), !0;
598
- }, Cn = (e) => {
599
- if (e.code == 0) {
600
- Dt.value?.clearFiles?.();
601
- let t = e.ds || {}, n = t.fileUrl || t.fileName || "";
602
- n && !n.startsWith("http") && (n = (window.g1 && window.g1.BASE_API ? String(window.g1.BASE_API).replace("/api", "") : "") + n), n && (J.value.imgUrl = n), D.success("图片上传成功");
603
- } else D.error(e.msg || "上传失败");
604
- }, wn = () => {
605
- D.error("图片上传调用接口失败");
606
- }, Tn = () => {
607
- if (!J.value.label.trim()) {
608
- D.warning("请输入菜单名称");
609
- return;
610
- }
611
- let e = J.value;
612
- if (e.type = "custom", e.isBasic = !1, e.isActive = !1, e.visible === void 0 && (e.visible = !0), q.value > -1) {
613
- let t = e.id, n = O.value.content.findIndex((e) => e.id === t);
614
- n > -1 && (O.value.content[n] = { ...e });
615
- } else O.value.content.push({ ...e });
616
- Dn(), $(), K.value = !1, A.value && A.value.id === e.id && (A.value = O.value.content.find((t) => t.id === e.id) || null);
617
- }, En = (e) => {
618
- pe.confirm("确定要删除该自定义菜单吗?", "提示", { type: "warning" }).then(() => {
619
- let t = jt.value[e], n = O.value.content.findIndex((e) => e.id === t.id);
620
- n > -1 && (O.value.content.splice(n, 1), Dn(), $(), A.value && A.value.id === t.id && qt(O.value.content[0]));
621
- }).catch(() => {});
622
- }, Dn = () => {
623
- let e = O.value.content.filter((e) => !e.isBasic);
624
- window.localStorage.setItem("tem_hd:highQuality:customMenus", JSON.stringify(e));
625
- };
626
- return w(() => [
627
- g.config,
628
- g.baseHttp,
629
- g.jsonPath
630
- ], () => {
631
- Wt();
632
- }, { deep: !0 }), _(() => {
633
- Wt(), window.addEventListener("resize", Kt);
634
- }), v(() => {
635
- window.removeEventListener("resize", Kt), M &&= (M.dispose(), null);
636
- }), (t, a) => {
637
- let l = te, g = ne, ae = r, _ = n, v = i, b = re, w = ee, fe = ie, D = o;
638
- return y(), f("div", ye, [
639
- p("div", {
640
- class: "HighQuality-title",
641
- style: se(e.titleStyle)
642
- }, S(e.title), 5),
643
- p("div", { class: oe(["HighQuality-win", { "is-scrollable": k.value === "multiLine" || k.value === "custom" }]) }, [
644
- le(p("div", be, [(y(!0), f(s, null, x(Nt.value, (e, t) => (y(), f("div", {
645
- key: t,
646
- class: "HighQuality-win-num",
647
- onDblclick: (t) => sn(e)
648
- }, [p("div", { innerHTML: $t(e) }, null, 8, Se)], 40, xe))), 128)), p("div", Ce, [p("div", {
649
- ref_key: "chartRef",
650
- ref: j,
651
- class: "chart-jingji",
652
- onDblclick: mn
653
- }, null, 544), a[24] ||= p("div", { class: "chart-jingji-label" }, "经费变化图", -1)])], 512), [[ce, k.value === "num"]]),
654
- k.value === "multiLine" || k.value === "custom" ? (y(!0), f(s, { key: 0 }, x(Pt.value, (e, t) => (y(), f("div", {
655
- key: t,
656
- class: "HighQuality-win-li HighQuality-win-multiLine"
657
- }, [p("div", null, S(e.title), 1), p("div", we, S(e.content), 1)]))), 128)) : d("", !0),
658
- le(p("div", Te, [p("div", Ee, S(A.value?.label || "中国气象局同意黄岛区开展气象高质量发展试点的批复"), 1), p("div", De, [Lt.value ? (y(), f("img", {
659
- key: 0,
660
- src: Lt.value,
661
- alt: ""
662
- }, null, 8, Oe)) : d("", !0)])], 512), [[ce, k.value === "img"]]),
663
- le(p("div", ke, [
664
- p("div", Ae, [a[30] ||= p("div", { class: "field-title-main" }, [
665
- m(" 高质量试点总结的 "),
666
- p("span", { class: "field-title-highlight" }, "4个“5”"),
667
- m(" 的经验做法。 ")
668
- ], -1), p("div", je, [
669
- p("span", {
670
- class: "field-title-sub-item",
671
- onClick: a[0] ||= (e) => X("5个机制")
672
- }, [...a[25] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "个机制,", -1)]]),
673
- p("span", {
674
- class: "field-title-sub-item",
675
- onClick: a[1] ||= (e) => X("5个举措")
676
- }, [...a[26] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "个举措,", -1)]]),
677
- p("span", {
678
- class: "field-title-sub-item",
679
- onClick: a[2] ||= (e) => X("5个创新")
680
- }, [...a[27] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "个创新,", -1)]]),
681
- p("span", {
682
- class: "field-title-sub-item",
683
- onClick: a[3] ||= (e) => X("5大领域")
684
- }, [...a[28] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "大领域", -1)]]),
685
- a[29] ||= p("span", null, "的气象服务。", -1)
686
- ])]),
687
- (y(!0), f(s, null, x(Ft.value, (e, t) => (y(), f("div", {
688
- class: "HighQuality-win-field-li",
689
- key: t
690
- }, [p("div", Me, S(e.label), 1), p("div", Ne, [(y(!0), f(s, null, x(e.entries, (e) => (y(), f("div", {
691
- class: "HighQuality-win-field-li-entry",
692
- key: e.label,
693
- onClick: (t) => Qt(e)
694
- }, S(e.label), 9, Pe))), 128))])]))), 128)),
695
- p("div", Fe, [a[31] ||= p("div", { class: "service-title" }, "服务融入政务服务平台", -1), p("div", Ie, [(y(!0), f(s, null, x(It.value, (e, t) => (y(), f("img", {
696
- key: t,
697
- src: e,
698
- alt: "",
699
- onClick: (e) => Zt(t)
700
- }, null, 8, Le))), 128))])])
701
- ], 512), [[ce, k.value === "circle"]])
702
- ], 2),
703
- p("div", Re, [p("div", ze, [(y(!0), f(s, null, x(Mt.value, (e) => (y(), f("div", {
704
- class: oe(["HighQuality-btns-li", { "HighQuality-btns-li-active": e.isActive }]),
705
- key: e.id || e.label,
706
- onClick: (t) => qt(e)
707
- }, S(e.label), 11, Be))), 128))]), p("div", {
708
- class: "HighQuality-btns-li more-btn",
709
- onClick: a[4] ||= (e) => G.value = !0
710
- }, [...a[32] ||= [p("img", {
711
- style: { width: "30px" },
712
- src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAPZJREFUSEvdlsFpAkEUhr//YrxYgRUIgeRkYg3agJACkoObWmIOpoBAGrAHk5tKIBWkg1z08oeR2Zu7jrDsgHMZGJaP/1vevDciLtsd4BGYAtfx+Bv4AN4k7ctv6/a2OQphbPeBJXBbEW4NTCT9ngjfOkfxj33VhC8zb4A7SbtjEtk4tmfAPKU8gELSa4VAHo7tFXCfKPApaVQhkIdjO5REuMApayepWyGQh3OmwJ+kXgMCzXEuoYQK4CWlfoBnSUcvvO08HNtXQGijNycktsCwpo3m4SQOsjADxg0MssY5h0kcJUInegIegEE8/gHegcWZT4nWOP/eBshXeGHOnwAAAABJRU5ErkJggg==",
713
- alt: ""
714
- }, null, -1)]])]),
715
- h(ve, {
716
- visible: N.value,
717
- "onUpdate:visible": a[5] ||= (e) => N.value = e,
718
- title: P.value,
719
- images: F.value
720
- }, null, 8, [
721
- "visible",
722
- "title",
723
- "images"
724
- ]),
725
- (y(), u(c, { to: "body" }, [I.value ? (y(), f("div", Ve, [p("div", {
726
- class: "HighQuality-approval-mask",
727
- onClick: a[6] ||= (e) => I.value = !1
728
- }), p("div", He, [p("div", Ue, [a[33] ||= p("span", { class: "HighQuality-approval-title" }, " 中国气象局同意黄岛区开展气象高质量发展试点的批复 ", -1), h(l, {
729
- class: "HighQuality-approval-close",
730
- onClick: a[7] ||= (e) => I.value = !1
731
- }, {
732
- default: T(() => [h(C(E))]),
733
- _: 1
734
- })]), p("div", We, [(y(!0), f(s, null, x(Rt.value, (e, t) => (y(), f("img", {
735
- key: `a-${t}`,
736
- src: e,
737
- alt: ""
738
- }, null, 8, Ge))), 128))])])])) : d("", !0)])),
739
- (y(), u(c, { to: "body" }, [L.value ? (y(), f("div", Ke, [p("div", {
740
- class: "HQ-pure-viewer-mask",
741
- onClick: a[8] ||= (e) => L.value = !1
742
- }), p("div", qe, [
743
- h(l, {
744
- class: "HQ-pure-viewer-close",
745
- onClick: a[9] ||= (e) => L.value = !1
746
- }, {
747
- default: T(() => [h(C(E))]),
748
- _: 1
749
- }),
750
- zt.value ? (y(), f("img", {
751
- key: 0,
752
- src: zt.value,
753
- alt: "",
754
- class: "HQ-pure-viewer-img"
755
- }, null, 8, Je)) : d("", !0),
756
- R.value.length > 1 ? (y(), f(s, { key: 1 }, [p("button", {
757
- type: "button",
758
- class: "HQ-pure-viewer-arrow HQ-pure-viewer-arrow--prev",
759
- onClick: ue(Bt, ["stop"]),
760
- "aria-label": "上一张"
761
- }, " ‹ "), p("button", {
762
- type: "button",
763
- class: "HQ-pure-viewer-arrow HQ-pure-viewer-arrow--next",
764
- onClick: ue(Vt, ["stop"]),
765
- "aria-label": "下一张"
766
- }, " › ")], 64)) : d("", !0),
767
- R.value.length > 1 ? (y(), f("div", Ye, S(Y.value + 1) + " / " + S(R.value.length), 1)) : d("", !0)
768
- ])])) : d("", !0)])),
769
- h(ve, {
770
- visible: wt.value,
771
- "onUpdate:visible": a[10] ||= (e) => wt.value = e,
772
- title: Tt.value,
773
- images: Et.value
774
- }, null, 8, [
775
- "visible",
776
- "title",
777
- "images"
778
- ]),
779
- h(v, {
780
- modelValue: B.value,
781
- "onUpdate:modelValue": a[12] ||= (e) => B.value = e,
782
- title: "编辑文本",
783
- width: "700px",
784
- center: "",
785
- "close-on-click-modal": !1,
786
- "close-on-press-escape": !1
787
- }, {
788
- footer: T(() => [p("span", et, [h(_, { onClick: a[11] ||= (e) => B.value = !1 }, {
789
- default: T(() => [...a[37] ||= [m("取 消", -1)]]),
790
- _: 1
791
- }), h(_, {
792
- type: "primary",
793
- onClick: on
794
- }, {
795
- default: T(() => [...a[38] ||= [m("确 定", -1)]]),
796
- _: 1
797
- })])]),
798
- default: T(() => [p("div", Xe, [
799
- p("div", {
800
- class: "diaogIntroduce-preview",
801
- innerHTML: nn()
802
- }, null, 8, Ze),
803
- p("div", Qe, [(y(!0), f(s, null, x(H.value, (e, t) => (y(), f("div", {
804
- class: "diaogIntroduce-item",
805
- key: e.id
806
- }, [
807
- h(g, {
808
- modelValue: e.text,
809
- "onUpdate:modelValue": (t) => e.text = t,
810
- placeholder: "请输入文本"
811
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
812
- h(ae, {
813
- modelValue: e.isRed,
814
- "onUpdate:modelValue": (t) => e.isRed = t
815
- }, {
816
- default: T(() => [...a[34] ||= [m("标红", -1)]]),
817
- _: 1
818
- }, 8, ["modelValue", "onUpdate:modelValue"]),
819
- h(_, {
820
- type: "text",
821
- onClick: (e) => an(t)
822
- }, {
823
- default: T(() => [...a[35] ||= [m("删除", -1)]]),
824
- _: 1
825
- }, 8, ["onClick"])
826
- ]))), 128))]),
827
- p("div", $e, [h(_, {
828
- type: "primary",
829
- plain: "",
830
- onClick: rn
831
- }, {
832
- default: T(() => [...a[36] ||= [m("新增文本片段", -1)]]),
833
- _: 1
834
- })])
835
- ])]),
836
- _: 1
837
- }, 8, ["modelValue"]),
838
- h(v, {
839
- modelValue: U.value,
840
- "onUpdate:modelValue": a[14] ||= (e) => U.value = e,
841
- title: "编辑图表数据",
842
- width: "760px",
843
- center: "",
844
- "close-on-click-modal": !1,
845
- "close-on-press-escape": !1
846
- }, {
847
- footer: T(() => [p("span", it, [h(_, { onClick: a[13] ||= (e) => U.value = !1 }, {
848
- default: T(() => [...a[42] ||= [m("取 消", -1)]]),
849
- _: 1
850
- }), h(_, {
851
- type: "primary",
852
- onClick: vn
853
- }, {
854
- default: T(() => [...a[43] ||= [m("确 定", -1)]]),
855
- _: 1
856
- })])]),
857
- default: T(() => [p("div", tt, [
858
- a[41] ||= p("div", { class: "diaogJingji-header" }, [
859
- p("span", null, "年份"),
860
- p("span", null, "全部"),
861
- p("span", null, "人员"),
862
- p("span", null, "操作")
863
- ], -1),
864
- p("div", nt, [(y(!0), f(s, null, x(W.value, (e, t) => (y(), f("div", {
865
- class: "diaogJingji-item",
866
- key: t
867
- }, [
868
- h(g, {
869
- modelValue: e.year,
870
- "onUpdate:modelValue": (t) => e.year = t,
871
- placeholder: "年份"
872
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
873
- h(g, {
874
- modelValue: e.all,
875
- "onUpdate:modelValue": (t) => e.all = t,
876
- placeholder: "全部"
877
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
878
- h(g, {
879
- modelValue: e.people,
880
- "onUpdate:modelValue": (t) => e.people = t,
881
- placeholder: "人员"
882
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
883
- h(_, {
884
- type: "text",
885
- onClick: (e) => gn(t)
886
- }, {
887
- default: T(() => [...a[39] ||= [m("删除", -1)]]),
888
- _: 1
889
- }, 8, ["onClick"])
890
- ]))), 128))]),
891
- p("div", rt, [h(_, {
892
- type: "primary",
893
- plain: "",
894
- onClick: hn
895
- }, {
896
- default: T(() => [...a[40] ||= [m("新增一行", -1)]]),
897
- _: 1
898
- })])
899
- ])]),
900
- _: 1
901
- }, 8, ["modelValue"]),
902
- (y(), u(c, { to: "body" }, [G.value ? (y(), f("div", at, [p("div", {
903
- class: "HQ-modal-mask",
904
- onClick: a[15] ||= (e) => G.value = !1
905
- }), p("div", ot, [
906
- p("div", st, [a[44] ||= p("span", { class: "HQ-modal-title" }, "菜单管理", -1), h(l, {
907
- class: "HQ-modal-close",
908
- onClick: a[16] ||= (e) => G.value = !1
909
- }, {
910
- default: T(() => [h(C(E))]),
911
- _: 1
912
- })]),
913
- p("div", ct, [p("div", lt, [
914
- a[47] ||= p("div", { class: "menu-section-title" }, "基础菜单", -1),
915
- (y(!0), f(s, null, x(At.value, (e) => (y(), f("div", {
916
- class: "dialogBtnManage-item",
917
- key: e.id || e.label
918
- }, [p("span", ut, S(e.label), 1), h(b, {
919
- modelValue: e.visible,
920
- "onUpdate:modelValue": (t) => e.visible = t,
921
- "active-color": "#3491df",
922
- "inactive-color": "#4c4c4c",
923
- onChange: $
924
- }, null, 8, ["modelValue", "onUpdate:modelValue"])]))), 128)),
925
- (y(!0), f(s, null, x(jt.value, (e, t) => (y(), f("div", {
926
- class: "dialogBtnManage-item",
927
- key: e.id
928
- }, [p("span", dt, S(e.label), 1), p("div", ft, [
929
- h(_, {
930
- link: "",
931
- size: "small",
932
- onClick: (n) => xn(e, t)
933
- }, {
934
- default: T(() => [...a[45] ||= [m(" 编辑 ", -1)]]),
935
- _: 1
936
- }, 8, ["onClick"]),
937
- h(_, {
938
- link: "",
939
- size: "small",
940
- class: "btn-delete",
941
- onClick: (e) => En(t)
942
- }, {
943
- default: T(() => [...a[46] ||= [m(" 删除 ", -1)]]),
944
- _: 1
945
- }, 8, ["onClick"]),
946
- h(b, {
947
- modelValue: e.visible,
948
- "onUpdate:modelValue": (t) => e.visible = t,
949
- "active-color": "#3491df",
950
- "inactive-color": "#4c4c4c",
951
- onChange: $
952
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
953
- ])]))), 128))
954
- ])]),
955
- p("div", pt, [h(_, {
956
- type: "primary",
957
- onClick: a[17] ||= (e) => G.value = !1
958
- }, {
959
- default: T(() => [...a[48] ||= [m("关 闭", -1)]]),
960
- _: 1
961
- })])
962
- ])])) : d("", !0)])),
963
- (y(), u(c, { to: "body" }, [K.value ? (y(), f("div", mt, [p("div", {
964
- class: "HQ-modal-mask",
965
- onClick: a[18] ||= (e) => K.value = !1
966
- }), p("div", ht, [
967
- p("div", gt, [p("span", _t, S(q.value > -1 ? "编辑自定义菜单" : "新增自定义菜单"), 1), h(l, {
968
- class: "HQ-modal-close",
969
- onClick: a[19] ||= (e) => K.value = !1
970
- }, {
971
- default: T(() => [h(C(E))]),
972
- _: 1
973
- })]),
974
- p("div", vt, [p("div", yt, [h(D, {
975
- "label-width": "100px",
976
- size: "small"
977
- }, {
978
- default: T(() => [
979
- h(w, null, {
980
- label: T(() => [...a[49] ||= [p("span", { class: "form-label" }, "菜单名称", -1)]]),
981
- default: T(() => [h(g, {
982
- modelValue: J.value.label,
983
- "onUpdate:modelValue": a[20] ||= (e) => J.value.label = e,
984
- placeholder: "请输入菜单名称"
985
- }, null, 8, ["modelValue"])]),
986
- _: 1
987
- }),
988
- h(w, null, {
989
- label: T(() => [...a[50] ||= [p("span", { class: "form-label" }, "展示图片", -1)]]),
990
- default: T(() => [h(b, {
991
- modelValue: J.value.showImg,
992
- "onUpdate:modelValue": a[21] ||= (e) => J.value.showImg = e,
993
- "active-color": "#3491df",
994
- "inactive-color": "#4c4c4c"
995
- }, null, 8, ["modelValue"])]),
996
- _: 1
997
- }),
998
- J.value.showImg ? (y(), u(w, { key: 0 }, {
999
- label: T(() => [...a[51] ||= [p("span", { class: "form-label" }, "上传图片", -1)]]),
1000
- default: T(() => [h(fe, {
1001
- ref_key: "customUploadRef",
1002
- ref: Dt,
1003
- class: "upload-demo",
1004
- action: Ot.value,
1005
- data: kt,
1006
- limit: 1,
1007
- "show-file-list": !1,
1008
- "before-upload": Sn,
1009
- "on-success": Cn,
1010
- "on-error": wn
1011
- }, {
1012
- default: T(() => [p("div", bt, [J.value.imgUrl ? (y(), f("img", {
1013
- key: 0,
1014
- src: J.value.imgUrl,
1015
- class: "upload-preview-img"
1016
- }, null, 8, xt)) : (y(), u(l, {
1017
- key: 1,
1018
- class: "upload-plus-icon"
1019
- }, {
1020
- default: T(() => [h(C(de))]),
1021
- _: 1
1022
- }))])]),
1023
- _: 1
1024
- }, 8, ["action"])]),
1025
- _: 1
1026
- })) : d("", !0),
1027
- h(w, null, {
1028
- label: T(() => [...a[52] ||= [p("span", { class: "form-label" }, "菜单内容", -1)]]),
1029
- default: T(() => [(y(!0), f(s, null, x(J.value.list, (e, t) => (y(), f("div", {
1030
- key: t,
1031
- class: "custom-list-item"
1032
- }, [
1033
- h(g, {
1034
- modelValue: e.title,
1035
- "onUpdate:modelValue": (t) => e.title = t,
1036
- placeholder: "标题",
1037
- class: "custom-input-title"
1038
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1039
- h(g, {
1040
- type: "textarea",
1041
- rows: 2,
1042
- modelValue: e.content,
1043
- "onUpdate:modelValue": (t) => e.content = t,
1044
- placeholder: "内容"
1045
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1046
- p("div", St, [h(_, {
1047
- link: "",
1048
- class: "btn-delete",
1049
- onClick: (e) => J.value.list.splice(t, 1)
1050
- }, {
1051
- default: T(() => [...a[53] ||= [m(" 删除此项 ", -1)]]),
1052
- _: 1
1053
- }, 8, ["onClick"])])
1054
- ]))), 128)), h(_, {
1055
- type: "primary",
1056
- plain: "",
1057
- size: "small",
1058
- onClick: a[22] ||= (e) => J.value.list.push({
1059
- title: "",
1060
- content: ""
1061
- })
1062
- }, {
1063
- default: T(() => [...a[54] ||= [m(" 新增内容项 ", -1)]]),
1064
- _: 1
1065
- })]),
1066
- _: 1
1067
- })
1068
- ]),
1069
- _: 1
1070
- })])]),
1071
- p("div", Ct, [h(_, { onClick: a[23] ||= (e) => K.value = !1 }, {
1072
- default: T(() => [...a[55] ||= [m("取 消", -1)]]),
1073
- _: 1
1074
- }), h(_, {
1075
- type: "primary",
1076
- onClick: Tn
1077
- }, {
1078
- default: T(() => [...a[56] ||= [m("确 定", -1)]]),
1079
- _: 1
1080
- })])
1081
- ])])) : d("", !0)]))
1082
- ]);
1083
- };
1084
- }
1085
- }), [["__scopeId", "data-v-4398a9ff"]]);
1086
- //#endregion
1087
- export { wt as t };