ling-yun-custom-components 0.0.42 → 0.0.43
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/es/AppIntro.mjs +223 -241
- package/es/assets/AppIntro.css +1 -1
- package/es/assets/PageNotFound.css +0 -0
- package/es/chunks/global.DLyUBjAm.js +8080 -0
- package/es/chunks/global.DpSgdQXX.js +7906 -0
- package/es/chunks/layout.BgtHhnxJ.js +66 -0
- package/es/chunks/layout.CRtj9xK9.js +230 -0
- package/es/chunks/layout.CYgILBXq.js +592 -0
- package/es/chunks/layout.DTDMwNO7.js +231 -0
- package/es/chunks/layout.D_fCzVf0.js +39 -0
- package/es/chunks/layout.DdM4MaRr.js +149 -0
- package/lib/AppIntro.js +1 -1
- package/lib/assets/AppIntro.css +1 -1
- package/lib/assets/PageNotFound.css +0 -0
- package/lib/chunks/global.3UE6pLnj.js +1 -0
- package/lib/chunks/global.Cmc2k3td.js +1 -0
- package/lib/chunks/layout.BCsKDB9S.js +1 -0
- package/lib/chunks/layout.BbWwZ-k5.js +1 -0
- package/lib/chunks/layout.BlY_nSey.js +1 -0
- package/lib/chunks/layout.CsWdFS5P.js +1 -0
- package/lib/chunks/layout.DE2mqrz_.js +1 -0
- package/lib/chunks/layout.YVnsUDl7.js +1 -0
- package/package.json +2 -2
package/es/AppIntro.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
import { ElIcon as
|
|
1
|
+
import { w as F } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { createElementBlock as o, openBlock as a, createElementVNode as u, toDisplayString as f, renderSlot as R, computed as A, ref as k, resolveDirective as M, createCommentVNode as n, createVNode as v, Fragment as N, renderList as E, unref as t, withCtx as c, createBlock as g, withDirectives as q, createTextVNode as _, onMounted as P } from "vue";
|
|
3
|
+
import { ElIcon as B, ElLink as O, ElTimeline as j, ElTimelineItem as z, ElCard as U, ElTag as w, ElTabs as J, ElTabPane as $ } from "element-plus";
|
|
4
4
|
import { IconLook as H } from "color-message-lingyun-vue";
|
|
5
|
-
import { C as
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
import './assets/AppIntro.css';const
|
|
5
|
+
import { C as K } from "./chunks/layout.DXw3haOP.js";
|
|
6
|
+
import { _ as b } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
|
+
import { pageParams as Q } from "ling-yun-methods";
|
|
8
|
+
import './assets/AppIntro.css';const W = { class: "flex w-full mg-b-10" }, X = { class: "config-item__label text-right inline-block" }, Y = {
|
|
9
9
|
class: "flex-1 flex justify-start items-flex-start flex-wrap flex-gap-row-wrap-8 fz-14",
|
|
10
10
|
style: { color: "#303133" }
|
|
11
|
-
},
|
|
11
|
+
}, Z = {
|
|
12
12
|
__name: "ConfigItem",
|
|
13
13
|
props: {
|
|
14
14
|
title: {
|
|
@@ -16,17 +16,17 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
16
16
|
required: !0
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
setup(
|
|
20
|
-
return (
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
setup(l) {
|
|
20
|
+
return (p, I) => (a(), o("div", W, [
|
|
21
|
+
u("div", X, [
|
|
22
|
+
u("span", null, f(l.title), 1)
|
|
23
23
|
]),
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
u("div", Y, [
|
|
25
|
+
R(p.$slots, "default", {}, void 0, !0)
|
|
26
26
|
])
|
|
27
27
|
]));
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, x = /* @__PURE__ */ b(Z, [["__scopeId", "data-v-9093c13d"]]), s = {
|
|
30
30
|
LISTING: 1,
|
|
31
31
|
// 上架申请
|
|
32
32
|
DELISTING: 2,
|
|
@@ -35,44 +35,44 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
35
35
|
// 上线应用
|
|
36
36
|
OFFLINE: 4
|
|
37
37
|
// 下线应用
|
|
38
|
-
},
|
|
38
|
+
}, L = {
|
|
39
39
|
PENDING: 0,
|
|
40
40
|
// 待审核
|
|
41
41
|
APPROVED: 1,
|
|
42
42
|
// 已通过
|
|
43
43
|
REJECTED: 2
|
|
44
44
|
// 已驳回
|
|
45
|
-
},
|
|
45
|
+
}, S = {
|
|
46
46
|
IMAGE: 1,
|
|
47
47
|
// 图片
|
|
48
48
|
VIDEO: 2
|
|
49
49
|
// 视频
|
|
50
|
-
},
|
|
50
|
+
}, C = {
|
|
51
51
|
INTRO: "intro",
|
|
52
52
|
// 应用介绍
|
|
53
53
|
TIMELINE: "timeline"
|
|
54
54
|
// 迭代时间轴
|
|
55
|
-
},
|
|
56
|
-
[
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
},
|
|
55
|
+
}, ee = {
|
|
56
|
+
[s.LISTING]: "上架申请",
|
|
57
|
+
[s.DELISTING]: "下架申请",
|
|
58
|
+
[s.ONLINE]: "上线应用",
|
|
59
|
+
[s.OFFLINE]: "下线应用"
|
|
60
|
+
}, te = { class: "app-intro-content overflow-hidden h-full" }, ae = {
|
|
61
61
|
key: 0,
|
|
62
62
|
class: "media-section w-full pd-b-12"
|
|
63
|
-
},
|
|
63
|
+
}, se = { class: "media-content relative w-full" }, le = {
|
|
64
64
|
key: 0,
|
|
65
65
|
class: "media-video relative w-full"
|
|
66
|
-
},
|
|
66
|
+
}, oe = ["src"], ne = {
|
|
67
67
|
key: 1,
|
|
68
68
|
class: "media-image relative w-full"
|
|
69
|
-
},
|
|
69
|
+
}, re = ["src"], ie = ["onClick"], ue = { class: "info-section" }, ce = { class: "text-item" }, pe = { class: "text-item" }, de = { class: "file-list" }, ye = {
|
|
70
70
|
key: 0,
|
|
71
71
|
class: "preview-content"
|
|
72
|
-
},
|
|
72
|
+
}, fe = ["src"], me = {
|
|
73
73
|
key: 1,
|
|
74
74
|
class: "preview-content"
|
|
75
|
-
},
|
|
75
|
+
}, ge = ["src"], he = {
|
|
76
76
|
__name: "AppIntroContent",
|
|
77
77
|
props: {
|
|
78
78
|
pics: {
|
|
@@ -112,100 +112,100 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
112
112
|
default: () => []
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
|
-
setup(
|
|
116
|
-
const
|
|
117
|
-
{ title: "申请人:", value:
|
|
118
|
-
{ title: "应用省份:", value:
|
|
119
|
-
{ title: "应用说明:", value:
|
|
120
|
-
{ title: "接入系统:", value:
|
|
121
|
-
{ title: "业务背景:", value:
|
|
122
|
-
{ title: "业务目标:", value:
|
|
123
|
-
{ title: "成效数据:", value:
|
|
124
|
-
]),
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
},
|
|
115
|
+
setup(l) {
|
|
116
|
+
const p = l, I = A(() => [
|
|
117
|
+
{ title: "申请人:", value: p.appCreatorName },
|
|
118
|
+
{ title: "应用省份:", value: p.appCreatorOrg },
|
|
119
|
+
{ title: "应用说明:", value: p.appDesc },
|
|
120
|
+
{ title: "接入系统:", value: p.accessSystem },
|
|
121
|
+
{ title: "业务背景:", value: p.businessBackground },
|
|
122
|
+
{ title: "业务目标:", value: p.businessTarget },
|
|
123
|
+
{ title: "成效数据:", value: p.resultData }
|
|
124
|
+
]), h = k(!1), m = k(null), T = (e) => {
|
|
125
|
+
m.value = e, h.value = !0;
|
|
126
|
+
}, y = () => {
|
|
127
|
+
h.value = !1, m.value = null;
|
|
128
|
+
}, d = (e) => {
|
|
129
129
|
try {
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
} catch (
|
|
133
|
-
console.error(
|
|
130
|
+
const r = document.createElement("a");
|
|
131
|
+
r.href = e.attachementUrl, r.download = e.attachementName, r.style.display = "none", r.target = "_blank", document.body.appendChild(r), r.click(), document.body.removeChild(r);
|
|
132
|
+
} catch (r) {
|
|
133
|
+
console.error(r);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
return (
|
|
137
|
-
const
|
|
138
|
-
return a(),
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
(a(!0),
|
|
136
|
+
return (e, r) => {
|
|
137
|
+
const G = M("loading");
|
|
138
|
+
return a(), o("div", te, [
|
|
139
|
+
l.pics.length > 0 ? (a(), o("div", ae, [
|
|
140
|
+
u("div", se, [
|
|
141
|
+
(a(!0), o(N, null, E(l.pics, (i, D) => (a(), o("div", {
|
|
142
142
|
key: D,
|
|
143
143
|
class: "media-item w-full"
|
|
144
144
|
}, [
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
i.type === t(S).VIDEO ? (a(), o("div", le, [
|
|
146
|
+
u("video", {
|
|
147
147
|
class: "w-full",
|
|
148
|
-
src:
|
|
148
|
+
src: i.url,
|
|
149
149
|
controls: ""
|
|
150
|
-
}, null, 8,
|
|
151
|
-
])) :
|
|
152
|
-
|
|
153
|
-
|
|
150
|
+
}, null, 8, oe)
|
|
151
|
+
])) : n("", !0),
|
|
152
|
+
i.type === t(S).IMAGE ? (a(), o("div", ne, [
|
|
153
|
+
u("img", {
|
|
154
154
|
class: "w-full",
|
|
155
|
-
src:
|
|
155
|
+
src: i.url,
|
|
156
156
|
alt: ""
|
|
157
|
-
}, null, 8,
|
|
158
|
-
])) :
|
|
159
|
-
|
|
157
|
+
}, null, 8, re)
|
|
158
|
+
])) : n("", !0),
|
|
159
|
+
u("div", {
|
|
160
160
|
class: "hover-overlay absolute top-0 left-0 w-full h-full flex justify-center items-center",
|
|
161
|
-
onClick: (
|
|
161
|
+
onClick: (V) => T(i)
|
|
162
162
|
}, [
|
|
163
|
-
|
|
163
|
+
v(t(B), {
|
|
164
164
|
size: 24,
|
|
165
165
|
class: "view-icon"
|
|
166
166
|
}, {
|
|
167
|
-
default:
|
|
168
|
-
|
|
167
|
+
default: c(() => [
|
|
168
|
+
v(t(H))
|
|
169
169
|
]),
|
|
170
170
|
_: 1
|
|
171
171
|
})
|
|
172
|
-
], 8,
|
|
172
|
+
], 8, ie)
|
|
173
173
|
]))), 128))
|
|
174
174
|
])
|
|
175
|
-
])) :
|
|
176
|
-
|
|
177
|
-
(a(!0),
|
|
178
|
-
key:
|
|
179
|
-
title:
|
|
175
|
+
])) : n("", !0),
|
|
176
|
+
u("div", ue, [
|
|
177
|
+
(a(!0), o(N, null, E(I.value, (i) => (a(), g(x, {
|
|
178
|
+
key: i.title,
|
|
179
|
+
title: i.title
|
|
180
180
|
}, {
|
|
181
|
-
default:
|
|
182
|
-
|
|
181
|
+
default: c(() => [
|
|
182
|
+
u("div", ce, f(i.value ?? "--"), 1)
|
|
183
183
|
]),
|
|
184
184
|
_: 2
|
|
185
185
|
}, 1032, ["title"]))), 128)),
|
|
186
|
-
|
|
187
|
-
default:
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
(a(!0),
|
|
186
|
+
v(x, { title: "附件:" }, {
|
|
187
|
+
default: c(() => [
|
|
188
|
+
u("div", pe, [
|
|
189
|
+
u("div", de, [
|
|
190
|
+
(a(!0), o(N, null, E(l.attachements, (i, D) => (a(), o("div", {
|
|
191
191
|
key: D,
|
|
192
192
|
class: "file-item"
|
|
193
193
|
}, [
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
194
|
+
q((a(), o("div", null, [
|
|
195
|
+
_(f(i.attachementName) + " ", 1),
|
|
196
|
+
i.attachementUrl ? (a(), g(t(O), {
|
|
197
197
|
key: 0,
|
|
198
198
|
type: "primary",
|
|
199
199
|
underline: !1,
|
|
200
|
-
onClick: (
|
|
200
|
+
onClick: (V) => d(i)
|
|
201
201
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
|
|
202
|
+
default: c(() => [...r[1] || (r[1] = [
|
|
203
|
+
_(" 点击查看 ", -1)
|
|
204
204
|
])]),
|
|
205
205
|
_: 1
|
|
206
|
-
}, 8, ["onClick"])) :
|
|
206
|
+
}, 8, ["onClick"])) : n("", !0)
|
|
207
207
|
])), [
|
|
208
|
-
[
|
|
208
|
+
[G, !i.attachementUrl]
|
|
209
209
|
])
|
|
210
210
|
]))), 128))
|
|
211
211
|
])
|
|
@@ -214,30 +214,30 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
214
214
|
_: 1
|
|
215
215
|
})
|
|
216
216
|
]),
|
|
217
|
-
|
|
218
|
-
modelValue:
|
|
219
|
-
"onUpdate:modelValue":
|
|
217
|
+
v(K, {
|
|
218
|
+
modelValue: h.value,
|
|
219
|
+
"onUpdate:modelValue": r[0] || (r[0] = (i) => h.value = i),
|
|
220
220
|
width: "60%",
|
|
221
221
|
"show-close": !0,
|
|
222
|
-
onClose:
|
|
222
|
+
onClose: y,
|
|
223
223
|
buttons: {
|
|
224
224
|
showCancel: !1,
|
|
225
225
|
showConfirm: !1
|
|
226
226
|
}
|
|
227
227
|
}, {
|
|
228
|
-
default:
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
default: c(() => [
|
|
229
|
+
m.value?.type === t(S).IMAGE ? (a(), o("div", ye, [
|
|
230
|
+
u("img", {
|
|
231
231
|
class: "preview-media w-full",
|
|
232
|
-
src:
|
|
232
|
+
src: m.value.url,
|
|
233
233
|
alt: ""
|
|
234
|
-
}, null, 8,
|
|
235
|
-
])) : (a(),
|
|
236
|
-
|
|
234
|
+
}, null, 8, fe)
|
|
235
|
+
])) : (a(), o("div", me, [
|
|
236
|
+
u("video", {
|
|
237
237
|
class: "preview-media w-full",
|
|
238
|
-
src:
|
|
238
|
+
src: m.value?.url,
|
|
239
239
|
controls: ""
|
|
240
|
-
}, null, 8,
|
|
240
|
+
}, null, 8, ge)
|
|
241
241
|
]))
|
|
242
242
|
]),
|
|
243
243
|
_: 1
|
|
@@ -245,13 +245,13 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
245
245
|
]);
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
},
|
|
248
|
+
}, ve = /* @__PURE__ */ b(he, [["__scopeId", "data-v-ffbf63d2"]]), Ie = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, _e = {
|
|
249
249
|
class: "fz-14 weight-500",
|
|
250
250
|
style: { color: "#1d2129" }
|
|
251
|
-
},
|
|
251
|
+
}, Te = {
|
|
252
252
|
class: "fz-14",
|
|
253
253
|
style: { color: "#4e5969" }
|
|
254
|
-
},
|
|
254
|
+
}, Ne = {
|
|
255
255
|
key: 0,
|
|
256
256
|
class: "mg-t-8 mg-b-8",
|
|
257
257
|
style: { "line-height": "1.5" }
|
|
@@ -259,19 +259,19 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
259
259
|
key: 1,
|
|
260
260
|
class: "mg-t-8 mg-b-8",
|
|
261
261
|
style: { "line-height": "1.5" }
|
|
262
|
-
},
|
|
262
|
+
}, ke = {
|
|
263
263
|
key: 2,
|
|
264
264
|
class: "mg-t-8 mg-b-8",
|
|
265
265
|
style: { "line-height": "1.5" }
|
|
266
|
-
},
|
|
266
|
+
}, be = {
|
|
267
267
|
key: 3,
|
|
268
268
|
class: "mg-t-8 mg-b-8",
|
|
269
269
|
style: { "line-height": "1.5" }
|
|
270
|
-
},
|
|
270
|
+
}, De = {
|
|
271
271
|
key: 4,
|
|
272
272
|
class: "mg-t-8 mg-b-8",
|
|
273
273
|
style: { "line-height": "1.5" }
|
|
274
|
-
},
|
|
274
|
+
}, we = {
|
|
275
275
|
key: 5,
|
|
276
276
|
class: "mg-t-8 mg-b-8",
|
|
277
277
|
style: { "line-height": "1.5" }
|
|
@@ -279,15 +279,15 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
279
279
|
key: 6,
|
|
280
280
|
class: "mg-t-8 mg-b-8",
|
|
281
281
|
style: { "line-height": "1.5" }
|
|
282
|
-
},
|
|
282
|
+
}, Se = {
|
|
283
283
|
key: 7,
|
|
284
284
|
class: "mg-t-8 mg-b-8",
|
|
285
285
|
style: { "line-height": "1.5" }
|
|
286
|
-
},
|
|
286
|
+
}, Ce = {
|
|
287
287
|
key: 8,
|
|
288
288
|
class: "mg-t-8 mg-b-8",
|
|
289
289
|
style: { "line-height": "1.5" }
|
|
290
|
-
},
|
|
290
|
+
}, Oe = {
|
|
291
291
|
__name: "AppTimeline",
|
|
292
292
|
props: {
|
|
293
293
|
appId: {
|
|
@@ -302,124 +302,116 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
302
302
|
type: Object,
|
|
303
303
|
default: () => ({})
|
|
304
304
|
},
|
|
305
|
-
|
|
306
|
-
type:
|
|
307
|
-
default:
|
|
305
|
+
appOperationList: {
|
|
306
|
+
type: Function,
|
|
307
|
+
default: () => {
|
|
308
|
+
}
|
|
308
309
|
}
|
|
309
310
|
},
|
|
310
|
-
setup(
|
|
311
|
-
const
|
|
312
|
-
|
|
311
|
+
setup(l) {
|
|
312
|
+
const p = l, I = async (y) => {
|
|
313
|
+
p.vueRouter.push({
|
|
313
314
|
path: "/promptTestDetail",
|
|
314
315
|
query: {
|
|
315
|
-
id:
|
|
316
|
-
type:
|
|
316
|
+
id: y.id,
|
|
317
|
+
type: y.auditStatus,
|
|
317
318
|
sourceFlag: "1",
|
|
318
|
-
operationType:
|
|
319
|
+
operationType: y.operationType,
|
|
319
320
|
sourceHistory: "1"
|
|
320
321
|
}
|
|
321
322
|
});
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
appId: d.appId,
|
|
323
|
+
}, h = (y) => [s.LISTING, s.DELISTING].includes(y), m = k([]), T = async () => {
|
|
324
|
+
await p.appOperationList({
|
|
325
|
+
appId: p.appId,
|
|
326
326
|
operationType: [
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
s.LISTING,
|
|
328
|
+
s.DELISTING,
|
|
329
|
+
s.ONLINE,
|
|
330
|
+
s.OFFLINE
|
|
331
331
|
].join(","),
|
|
332
332
|
pageNum: Q.pageNum,
|
|
333
333
|
pageSize: 1e6
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
await N().then(({ data: u }) => {
|
|
337
|
-
g.value = u.list;
|
|
334
|
+
}).then(({ data: y }) => {
|
|
335
|
+
m.value = y.list;
|
|
338
336
|
});
|
|
339
337
|
};
|
|
340
|
-
return
|
|
341
|
-
|
|
342
|
-
}), (
|
|
343
|
-
default:
|
|
344
|
-
(a(!0),
|
|
338
|
+
return P(() => {
|
|
339
|
+
T();
|
|
340
|
+
}), (y, d) => (a(), g(t(j), { class: "overflow-y-auto h-full pd-l-12" }, {
|
|
341
|
+
default: c(() => [
|
|
342
|
+
(a(!0), o(N, null, E(m.value, (e) => (a(), g(t(z), {
|
|
345
343
|
key: e.id,
|
|
346
344
|
timestamp: e.createTime,
|
|
347
345
|
placement: "top",
|
|
348
346
|
color: "#165dff"
|
|
349
347
|
}, {
|
|
350
|
-
default:
|
|
351
|
-
|
|
352
|
-
default:
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
e.auditStatus === t(
|
|
348
|
+
default: c(() => [
|
|
349
|
+
v(t(U), { shadow: "hover" }, {
|
|
350
|
+
default: c(() => [
|
|
351
|
+
u("div", Ie, [
|
|
352
|
+
u("span", _e, f(t(ee)[e.operationType] || "--"), 1),
|
|
353
|
+
h(e.operationType) ? (a(), o(N, { key: 0 }, [
|
|
354
|
+
e.auditStatus === t(L).PENDING ? (a(), g(t(w), {
|
|
357
355
|
key: 0,
|
|
358
|
-
type: "warning"
|
|
359
|
-
size: "small",
|
|
360
|
-
class: "weight-500"
|
|
356
|
+
type: "warning"
|
|
361
357
|
}, {
|
|
362
|
-
default:
|
|
363
|
-
|
|
358
|
+
default: c(() => [...d[0] || (d[0] = [
|
|
359
|
+
_(" 待审核 ", -1)
|
|
364
360
|
])]),
|
|
365
361
|
_: 1
|
|
366
|
-
})) : e.auditStatus === t(
|
|
362
|
+
})) : e.auditStatus === t(L).APPROVED ? (a(), g(t(w), {
|
|
367
363
|
key: 1,
|
|
368
|
-
type: "primary"
|
|
369
|
-
size: "small",
|
|
370
|
-
class: "weight-500"
|
|
364
|
+
type: "primary"
|
|
371
365
|
}, {
|
|
372
|
-
default:
|
|
373
|
-
|
|
366
|
+
default: c(() => [...d[1] || (d[1] = [
|
|
367
|
+
_(" 已通过 ", -1)
|
|
374
368
|
])]),
|
|
375
369
|
_: 1
|
|
376
|
-
})) : e.auditStatus === t(
|
|
370
|
+
})) : e.auditStatus === t(L).REJECTED ? (a(), g(t(w), {
|
|
377
371
|
key: 2,
|
|
378
|
-
type: "danger"
|
|
379
|
-
size: "small",
|
|
380
|
-
class: "weight-500"
|
|
372
|
+
type: "danger"
|
|
381
373
|
}, {
|
|
382
|
-
default:
|
|
383
|
-
|
|
374
|
+
default: c(() => [...d[2] || (d[2] = [
|
|
375
|
+
_(" 已驳回 ", -1)
|
|
384
376
|
])]),
|
|
385
377
|
_: 1
|
|
386
|
-
})) :
|
|
387
|
-
], 64)) :
|
|
378
|
+
})) : n("", !0)
|
|
379
|
+
], 64)) : n("", !0)
|
|
388
380
|
]),
|
|
389
|
-
|
|
390
|
-
e.operationType === t(
|
|
391
|
-
e.operationType === t(
|
|
392
|
-
e.operationType === t(
|
|
393
|
-
e.operationType === t(
|
|
394
|
-
e.operationType === t(
|
|
395
|
-
e.operationType === t(
|
|
396
|
-
e.operationType === t(
|
|
397
|
-
e.operationType === t(
|
|
398
|
-
e.operationType === t(
|
|
399
|
-
e.operationType === t(
|
|
381
|
+
u("div", Te, [
|
|
382
|
+
e.operationType === t(s).LISTING || e.operationType === t(s).DELISTING ? (a(), o("p", Ne, " 申请人:" + f(e.creatorName ?? "--"), 1)) : n("", !0),
|
|
383
|
+
e.operationType === t(s).ONLINE || e.operationType === t(s).OFFLINE ? (a(), o("p", Ee, " 操作人:" + f(e.creatorName ?? "--"), 1)) : n("", !0),
|
|
384
|
+
e.operationType === t(s).DELISTING ? (a(), o("p", ke, " 下架原因:" + f(e.delistingReason ?? "--"), 1)) : n("", !0),
|
|
385
|
+
e.operationType === t(s).LISTING ? (a(), o("p", be, " 成效数据:" + f(e.resultData ?? "--"), 1)) : n("", !0),
|
|
386
|
+
e.operationType === t(s).LISTING ? (a(), o("p", De, " 推荐理由:" + f(e.recommendReason ?? "--"), 1)) : n("", !0),
|
|
387
|
+
e.operationType === t(s).ONLINE || e.operationType === t(s).OFFLINE ? (a(), o("p", we, " 版本号:" + f(e.appVersionNum ? "V" + e.appVersionNum : "--"), 1)) : n("", !0),
|
|
388
|
+
e.operationType === t(s).ONLINE ? (a(), o("p", Le, " 配置摘要:" + f(e.configSummary ?? "--"), 1)) : n("", !0),
|
|
389
|
+
e.operationType === t(s).ONLINE || e.operationType === t(s).OFFLINE ? (a(), o("p", Se, " 版本说明:" + f(e.publishRemark ?? "--"), 1)) : n("", !0),
|
|
390
|
+
e.operationType === t(s).OFFLINE ? (a(), o("p", Ce, " 下线原因:" + f(e.offlineReason ?? "--"), 1)) : n("", !0),
|
|
391
|
+
e.operationType === t(s).LISTING && !l.square ? (a(), g(t(O), {
|
|
400
392
|
key: 9,
|
|
401
393
|
type: "primary",
|
|
402
394
|
underline: !1,
|
|
403
395
|
class: "mg-t-8",
|
|
404
|
-
onClick: (r) =>
|
|
396
|
+
onClick: (r) => I(e)
|
|
405
397
|
}, {
|
|
406
|
-
default:
|
|
407
|
-
|
|
398
|
+
default: c(() => [...d[3] || (d[3] = [
|
|
399
|
+
_(" 查看上架申请 ", -1)
|
|
408
400
|
])]),
|
|
409
401
|
_: 1
|
|
410
|
-
}, 8, ["onClick"])) :
|
|
411
|
-
e.operationType === t(
|
|
402
|
+
}, 8, ["onClick"])) : n("", !0),
|
|
403
|
+
e.operationType === t(s).DELISTING && !l.square ? (a(), g(t(O), {
|
|
412
404
|
key: 10,
|
|
413
405
|
type: "primary",
|
|
414
406
|
underline: !1,
|
|
415
407
|
class: "mg-t-8",
|
|
416
|
-
onClick: (r) =>
|
|
408
|
+
onClick: (r) => I(e)
|
|
417
409
|
}, {
|
|
418
|
-
default:
|
|
419
|
-
|
|
410
|
+
default: c(() => [...d[4] || (d[4] = [
|
|
411
|
+
_(" 查看下架申请 ", -1)
|
|
420
412
|
])]),
|
|
421
413
|
_: 1
|
|
422
|
-
}, 8, ["onClick"])) :
|
|
414
|
+
}, 8, ["onClick"])) : n("", !0)
|
|
423
415
|
])
|
|
424
416
|
]),
|
|
425
417
|
_: 2
|
|
@@ -431,7 +423,7 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
431
423
|
_: 1
|
|
432
424
|
}));
|
|
433
425
|
}
|
|
434
|
-
},
|
|
426
|
+
}, $e = /* @__PURE__ */ b(Oe, [["__scopeId", "data-v-102c0937"]]), xe = /* @__PURE__ */ Object.assign({
|
|
435
427
|
name: "AppIntro"
|
|
436
428
|
}, {
|
|
437
429
|
__name: "layout",
|
|
@@ -444,15 +436,6 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
444
436
|
type: Boolean,
|
|
445
437
|
default: !1
|
|
446
438
|
},
|
|
447
|
-
defaultTab: {
|
|
448
|
-
type: String,
|
|
449
|
-
default: "intro",
|
|
450
|
-
validator: (s) => ["intro", "timeline"].includes(s)
|
|
451
|
-
},
|
|
452
|
-
prefixUrl: {
|
|
453
|
-
type: String,
|
|
454
|
-
default: ""
|
|
455
|
-
},
|
|
456
439
|
vueRouter: {
|
|
457
440
|
type: Object,
|
|
458
441
|
default: () => ({})
|
|
@@ -460,71 +443,70 @@ import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = {
|
|
|
460
443
|
appId: {
|
|
461
444
|
type: String,
|
|
462
445
|
default: ""
|
|
446
|
+
},
|
|
447
|
+
// 迭代时间轴 接口
|
|
448
|
+
appOperationList: {
|
|
449
|
+
type: Function,
|
|
450
|
+
default: () => {
|
|
451
|
+
}
|
|
463
452
|
}
|
|
464
453
|
},
|
|
465
454
|
emits: ["tab-change"],
|
|
466
|
-
setup(
|
|
467
|
-
const
|
|
468
|
-
|
|
469
|
-
() => v.defaultTab,
|
|
470
|
-
(g) => {
|
|
471
|
-
y.value = g;
|
|
472
|
-
}
|
|
473
|
-
);
|
|
474
|
-
const N = (g) => {
|
|
475
|
-
I("tab-change", g);
|
|
455
|
+
setup(l, { emit: p }) {
|
|
456
|
+
const I = p, h = k(C.INTRO), m = (T) => {
|
|
457
|
+
I("tab-change", T);
|
|
476
458
|
};
|
|
477
|
-
return (
|
|
459
|
+
return (T, y) => (a(), g(t(J), {
|
|
478
460
|
class: "overflow-hidden h-full",
|
|
479
|
-
modelValue:
|
|
480
|
-
"onUpdate:modelValue":
|
|
481
|
-
onTabChange:
|
|
461
|
+
modelValue: h.value,
|
|
462
|
+
"onUpdate:modelValue": y[0] || (y[0] = (d) => h.value = d),
|
|
463
|
+
onTabChange: m
|
|
482
464
|
}, {
|
|
483
|
-
default:
|
|
484
|
-
|
|
465
|
+
default: c(() => [
|
|
466
|
+
v(t($), {
|
|
485
467
|
label: "应用介绍",
|
|
486
|
-
name:
|
|
468
|
+
name: t(C).INTRO
|
|
487
469
|
}, {
|
|
488
|
-
default:
|
|
489
|
-
|
|
490
|
-
pics:
|
|
491
|
-
"app-creator-name":
|
|
492
|
-
"app-creator-org":
|
|
493
|
-
"app-desc":
|
|
494
|
-
"access-system":
|
|
495
|
-
"business-background":
|
|
496
|
-
"business-target":
|
|
497
|
-
"result-data":
|
|
498
|
-
attachements:
|
|
470
|
+
default: c(() => [
|
|
471
|
+
v(ve, {
|
|
472
|
+
pics: l.introData?.pics,
|
|
473
|
+
"app-creator-name": l.introData?.appCreatorName,
|
|
474
|
+
"app-creator-org": l.introData?.appCreatorOrg,
|
|
475
|
+
"app-desc": l.introData?.appDesc,
|
|
476
|
+
"access-system": l.introData?.accessSystem,
|
|
477
|
+
"business-background": l.introData?.businessBackground,
|
|
478
|
+
"business-target": l.introData?.businessTarget,
|
|
479
|
+
"result-data": l.introData?.resultData,
|
|
480
|
+
attachements: l.introData?.attachements
|
|
499
481
|
}, null, 8, ["pics", "app-creator-name", "app-creator-org", "app-desc", "access-system", "business-background", "business-target", "result-data", "attachements"])
|
|
500
482
|
]),
|
|
501
483
|
_: 1
|
|
502
|
-
}),
|
|
503
|
-
|
|
484
|
+
}, 8, ["name"]),
|
|
485
|
+
v(t($), {
|
|
504
486
|
label: "迭代时间轴",
|
|
505
|
-
name:
|
|
487
|
+
name: t(C).TIMELINE
|
|
506
488
|
}, {
|
|
507
|
-
default:
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
square:
|
|
511
|
-
"vue-router":
|
|
512
|
-
"app-id":
|
|
513
|
-
}, null, 8, ["
|
|
489
|
+
default: c(() => [
|
|
490
|
+
v($e, {
|
|
491
|
+
"app-operation-list": l.appOperationList,
|
|
492
|
+
square: l.square,
|
|
493
|
+
"vue-router": l.vueRouter,
|
|
494
|
+
"app-id": l.appId
|
|
495
|
+
}, null, 8, ["app-operation-list", "square", "vue-router", "app-id"])
|
|
514
496
|
]),
|
|
515
497
|
_: 1
|
|
516
|
-
})
|
|
498
|
+
}, 8, ["name"])
|
|
517
499
|
]),
|
|
518
500
|
_: 1
|
|
519
501
|
}, 8, ["modelValue"]));
|
|
520
502
|
}
|
|
521
|
-
}),
|
|
503
|
+
}), Ge = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-e675a909"]]), Be = F(Ge);
|
|
522
504
|
export {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
505
|
+
Be as AppIntro,
|
|
506
|
+
L as auditStatusMap,
|
|
507
|
+
Be as default,
|
|
508
|
+
S as mediaTypeMap,
|
|
509
|
+
s as operationTypeMap,
|
|
510
|
+
ee as operationTypeToTextMap,
|
|
511
|
+
C as tabTypeMap
|
|
530
512
|
};
|