nxd-plugin 1.7.73 → 1.7.75
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/HighQualityConfig.json.d.ts +339 -0
- package/dist/chunks/component-AiChat-Q30QFcNW.mjs +47618 -0
- package/dist/chunks/{component-AqiMonitor-DbEiA-eq.mjs → component-AqiMonitor-Bnnw0FMj.mjs} +22 -18
- package/dist/chunks/{component-ChartCumulativePre-CqnTrs3A.mjs → component-ChartCumulativePre-C0GUFXEa.mjs} +6 -6
- package/dist/chunks/{component-ChartServiceMaterial-DN-uO_OP.mjs → component-ChartServiceMaterial-CNGZyHfu.mjs} +5 -5
- package/dist/chunks/{component-Duty-BJOz8pxV.mjs → component-Duty-8taqj71c.mjs} +5 -5
- package/dist/chunks/{component-EarlyWarningStatistic-DvAmY7Gh.mjs → component-EarlyWarningStatistic-CXzvMFSw.mjs} +5 -5
- package/dist/chunks/{component-GeologyLiveAlarm-CRRIUd2h.mjs → component-GeologyLiveAlarm-C6uBCDIM.mjs} +6 -6
- package/dist/chunks/component-HighQuality-DFvbK5Vt.mjs +1120 -0
- package/dist/chunks/{component-HighWayEarlyWarningRed-DgNrFdzm.mjs → component-HighWayEarlyWarningRed-VCLYuCBe.mjs} +6 -6
- package/dist/chunks/{component-HighWayFreeze-DzBnVD2r.mjs → component-HighWayFreeze-B3F7d3lb.mjs} +7 -7
- package/dist/chunks/{component-HighwayLiveAlarm-DZM7_KsV.mjs → component-HighwayLiveAlarm-CJdM4vx6.mjs} +5 -5
- package/dist/chunks/{component-HighwayLiveAlarmNew-CPbcFfFw.mjs → component-HighwayLiveAlarmNew-F1sJV5h6.mjs} +9 -9
- package/dist/chunks/{component-HighwayStations-BQM5VnrX.mjs → component-HighwayStations-Bz6Zekf1.mjs} +5 -5
- package/dist/chunks/{component-HighwayWeatherForecast-jJgs1nWv.mjs → component-HighwayWeatherForecast-BvuVI9p6.mjs} +5 -5
- package/dist/chunks/{component-IframeWeb-2o0iO_zv.mjs → component-IframeWeb-CqORkYhs.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-BpL7GGVe.mjs → component-ImageGeneration-DxvSAg0-.mjs} +1 -1
- package/dist/chunks/component-IntroducePic-CW0bRPyF.mjs +58 -0
- package/dist/chunks/{component-LithiumBatteryMiningArea-Cu4xOUMT.mjs → component-LithiumBatteryMiningArea-DRuCBQHX.mjs} +11 -11
- package/dist/chunks/{component-MapPopup-BKpmRiRc.mjs → component-MapPopup-5ov9bufN.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-B9hPgmCc.mjs → component-MaterialPreview-BIrxdpHg.mjs} +5 -5
- package/dist/chunks/{component-PieLegend-oUHPJc3-.mjs → component-PieLegend-BrcbU4Hc.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-Kv3AUHxN.mjs → component-RadarChart-BvRhuudc.mjs} +9 -9
- package/dist/chunks/{component-RadarLegend-CkBt4euh.mjs → component-RadarLegend-BQrNUHJu.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-sDd-YZK5.mjs → component-RadarShortTerm-DSqGlMQq.mjs} +12 -12
- package/dist/chunks/{component-RadarTime-B_8GIAtB.mjs → component-RadarTime-DeA11c09.mjs} +17 -17
- package/dist/chunks/{component-RenderMarkdown-DeNXJIM-.mjs → component-RenderMarkdown-BA6QDwis.mjs} +5 -5
- package/dist/chunks/{component-ReservoirLiveAlarm-BfYMEzip.mjs → component-ReservoirLiveAlarm-CwQGV2pX.mjs} +7 -7
- package/dist/chunks/{component-ServiceMaterial-oEiMoM8L.mjs → component-ServiceMaterial-D4na59x3.mjs} +8 -8
- package/dist/chunks/{component-ServiceMaterialsBtn-bkSh2Pec.mjs → component-ServiceMaterialsBtn-pvj67yYf.mjs} +1 -1
- package/dist/chunks/{component-TimeBasedForecast-B7joXIvV.mjs → component-TimeBasedForecast-JuvtROGA.mjs} +9 -9
- package/dist/chunks/{component-WarningLine-C3-1NPwv.mjs → component-WarningLine-Dcn_betl.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-Bj-bDMis.mjs → component-WarningSignal-q50D47rs.mjs} +16 -16
- package/dist/chunks/{component-WeatherForecast-Dyf8v_Fq.mjs → component-WeatherForecast-ByBdU74M.mjs} +11 -11
- package/dist/chunks/{component-YCDataMonitor-BW_Cmxsb.mjs → component-YCDataMonitor-DcWd4kcO.mjs} +16 -16
- package/dist/chunks/{component-YCDataService-Bp6uTbfE.mjs → component-YCDataService-mOrVZ4oo.mjs} +10 -10
- package/dist/chunks/{component-YCHome-CCSemcIf.mjs → component-YCHome-C-UM-oMR.mjs} +34 -34
- package/dist/chunks/{component-YCHomeLegend-CsgZ7ayU.mjs → component-YCHomeLegend-LI2zcDnx.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-CAKG8hmF.mjs → component-YCLoginNew-DSeX5cyy.mjs} +18 -18
- package/dist/components/AiChat/AiChat.vue.d.ts +61 -0
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +7 -0
- package/dist/components/AiChat/renderMarkdown.d.ts +1 -0
- package/dist/components/AiChat/types.d.ts +48 -0
- package/dist/components/HighQuality/HighQuality.vue.d.ts +67 -0
- package/dist/composables/useDraggable.d.ts +13 -0
- package/dist/index.d.ts +4 -1
- package/dist/nxd-plugin.mjs +40 -37
- package/dist/styles/component-AiChat.css +1 -0
- package/dist/styles/component-HighQuality.css +1 -0
- package/dist/styles/component-IntroducePic.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +7 -2
|
@@ -0,0 +1,1120 @@
|
|
|
1
|
+
import { n as e, r as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
|
|
2
|
+
import { n } from "./component-AiChat-Q30QFcNW.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 v, normalizeStyle as oe, onMounted as se, onUnmounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as w, vShow as ce, watch as T, withCtx as E, withDirectives as le, withModifiers as D } from "vue";
|
|
5
|
+
import { Close as O, Plus as ue } from "@element-plus/icons-vue";
|
|
6
|
+
import * as de from "echarts";
|
|
7
|
+
import { ElMessage as k, ElMessageBox as fe } from "element-plus";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/assets/dataJson/HighQualityConfig.json
|
|
10
|
+
var pe = {
|
|
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
|
+
}, A = [
|
|
54
|
+
{
|
|
55
|
+
label: "人员及经费配置",
|
|
56
|
+
type: "num",
|
|
57
|
+
chartName: "经费变化图",
|
|
58
|
+
bigImgs: ["/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
|
+
], j = ["/staticImg/HighQuality/基本情况.jpg", "/staticImg/HighQuality/领导调研.jpg"], M = ["/staticImg/HighQuality/基本情况.jpg", "/staticImg/HighQuality/领导调研.jpg"], me = {
|
|
223
|
+
map: pe,
|
|
224
|
+
content: A,
|
|
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
|
+
高质量发展: j,
|
|
258
|
+
topBarImg: M
|
|
259
|
+
}, N = {
|
|
260
|
+
key: 0,
|
|
261
|
+
class: "HighQualityPop-overlay"
|
|
262
|
+
}, he = { class: "HighQualityPop-title" }, P = { class: "HighQualityPop-body" }, ge = {
|
|
263
|
+
key: 0,
|
|
264
|
+
class: "HighQualityPop-list"
|
|
265
|
+
}, F = ["src"], _e = /* @__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: t }) {
|
|
274
|
+
let r = e, i = t, { x: a, y: ee, dragging: te, onStart: re } = n({ 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
|
+
};
|
|
277
|
+
T(() => r.visible, (e) => {
|
|
278
|
+
e && ae();
|
|
279
|
+
});
|
|
280
|
+
let m = () => {
|
|
281
|
+
i("update:visible", !1);
|
|
282
|
+
};
|
|
283
|
+
return (t, n) => {
|
|
284
|
+
let r = ne, i = o;
|
|
285
|
+
return b(), u(c, { to: "body" }, [e.visible ? (b(), f("div", N, [p("div", {
|
|
286
|
+
class: v(["HighQualityPop-panel", { "is-dragging": w(te) }]),
|
|
287
|
+
style: oe(ie.value)
|
|
288
|
+
}, [p("div", {
|
|
289
|
+
class: "HighQualityPop-header",
|
|
290
|
+
onPointerdown: n[1] ||= D((...e) => w(re) && w(re)(...e), ["prevent"])
|
|
291
|
+
}, [p("span", he, C(e.title), 1), h(r, {
|
|
292
|
+
class: "HighQualityPop-close",
|
|
293
|
+
onClick: m,
|
|
294
|
+
onPointerdown: n[0] ||= D(() => {}, ["stop"])
|
|
295
|
+
}, {
|
|
296
|
+
default: E(() => [h(w(O))]),
|
|
297
|
+
_: 1
|
|
298
|
+
})], 32), p("div", P, [e.images.length ? (b(), f("div", ge, [(b(!0), f(s, null, S(e.images, (e, t) => (b(), f("div", {
|
|
299
|
+
key: `${e}-${t}`,
|
|
300
|
+
class: "HighQualityPop-item"
|
|
301
|
+
}, [p("img", {
|
|
302
|
+
src: e,
|
|
303
|
+
alt: ""
|
|
304
|
+
}, null, 8, F)]))), 128))])) : (b(), u(i, {
|
|
305
|
+
key: 1,
|
|
306
|
+
description: "暂无图片"
|
|
307
|
+
}))])], 6)])) : d("", !0)]);
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
}), [["__scopeId", "data-v-6103d438"]]), ve = { class: "HighQuality" }, ye = { class: "HighQuality-win-li" }, be = ["onDblclick"], xe = ["innerHTML"], Se = { class: "HighQuality-win-chart" }, Ce = { class: "multiLine-content" }, we = { class: "HighQuality-win-li HighQuality-win-img" }, Te = { class: "img-side-content" }, Ee = ["src"], De = { class: "HighQuality-win-field" }, Oe = { class: "HighQuality-win-field-title" }, ke = { class: "field-title-sub" }, Ae = { class: "HighQuality-win-field-li-circle" }, je = { class: "HighQuality-win-field-li-entries" }, Me = ["onClick"], Ne = { class: "HighQuality-win-field-service" }, Pe = { class: "service-imgs" }, Fe = ["src", "onClick"], Ie = { class: "HighQuality-btns" }, Le = { class: "HighQuality-btns-scroll" }, Re = ["onClick"], ze = {
|
|
311
|
+
key: 0,
|
|
312
|
+
class: "HighQuality-approval-overlay"
|
|
313
|
+
}, Be = { class: "HighQuality-approval-title" }, Ve = { class: "HighQuality-approval-body HighQuality-approval-body--single" }, He = ["src"], Ue = {
|
|
314
|
+
key: 0,
|
|
315
|
+
class: "HQ-pure-viewer"
|
|
316
|
+
}, We = { class: "HQ-pure-viewer-inner" }, Ge = ["src"], Ke = {
|
|
317
|
+
key: 2,
|
|
318
|
+
class: "HQ-pure-viewer-counter"
|
|
319
|
+
}, qe = { class: "diaogIntroduce" }, Je = ["innerHTML"], Ye = { class: "diaogIntroduce-list" }, Xe = { class: "diaogIntroduce-actions" }, Ze = { class: "dialog-footer" }, Qe = { class: "diaogJingji" }, $e = { class: "diaogJingji-list" }, et = { class: "diaogJingji-actions" }, tt = { class: "dialog-footer" }, nt = {
|
|
320
|
+
key: 0,
|
|
321
|
+
class: "HQ-modal-overlay HQ-modal-overlay--menu"
|
|
322
|
+
}, rt = { class: "HQ-modal-panel HQ-modal-panel--menu" }, it = { class: "HQ-modal-header" }, at = { class: "HQ-modal-body" }, ot = { class: "dialogBtnManage" }, st = { class: "dialogBtnManage-label" }, ct = { class: "dialogBtnManage-label" }, lt = { class: "dialogBtnManage-actions" }, ut = { class: "HQ-modal-footer" }, dt = {
|
|
323
|
+
key: 0,
|
|
324
|
+
class: "HQ-modal-overlay HQ-modal-overlay--edit-custom"
|
|
325
|
+
}, ft = { class: "HQ-modal-panel HQ-modal-panel--edit-custom" }, pt = { class: "HQ-modal-header" }, mt = { class: "HQ-modal-title" }, ht = { class: "HQ-modal-body" }, gt = { class: "dialogEditCustom" }, _t = { class: "custom-upload-box" }, vt = ["src"], yt = { class: "custom-item-actions" }, bt = { class: "HQ-modal-footer HQ-modal-footer--center" }, I = /* @__PURE__ */ e(/* @__PURE__ */ g({
|
|
326
|
+
__name: "HighQuality",
|
|
327
|
+
props: {
|
|
328
|
+
config: { default: void 0 },
|
|
329
|
+
baseHttp: { default: "" },
|
|
330
|
+
jsonPath: { default: "/staticJson/HighQualityConfig.json" },
|
|
331
|
+
title: { default: "西海岸新区气象高质量发展" },
|
|
332
|
+
titleStyle: { default: () => ({}) }
|
|
333
|
+
},
|
|
334
|
+
emits: ["navigate"],
|
|
335
|
+
setup(e, { emit: o }) {
|
|
336
|
+
let g = e, pe = o, A = x({ content: [] }), j = x("num"), M = x(null), N = x(null), he = x(!1), P = null, ge = x([]), F = x(!1), I = x(""), L = x([]), xt = x(!1), St = x(""), Ct = x([]), R = x(!1), { x: wt, y: Tt, dragging: Et, onStart: Dt } = n({ disabled: l(() => !R.value) }), Ot = l(() => ({ transform: `translate3d(calc(-50% + ${wt.value}px), calc(-50% + ${Tt.value}px), 0)` })), kt = () => {
|
|
337
|
+
wt.value = 0, Tt.value = 0;
|
|
338
|
+
};
|
|
339
|
+
T(R, (e) => {
|
|
340
|
+
e && kt();
|
|
341
|
+
});
|
|
342
|
+
let z = x(!1), B = x([]), V = x(0), H = x(!1), U = x(null), W = x([]), G = x(!1), K = x([]), q = x(!1), J = x(!1), Y = x(-1), X = x({
|
|
343
|
+
id: "",
|
|
344
|
+
label: "",
|
|
345
|
+
showImg: !1,
|
|
346
|
+
imgUrl: "",
|
|
347
|
+
list: []
|
|
348
|
+
}), At = x(null), jt = l(() => window.g1 ? window.g1.BASE_API + "/fileConfig/CommonConfigfilese" : "/fileConfig/CommonConfigfilese"), Mt = { ConfigCode: "imgfilecode" }, Nt = l(() => (A.value.content || []).filter((e) => e.isBasic)), Pt = l(() => (A.value.content || []).filter((e) => !e.isBasic)), Ft = l(() => (A.value.content || []).filter((e) => e.visible !== !1)), It = l(() => M.value?.type === "num" && M.value.list || []), Lt = l(() => (M.value?.type === "multiLine" || M.value?.type === "custom") && M.value.list || []), Rt = l(() => M.value?.type === "circle" && M.value.list || []), zt = l(() => {
|
|
349
|
+
if (M.value?.type === "circle") {
|
|
350
|
+
let e = M.value.imgs;
|
|
351
|
+
return Array.isArray(e) ? e : [];
|
|
352
|
+
}
|
|
353
|
+
return [];
|
|
354
|
+
}), Bt = l(() => {
|
|
355
|
+
let e = M.value;
|
|
356
|
+
if (e && e.type === "img") {
|
|
357
|
+
let t = e.imgs;
|
|
358
|
+
if (Array.isArray(t) && t.length > 0 && typeof t[0] == "string") return t[0];
|
|
359
|
+
}
|
|
360
|
+
return "/project/staticImg/HighQuality/21.png";
|
|
361
|
+
}), Vt = l(() => {
|
|
362
|
+
let e = M.value;
|
|
363
|
+
if (e && e.type === "img") {
|
|
364
|
+
let t = e.bigImgs;
|
|
365
|
+
if (Array.isArray(t) && t.length > 0) return [...t];
|
|
366
|
+
}
|
|
367
|
+
return [];
|
|
368
|
+
}), Z = x(0), Ht = l(() => B.value[Z.value] || ""), Ut = () => {
|
|
369
|
+
let e = B.value.length;
|
|
370
|
+
e && (Z.value = (Z.value - 1 + e) % e);
|
|
371
|
+
}, Wt = () => {
|
|
372
|
+
let e = B.value.length;
|
|
373
|
+
e && (Z.value = (Z.value + 1) % e);
|
|
374
|
+
};
|
|
375
|
+
T(() => V.value, (e) => {
|
|
376
|
+
Z.value = e >= 0 ? e : 0;
|
|
377
|
+
}), T(() => z.value, (e) => {
|
|
378
|
+
if (e) {
|
|
379
|
+
let e = B.value.length;
|
|
380
|
+
V.value >= 0 && V.value < e ? Z.value = V.value : Z.value = 0;
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
let Gt = (e) => {
|
|
384
|
+
let t = JSON.parse(JSON.stringify(e || { content: [] })), n = t.content || [];
|
|
385
|
+
n.forEach((e, t) => {
|
|
386
|
+
e.isActive = t === 0, e.isBasic = !0, e.visible === void 0 && (e.visible = !0);
|
|
387
|
+
});
|
|
388
|
+
let r = window.localStorage.getItem("tem_hd:highQuality:customMenus"), i = [];
|
|
389
|
+
if (r) try {
|
|
390
|
+
i = JSON.parse(r);
|
|
391
|
+
} catch {
|
|
392
|
+
i = [];
|
|
393
|
+
}
|
|
394
|
+
i.forEach((e) => {
|
|
395
|
+
e.isActive = !1, e.isBasic = !1, e.visible === void 0 && (e.visible = !0);
|
|
396
|
+
}), t.content = [...n, ...i], A.value = t, M.value = t.content[0] || null, j.value = M.value?.type || "num", mn(), _n(), Tn(), ge.value = t.高质量发展 || [];
|
|
397
|
+
}, Kt = async () => {
|
|
398
|
+
if (g.config) return JSON.parse(JSON.stringify(g.config));
|
|
399
|
+
try {
|
|
400
|
+
let e = await t(g.baseHttp + g.jsonPath, !0);
|
|
401
|
+
return e && typeof e == "object" ? e : JSON.parse(JSON.stringify(me));
|
|
402
|
+
} catch (e) {
|
|
403
|
+
return console.error("加载 HighQualityConfig.json 失败,使用默认配置:", e), JSON.parse(JSON.stringify(me));
|
|
404
|
+
}
|
|
405
|
+
}, qt = async () => {
|
|
406
|
+
Gt(await Kt()), j.value === "num" && _(() => {
|
|
407
|
+
Jt(), $t();
|
|
408
|
+
}), he.value = !0;
|
|
409
|
+
}, Jt = () => {
|
|
410
|
+
if (!N.value) return;
|
|
411
|
+
P &&= (P.dispose(), null), P = de.init(N.value);
|
|
412
|
+
let e = A.value.content.find((e) => e.type === "num")?.jingji || [], t = [], n = [], r = [];
|
|
413
|
+
e.forEach((e) => {
|
|
414
|
+
t.push(String(e.year)), n.push(Number(e.all) || 0), r.push(Number(e.people) || 0);
|
|
415
|
+
});
|
|
416
|
+
let i = {
|
|
417
|
+
show: !0,
|
|
418
|
+
position: "top",
|
|
419
|
+
color: "#ffffff",
|
|
420
|
+
distance: 18,
|
|
421
|
+
align: "center",
|
|
422
|
+
verticalAlign: "left",
|
|
423
|
+
rotate: 360,
|
|
424
|
+
formatter: "{c} {name|{a}}",
|
|
425
|
+
fontSize: 14,
|
|
426
|
+
rich: { name: {} }
|
|
427
|
+
}, a = {
|
|
428
|
+
xAxis: {
|
|
429
|
+
type: "category",
|
|
430
|
+
axisTick: { show: !1 },
|
|
431
|
+
data: t,
|
|
432
|
+
nameTextStyle: { color: "#ffffff" },
|
|
433
|
+
axisLabel: { textStyle: { color: "#ffffff" } }
|
|
434
|
+
},
|
|
435
|
+
yAxis: {
|
|
436
|
+
type: "value",
|
|
437
|
+
name: "万元",
|
|
438
|
+
nameTextStyle: { color: "#ffffff" },
|
|
439
|
+
axisLabel: { textStyle: { color: "#ffffff" } }
|
|
440
|
+
},
|
|
441
|
+
series: [{
|
|
442
|
+
name: " ",
|
|
443
|
+
type: "bar",
|
|
444
|
+
label: i,
|
|
445
|
+
emphasis: { focus: "series" },
|
|
446
|
+
data: n
|
|
447
|
+
}, {
|
|
448
|
+
name: "",
|
|
449
|
+
type: "bar",
|
|
450
|
+
label: i,
|
|
451
|
+
emphasis: { focus: "series" },
|
|
452
|
+
data: r
|
|
453
|
+
}]
|
|
454
|
+
};
|
|
455
|
+
P.setOption(a);
|
|
456
|
+
}, Yt = () => {
|
|
457
|
+
P?.resize();
|
|
458
|
+
}, Xt = () => {
|
|
459
|
+
F.value = !1, xt.value = !1, R.value = !1, H.value = !1, G.value = !1, q.value = !1, J.value = !1, z.value = !1;
|
|
460
|
+
}, Zt = (e) => {
|
|
461
|
+
A.value.content.forEach((t) => t.isActive = t === e), j.value = e.type, M.value = e, Xt(), e.type === "num" ? _(() => {
|
|
462
|
+
Jt(), $t();
|
|
463
|
+
}) : e.type === "img" ? Qt() : e.type === "custom" && e.showImg && e.imgUrl && en(e);
|
|
464
|
+
}, Qt = () => {
|
|
465
|
+
R.value = !0;
|
|
466
|
+
}, $t = () => {
|
|
467
|
+
M.value?.type === "num" && (I.value = "区政府保障机制及经费支持", L.value = [g.baseHttp + "/project/staticImg/HighQuality/11.png"], F.value = !0);
|
|
468
|
+
}, en = (e) => {
|
|
469
|
+
I.value = e.label, L.value = e.showImg && e.imgUrl ? [g.baseHttp + e.imgUrl] : [], F.value = !0;
|
|
470
|
+
}, Q = (e) => {
|
|
471
|
+
I.value = e, `${e}`, L.value = [g.baseHttp + "/project/staticImg/HighQuality/" + e + ".png"], F.value = !0;
|
|
472
|
+
}, tn = (e) => {
|
|
473
|
+
let t = M.value?.previewImg, n = Array.isArray(t) ? t.filter((e) => typeof e == "string") : [];
|
|
474
|
+
n.length && (B.value = n, V.value = e, Z.value = e, z.value = !0);
|
|
475
|
+
}, nn = (e) => {
|
|
476
|
+
e.path && pe("navigate", e.path, e.label);
|
|
477
|
+
}, rn = (e) => e ? Array.isArray(e.richContent) && e.richContent.length ? an(e.richContent) : e.content || "" : "", an = (e) => `<div style='font-size:24px;'>${e.map((e) => {
|
|
478
|
+
let t = on(e.text || "");
|
|
479
|
+
return `<span ${e.isRed ? "style='color:red;font-size:32px;margin-right:8px;'" : "style='font-size:24px;'"}>${t}</span>`;
|
|
480
|
+
}).join("")}</div>`, on = (e) => String(e).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), sn = (e) => {
|
|
481
|
+
if (Array.isArray(e.richContent) && e.richContent.length) return e.richContent.map((e) => ({
|
|
482
|
+
id: $(),
|
|
483
|
+
text: e.text || "",
|
|
484
|
+
isRed: !!e.isRed
|
|
485
|
+
}));
|
|
486
|
+
if (!e.content) return [];
|
|
487
|
+
let t = document.createElement("div");
|
|
488
|
+
t.innerHTML = e.content;
|
|
489
|
+
let n = [], r = (e) => {
|
|
490
|
+
Array.from(e).forEach((e) => {
|
|
491
|
+
if (e.nodeType === 3) {
|
|
492
|
+
e.textContent && n.push({
|
|
493
|
+
id: $(),
|
|
494
|
+
text: e.textContent,
|
|
495
|
+
isRed: !1
|
|
496
|
+
});
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
if (e.nodeType === 1) {
|
|
500
|
+
let t = e, i = (t.getAttribute("style") || "").toLowerCase(), a = i.includes("color:red") || i.includes("color: red"), o = t.textContent || "";
|
|
501
|
+
if (o) {
|
|
502
|
+
n.push({
|
|
503
|
+
id: $(),
|
|
504
|
+
text: o,
|
|
505
|
+
isRed: a
|
|
506
|
+
});
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
r(t.childNodes);
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
};
|
|
513
|
+
return r(t.childNodes), n.length ? n : [{
|
|
514
|
+
id: $(),
|
|
515
|
+
text: "",
|
|
516
|
+
isRed: !1
|
|
517
|
+
}];
|
|
518
|
+
}, $ = () => `segment_${Date.now()}_${Math.random().toString(16).slice(2)}`, cn = () => an(W.value), ln = () => {
|
|
519
|
+
W.value.push({
|
|
520
|
+
id: $(),
|
|
521
|
+
text: "",
|
|
522
|
+
isRed: !1
|
|
523
|
+
});
|
|
524
|
+
}, un = (e) => {
|
|
525
|
+
W.value.splice(e, 1), W.value.length || ln();
|
|
526
|
+
}, dn = () => {
|
|
527
|
+
if (!U.value) {
|
|
528
|
+
H.value = !1;
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
let e = W.value.map((e) => ({
|
|
532
|
+
text: String(e.text || ""),
|
|
533
|
+
isRed: !!e.isRed
|
|
534
|
+
}));
|
|
535
|
+
U.value.richContent = e, U.value.content = an(e), hn(), H.value = !1;
|
|
536
|
+
}, fn = (e) => {
|
|
537
|
+
U.value = e, W.value = sn(e), H.value = !0;
|
|
538
|
+
}, pn = () => "tem_hd:highQuality:numList", mn = () => {
|
|
539
|
+
let e = A.value.content.find((e) => e.type === "num");
|
|
540
|
+
if (!e) return;
|
|
541
|
+
let t = window.localStorage.getItem(pn());
|
|
542
|
+
if (t) try {
|
|
543
|
+
let n = JSON.parse(t);
|
|
544
|
+
Array.isArray(n) && n.length && (e.list = n);
|
|
545
|
+
} catch {}
|
|
546
|
+
}, hn = () => {
|
|
547
|
+
let e = A.value.content.find((e) => e.type === "num");
|
|
548
|
+
!e || !Array.isArray(e.list) || window.localStorage.setItem(pn(), JSON.stringify(e.list));
|
|
549
|
+
}, gn = () => "tem_hd:highQuality:numJingji", _n = () => {
|
|
550
|
+
let e = A.value.content.find((e) => e.type === "num");
|
|
551
|
+
if (!e) return;
|
|
552
|
+
let t = window.localStorage.getItem(gn());
|
|
553
|
+
if (t) try {
|
|
554
|
+
let n = JSON.parse(t);
|
|
555
|
+
Array.isArray(n) && (e.jingji = n);
|
|
556
|
+
} catch {}
|
|
557
|
+
}, vn = () => {
|
|
558
|
+
let e = A.value.content.find((e) => e.type === "num");
|
|
559
|
+
!e || !Array.isArray(e.jingji) || window.localStorage.setItem(gn(), JSON.stringify(e.jingji));
|
|
560
|
+
}, yn = () => {
|
|
561
|
+
let e = A.value.content.find((e) => e.type === "num");
|
|
562
|
+
!e || !Array.isArray(e.jingji) ? K.value = [] : K.value = e.jingji.map((e) => ({
|
|
563
|
+
year: String(e.year || ""),
|
|
564
|
+
all: String(e.all || ""),
|
|
565
|
+
people: String(e.people || "")
|
|
566
|
+
})), G.value = !0;
|
|
567
|
+
}, bn = () => {
|
|
568
|
+
K.value.push({
|
|
569
|
+
year: "",
|
|
570
|
+
all: "",
|
|
571
|
+
people: ""
|
|
572
|
+
});
|
|
573
|
+
}, xn = (e) => {
|
|
574
|
+
K.value.splice(e, 1);
|
|
575
|
+
}, Sn = (e) => {
|
|
576
|
+
let t = String(e || "").replace(/\D/g, "");
|
|
577
|
+
return t ? Number(t) : 0;
|
|
578
|
+
}, Cn = () => {
|
|
579
|
+
let e = A.value.content.find((e) => e.type === "num");
|
|
580
|
+
if (!e) {
|
|
581
|
+
G.value = !1;
|
|
582
|
+
return;
|
|
583
|
+
}
|
|
584
|
+
e.jingji = K.value.map((e) => ({
|
|
585
|
+
year: String(e.year || "").trim(),
|
|
586
|
+
all: Sn(e.all),
|
|
587
|
+
people: Sn(e.people)
|
|
588
|
+
})), vn(), G.value = !1, Jt();
|
|
589
|
+
}, wn = () => "tem_hd:highQuality:btnVisible", Tn = () => {
|
|
590
|
+
if (!A.value || !A.value.content) return;
|
|
591
|
+
let e = window.localStorage.getItem(wn());
|
|
592
|
+
if (e) try {
|
|
593
|
+
let t = JSON.parse(e);
|
|
594
|
+
A.value.content.forEach((e) => {
|
|
595
|
+
t[e.label] === void 0 ? e.visible === void 0 && (e.visible = !0) : e.visible = t[e.label];
|
|
596
|
+
});
|
|
597
|
+
} catch {
|
|
598
|
+
A.value.content.forEach((e) => {
|
|
599
|
+
e.visible === void 0 && (e.visible = !0);
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
else A.value.content.forEach((e) => {
|
|
603
|
+
e.visible === void 0 && (e.visible = !0);
|
|
604
|
+
});
|
|
605
|
+
}, En = () => {
|
|
606
|
+
let e = {};
|
|
607
|
+
A.value.content.forEach((t) => {
|
|
608
|
+
e[t.label] = t.visible;
|
|
609
|
+
}), window.localStorage.setItem(wn(), JSON.stringify(e));
|
|
610
|
+
}, Dn = (e, t) => {
|
|
611
|
+
e ? (Y.value = t ?? -1, X.value = JSON.parse(JSON.stringify(e))) : (Y.value = -1, X.value = {
|
|
612
|
+
id: Date.now() + "",
|
|
613
|
+
label: "",
|
|
614
|
+
showImg: !1,
|
|
615
|
+
imgUrl: "",
|
|
616
|
+
list: [{
|
|
617
|
+
title: "",
|
|
618
|
+
content: ""
|
|
619
|
+
}]
|
|
620
|
+
}), J.value = !0;
|
|
621
|
+
}, On = (e) => {
|
|
622
|
+
Mt.ConfigCode = "imgfilecode";
|
|
623
|
+
let t = new FileReader();
|
|
624
|
+
return t.onload = (e) => {
|
|
625
|
+
X.value.imgUrl = String(e.target?.result || "");
|
|
626
|
+
}, t.readAsDataURL(e), !0;
|
|
627
|
+
}, kn = (e) => {
|
|
628
|
+
if (e.code == 0) {
|
|
629
|
+
At.value?.clearFiles?.();
|
|
630
|
+
let t = e.ds || {}, n = t.fileUrl || t.fileName || "";
|
|
631
|
+
n && !n.startsWith("http") && (n = (window.g1 && window.g1.BASE_API ? String(window.g1.BASE_API).replace("/api", "") : "") + n), n && (X.value.imgUrl = n), k.success("图片上传成功");
|
|
632
|
+
} else k.error(e.msg || "上传失败");
|
|
633
|
+
}, An = () => {
|
|
634
|
+
k.error("图片上传调用接口失败");
|
|
635
|
+
}, jn = () => {
|
|
636
|
+
if (!X.value.label.trim()) {
|
|
637
|
+
k.warning("请输入菜单名称");
|
|
638
|
+
return;
|
|
639
|
+
}
|
|
640
|
+
let e = X.value;
|
|
641
|
+
if (e.type = "custom", e.isBasic = !1, e.isActive = !1, e.visible === void 0 && (e.visible = !0), Y.value > -1) {
|
|
642
|
+
let t = e.id, n = A.value.content.findIndex((e) => e.id === t);
|
|
643
|
+
n > -1 && (A.value.content[n] = { ...e });
|
|
644
|
+
} else A.value.content.push({ ...e });
|
|
645
|
+
Nn(), En(), J.value = !1, M.value && M.value.id === e.id && (M.value = A.value.content.find((t) => t.id === e.id) || null);
|
|
646
|
+
}, Mn = (e) => {
|
|
647
|
+
fe.confirm("确定要删除该自定义菜单吗?", "提示", { type: "warning" }).then(() => {
|
|
648
|
+
let t = Pt.value[e], n = A.value.content.findIndex((e) => e.id === t.id);
|
|
649
|
+
n > -1 && (A.value.content.splice(n, 1), Nn(), En(), M.value && M.value.id === t.id && Zt(A.value.content[0]));
|
|
650
|
+
}).catch(() => {});
|
|
651
|
+
}, Nn = () => {
|
|
652
|
+
let e = A.value.content.filter((e) => !e.isBasic);
|
|
653
|
+
window.localStorage.setItem("tem_hd:highQuality:customMenus", JSON.stringify(e));
|
|
654
|
+
};
|
|
655
|
+
return T(() => [
|
|
656
|
+
g.config,
|
|
657
|
+
g.baseHttp,
|
|
658
|
+
g.jsonPath
|
|
659
|
+
], () => {
|
|
660
|
+
qt();
|
|
661
|
+
}, { deep: !0 }), se(() => {
|
|
662
|
+
qt(), window.addEventListener("resize", Yt);
|
|
663
|
+
}), y(() => {
|
|
664
|
+
window.removeEventListener("resize", Yt), P &&= (P.dispose(), null);
|
|
665
|
+
}), (t, n) => {
|
|
666
|
+
let o = ne, l = re, g = i, _ = r, se = a, y = ie, x = te, T = ae, de = ee;
|
|
667
|
+
return b(), f("div", ve, [
|
|
668
|
+
p("div", {
|
|
669
|
+
class: "HighQuality-title",
|
|
670
|
+
style: oe(e.titleStyle)
|
|
671
|
+
}, C(e.title), 5),
|
|
672
|
+
p("div", { class: v(["HighQuality-win", { "is-scrollable": j.value === "multiLine" || j.value === "custom" }]) }, [
|
|
673
|
+
le(p("div", ye, [(b(!0), f(s, null, S(It.value, (e, t) => (b(), f("div", {
|
|
674
|
+
key: t,
|
|
675
|
+
class: "HighQuality-win-num",
|
|
676
|
+
onDblclick: (t) => fn(e)
|
|
677
|
+
}, [p("div", { innerHTML: rn(e) }, null, 8, xe)], 40, be))), 128)), p("div", Se, [p("div", {
|
|
678
|
+
ref_key: "chartRef",
|
|
679
|
+
ref: N,
|
|
680
|
+
class: "chart-jingji",
|
|
681
|
+
onDblclick: yn
|
|
682
|
+
}, null, 544), n[25] ||= p("div", { class: "chart-jingji-label" }, "经费变化图", -1)])], 512), [[ce, j.value === "num"]]),
|
|
683
|
+
j.value === "multiLine" || j.value === "custom" ? (b(!0), f(s, { key: 0 }, S(Lt.value, (e, t) => (b(), f("div", {
|
|
684
|
+
key: t,
|
|
685
|
+
class: "HighQuality-win-li HighQuality-win-multiLine"
|
|
686
|
+
}, [p("div", null, C(e.title), 1), p("div", Ce, C(e.content), 1)]))), 128)) : d("", !0),
|
|
687
|
+
le(p("div", we, [p("div", Te, [Bt.value ? (b(), f("img", {
|
|
688
|
+
key: 0,
|
|
689
|
+
src: e.baseHttp + Bt.value,
|
|
690
|
+
alt: ""
|
|
691
|
+
}, null, 8, Ee)) : d("", !0)])], 512), [[ce, j.value === "img"]]),
|
|
692
|
+
le(p("div", De, [
|
|
693
|
+
p("div", Oe, [n[31] ||= p("div", { class: "field-title-main" }, [
|
|
694
|
+
m(" 高质量试点总结的 "),
|
|
695
|
+
p("span", { class: "field-title-highlight" }, "4个“5”"),
|
|
696
|
+
m(" 的经验做法。 ")
|
|
697
|
+
], -1), p("div", ke, [
|
|
698
|
+
p("span", {
|
|
699
|
+
class: "field-title-sub-item",
|
|
700
|
+
onClick: n[0] ||= (e) => Q("5个机制")
|
|
701
|
+
}, [...n[26] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "个机制,", -1)]]),
|
|
702
|
+
p("span", {
|
|
703
|
+
class: "field-title-sub-item",
|
|
704
|
+
onClick: n[1] ||= (e) => Q("5个举措")
|
|
705
|
+
}, [...n[27] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "个举措,", -1)]]),
|
|
706
|
+
p("span", {
|
|
707
|
+
class: "field-title-sub-item",
|
|
708
|
+
onClick: n[2] ||= (e) => Q("5个创新")
|
|
709
|
+
}, [...n[28] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "个创新,", -1)]]),
|
|
710
|
+
p("span", {
|
|
711
|
+
class: "field-title-sub-item",
|
|
712
|
+
onClick: n[3] ||= (e) => Q("5大领域")
|
|
713
|
+
}, [...n[29] ||= [p("span", { class: "field-title-number" }, "5", -1), p("span", null, "大领域", -1)]]),
|
|
714
|
+
n[30] ||= p("span", null, "的气象服务。", -1)
|
|
715
|
+
])]),
|
|
716
|
+
(b(!0), f(s, null, S(Rt.value, (e, t) => (b(), f("div", {
|
|
717
|
+
class: "HighQuality-win-field-li",
|
|
718
|
+
key: t
|
|
719
|
+
}, [p("div", Ae, C(e.label), 1), p("div", je, [(b(!0), f(s, null, S(e.entries, (e) => (b(), f("div", {
|
|
720
|
+
class: "HighQuality-win-field-li-entry",
|
|
721
|
+
key: e.label,
|
|
722
|
+
onClick: (t) => nn(e)
|
|
723
|
+
}, C(e.label), 9, Me))), 128))])]))), 128)),
|
|
724
|
+
p("div", Ne, [n[32] ||= p("div", { class: "service-title" }, "服务融入政务服务平台", -1), p("div", Pe, [(b(!0), f(s, null, S(zt.value, (t, n) => (b(), f("img", {
|
|
725
|
+
key: n,
|
|
726
|
+
src: e.baseHttp + t,
|
|
727
|
+
alt: "",
|
|
728
|
+
onClick: (e) => tn(n)
|
|
729
|
+
}, null, 8, Fe))), 128))])])
|
|
730
|
+
], 512), [[ce, j.value === "circle"]])
|
|
731
|
+
], 2),
|
|
732
|
+
p("div", Ie, [p("div", Le, [(b(!0), f(s, null, S(Ft.value, (e) => (b(), f("div", {
|
|
733
|
+
class: v(["HighQuality-btns-li", { "HighQuality-btns-li-active": e.isActive }]),
|
|
734
|
+
key: e.id || e.label,
|
|
735
|
+
onClick: (t) => Zt(e)
|
|
736
|
+
}, C(e.label), 11, Re))), 128))]), p("div", {
|
|
737
|
+
class: "HighQuality-btns-li more-btn",
|
|
738
|
+
onClick: n[4] ||= (e) => q.value = !0
|
|
739
|
+
}, [...n[33] ||= [p("img", {
|
|
740
|
+
style: { width: "30px" },
|
|
741
|
+
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAPZJREFUSEvdlsFpAkEUhr//YrxYgRUIgeRkYg3agJACkoObWmIOpoBAGrAHk5tKIBWkg1z08oeR2Zu7jrDsgHMZGJaP/1vevDciLtsd4BGYAtfx+Bv4AN4k7ctv6/a2OQphbPeBJXBbEW4NTCT9ngjfOkfxj33VhC8zb4A7SbtjEtk4tmfAPKU8gELSa4VAHo7tFXCfKPApaVQhkIdjO5REuMApayepWyGQh3OmwJ+kXgMCzXEuoYQK4CWlfoBnSUcvvO08HNtXQGijNycktsCwpo3m4SQOsjADxg0MssY5h0kcJUInegIegEE8/gHegcWZT4nWOP/eBshXeGHOnwAAAABJRU5ErkJggg==",
|
|
742
|
+
alt: ""
|
|
743
|
+
}, null, -1)]])]),
|
|
744
|
+
h(_e, {
|
|
745
|
+
visible: F.value,
|
|
746
|
+
"onUpdate:visible": n[5] ||= (e) => F.value = e,
|
|
747
|
+
title: I.value,
|
|
748
|
+
images: L.value
|
|
749
|
+
}, null, 8, [
|
|
750
|
+
"visible",
|
|
751
|
+
"title",
|
|
752
|
+
"images"
|
|
753
|
+
]),
|
|
754
|
+
(b(), u(c, { to: "body" }, [R.value ? (b(), f("div", ze, [p("div", {
|
|
755
|
+
class: v(["HighQuality-approval-panel HighQuality-approval-panel--single", { "is-dragging": w(Et) }]),
|
|
756
|
+
style: oe(Ot.value)
|
|
757
|
+
}, [p("div", {
|
|
758
|
+
class: "HighQuality-approval-header",
|
|
759
|
+
onPointerdown: n[8] ||= D((...e) => w(Dt) && w(Dt)(...e), ["prevent"])
|
|
760
|
+
}, [p("span", Be, C(M.value?.bigImgsTitle || "中国气象局同意黄岛区开展气象高质量发展试点的批复"), 1), h(o, {
|
|
761
|
+
class: "HighQuality-approval-close",
|
|
762
|
+
onClick: n[6] ||= (e) => R.value = !1,
|
|
763
|
+
onPointerdown: n[7] ||= D(() => {}, ["stop"])
|
|
764
|
+
}, {
|
|
765
|
+
default: E(() => [h(w(O))]),
|
|
766
|
+
_: 1
|
|
767
|
+
})], 32), p("div", Ve, [(b(!0), f(s, null, S(Vt.value, (t, n) => (b(), f("img", {
|
|
768
|
+
key: `a-${n}`,
|
|
769
|
+
src: e.baseHttp + t,
|
|
770
|
+
alt: ""
|
|
771
|
+
}, null, 8, He))), 128))])], 6)])) : d("", !0)])),
|
|
772
|
+
(b(), u(c, { to: "body" }, [z.value ? (b(), f("div", Ue, [p("div", {
|
|
773
|
+
class: "HQ-pure-viewer-mask",
|
|
774
|
+
onClick: n[9] ||= (e) => z.value = !1
|
|
775
|
+
}), p("div", We, [
|
|
776
|
+
h(o, {
|
|
777
|
+
class: "HQ-pure-viewer-close",
|
|
778
|
+
onClick: n[10] ||= (e) => z.value = !1
|
|
779
|
+
}, {
|
|
780
|
+
default: E(() => [h(w(O))]),
|
|
781
|
+
_: 1
|
|
782
|
+
}),
|
|
783
|
+
Ht.value ? (b(), f("img", {
|
|
784
|
+
key: 0,
|
|
785
|
+
src: e.baseHttp + Ht.value,
|
|
786
|
+
alt: "",
|
|
787
|
+
class: "HQ-pure-viewer-img"
|
|
788
|
+
}, null, 8, Ge)) : d("", !0),
|
|
789
|
+
B.value.length > 1 ? (b(), f(s, { key: 1 }, [p("button", {
|
|
790
|
+
type: "button",
|
|
791
|
+
class: "HQ-pure-viewer-arrow HQ-pure-viewer-arrow--prev",
|
|
792
|
+
onClick: D(Ut, ["stop"]),
|
|
793
|
+
"aria-label": "上一张"
|
|
794
|
+
}, " ‹ "), p("button", {
|
|
795
|
+
type: "button",
|
|
796
|
+
class: "HQ-pure-viewer-arrow HQ-pure-viewer-arrow--next",
|
|
797
|
+
onClick: D(Wt, ["stop"]),
|
|
798
|
+
"aria-label": "下一张"
|
|
799
|
+
}, " › ")], 64)) : d("", !0),
|
|
800
|
+
B.value.length > 1 ? (b(), f("div", Ke, C(Z.value + 1) + " / " + C(B.value.length), 1)) : d("", !0)
|
|
801
|
+
])])) : d("", !0)])),
|
|
802
|
+
h(_e, {
|
|
803
|
+
visible: xt.value,
|
|
804
|
+
"onUpdate:visible": n[11] ||= (e) => xt.value = e,
|
|
805
|
+
title: St.value,
|
|
806
|
+
images: Ct.value
|
|
807
|
+
}, null, 8, [
|
|
808
|
+
"visible",
|
|
809
|
+
"title",
|
|
810
|
+
"images"
|
|
811
|
+
]),
|
|
812
|
+
h(se, {
|
|
813
|
+
modelValue: H.value,
|
|
814
|
+
"onUpdate:modelValue": n[13] ||= (e) => H.value = e,
|
|
815
|
+
title: "编辑文本",
|
|
816
|
+
width: "700px",
|
|
817
|
+
center: "",
|
|
818
|
+
"close-on-click-modal": !1,
|
|
819
|
+
"close-on-press-escape": !1
|
|
820
|
+
}, {
|
|
821
|
+
footer: E(() => [p("span", Ze, [h(_, { onClick: n[12] ||= (e) => H.value = !1 }, {
|
|
822
|
+
default: E(() => [...n[37] ||= [m("取 消", -1)]]),
|
|
823
|
+
_: 1
|
|
824
|
+
}), h(_, {
|
|
825
|
+
type: "primary",
|
|
826
|
+
onClick: dn
|
|
827
|
+
}, {
|
|
828
|
+
default: E(() => [...n[38] ||= [m("确 定", -1)]]),
|
|
829
|
+
_: 1
|
|
830
|
+
})])]),
|
|
831
|
+
default: E(() => [p("div", qe, [
|
|
832
|
+
p("div", {
|
|
833
|
+
class: "diaogIntroduce-preview",
|
|
834
|
+
innerHTML: cn()
|
|
835
|
+
}, null, 8, Je),
|
|
836
|
+
p("div", Ye, [(b(!0), f(s, null, S(W.value, (e, t) => (b(), f("div", {
|
|
837
|
+
class: "diaogIntroduce-item",
|
|
838
|
+
key: e.id
|
|
839
|
+
}, [
|
|
840
|
+
h(l, {
|
|
841
|
+
modelValue: e.text,
|
|
842
|
+
"onUpdate:modelValue": (t) => e.text = t,
|
|
843
|
+
placeholder: "请输入文本"
|
|
844
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
845
|
+
h(g, {
|
|
846
|
+
modelValue: e.isRed,
|
|
847
|
+
"onUpdate:modelValue": (t) => e.isRed = t
|
|
848
|
+
}, {
|
|
849
|
+
default: E(() => [...n[34] ||= [m("标红", -1)]]),
|
|
850
|
+
_: 1
|
|
851
|
+
}, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
852
|
+
h(_, {
|
|
853
|
+
type: "text",
|
|
854
|
+
onClick: (e) => un(t)
|
|
855
|
+
}, {
|
|
856
|
+
default: E(() => [...n[35] ||= [m("删除", -1)]]),
|
|
857
|
+
_: 1
|
|
858
|
+
}, 8, ["onClick"])
|
|
859
|
+
]))), 128))]),
|
|
860
|
+
p("div", Xe, [h(_, {
|
|
861
|
+
type: "primary",
|
|
862
|
+
plain: "",
|
|
863
|
+
onClick: ln
|
|
864
|
+
}, {
|
|
865
|
+
default: E(() => [...n[36] ||= [m("新增文本片段", -1)]]),
|
|
866
|
+
_: 1
|
|
867
|
+
})])
|
|
868
|
+
])]),
|
|
869
|
+
_: 1
|
|
870
|
+
}, 8, ["modelValue"]),
|
|
871
|
+
h(se, {
|
|
872
|
+
modelValue: G.value,
|
|
873
|
+
"onUpdate:modelValue": n[15] ||= (e) => G.value = e,
|
|
874
|
+
title: "编辑图表数据",
|
|
875
|
+
width: "760px",
|
|
876
|
+
center: "",
|
|
877
|
+
"close-on-click-modal": !1,
|
|
878
|
+
"close-on-press-escape": !1
|
|
879
|
+
}, {
|
|
880
|
+
footer: E(() => [p("span", tt, [h(_, { onClick: n[14] ||= (e) => G.value = !1 }, {
|
|
881
|
+
default: E(() => [...n[42] ||= [m("取 消", -1)]]),
|
|
882
|
+
_: 1
|
|
883
|
+
}), h(_, {
|
|
884
|
+
type: "primary",
|
|
885
|
+
onClick: Cn
|
|
886
|
+
}, {
|
|
887
|
+
default: E(() => [...n[43] ||= [m("确 定", -1)]]),
|
|
888
|
+
_: 1
|
|
889
|
+
})])]),
|
|
890
|
+
default: E(() => [p("div", Qe, [
|
|
891
|
+
n[41] ||= p("div", { class: "diaogJingji-header" }, [
|
|
892
|
+
p("span", null, "年份"),
|
|
893
|
+
p("span", null, "全部"),
|
|
894
|
+
p("span", null, "人员"),
|
|
895
|
+
p("span", null, "操作")
|
|
896
|
+
], -1),
|
|
897
|
+
p("div", $e, [(b(!0), f(s, null, S(K.value, (e, t) => (b(), f("div", {
|
|
898
|
+
class: "diaogJingji-item",
|
|
899
|
+
key: t
|
|
900
|
+
}, [
|
|
901
|
+
h(l, {
|
|
902
|
+
modelValue: e.year,
|
|
903
|
+
"onUpdate:modelValue": (t) => e.year = t,
|
|
904
|
+
placeholder: "年份"
|
|
905
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
906
|
+
h(l, {
|
|
907
|
+
modelValue: e.all,
|
|
908
|
+
"onUpdate:modelValue": (t) => e.all = t,
|
|
909
|
+
placeholder: "全部"
|
|
910
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
911
|
+
h(l, {
|
|
912
|
+
modelValue: e.people,
|
|
913
|
+
"onUpdate:modelValue": (t) => e.people = t,
|
|
914
|
+
placeholder: "人员"
|
|
915
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
916
|
+
h(_, {
|
|
917
|
+
type: "text",
|
|
918
|
+
onClick: (e) => xn(t)
|
|
919
|
+
}, {
|
|
920
|
+
default: E(() => [...n[39] ||= [m("删除", -1)]]),
|
|
921
|
+
_: 1
|
|
922
|
+
}, 8, ["onClick"])
|
|
923
|
+
]))), 128))]),
|
|
924
|
+
p("div", et, [h(_, {
|
|
925
|
+
type: "primary",
|
|
926
|
+
plain: "",
|
|
927
|
+
onClick: bn
|
|
928
|
+
}, {
|
|
929
|
+
default: E(() => [...n[40] ||= [m("新增一行", -1)]]),
|
|
930
|
+
_: 1
|
|
931
|
+
})])
|
|
932
|
+
])]),
|
|
933
|
+
_: 1
|
|
934
|
+
}, 8, ["modelValue"]),
|
|
935
|
+
(b(), u(c, { to: "body" }, [q.value ? (b(), f("div", nt, [p("div", {
|
|
936
|
+
class: "HQ-modal-mask",
|
|
937
|
+
onClick: n[16] ||= (e) => q.value = !1
|
|
938
|
+
}), p("div", rt, [
|
|
939
|
+
p("div", it, [n[44] ||= p("span", { class: "HQ-modal-title" }, "菜单管理", -1), h(o, {
|
|
940
|
+
class: "HQ-modal-close",
|
|
941
|
+
onClick: n[17] ||= (e) => q.value = !1
|
|
942
|
+
}, {
|
|
943
|
+
default: E(() => [h(w(O))]),
|
|
944
|
+
_: 1
|
|
945
|
+
})]),
|
|
946
|
+
p("div", at, [p("div", ot, [
|
|
947
|
+
n[47] ||= p("div", { class: "menu-section-title" }, "基础菜单", -1),
|
|
948
|
+
(b(!0), f(s, null, S(Nt.value, (e) => (b(), f("div", {
|
|
949
|
+
class: "dialogBtnManage-item",
|
|
950
|
+
key: e.id || e.label
|
|
951
|
+
}, [p("span", st, C(e.label), 1), h(y, {
|
|
952
|
+
modelValue: e.visible,
|
|
953
|
+
"onUpdate:modelValue": (t) => e.visible = t,
|
|
954
|
+
"active-color": "#3491df",
|
|
955
|
+
"inactive-color": "#4c4c4c",
|
|
956
|
+
onChange: En
|
|
957
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])]))), 128)),
|
|
958
|
+
(b(!0), f(s, null, S(Pt.value, (e, t) => (b(), f("div", {
|
|
959
|
+
class: "dialogBtnManage-item",
|
|
960
|
+
key: e.id
|
|
961
|
+
}, [p("span", ct, C(e.label), 1), p("div", lt, [
|
|
962
|
+
h(_, {
|
|
963
|
+
link: "",
|
|
964
|
+
size: "small",
|
|
965
|
+
onClick: (n) => Dn(e, t)
|
|
966
|
+
}, {
|
|
967
|
+
default: E(() => [...n[45] ||= [m(" 编辑 ", -1)]]),
|
|
968
|
+
_: 1
|
|
969
|
+
}, 8, ["onClick"]),
|
|
970
|
+
h(_, {
|
|
971
|
+
link: "",
|
|
972
|
+
size: "small",
|
|
973
|
+
class: "btn-delete",
|
|
974
|
+
onClick: (e) => Mn(t)
|
|
975
|
+
}, {
|
|
976
|
+
default: E(() => [...n[46] ||= [m(" 删除 ", -1)]]),
|
|
977
|
+
_: 1
|
|
978
|
+
}, 8, ["onClick"]),
|
|
979
|
+
h(y, {
|
|
980
|
+
modelValue: e.visible,
|
|
981
|
+
"onUpdate:modelValue": (t) => e.visible = t,
|
|
982
|
+
"active-color": "#3491df",
|
|
983
|
+
"inactive-color": "#4c4c4c",
|
|
984
|
+
onChange: En
|
|
985
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
986
|
+
])]))), 128))
|
|
987
|
+
])]),
|
|
988
|
+
p("div", ut, [h(_, {
|
|
989
|
+
type: "primary",
|
|
990
|
+
onClick: n[18] ||= (e) => q.value = !1
|
|
991
|
+
}, {
|
|
992
|
+
default: E(() => [...n[48] ||= [m("关 闭", -1)]]),
|
|
993
|
+
_: 1
|
|
994
|
+
})])
|
|
995
|
+
])])) : d("", !0)])),
|
|
996
|
+
(b(), u(c, { to: "body" }, [J.value ? (b(), f("div", dt, [p("div", {
|
|
997
|
+
class: "HQ-modal-mask",
|
|
998
|
+
onClick: n[19] ||= (e) => J.value = !1
|
|
999
|
+
}), p("div", ft, [
|
|
1000
|
+
p("div", pt, [p("span", mt, C(Y.value > -1 ? "编辑自定义菜单" : "新增自定义菜单"), 1), h(o, {
|
|
1001
|
+
class: "HQ-modal-close",
|
|
1002
|
+
onClick: n[20] ||= (e) => J.value = !1
|
|
1003
|
+
}, {
|
|
1004
|
+
default: E(() => [h(w(O))]),
|
|
1005
|
+
_: 1
|
|
1006
|
+
})]),
|
|
1007
|
+
p("div", ht, [p("div", gt, [h(de, {
|
|
1008
|
+
"label-width": "100px",
|
|
1009
|
+
size: "small"
|
|
1010
|
+
}, {
|
|
1011
|
+
default: E(() => [
|
|
1012
|
+
h(x, null, {
|
|
1013
|
+
label: E(() => [...n[49] ||= [p("span", { class: "form-label" }, "菜单名称", -1)]]),
|
|
1014
|
+
default: E(() => [h(l, {
|
|
1015
|
+
modelValue: X.value.label,
|
|
1016
|
+
"onUpdate:modelValue": n[21] ||= (e) => X.value.label = e,
|
|
1017
|
+
placeholder: "请输入菜单名称"
|
|
1018
|
+
}, null, 8, ["modelValue"])]),
|
|
1019
|
+
_: 1
|
|
1020
|
+
}),
|
|
1021
|
+
h(x, null, {
|
|
1022
|
+
label: E(() => [...n[50] ||= [p("span", { class: "form-label" }, "展示图片", -1)]]),
|
|
1023
|
+
default: E(() => [h(y, {
|
|
1024
|
+
modelValue: X.value.showImg,
|
|
1025
|
+
"onUpdate:modelValue": n[22] ||= (e) => X.value.showImg = e,
|
|
1026
|
+
"active-color": "#3491df",
|
|
1027
|
+
"inactive-color": "#4c4c4c"
|
|
1028
|
+
}, null, 8, ["modelValue"])]),
|
|
1029
|
+
_: 1
|
|
1030
|
+
}),
|
|
1031
|
+
X.value.showImg ? (b(), u(x, { key: 0 }, {
|
|
1032
|
+
label: E(() => [...n[51] ||= [p("span", { class: "form-label" }, "上传图片", -1)]]),
|
|
1033
|
+
default: E(() => [h(T, {
|
|
1034
|
+
ref_key: "customUploadRef",
|
|
1035
|
+
ref: At,
|
|
1036
|
+
class: "upload-demo",
|
|
1037
|
+
action: jt.value,
|
|
1038
|
+
data: Mt,
|
|
1039
|
+
limit: 1,
|
|
1040
|
+
"show-file-list": !1,
|
|
1041
|
+
"before-upload": On,
|
|
1042
|
+
"on-success": kn,
|
|
1043
|
+
"on-error": An
|
|
1044
|
+
}, {
|
|
1045
|
+
default: E(() => [p("div", _t, [X.value.imgUrl ? (b(), f("img", {
|
|
1046
|
+
key: 0,
|
|
1047
|
+
src: X.value.imgUrl,
|
|
1048
|
+
class: "upload-preview-img"
|
|
1049
|
+
}, null, 8, vt)) : (b(), u(o, {
|
|
1050
|
+
key: 1,
|
|
1051
|
+
class: "upload-plus-icon"
|
|
1052
|
+
}, {
|
|
1053
|
+
default: E(() => [h(w(ue))]),
|
|
1054
|
+
_: 1
|
|
1055
|
+
}))])]),
|
|
1056
|
+
_: 1
|
|
1057
|
+
}, 8, ["action"])]),
|
|
1058
|
+
_: 1
|
|
1059
|
+
})) : d("", !0),
|
|
1060
|
+
h(x, null, {
|
|
1061
|
+
label: E(() => [...n[52] ||= [p("span", { class: "form-label" }, "菜单内容", -1)]]),
|
|
1062
|
+
default: E(() => [(b(!0), f(s, null, S(X.value.list, (e, t) => (b(), f("div", {
|
|
1063
|
+
key: t,
|
|
1064
|
+
class: "custom-list-item"
|
|
1065
|
+
}, [
|
|
1066
|
+
h(l, {
|
|
1067
|
+
modelValue: e.title,
|
|
1068
|
+
"onUpdate:modelValue": (t) => e.title = t,
|
|
1069
|
+
placeholder: "标题",
|
|
1070
|
+
class: "custom-input-title"
|
|
1071
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1072
|
+
h(l, {
|
|
1073
|
+
type: "textarea",
|
|
1074
|
+
rows: 2,
|
|
1075
|
+
modelValue: e.content,
|
|
1076
|
+
"onUpdate:modelValue": (t) => e.content = t,
|
|
1077
|
+
placeholder: "内容"
|
|
1078
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1079
|
+
p("div", yt, [h(_, {
|
|
1080
|
+
link: "",
|
|
1081
|
+
class: "btn-delete",
|
|
1082
|
+
onClick: (e) => X.value.list.splice(t, 1)
|
|
1083
|
+
}, {
|
|
1084
|
+
default: E(() => [...n[53] ||= [m(" 删除此项 ", -1)]]),
|
|
1085
|
+
_: 1
|
|
1086
|
+
}, 8, ["onClick"])])
|
|
1087
|
+
]))), 128)), h(_, {
|
|
1088
|
+
type: "primary",
|
|
1089
|
+
plain: "",
|
|
1090
|
+
size: "small",
|
|
1091
|
+
onClick: n[23] ||= (e) => X.value.list.push({
|
|
1092
|
+
title: "",
|
|
1093
|
+
content: ""
|
|
1094
|
+
})
|
|
1095
|
+
}, {
|
|
1096
|
+
default: E(() => [...n[54] ||= [m(" 新增内容项 ", -1)]]),
|
|
1097
|
+
_: 1
|
|
1098
|
+
})]),
|
|
1099
|
+
_: 1
|
|
1100
|
+
})
|
|
1101
|
+
]),
|
|
1102
|
+
_: 1
|
|
1103
|
+
})])]),
|
|
1104
|
+
p("div", bt, [h(_, { onClick: n[24] ||= (e) => J.value = !1 }, {
|
|
1105
|
+
default: E(() => [...n[55] ||= [m("取 消", -1)]]),
|
|
1106
|
+
_: 1
|
|
1107
|
+
}), h(_, {
|
|
1108
|
+
type: "primary",
|
|
1109
|
+
onClick: jn
|
|
1110
|
+
}, {
|
|
1111
|
+
default: E(() => [...n[56] ||= [m("确 定", -1)]]),
|
|
1112
|
+
_: 1
|
|
1113
|
+
})])
|
|
1114
|
+
])])) : d("", !0)]))
|
|
1115
|
+
]);
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
}), [["__scopeId", "data-v-a7ff695d"]]);
|
|
1119
|
+
//#endregion
|
|
1120
|
+
export { I as t };
|