@das-fed/ui 7.1.0-seres.21 → 7.1.0-seres.23

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.
Files changed (24) hide show
  1. package/esm-map.json +3 -1
  2. package/package.json +5 -5
  3. package/packages/business-components/index.d.ts +1 -0
  4. package/packages/business-components/index.js +1 -0
  5. package/packages/business-components/meeting-evaluation-info/i18n/index.d.ts +73 -0
  6. package/packages/business-components/meeting-evaluation-info/index.d.ts +117 -0
  7. package/packages/business-components/meeting-evaluation-info/index.js +492 -0
  8. package/packages/business-components/meeting-evaluation-info/index.js.gz +0 -0
  9. package/packages/business-components/meeting-evaluation-info/src/App.vue.d.ts +36 -0
  10. package/packages/business-components/{process-log/src/widgets/base/evaluationDialog.vue.d.ts → meeting-evaluation-info/src/components/EvaluationDialog.vue.d.ts} +3 -22
  11. package/packages/business-components/meeting-evaluation-info/src/type.d.ts +78 -0
  12. package/packages/business-components/meeting-evaluation-info/src/utils/prefix-mothed.d.ts +1 -0
  13. package/packages/business-components/meeting-evaluation-info/style.css +1 -0
  14. package/packages/business-components/meeting-evaluation-info/style.css.gz +0 -0
  15. package/packages/business-components/process-log/i18n/index.d.ts +0 -60
  16. package/packages/business-components/process-log/index.js +552 -530
  17. package/packages/business-components/process-log/index.js.gz +0 -0
  18. package/packages/business-components/process-log/src/widgets/base/avatorInfo.vue.d.ts +1 -1
  19. package/packages/business-components/process-log/src/widgets/base/rateInfo.vue.d.ts +1 -1
  20. package/packages/business-components/process-log/style.css +1 -1
  21. package/packages/business-components/process-log/style.css.gz +0 -0
  22. package/packages/business-components/process-log/src/widgets/base/meetingEvaluationInfo.vue.d.ts +0 -24
  23. /package/packages/business-components/{process-log/src/apis.d.ts → meeting-evaluation-info/src/api.d.ts} +0 -0
  24. /package/packages/business-components/{process-log/src/widgets/base/evaluationContent.vue.d.ts → meeting-evaluation-info/src/components/EvaluationContent.vue.d.ts} +0 -0
@@ -0,0 +1,492 @@
1
+ import '@das-fed/ui/packages/business-components/meeting-evaluation-info/style.css';
2
+ import { withInstall as le } from "@das-fed/utils/with-install/index";
3
+ import { defineComponent as q, ref as m, watch as se, nextTick as G, onMounted as re, createElementBlock as l, openBlock as o, createElementVNode as n, createCommentVNode as f, normalizeClass as R, toDisplayString as u, createBlock as _, unref as c, computed as K, withCtx as T, Fragment as b, renderList as U, createTextVNode as P, normalizeStyle as X, createVNode as L } from "vue";
4
+ import { t as g, setI18nRule as ie } from "@das-fed/web/packages/i18n/index";
5
+ import { DasButton as j } from "@das-fed/ui/packages/components/button/index";
6
+ import ue from "dayjs";
7
+ import { DasDialog as ce } from "@das-fed/ui/packages/components/dialog/index";
8
+ import { DasTabs as de } from "@das-fed/ui/packages/components/tabs/index";
9
+ import { DasEmpty as ve } from "@das-fed/ui/packages/components/empty/index";
10
+ import { getConfig as me } from "@das-fed/utils/config";
11
+ import { DasIconUnflod as pe } from "@das-fed/ui/packages/icons/unflod/index";
12
+ import { DasIconFold as fe } from "@das-fed/ui/packages/icons/fold/index";
13
+ import { createService as ge } from "@das-fed/utils/create-api-service";
14
+ const he = (s) => /^(http|https):\/\//.test(s) ? s : `${me().baseURL}/oss/${s}`, Ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAABB6SURBVHic7Z2/UuNIHse/bVmBFNhcaQK2CtXZBHZgqk4TkEyAmRcwoydY5glu9wlmeYKde4JhnkCDX2A9ExAsAd6qIYAAdOXdKgJcZwhMYNp9gSWvMbaRjaSWWv2povBf6afhO79/3a0mkMzFcZw1ABaAtXw+/0/GWAlACcAaAHjPQQgpzfh6jzHW8x8TQnoAXO+xOxwOe8Ph8A8Arm3bvRnflwAgvA1ICo7jWABKiqLUAViMsdIc4YUOY8wlhLQBuIyx9nA4/GrbthvHuZNOZgXqOI6Vz+frjLFdALvwvGKC6AFoEUJaDw8PX23bbvM2iAeZEagXrncV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
17
+ content: { default: "" }
18
+ },
19
+ setup(s) {
20
+ const y = s, d = m(null), r = m(!0), v = m(0), p = () => {
21
+ if (!d.value) return;
22
+ const A = d.value.clientHeight, k = parseInt(getComputedStyle(d.value).lineHeight) || 21, C = Math.ceil(A / k);
23
+ v.value < C && (v.value = C), v.value > 2 && (r.value = !1);
24
+ }, h = () => {
25
+ r.value = !r.value;
26
+ };
27
+ return se(
28
+ () => y.content,
29
+ async () => {
30
+ v.value = 0, r.value = !0, await G(), p();
31
+ }
32
+ ), re(async () => {
33
+ await G(), p();
34
+ }), (A, k) => (o(), l("div", null, [
35
+ n(
36
+ "div",
37
+ {
38
+ class: R(["content-box", { "hide-two-line": !r.value }]),
39
+ ref_key: "contentDiv",
40
+ ref: d
41
+ },
42
+ u(A.content),
43
+ 3
44
+ /* TEXT, CLASS */
45
+ ),
46
+ v.value > 2 ? (o(), l("div", {
47
+ key: 0,
48
+ class: "fold-btn",
49
+ onClick: h
50
+ }, [
51
+ n(
52
+ "div",
53
+ Ce,
54
+ u(r.value ? c(g)("收起") : c(g)("展开")),
55
+ 1
56
+ /* TEXT */
57
+ ),
58
+ r.value ? (o(), _(c(pe), {
59
+ key: 0,
60
+ size: "mini",
61
+ iconColor: "#999"
62
+ })) : (o(), _(c(fe), {
63
+ key: 1,
64
+ size: "mini",
65
+ iconColor: "#999"
66
+ }))
67
+ ])) : f("v-if", !0)
68
+ ]));
69
+ }
70
+ }), x = (s, y) => {
71
+ const d = s.__vccOpts || s;
72
+ for (const [r, v] of y)
73
+ d[r] = v;
74
+ return d;
75
+ }, ke = /* @__PURE__ */ x(ye, [["__scopeId", "data-v-8d78c534"]]), Ee = "v1", Se = ge(`/api/fms/admin/customer-service/${Ee}`), Ie = Se.get("/ticket/meeting-evaluation-detail"), Ne = { class: "evaluation-dialog__body" }, Ve = { class: "summary-section" }, be = { class: "summary-title" }, Re = { class: "summary-content" }, Le = { class: "summary-total" }, Be = { class: "summary-total__num" }, Oe = { class: "summary-total__label" }, we = { class: "summary-chart" }, Ke = { class: "summary-legend" }, Ue = { class: "summary-bar" }, Te = { class: "summary-bar__track" }, _e = { class: "tabs-section" }, Pe = {
76
+ key: 0,
77
+ class: "list-wrap"
78
+ }, He = ["src"], De = { class: "review-item__main" }, qe = { class: "review-item__name" }, xe = {
79
+ key: 0,
80
+ class: "review-item__time"
81
+ }, Qe = {
82
+ key: 1,
83
+ class: "review-item__rate"
84
+ }, Fe = {
85
+ key: 2,
86
+ class: "review-item__tags"
87
+ }, ze = {
88
+ key: 1,
89
+ class: "list-empty"
90
+ }, Ye = { class: "evaluation-dialog__footer" }, Ge = /* @__PURE__ */ q({
91
+ __name: "EvaluationDialog",
92
+ props: {
93
+ modelValue: { type: Boolean, default: !1 },
94
+ title: { default: "" }
95
+ },
96
+ emits: ["update:modelValue", "change"],
97
+ setup(s, { expose: y, emit: d }) {
98
+ const r = s, v = d, p = K({
99
+ get: () => r.modelValue,
100
+ set: (e) => v("update:modelValue", e)
101
+ }), h = K(() => r.title || g("查看会务评价")), A = {
102
+ SATISFIED: "good",
103
+ AVERAGE: "medium",
104
+ DISSATISFIED: "bad"
105
+ }, k = ["good", "medium", "bad"], C = m(!1), Q = m(""), S = m("all"), B = m(0), N = m([]), V = m([]), F = (e, t = 0) => e && A[e] ? A[e] : k[t] || "medium", M = (e) => {
106
+ const t = Number(e);
107
+ return Number.isNaN(t) ? 0 : Math.round(t);
108
+ }, J = (e) => {
109
+ const a = (O.value || []).reduce((E, I) => E + (Number(I.percentage) || 0), 0), i = Number(e) || 0;
110
+ return !a || !i ? 0 : i / a * 100;
111
+ }, O = K(() => (N.value || []).filter((e) => Number(e.percentage) > 0)), z = (e) => e == null ? "0" : e > 99 ? "99+" : String(e), W = K(() => {
112
+ const e = [{ key: "all", tab: `${g("全部")}(${z(B.value)})` }];
113
+ return [...N.value || []].sort((a, i) => (a.sort ?? 0) - (i.sort ?? 0)).forEach((a) => {
114
+ e.push({
115
+ key: a.overallEvaluationId || "",
116
+ tab: `${a.overallEvaluationName || ""}(${z(a.count)})`
117
+ });
118
+ }), e.filter((a) => a.key);
119
+ }), Z = (e = 0) => {
120
+ if (e >= 1e4) {
121
+ const t = e / 1e4;
122
+ return `${t % 1 === 0 ? t.toFixed(0) : t.toFixed(1)} ${g("万")}`;
123
+ }
124
+ return String(e);
125
+ }, $ = (e) => {
126
+ if (!e && e !== 0) return "";
127
+ const t = Number(e);
128
+ return !Number.isNaN(t) && String(e).length >= 10 ? ue(t).format("YYYY/MM/DD HH:mm:ss") : String(e);
129
+ }, ee = (e) => e ? he(e) : Ae, te = (e = []) => e.map((t) => ({
130
+ id: t == null ? void 0 : t.evaluationRecordId,
131
+ userName: t == null ? void 0 : t.evaluatorName,
132
+ headIcon: t == null ? void 0 : t.headIcon,
133
+ time: t == null ? void 0 : t.evaluatedTime,
134
+ rateTxt: t == null ? void 0 : t.overallEvaluationName,
135
+ tags: ((t == null ? void 0 : t.quickEvaluations) || []).map((a) => a == null ? void 0 : a.name).filter(Boolean),
136
+ content: t == null ? void 0 : t.remark,
137
+ overallEvaluationId: t == null ? void 0 : t.overallEvaluationId
138
+ })), ae = (e) => {
139
+ var I;
140
+ const a = [...((I = e == null ? void 0 : e.records) == null ? void 0 : I.list) || []], i = Number(e == null ? void 0 : e.evaluatedCount) || 0, E = [...(e == null ? void 0 : e.summaryItems) || []].map((w) => {
141
+ const D = Number(w.count) || 0;
142
+ return { ...w, count: D };
143
+ }).sort((w, D) => (w.sort ?? 0) - (D.sort ?? 0));
144
+ N.value = [...E], B.value = i, V.value = te(a);
145
+ }, H = async (e) => {
146
+ const t = (e == null ? void 0 : e.meetingId) || Q.value;
147
+ if (!t) return;
148
+ Q.value = t, C.value = !0;
149
+ const a = {
150
+ meetingId: t,
151
+ overallEvaluationId: S.value === "all" ? void 0 : S.value,
152
+ pageNum: 1,
153
+ pageSize: 1e4
154
+ }, [i, E] = await Ie(a).run();
155
+ C.value = !1, !i && ae(E);
156
+ }, oe = async (e) => {
157
+ S.value = e, v("change", e), await H();
158
+ }, ne = async (e) => {
159
+ S.value = "all", B.value = 0, N.value = [], V.value = [], p.value = !0, await H(e);
160
+ }, Y = () => {
161
+ p.value = !1;
162
+ };
163
+ return y({ open: ne, close: Y, initData: H }), (e, t) => (o(), _(c(ce), {
164
+ modelValue: p.value,
165
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => p.value = a),
166
+ type: "basic",
167
+ title: h.value,
168
+ width: 1170,
169
+ height: 690,
170
+ "body-style": { padding: "0" },
171
+ class: "evaluation-dialog",
172
+ loading: C.value
173
+ }, {
174
+ footer: T(() => [
175
+ n("div", Ye, [
176
+ L(c(j), {
177
+ size: "middle",
178
+ onClick: Y
179
+ }, {
180
+ default: T(() => [
181
+ P(
182
+ u(c(g)("关闭")),
183
+ 1
184
+ /* TEXT */
185
+ )
186
+ ]),
187
+ _: 1
188
+ /* STABLE */
189
+ })
190
+ ])
191
+ ]),
192
+ default: T(() => [
193
+ n("div", Ne, [
194
+ f(" 评价汇总 "),
195
+ n("div", Ve, [
196
+ n(
197
+ "div",
198
+ be,
199
+ u(c(g)("评价汇总")),
200
+ 1
201
+ /* TEXT */
202
+ ),
203
+ n("div", Re, [
204
+ n("div", Le, [
205
+ n(
206
+ "div",
207
+ Be,
208
+ u(Z(B.value)),
209
+ 1
210
+ /* TEXT */
211
+ ),
212
+ n(
213
+ "div",
214
+ Oe,
215
+ u(c(g)("共计评论数 (条)")),
216
+ 1
217
+ /* TEXT */
218
+ )
219
+ ]),
220
+ n("div", we, [
221
+ n("div", Ke, [
222
+ (o(!0), l(
223
+ b,
224
+ null,
225
+ U(N.value, (a) => (o(), l("div", {
226
+ key: a.overallEvaluationId,
227
+ class: "legend-item"
228
+ }, [
229
+ n(
230
+ "span",
231
+ {
232
+ class: R(["legend-dot", `legend-dot--${F(a.overallEvaluationCode)}`])
233
+ },
234
+ null,
235
+ 2
236
+ /* CLASS */
237
+ ),
238
+ n("span", null, [
239
+ P(
240
+ u(a.overallEvaluationName),
241
+ 1
242
+ /* TEXT */
243
+ ),
244
+ n(
245
+ "i",
246
+ null,
247
+ u(M(a.percentage)) + "%",
248
+ 1
249
+ /* TEXT */
250
+ )
251
+ ])
252
+ ]))),
253
+ 128
254
+ /* KEYED_FRAGMENT */
255
+ ))
256
+ ]),
257
+ n("div", Ue, [
258
+ n("div", Te, [
259
+ (o(!0), l(
260
+ b,
261
+ null,
262
+ U(O.value, (a, i) => (o(), l(
263
+ "div",
264
+ {
265
+ key: `bar-${a.overallEvaluationId}`,
266
+ class: R(["summary-bar__seg", [
267
+ `summary-bar__seg--${F(a.overallEvaluationCode, i)}`,
268
+ {
269
+ "is-first": i === 0,
270
+ "is-last": i === O.value.length - 1,
271
+ "is-only": O.value.length === 1
272
+ }
273
+ ]]),
274
+ style: X({ width: `${J(a.percentage)}%` })
275
+ },
276
+ null,
277
+ 6
278
+ /* CLASS, STYLE */
279
+ ))),
280
+ 128
281
+ /* KEYED_FRAGMENT */
282
+ ))
283
+ ])
284
+ ])
285
+ ])
286
+ ])
287
+ ]),
288
+ f(" 筛选 tabs "),
289
+ n("div", _e, [
290
+ L(c(de), {
291
+ options: W.value,
292
+ activeKey: S.value,
293
+ "onUpdate:activeKey": t[0] || (t[0] = (a) => S.value = a),
294
+ tabBarStyle: { "margin-bottom": "0" },
295
+ onChange: oe
296
+ }, null, 8, ["options", "activeKey"])
297
+ ]),
298
+ f(" 评价列表 "),
299
+ n(
300
+ "div",
301
+ {
302
+ class: R(["list-section", { "empty-cont": !V.value.length }])
303
+ },
304
+ [
305
+ V.value.length ? (o(), l("div", Pe, [
306
+ (o(!0), l(
307
+ b,
308
+ null,
309
+ U(V.value, (a) => {
310
+ var i;
311
+ return o(), l("div", {
312
+ key: a.id,
313
+ class: "review-item"
314
+ }, [
315
+ n("img", {
316
+ class: "review-item__avatar",
317
+ src: ee(a.headIcon),
318
+ alt: ""
319
+ }, null, 8, He),
320
+ n("div", De, [
321
+ n(
322
+ "div",
323
+ qe,
324
+ u(a.userName || c(g)("匿名用户")),
325
+ 1
326
+ /* TEXT */
327
+ ),
328
+ a.time ? (o(), l(
329
+ "div",
330
+ xe,
331
+ u($(a.time)),
332
+ 1
333
+ /* TEXT */
334
+ )) : f("v-if", !0),
335
+ a.rateTxt ? (o(), l(
336
+ "div",
337
+ Qe,
338
+ u(a.rateTxt),
339
+ 1
340
+ /* TEXT */
341
+ )) : f("v-if", !0),
342
+ (i = a.tags) != null && i.length ? (o(), l("div", Fe, [
343
+ (o(!0), l(
344
+ b,
345
+ null,
346
+ U(a.tags, (E, I) => (o(), l(
347
+ "span",
348
+ {
349
+ key: `${a.id}-${I}`,
350
+ class: "review-tag"
351
+ },
352
+ u(E),
353
+ 1
354
+ /* TEXT */
355
+ ))),
356
+ 128
357
+ /* KEYED_FRAGMENT */
358
+ ))
359
+ ])) : f("v-if", !0),
360
+ a.content ? (o(), _(ke, {
361
+ key: 3,
362
+ content: a.content
363
+ }, null, 8, ["content"])) : f("v-if", !0)
364
+ ])
365
+ ]);
366
+ }),
367
+ 128
368
+ /* KEYED_FRAGMENT */
369
+ ))
370
+ ])) : (o(), l("div", ze, [
371
+ L(c(ve))
372
+ ]))
373
+ ],
374
+ 2
375
+ /* CLASS */
376
+ )
377
+ ])
378
+ ]),
379
+ _: 1
380
+ /* STABLE */
381
+ }, 8, ["modelValue", "title", "loading"]));
382
+ }
383
+ }), Xe = /* @__PURE__ */ x(Ge, [["__scopeId", "data-v-6445d856"]]), je = {
384
+ key: 0,
385
+ class: "line"
386
+ }, Me = /* @__PURE__ */ q({
387
+ __name: "App",
388
+ props: {
389
+ data: {
390
+ type: Object,
391
+ default: () => ({})
392
+ },
393
+ fontColor: {
394
+ type: String,
395
+ default: ""
396
+ },
397
+ /** processlog:进度跟踪;userEvaluation:用户评价 */
398
+ type: {
399
+ type: String,
400
+ default: "processlog"
401
+ }
402
+ },
403
+ setup(s) {
404
+ const y = s, d = m(!1), r = m(null), v = () => {
405
+ var p, h;
406
+ d.value = !0, (h = r.value) == null || h.open({ meetingId: (p = y.data) == null ? void 0 : p.meetingId });
407
+ };
408
+ return (p, h) => {
409
+ var A, k;
410
+ return o(), l(
411
+ b,
412
+ null,
413
+ [
414
+ (A = s.data) != null && A.detailAvailable ? (o(), l(
415
+ "div",
416
+ {
417
+ key: 0,
418
+ class: R(["meeting-evaluation-container", { "user-evaluation": s.type === "userEvaluation" }])
419
+ },
420
+ [
421
+ (k = s.data) != null && k.evaluationStr ? (o(), l(
422
+ "div",
423
+ {
424
+ key: 0,
425
+ class: "evaluation-box",
426
+ style: X({ color: s.fontColor })
427
+ },
428
+ [
429
+ P(
430
+ u(s.data.evaluationStr) + " ",
431
+ 1
432
+ /* TEXT */
433
+ ),
434
+ s.type === "userEvaluation" ? (o(), l("div", je)) : f("v-if", !0)
435
+ ],
436
+ 4
437
+ /* STYLE */
438
+ )) : f("v-if", !0),
439
+ L(c(j), {
440
+ btnType: "primary-text",
441
+ block: "",
442
+ onClick: v
443
+ }, {
444
+ default: T(() => [
445
+ P(
446
+ u(c(g)("查看评价详情")),
447
+ 1
448
+ /* TEXT */
449
+ )
450
+ ]),
451
+ _: 1
452
+ /* STABLE */
453
+ })
454
+ ],
455
+ 2
456
+ /* CLASS */
457
+ )) : f("v-if", !0),
458
+ L(Xe, {
459
+ ref_key: "dialogRef",
460
+ ref: r,
461
+ modelValue: d.value,
462
+ "onUpdate:modelValue": h[0] || (h[0] = (C) => d.value = C)
463
+ }, null, 8, ["modelValue"])
464
+ ],
465
+ 64
466
+ /* STABLE_FRAGMENT */
467
+ );
468
+ };
469
+ }
470
+ }), Je = /* @__PURE__ */ x(Me, [["__scopeId", "data-v-d3086cb1"]]), We = {
471
+ 查看会务评价: { "zh-CN": "查看会务评价", en: "View Meeting Evaluation", _appCode: "framework" },
472
+ 查看评价详情: { "zh-CN": "查看评价详情", en: "View Evaluation Details", _appCode: "framework" },
473
+ 评价汇总: { "zh-CN": "评价汇总", en: "Evaluation Summary", _appCode: "framework" },
474
+ "共计评论数 (条)": { "zh-CN": "共计评论数 (条)", en: "Total Comments", _appCode: "framework" },
475
+ 万: { "zh-CN": "万", en: "W", _appCode: "framework" },
476
+ 全部: { "zh-CN": "全部", en: "All", _appCode: "framework" },
477
+ 好评: { "zh-CN": "好评", en: "Positive", _appCode: "framework" },
478
+ 中评: { "zh-CN": "中评", en: "Neutral", _appCode: "framework" },
479
+ 差评: { "zh-CN": "差评", en: "Negative", _appCode: "framework" },
480
+ 匿名用户: { "zh-CN": "匿名用户", en: "Anonymous", _appCode: "framework" },
481
+ 暂无评价: { "zh-CN": "暂无评价", en: "No evaluations", _appCode: "framework" },
482
+ 关闭: { "zh-CN": "关闭", en: "Close", _appCode: "framework" },
483
+ 收起: { "zh-CN": "收起", en: "Collapse", _appCode: "framework" },
484
+ 展开: { "zh-CN": "展开", en: "Expand", _appCode: "framework" }
485
+ };
486
+ ie(We);
487
+ const ct = le(Je), dt = () => m(null);
488
+ export {
489
+ ct as DasMeetingEvaluationInfo,
490
+ dt as DasMeetingEvaluationInfoRef,
491
+ ct as default
492
+ };
@@ -0,0 +1,36 @@
1
+ import { type PropType } from 'vue';
2
+ import type { MeetingEvaluationSummary } from './type.d.ts';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ data: {
5
+ type: PropType<MeetingEvaluationSummary>;
6
+ default: () => {};
7
+ };
8
+ fontColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ /** processlog:进度跟踪;userEvaluation:用户评价 */
13
+ type: {
14
+ type: PropType<"processlog" | "userEvaluation">;
15
+ default: string;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ data: {
19
+ type: PropType<MeetingEvaluationSummary>;
20
+ default: () => {};
21
+ };
22
+ fontColor: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ /** processlog:进度跟踪;userEvaluation:用户评价 */
27
+ type: {
28
+ type: PropType<"processlog" | "userEvaluation">;
29
+ default: string;
30
+ };
31
+ }>> & Readonly<{}>, {
32
+ type: "processlog" | "userEvaluation";
33
+ data: MeetingEvaluationSummary;
34
+ fontColor: string;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ export default _default;
@@ -1,27 +1,8 @@
1
- export type EvaluationLevel = 'good' | 'medium' | 'bad';
2
- export interface SummaryItem {
3
- overallEvaluationId?: string;
4
- overallEvaluationCode?: string;
5
- overallEvaluationName?: string;
6
- count?: number;
7
- percentage?: number | string;
8
- sort?: number;
9
- }
10
- export interface EvaluationItem {
11
- id?: string | number;
12
- userName?: string;
13
- headIcon?: string;
14
- time?: string | number;
15
- rateTxt?: string;
16
- tags?: string[];
17
- content?: string;
18
- overallEvaluationId?: string;
19
- }
20
- interface Props {
1
+ interface DialogProps {
21
2
  modelValue?: boolean;
22
3
  title?: string;
23
4
  }
24
- declare const _default: import("vue").DefineComponent<Props, {
5
+ declare const _default: import("vue").DefineComponent<DialogProps, {
25
6
  open: (params?: {
26
7
  meetingId?: string;
27
8
  }) => Promise<void>;
@@ -32,7 +13,7 @@ declare const _default: import("vue").DefineComponent<Props, {
32
13
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
33
14
  change: (key: string) => any;
34
15
  "update:modelValue": (val: boolean) => any;
35
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
+ }, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
36
17
  onChange?: ((key: string) => any) | undefined;
37
18
  "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
38
19
  }>, {
@@ -0,0 +1,78 @@
1
+
2
+ export interface MeetingEvaluationItem {
3
+
4
+ overallEvaluationId?: string
5
+
6
+ overallEvaluationName?: string
7
+
8
+ overallEvaluationCode?: string
9
+
10
+ count?: number
11
+
12
+ percentage?: string | number
13
+
14
+ review?: string
15
+ }
16
+
17
+
18
+ export interface MeetingEvaluationSummary {
19
+
20
+ meetingId?: string
21
+
22
+ totalCount?: number | string
23
+
24
+ detailAvailable?: boolean
25
+
26
+ evaluationStr?: string
27
+
28
+ items?: MeetingEvaluationItem[]
29
+ }
30
+
31
+
32
+ export interface Props {
33
+
34
+ data?: MeetingEvaluationSummary
35
+
36
+ fontColor?: string
37
+
38
+ type?:'processlog'|'userEvaluation'
39
+ }
40
+
41
+
42
+ export type EvaluationLevel = 'good' | 'medium' | 'bad'
43
+
44
+
45
+ export interface SummaryItem {
46
+
47
+ overallEvaluationId?: string
48
+
49
+ overallEvaluationCode?: string
50
+
51
+ overallEvaluationName?: string
52
+
53
+ count?: number
54
+
55
+ percentage?: number | string
56
+
57
+ sort?: number
58
+ }
59
+
60
+
61
+ export interface EvaluationItem {
62
+
63
+ id?: string | number
64
+
65
+ userName?: string
66
+
67
+ headIcon?: string
68
+
69
+ time?: string | number
70
+
71
+ rateTxt?: string
72
+
73
+ tags?: string[]
74
+
75
+ content?: string
76
+
77
+ overallEvaluationId?: string
78
+ }
@@ -0,0 +1 @@
1
+ export declare const handleUrl: (str: any) => any;
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.content-box[data-v-8d78c534]{margin-top:8px;font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:#666;word-break:break-all}.fold-btn[data-v-8d78c534]{display:inline-flex;align-items:center;margin-top:4px;font-size:12px;font-weight:400;line-height:18px;color:#999;cursor:pointer}.fold-btn .text-collapse[data-v-8d78c534]{margin-right:4px}.hide-two-line[data-v-8d78c534]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;height:42px}.evaluation-dialog__body[data-v-6445d856]{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box;overflow:hidden}.summary-section[data-v-6445d856]{flex-shrink:0;width:100%;padding:20px 24px 16px;box-sizing:border-box;border-bottom:1px solid #eeeeee}.summary-title[data-v-6445d856]{font-size:14px;font-weight:600;line-height:22px;color:#212121;margin-bottom:16px}.summary-content[data-v-6445d856]{display:flex;align-items:center;gap:40px;width:100%}.summary-total[data-v-6445d856]{flex-shrink:0;min-width:120px}.summary-total__num[data-v-6445d856]{font-size:28px;font-weight:600;line-height:36px;color:#212121}.summary-total__label[data-v-6445d856]{margin-top:4px;font-size:12px;line-height:18px;color:#999}.summary-chart[data-v-6445d856]{flex:1;min-width:0}.summary-legend[data-v-6445d856]{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-bottom:10px;font-size:12px;line-height:18px;color:#666}.legend-item[data-v-6445d856]{display:inline-flex;align-items:center;gap:6px;font-size:12px}.legend-item span[data-v-6445d856]{color:#666}.legend-item i[data-v-6445d856]{font-style:normal;color:#212121;margin-left:4px}.legend-dot[data-v-6445d856]{width:8px;height:8px;border-radius:50%;flex-shrink:0}.legend-dot--good[data-v-6445d856]{background:#1ba854}.legend-dot--medium[data-v-6445d856]{background:#ed812b}.legend-dot--bad[data-v-6445d856]{background:#fb2323}.summary-bar[data-v-6445d856]{width:614px;height:8px;overflow:hidden;background:#fff}.summary-bar__track[data-v-6445d856]{display:flex;width:100%;height:100%}.summary-bar__seg[data-v-6445d856]{height:100%;min-width:0;clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%);margin-right:-3px}.summary-bar__seg.is-first[data-v-6445d856]{clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%)}.summary-bar__seg.is-last[data-v-6445d856]{margin-right:0;clip-path:polygon(6px 0,100% 0,100% 100%,0 100%)}.summary-bar__seg.is-only[data-v-6445d856]{margin-right:0;clip-path:none;border-radius:5px}.summary-bar__seg--good[data-v-6445d856]{background:#1ba854}.summary-bar__seg--medium[data-v-6445d856]{background:#ed812b}.summary-bar__seg--bad[data-v-6445d856]{background:#fb2323}.tabs-section[data-v-6445d856]{flex-shrink:0;width:100%;box-sizing:border-box}.list-section[data-v-6445d856]{flex:1;min-height:0;width:100%;padding:0 350px 0 50px;box-sizing:border-box;overflow-x:hidden;overflow-y:auto}.list-section.empty-cont[data-v-6445d856]{padding:0;display:flex;align-items:center;justify-content:center}.list-wrap[data-v-6445d856]{width:100%;padding:4px 0 16px;box-sizing:border-box}.list-empty[data-v-6445d856]{width:100%;height:100%}.review-item[data-v-6445d856]{display:flex;align-items:flex-start;width:100%;gap:12px;padding:16px 0;box-sizing:border-box}.review-item__avatar[data-v-6445d856]{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0}.review-item__main[data-v-6445d856]{flex:1;min-width:0}.review-item__name[data-v-6445d856]{font-size:14px;line-height:21px;color:#212121}.review-item__time[data-v-6445d856]{margin-top:2px;font-size:12px;line-height:18px;color:#999}.review-item__rate[data-v-6445d856]{margin-top:8px;font-size:14px;line-height:21px;color:#212121}.review-item__tags[data-v-6445d856]{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}.review-tag[data-v-6445d856]{display:inline-flex;align-items:center;height:20px;padding:0 8px;box-sizing:border-box;border:1px solid #d9d9d9;border-radius:2px;background:#fff;font-size:12px;line-height:22px;color:#666}.evaluation-dialog__footer[data-v-6445d856]{display:flex;justify-content:center;width:100%}.meeting-evaluation-container[data-v-d3086cb1]{width:100%}.meeting-evaluation-container.user-evaluation[data-v-d3086cb1]{width:auto;display:flex}.meeting-evaluation-container.user-evaluation .evaluation-box[data-v-d3086cb1]{margin-right:12px;position:relative}.meeting-evaluation-container.user-evaluation .evaluation-box .line[data-v-d3086cb1]{position:absolute;bottom:-4px;width:100%;height:1px;background-color:var(--das-ui-input-only-bottom-view-border-color)}.evaluation-box[data-v-d3086cb1]{margin-bottom:4px;font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-title-color)}