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