ling-yun-custom-components 0.0.43 → 0.0.44

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 CHANGED
@@ -1,9 +1,9 @@
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";
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 b } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
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 (p, I) => (a(), o("div", W, [
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(p.$slots, "default", {}, void 0, !0)
23
+ R(s.$slots, "default", {}, void 0, !0)
26
24
  ])
27
25
  ]));
28
26
  }
29
- }, x = /* @__PURE__ */ b(Z, [["__scopeId", "data-v-9093c13d"]]), s = {
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
- }, L = {
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
- }, C = {
48
+ }, b = {
51
49
  INTRO: "intro",
52
50
  // 应用介绍
53
51
  TIMELINE: "timeline"
54
52
  // 迭代时间轴
55
53
  }, 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
- key: 0,
62
- class: "media-section w-full pd-b-12"
63
- }, se = { class: "media-content relative w-full" }, le = {
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
- }, re = ["src"], ie = ["onClick"], ue = { class: "info-section" }, ce = { class: "text-item" }, pe = { class: "text-item" }, de = { class: "file-list" }, ye = {
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: "preview-content"
72
- }, fe = ["src"], me = {
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
- pics: {
79
- type: Array,
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 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) => {
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 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);
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 (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
- key: D,
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
- i.type === t(S).VIDEO ? (a(), o("div", le, [
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: (V) => T(i)
198
+ onClick: (G) => h(t)
162
199
  }, [
163
- v(t(B), {
200
+ c(o(P), {
164
201
  size: 24,
165
202
  class: "view-icon"
166
203
  }, {
167
- default: c(() => [
168
- v(t(H))
204
+ default: r(() => [
205
+ c(o(H))
169
206
  ]),
170
207
  _: 1
171
208
  })
172
- ], 8, ie)
209
+ ], 8, ce)
173
210
  ]))), 128))
174
211
  ])
175
- ])) : n("", !0),
212
+ ])) : _("", !0),
176
213
  u("div", ue, [
177
- (a(!0), o(N, null, E(I.value, (i) => (a(), g(x, {
178
- key: i.title,
179
- title: i.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: c(() => [
182
- u("div", ce, f(i.value ?? "--"), 1)
218
+ default: r(() => [
219
+ E(m(l.introData?.[t.field] ?? "--"), 1)
183
220
  ]),
184
221
  _: 2
185
222
  }, 1032, ["title"]))), 128)),
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
- key: D,
192
- class: "file-item"
193
- }, [
194
- q((a(), o("div", null, [
195
- _(f(i.attachementName) + " ", 1),
196
- i.attachementUrl ? (a(), g(t(O), {
197
- key: 0,
198
- type: "primary",
199
- underline: !1,
200
- onClick: (V) => d(i)
201
- }, {
202
- default: c(() => [...r[1] || (r[1] = [
203
- _(" 点击查看 ", -1)
204
- ])]),
205
- _: 1
206
- }, 8, ["onClick"])) : n("", !0)
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
- v(K, {
218
- modelValue: h.value,
219
- "onUpdate:modelValue": r[0] || (r[0] = (i) => h.value = i),
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: y,
255
+ onClose: T,
223
256
  buttons: {
224
257
  showCancel: !1,
225
258
  showConfirm: !1
226
259
  }
227
260
  }, {
228
- default: c(() => [
229
- m.value?.type === t(S).IMAGE ? (a(), o("div", ye, [
230
- u("img", {
231
- class: "preview-media w-full",
232
- src: m.value.url,
233
- alt: ""
234
- }, null, 8, fe)
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
- }, ve = /* @__PURE__ */ b(he, [["__scopeId", "data-v-ffbf63d2"]]), Ie = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, _e = {
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
- }, Te = {
277
+ }, he = {
252
278
  class: "fz-14",
253
279
  style: { color: "#4e5969" }
254
- }, Ne = {
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 p = l, I = async (y) => {
313
- p.vueRouter.push({
302
+ const s = l, f = async (e) => {
303
+ s.vueRouter.push({
314
304
  path: "/promptTestDetail",
315
305
  query: {
316
- id: y.id,
317
- type: y.auditStatus,
306
+ id: e.id,
307
+ type: e.auditStatus,
318
308
  sourceFlag: "1",
319
- operationType: y.operationType,
309
+ operationType: e.operationType,
320
310
  sourceHistory: "1"
321
311
  }
322
312
  });
323
- }, h = (y) => [s.LISTING, s.DELISTING].includes(y), m = k([]), T = async () => {
324
- await p.appOperationList({
325
- appId: p.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
- s.LISTING,
328
- s.DELISTING,
329
- s.ONLINE,
330
- s.OFFLINE
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: y }) => {
335
- m.value = y.list;
324
+ }).then(({ data: e }) => {
325
+ y.value = e.list;
336
326
  });
337
327
  };
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), {
343
- key: e.id,
344
- timestamp: e.createTime,
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: "#165dff"
336
+ color: "var(--primary-color-1)"
347
337
  }, {
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), {
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: "warning"
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: c(() => [...d[2] || (d[2] = [
375
- _(" 已驳回 ", -1)
376
- ])]),
377
- _: 1
378
- })) : n("", !0)
379
- ], 64)) : n("", !0)
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", 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), {
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: (r) => I(e)
366
+ onClick: (d) => f(t)
397
367
  }, {
398
- default: c(() => [...d[3] || (d[3] = [
399
- _(" 查看上架申请 ", -1)
400
- ])]),
401
- _: 1
402
- }, 8, ["onClick"])) : n("", !0),
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
- }, $e = /* @__PURE__ */ b(Oe, [["__scopeId", "data-v-102c0937"]]), xe = /* @__PURE__ */ Object.assign({
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: p }) {
456
- const I = p, h = k(C.INTRO), m = (T) => {
457
- I("tab-change", T);
413
+ setup(l, { emit: s }) {
414
+ const f = s, h = w(b.INTRO), T = (y) => {
415
+ f("tab-change", y);
458
416
  };
459
- return (T, y) => (a(), g(t(J), {
417
+ return (y, p) => (n(), I(o(J), {
460
418
  class: "overflow-hidden h-full",
461
419
  modelValue: h.value,
462
- "onUpdate:modelValue": y[0] || (y[0] = (d) => h.value = d),
463
- onTabChange: m
420
+ "onUpdate:modelValue": p[0] || (p[0] = (e) => h.value = e),
421
+ onTabChange: T
464
422
  }, {
465
- default: c(() => [
466
- v(t($), {
423
+ default: r(() => [
424
+ c(o(k), {
467
425
  label: "应用介绍",
468
- name: t(C).INTRO
426
+ name: o(b).INTRO
469
427
  }, {
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
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
- v(t($), {
433
+ c(o(k), {
486
434
  label: "迭代时间轴",
487
- name: t(C).TIMELINE
435
+ name: o(b).TIMELINE
488
436
  }, {
489
- default: c(() => [
490
- v($e, {
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
- }), Ge = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-e675a909"]]), Be = F(Ge);
451
+ }), Ne = /* @__PURE__ */ L(Te, [["__scopeId", "data-v-e0a3d317"]]), ke = $(Ne);
504
452
  export {
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
453
+ ke as AppIntro,
454
+ ke as default
512
455
  };