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 CHANGED
@@ -1,14 +1,14 @@
1
- import { w as V } from "./chunks/index.bCzIhWFw.js";
2
- import { createElementBlock as n, openBlock as a, createElementVNode as c, toDisplayString as f, renderSlot as A, computed as F, ref as E, resolveDirective as R, createCommentVNode as i, createVNode as h, Fragment as b, renderList as k, unref as t, withCtx as p, createBlock as m, withDirectives as M, createTextVNode as T, onMounted as q, watch as P } from "vue";
3
- import { ElIcon as U, ElLink as x, ElTimeline as z, ElTimelineItem as B, ElCard as j, ElTag as S, ElTabs as J, ElTabPane as O } from "element-plus";
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 W } from "./chunks/layout.DXw3haOP.js";
6
- import { _ as w } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
- import { createRequest as K, pageParams as Q, apiPrefix as X } from "ling-yun-methods";
8
- import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = { class: "config-item__label text-right inline-block" }, ee = {
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
- }, te = {
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(s) {
20
- return (d, v) => (a(), n("div", Y, [
21
- c("div", Z, [
22
- c("span", null, f(s.title), 1)
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
- c("div", ee, [
25
- A(d.$slots, "default", {}, void 0, !0)
24
+ u("div", Y, [
25
+ R(p.$slots, "default", {}, void 0, !0)
26
26
  ])
27
27
  ]));
28
28
  }
29
- }, $ = /* @__PURE__ */ w(te, [["__scopeId", "data-v-9093c13d"]]), o = {
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
- }, C = {
38
+ }, L = {
39
39
  PENDING: 0,
40
40
  // 待审核
41
41
  APPROVED: 1,
42
42
  // 已通过
43
43
  REJECTED: 2
44
44
  // 已驳回
45
- }, L = {
45
+ }, S = {
46
46
  IMAGE: 1,
47
47
  // 图片
48
48
  VIDEO: 2
49
49
  // 视频
50
- }, Be = {
50
+ }, C = {
51
51
  INTRO: "intro",
52
52
  // 应用介绍
53
53
  TIMELINE: "timeline"
54
54
  // 迭代时间轴
55
- }, ae = {
56
- [o.LISTING]: "上架申请",
57
- [o.DELISTING]: "下架申请",
58
- [o.ONLINE]: "上线应用",
59
- [o.OFFLINE]: "下线应用"
60
- }, se = { class: "app-intro-content overflow-hidden h-full" }, le = {
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
- }, oe = { class: "media-content relative w-full" }, ne = {
63
+ }, se = { class: "media-content relative w-full" }, le = {
64
64
  key: 0,
65
65
  class: "media-video relative w-full"
66
- }, re = ["src"], ie = {
66
+ }, oe = ["src"], ne = {
67
67
  key: 1,
68
68
  class: "media-image relative w-full"
69
- }, ue = ["src"], ce = ["onClick"], pe = { class: "info-section" }, de = { class: "text-item" }, fe = { class: "text-item" }, ye = { class: "file-list" }, me = {
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
- }, ge = ["src"], he = {
72
+ }, fe = ["src"], me = {
73
73
  key: 1,
74
74
  class: "preview-content"
75
- }, ve = ["src"], Ie = {
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(s) {
116
- const d = s, v = F(() => [
117
- { title: "申请人:", value: d.appCreatorName },
118
- { title: "应用省份:", value: d.appCreatorOrg },
119
- { title: "应用说明:", value: d.appDesc },
120
- { title: "接入系统:", value: d.accessSystem },
121
- { title: "业务背景:", value: d.businessBackground },
122
- { title: "业务目标:", value: d.businessTarget },
123
- { title: "成效数据:", value: d.resultData }
124
- ]), I = E(!1), y = E(null), N = (u) => {
125
- y.value = u, I.value = !0;
126
- }, g = () => {
127
- I.value = !1, y.value = null;
128
- }, _ = (u) => {
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 l = document.createElement("a");
131
- l.href = u.attachementUrl, l.download = u.attachementName, l.style.display = "none", l.target = "_blank", document.body.appendChild(l), l.click(), document.body.removeChild(l);
132
- } catch (l) {
133
- console.error(l);
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 (u, l) => {
137
- const e = R("loading");
138
- return a(), n("div", se, [
139
- s.pics.length > 0 ? (a(), n("div", le, [
140
- c("div", oe, [
141
- (a(!0), n(b, null, k(s.pics, (r, D) => (a(), n("div", {
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
- r.type === t(L).VIDEO ? (a(), n("div", ne, [
146
- c("video", {
145
+ i.type === t(S).VIDEO ? (a(), o("div", le, [
146
+ u("video", {
147
147
  class: "w-full",
148
- src: r.url,
148
+ src: i.url,
149
149
  controls: ""
150
- }, null, 8, re)
151
- ])) : i("", !0),
152
- r.type === t(L).IMAGE ? (a(), n("div", ie, [
153
- c("img", {
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: r.url,
155
+ src: i.url,
156
156
  alt: ""
157
- }, null, 8, ue)
158
- ])) : i("", !0),
159
- c("div", {
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: (G) => N(r)
161
+ onClick: (V) => T(i)
162
162
  }, [
163
- h(t(U), {
163
+ v(t(B), {
164
164
  size: 24,
165
165
  class: "view-icon"
166
166
  }, {
167
- default: p(() => [
168
- h(t(H))
167
+ default: c(() => [
168
+ v(t(H))
169
169
  ]),
170
170
  _: 1
171
171
  })
172
- ], 8, ce)
172
+ ], 8, ie)
173
173
  ]))), 128))
174
174
  ])
175
- ])) : i("", !0),
176
- c("div", pe, [
177
- (a(!0), n(b, null, k(v.value, (r) => (a(), m($, {
178
- key: r.title,
179
- title: r.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: p(() => [
182
- c("div", de, f(r.value ?? "--"), 1)
181
+ default: c(() => [
182
+ u("div", ce, f(i.value ?? "--"), 1)
183
183
  ]),
184
184
  _: 2
185
185
  }, 1032, ["title"]))), 128)),
186
- h($, { title: "附件:" }, {
187
- default: p(() => [
188
- c("div", fe, [
189
- c("div", ye, [
190
- (a(!0), n(b, null, k(s.attachements, (r, D) => (a(), n("div", {
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
- M((a(), n("div", null, [
195
- T(f(r.attachementName) + " ", 1),
196
- r.attachementUrl ? (a(), m(t(x), {
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: (G) => _(r)
200
+ onClick: (V) => d(i)
201
201
  }, {
202
- default: p(() => [...l[1] || (l[1] = [
203
- T(" 点击查看 ", -1)
202
+ default: c(() => [...r[1] || (r[1] = [
203
+ _(" 点击查看 ", -1)
204
204
  ])]),
205
205
  _: 1
206
- }, 8, ["onClick"])) : i("", !0)
206
+ }, 8, ["onClick"])) : n("", !0)
207
207
  ])), [
208
- [e, !r.attachementUrl]
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
- h(W, {
218
- modelValue: I.value,
219
- "onUpdate:modelValue": l[0] || (l[0] = (r) => I.value = r),
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: g,
222
+ onClose: y,
223
223
  buttons: {
224
224
  showCancel: !1,
225
225
  showConfirm: !1
226
226
  }
227
227
  }, {
228
- default: p(() => [
229
- y.value?.type === t(L).IMAGE ? (a(), n("div", me, [
230
- c("img", {
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: y.value.url,
232
+ src: m.value.url,
233
233
  alt: ""
234
- }, null, 8, ge)
235
- ])) : (a(), n("div", he, [
236
- c("video", {
234
+ }, null, 8, fe)
235
+ ])) : (a(), o("div", me, [
236
+ u("video", {
237
237
  class: "preview-media w-full",
238
- src: y.value?.url,
238
+ src: m.value?.url,
239
239
  controls: ""
240
- }, null, 8, ve)
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
- }, Te = /* @__PURE__ */ w(Ie, [["__scopeId", "data-v-ffbf63d2"]]), _e = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, Ne = {
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
- }, be = {
251
+ }, Te = {
252
252
  class: "fz-14",
253
253
  style: { color: "#4e5969" }
254
- }, ke = {
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
- }, we = {
262
+ }, ke = {
263
263
  key: 2,
264
264
  class: "mg-t-8 mg-b-8",
265
265
  style: { "line-height": "1.5" }
266
- }, De = {
266
+ }, be = {
267
267
  key: 3,
268
268
  class: "mg-t-8 mg-b-8",
269
269
  style: { "line-height": "1.5" }
270
- }, Se = {
270
+ }, De = {
271
271
  key: 4,
272
272
  class: "mg-t-8 mg-b-8",
273
273
  style: { "line-height": "1.5" }
274
- }, Ce = {
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
- }, xe = {
282
+ }, Se = {
283
283
  key: 7,
284
284
  class: "mg-t-8 mg-b-8",
285
285
  style: { "line-height": "1.5" }
286
- }, Oe = {
286
+ }, Ce = {
287
287
  key: 8,
288
288
  class: "mg-t-8 mg-b-8",
289
289
  style: { "line-height": "1.5" }
290
- }, $e = {
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
- prefixUrl: {
306
- type: String,
307
- default: ""
305
+ appOperationList: {
306
+ type: Function,
307
+ default: () => {
308
+ }
308
309
  }
309
310
  },
310
- setup(s) {
311
- const d = s, v = async (u) => {
312
- d.vueRouter.push({
311
+ setup(l) {
312
+ const p = l, I = async (y) => {
313
+ p.vueRouter.push({
313
314
  path: "/promptTestDetail",
314
315
  query: {
315
- id: u.id,
316
- type: u.auditStatus,
316
+ id: y.id,
317
+ type: y.auditStatus,
317
318
  sourceFlag: "1",
318
- operationType: u.operationType,
319
+ operationType: y.operationType,
319
320
  sourceHistory: "1"
320
321
  }
321
322
  });
322
- }, I = (u) => [o.LISTING, o.DELISTING].includes(u), y = K(d.prefixUrl), N = () => y.post({
323
- url: `${X.cslmManagerAgent}/microApp/appOperationList`,
324
- data: {
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
- o.LISTING,
328
- o.DELISTING,
329
- o.ONLINE,
330
- o.OFFLINE
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
- }), g = E([]), _ = async () => {
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 q(() => {
341
- _();
342
- }), (u, l) => (a(), m(t(z), { class: "overflow-y-auto h-full pd-l-12" }, {
343
- default: p(() => [
344
- (a(!0), n(b, null, k(g.value, (e) => (a(), m(t(B), {
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: p(() => [
351
- h(t(j), { shadow: "hover" }, {
352
- default: p(() => [
353
- c("div", _e, [
354
- c("span", Ne, f(t(ae)[e.operationType] || "--"), 1),
355
- I(e.operationType) ? (a(), n(b, { key: 0 }, [
356
- e.auditStatus === t(C).PENDING ? (a(), m(t(S), {
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: p(() => [...l[0] || (l[0] = [
363
- T(" 待审核 ", -1)
358
+ default: c(() => [...d[0] || (d[0] = [
359
+ _(" 待审核 ", -1)
364
360
  ])]),
365
361
  _: 1
366
- })) : e.auditStatus === t(C).APPROVED ? (a(), m(t(S), {
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: p(() => [...l[1] || (l[1] = [
373
- T(" 已通过 ", -1)
366
+ default: c(() => [...d[1] || (d[1] = [
367
+ _(" 已通过 ", -1)
374
368
  ])]),
375
369
  _: 1
376
- })) : e.auditStatus === t(C).REJECTED ? (a(), m(t(S), {
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: p(() => [...l[2] || (l[2] = [
383
- T(" 已驳回 ", -1)
374
+ default: c(() => [...d[2] || (d[2] = [
375
+ _(" 已驳回 ", -1)
384
376
  ])]),
385
377
  _: 1
386
- })) : i("", !0)
387
- ], 64)) : i("", !0)
378
+ })) : n("", !0)
379
+ ], 64)) : n("", !0)
388
380
  ]),
389
- c("div", be, [
390
- e.operationType === t(o).LISTING || e.operationType === t(o).DELISTING ? (a(), n("p", ke, " 申请人:" + f(e.creatorName ?? "--"), 1)) : i("", !0),
391
- e.operationType === t(o).ONLINE || e.operationType === t(o).OFFLINE ? (a(), n("p", Ee, " 操作人:" + f(e.creatorName ?? "--"), 1)) : i("", !0),
392
- e.operationType === t(o).DELISTING ? (a(), n("p", we, " 下架原因:" + f(e.delistingReason ?? "--"), 1)) : i("", !0),
393
- e.operationType === t(o).LISTING ? (a(), n("p", De, " 成效数据:" + f(e.resultData ?? "--"), 1)) : i("", !0),
394
- e.operationType === t(o).LISTING ? (a(), n("p", Se, " 推荐理由:" + f(e.recommendReason ?? "--"), 1)) : i("", !0),
395
- e.operationType === t(o).ONLINE || e.operationType === t(o).OFFLINE ? (a(), n("p", Ce, " 版本号:" + f(e.appVersionNum ? "V" + e.appVersionNum : "--"), 1)) : i("", !0),
396
- e.operationType === t(o).ONLINE ? (a(), n("p", Le, " 配置摘要:" + f(e.configSummary ?? "--"), 1)) : i("", !0),
397
- e.operationType === t(o).ONLINE || e.operationType === t(o).OFFLINE ? (a(), n("p", xe, " 版本说明:" + f(e.publishRemark ?? "--"), 1)) : i("", !0),
398
- e.operationType === t(o).OFFLINE ? (a(), n("p", Oe, " 下线原因:" + f(e.offlineReason ?? "--"), 1)) : i("", !0),
399
- e.operationType === t(o).LISTING && !s.square ? (a(), m(t(x), {
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) => v(e)
396
+ onClick: (r) => I(e)
405
397
  }, {
406
- default: p(() => [...l[3] || (l[3] = [
407
- T(" 查看上架申请 ", -1)
398
+ default: c(() => [...d[3] || (d[3] = [
399
+ _(" 查看上架申请 ", -1)
408
400
  ])]),
409
401
  _: 1
410
- }, 8, ["onClick"])) : i("", !0),
411
- e.operationType === t(o).DELISTING && !s.square ? (a(), m(t(x), {
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) => v(e)
408
+ onClick: (r) => I(e)
417
409
  }, {
418
- default: p(() => [...l[4] || (l[4] = [
419
- T(" 查看下架申请 ", -1)
410
+ default: c(() => [...d[4] || (d[4] = [
411
+ _(" 查看下架申请 ", -1)
420
412
  ])]),
421
413
  _: 1
422
- }, 8, ["onClick"])) : i("", !0)
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
- }, Ge = /* @__PURE__ */ w($e, [["__scopeId", "data-v-83b41e95"]]), Ve = /* @__PURE__ */ Object.assign({
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(s, { emit: d }) {
467
- const v = s, I = d, y = E(v.defaultTab);
468
- P(
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 (g, _) => (a(), m(t(J), {
459
+ return (T, y) => (a(), g(t(J), {
478
460
  class: "overflow-hidden h-full",
479
- modelValue: y.value,
480
- "onUpdate:modelValue": _[0] || (_[0] = (u) => y.value = u),
481
- onTabChange: N
461
+ modelValue: h.value,
462
+ "onUpdate:modelValue": y[0] || (y[0] = (d) => h.value = d),
463
+ onTabChange: m
482
464
  }, {
483
- default: p(() => [
484
- h(t(O), {
465
+ default: c(() => [
466
+ v(t($), {
485
467
  label: "应用介绍",
486
- name: "intro"
468
+ name: t(C).INTRO
487
469
  }, {
488
- default: p(() => [
489
- h(Te, {
490
- pics: s.introData?.pics,
491
- "app-creator-name": s.introData?.appCreatorName,
492
- "app-creator-org": s.introData?.appCreatorOrg,
493
- "app-desc": s.introData?.appDesc,
494
- "access-system": s.introData?.accessSystem,
495
- "business-background": s.introData?.businessBackground,
496
- "business-target": s.introData?.businessTarget,
497
- "result-data": s.introData?.resultData,
498
- attachements: s.introData?.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
- h(t(O), {
484
+ }, 8, ["name"]),
485
+ v(t($), {
504
486
  label: "迭代时间轴",
505
- name: "timeline"
487
+ name: t(C).TIMELINE
506
488
  }, {
507
- default: p(() => [
508
- h(Ge, {
509
- prefixUrl: s.prefixUrl,
510
- square: s.square,
511
- "vue-router": s.vueRouter,
512
- "app-id": s.appId
513
- }, null, 8, ["prefixUrl", "square", "vue-router", "app-id"])
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
- }), Ae = /* @__PURE__ */ w(Ve, [["__scopeId", "data-v-0ffdf013"]]), je = V(Ae);
503
+ }), Ge = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-e675a909"]]), Be = F(Ge);
522
504
  export {
523
- je as AppIntro,
524
- C as auditStatusMap,
525
- je as default,
526
- L as mediaTypeMap,
527
- o as operationTypeMap,
528
- ae as operationTypeToTextMap,
529
- Be as tabTypeMap
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
  };