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