sooyie-pgss 0.0.2 → 0.0.4

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 (45) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  2. package/dist/apiCall-DGnOSgOg.mjs +223 -0
  3. package/dist/{app-info-BbQUujMP.mjs → app-info-CUc39-ny.mjs} +1 -1
  4. package/dist/{app-info.vue_vue_type_script_setup_true_lang-CILQM5Dm.mjs → app-info.vue_vue_type_script_setup_true_lang-CgJRP6lc.mjs} +57 -55
  5. package/dist/{constant-D4fRv058.mjs → constant--xMn450l.mjs} +6 -5
  6. package/dist/{edit-Dhe1Mlih.mjs → edit-BlxqUB6-.mjs} +5 -4
  7. package/dist/{edit-DlJbNEVn.mjs → edit-Cla0dDdI.mjs} +8 -7
  8. package/dist/edit-ivH-z1iI.mjs +436 -0
  9. package/dist/image-CROZrkNB.mjs +103 -0
  10. package/dist/index-B79zNTjd.mjs +1918 -0
  11. package/dist/index-BCe402UQ.mjs +107 -0
  12. package/dist/{index-B4yFC5Qp.mjs → index-BXMXyvNp.mjs} +24 -23
  13. package/dist/{index-CoKl3CjE.mjs → index-CFfRjdwg.mjs} +27 -26
  14. package/dist/{index-quJUd8pu.mjs → index-CRPSCe9-.mjs} +156 -152
  15. package/dist/{index-BQctarUx.mjs → index-CcJJYhrX.mjs} +27 -26
  16. package/dist/index-CeyTmMNJ.mjs +109 -0
  17. package/dist/index-Cg4ZTneB.mjs +363 -0
  18. package/dist/{index-B2aeDXDI.mjs → index-D0X52CmM.mjs} +176 -173
  19. package/dist/index-D_e-YTyb.mjs +175 -0
  20. package/dist/index-DmqVT2Yh.mjs +43857 -0
  21. package/dist/index-MA9jC8ZF.mjs +109 -0
  22. package/dist/index.mjs +3039 -4
  23. package/dist/{info-BcEJCDoh.mjs → info-CshC_g3m.mjs} +5 -4
  24. package/dist/{info-B3MSviL1.mjs → info-_AfeplKG.mjs} +45 -44
  25. package/dist/{resetPwd-C00poFAP.mjs → resetPwd-CeTAHbCm.mjs} +1 -1
  26. package/dist/{resetPwd.vue_vue_type_script_setup_true_lang-jrWExNFq.mjs → resetPwd.vue_vue_type_script_setup_true_lang-Dx51Xvte.mjs} +1 -1
  27. package/dist/{simulateNum-p0ftrVo6.mjs → simulateNum-DcFDMOSh.mjs} +1 -1
  28. package/dist/{simulateNum.vue_vue_type_script_setup_true_lang-DY_YkKUO.mjs → simulateNum.vue_vue_type_script_setup_true_lang-ALzj6Sj-.mjs} +1 -1
  29. package/dist/style.css +1 -1
  30. package/dts/src/api/pgss/index.d.ts +1 -0
  31. package/dts/src/api/pgss/pgss-user-portrait/types.d.ts +1 -1
  32. package/dts/src/constant.d.ts +1 -0
  33. package/dts/src/index.d.ts +1 -2
  34. package/dts/src/lang/pgss/zh-cn.d.ts +1 -0
  35. package/dts/src/router/index.d.ts +1 -0
  36. package/dts/src/views/pgss/pgss-app-info/edit.vue.d.ts +1 -1
  37. package/dts/src/views/pgss/pgss-login/index.vue.d.ts +2 -0
  38. package/dts/src/views/pgss/pgss-prompt-template/edit.vue.d.ts +1 -1
  39. package/dts/src/views/pgss/pgss-prompt-template-custom/edit.vue.d.ts +1 -1
  40. package/dts/src/views/pgss/pgss-user-portrait/simulateNum.vue.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/dist/edit-DCqiYilp.mjs +0 -417
  43. package/dist/index-CRP6JuIH.mjs +0 -1932
  44. package/dist/index-D7pM0eGF.mjs +0 -47526
  45. package/dist/index-DmneBhrk.mjs +0 -326
@@ -2,10 +2,10 @@ import { defineComponent as X, getCurrentInstance as Z, ref as T, reactive as D,
2
2
  import { useTableHooks as te } from "jmash-core";
3
3
  import { useI18n as le } from "vue-i18n";
4
4
  import { p as oe } from "./index-DAKAeNie.mjs";
5
- import ae from "./edit-DlJbNEVn.mjs";
6
- import "./constant-D4fRv058.mjs";
7
- import { D as j } from "./index-B2aeDXDI.mjs";
8
- import { u as ne } from "./index-D7pM0eGF.mjs";
5
+ import ae from "./edit-Cla0dDdI.mjs";
6
+ import "./constant--xMn450l.mjs";
7
+ import { D as j } from "./index-D0X52CmM.mjs";
8
+ import { u as ne } from "./index-CeyTmMNJ.mjs";
9
9
  import { useRoute as se } from "vue-router";
10
10
  const me = { class: "app-container" }, re = { class: "search-container" }, pe = ["onClick"], ue = ["onClick"], Ce = /* @__PURE__ */ X({
11
11
  __name: "index",
@@ -16,10 +16,10 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
16
16
  templateType: "custom"
17
17
  }), {
18
18
  tableHooks: s,
19
- multipleTableRef: q,
20
- queryFormRef: z,
21
- listLoading: E,
22
- tableData: I,
19
+ multipleTableRef: Q,
20
+ queryFormRef: q,
21
+ listLoading: z,
22
+ tableData: E,
23
23
  total: b
24
24
  } = te(v, oe, r);
25
25
  let c = T([
@@ -64,16 +64,16 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
64
64
  }
65
65
  ]);
66
66
  console.log(j.profileCodeDict.values, "=> profileCodeDict");
67
- const L = T([]);
67
+ const I = T([]);
68
68
  ne.findFields().then(({ data: l }) => {
69
- console.log(l), L.value = l.results;
69
+ console.log(l), I.value = l.results;
70
70
  });
71
71
  const p = T({
72
72
  title: v("common.edit"),
73
73
  visible: !1
74
74
  });
75
75
  let w = D({});
76
- function Q() {
76
+ function L() {
77
77
  w = D({}), p.value.title = v("common.add"), p.value.visible = !0;
78
78
  }
79
79
  function H(l) {
@@ -94,7 +94,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
94
94
  $("div", re, [
95
95
  a(M, {
96
96
  ref_key: "queryFormRef",
97
- ref: z,
97
+ ref: q,
98
98
  model: r.value,
99
99
  inline: !0
100
100
  }, {
@@ -133,6 +133,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
133
133
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.status = e),
134
134
  placeholder: l.$t("promptTemplate.statusRequired"),
135
135
  onKeyup: t[3] || (t[3] = R((e) => n(s).handleQuery(), ["enter"])),
136
+ onChange: t[4] || (t[4] = (e) => n(s).handleQuery()),
136
137
  data: n(j).statusEnum.values,
137
138
  clearable: "",
138
139
  class: "!w-[203px]"
@@ -149,7 +150,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
149
150
  default: o(() => [
150
151
  a(_, {
151
152
  type: "primary",
152
- onClick: t[4] || (t[4] = (e) => n(s).handleQuery())
153
+ onClick: t[5] || (t[5] = (e) => n(s).handleQuery())
153
154
  }, {
154
155
  default: o(() => [
155
156
  d(i(l.$t("common.search")), 1)
@@ -157,7 +158,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
157
158
  _: 1
158
159
  }),
159
160
  a(_, {
160
- onClick: t[5] || (t[5] = (e) => n(s).resetQuery())
161
+ onClick: t[6] || (t[6] = (e) => n(s).resetQuery())
161
162
  }, {
162
163
  default: o(() => [
163
164
  d(i(l.$t("common.reset")), 1)
@@ -176,7 +177,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
176
177
  ]),
177
178
  _: 1
178
179
  }, 8, ["model"]),
179
- t[13] || (t[13] = $("div", { class: "clear" }, null, -1))
180
+ t[14] || (t[14] = $("div", { class: "clear" }, null, -1))
180
181
  ]),
181
182
  a(W, {
182
183
  shadow: "never",
@@ -189,7 +190,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
189
190
  default: o(() => [
190
191
  C((u(), k(_, {
191
192
  type: "primary",
192
- onClick: Q
193
+ onClick: L
193
194
  }, {
194
195
  default: o(() => [
195
196
  d(i(l.$t("promptTemplate.add")), 1)
@@ -200,7 +201,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
200
201
  ]),
201
202
  C((u(), k(_, {
202
203
  type: "primary",
203
- onClick: t[6] || (t[6] = (e) => n(s).deleteRecords())
204
+ onClick: t[7] || (t[7] = (e) => n(s).deleteRecords())
204
205
  }, {
205
206
  default: o(() => [
206
207
  d(i(l.$t("common.batchDelete")), 1)
@@ -219,7 +220,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
219
220
  default: o(() => [
220
221
  a(x, {
221
222
  modelValue: n(c),
222
- "onUpdate:modelValue": t[7] || (t[7] = (e) => S(c) ? c.value = e : c = e),
223
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => S(c) ? c.value = e : c = e),
223
224
  "label-name": "pgss/pgss-prompt-template"
224
225
  }, null, 8, ["modelValue"])
225
226
  ]),
@@ -233,21 +234,21 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
233
234
  n(b) > 0 ? (u(), k(O, {
234
235
  key: 0,
235
236
  total: n(b),
236
- "onUpdate:total": t[8] || (t[8] = (e) => S(b) ? b.value = e : null),
237
+ "onUpdate:total": t[9] || (t[9] = (e) => S(b) ? b.value = e : null),
237
238
  "current-page": r.value.curPage,
238
- "onUpdate:currentPage": t[9] || (t[9] = (e) => r.value.curPage = e),
239
+ "onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
239
240
  "page-size": r.value.pageSize,
240
- "onUpdate:pageSize": t[10] || (t[10] = (e) => r.value.pageSize = e),
241
- onPagination: t[11] || (t[11] = (e) => n(s).getList())
241
+ "onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
242
+ onPagination: t[12] || (t[12] = (e) => n(s).getList())
242
243
  }, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
243
244
  ]),
244
245
  default: o(() => [
245
246
  a(J, {
246
247
  ref_key: "multipleTableRef",
247
- ref: q,
248
+ ref: Q,
248
249
  "row-key": "templateId",
249
- "list-loading": n(E),
250
- data: n(I),
250
+ "list-loading": n(z),
251
+ data: n(E),
251
252
  "table-label": n(c),
252
253
  onSelectionChange: K,
253
254
  onSortChange: Y
@@ -291,7 +292,7 @@ const me = { class: "app-container" }, re = { class: "search-container" }, pe =
291
292
  p.value.visible ? (u(), k(ae, {
292
293
  key: 0,
293
294
  modelValue: p.value.visible,
294
- "onUpdate:modelValue": t[12] || (t[12] = (e) => p.value.visible = e),
295
+ "onUpdate:modelValue": t[13] || (t[13] = (e) => p.value.visible = e),
295
296
  title: p.value.title,
296
297
  "entity-key": n(w),
297
298
  onRefresh: A,
@@ -0,0 +1,109 @@
1
+ import { useUserStore as r, clearEmpty as n, request as s } from "jmash-core";
2
+ class o {
3
+ getKey(t) {
4
+ return {
5
+ userId: t.userId
6
+ };
7
+ }
8
+ // 查询翻页信息用户画像
9
+ findPage(t) {
10
+ const e = r().user.tenant;
11
+ return t && (t.hasIdentityType = t.identityType !== void 0, t.hasIdentityAgeRange = t.identityAgeRange !== void 0), n(t), s({
12
+ url: "/v1/pgss/user_portrait/page/" + e,
13
+ method: "get",
14
+ params: t
15
+ });
16
+ }
17
+ // 查询列表信息用户画像
18
+ findList(t) {
19
+ const e = r().user.tenant;
20
+ return n(t), s({
21
+ url: "/v1/pgss/user_portrait/list/" + e,
22
+ method: "get",
23
+ params: t
24
+ });
25
+ }
26
+ // 查询用户画像
27
+ findById(t) {
28
+ const e = r().user.tenant;
29
+ return n(t), s({
30
+ url: "/v1/pgss/user_portrait/id/" + e + "/" + t.userId,
31
+ method: "get"
32
+ });
33
+ }
34
+ // 创建实体用户画像
35
+ create(t) {
36
+ return t.tenant = r().user.tenant, n(t), s({
37
+ url: "/v1/pgss/user_portrait",
38
+ method: "post",
39
+ data: t
40
+ });
41
+ }
42
+ // 修改实体用户画像
43
+ update(t) {
44
+ return t.tenant = r().user.tenant, n(t), s({
45
+ url: "/v1/pgss/user_portrait",
46
+ method: "patch",
47
+ data: t
48
+ });
49
+ }
50
+ // 删除用户画像
51
+ delete(t) {
52
+ return t.tenant = r().user.tenant, n(t), s({
53
+ url: "/v1/pgss/user_portrait/id",
54
+ method: "delete",
55
+ params: t
56
+ });
57
+ }
58
+ // 批量删除用户画像
59
+ batchDelete(t) {
60
+ const e = t.map((u) => u.userId), a = {
61
+ tenant: r().user.tenant,
62
+ userId: e
63
+ };
64
+ return n(a), s({
65
+ url: "/v1/pgss/user_portrait/batch",
66
+ method: "put",
67
+ data: a
68
+ });
69
+ }
70
+ // 模拟用户画像
71
+ simulateNum(t) {
72
+ return t.tenant = r().user.tenant, n(t), s({
73
+ url: "/v1/pgss/user_portrait/simulate",
74
+ method: "post",
75
+ data: t
76
+ });
77
+ }
78
+ // 查询用户画像表字段
79
+ findFields(t) {
80
+ const e = r().user.tenant;
81
+ return n(t), s({
82
+ url: "/v1/pgss/user_portrait/columns/" + e,
83
+ method: "get",
84
+ params: t
85
+ });
86
+ }
87
+ // 统计用户画像总量
88
+ countTotal(t) {
89
+ const e = r().user.tenant;
90
+ return s({
91
+ url: "/v1/pgss/user_portrait/count/" + e,
92
+ method: "get",
93
+ params: t
94
+ });
95
+ }
96
+ // 统计画像综合完整度
97
+ countComplete(t) {
98
+ const e = r().user.tenant;
99
+ return s({
100
+ url: "/v1/pgss/user_portrait/count_score/" + e,
101
+ method: "get",
102
+ params: t
103
+ });
104
+ }
105
+ }
106
+ const d = new o();
107
+ export {
108
+ d as u
109
+ };
@@ -0,0 +1,363 @@
1
+ import { defineComponent as W, ref as C, getCurrentInstance as X, resolveComponent as d, openBlock as N, createElementBlock as Z, createElementVNode as L, createVNode as o, withCtx as s, unref as r, withKeys as Y, createTextVNode as V, toDisplayString as b, createBlock as q, isRef as U, createCommentVNode as x } from "vue";
2
+ import { useUserStore as g, clearEmpty as c, request as f, useTableHooks as ee } from "jmash-core";
3
+ import { useI18n as te } from "vue-i18n";
4
+ import { D as $ } from "./index-D0X52CmM.mjs";
5
+ import { useRoute as ae } from "vue-router";
6
+ class se {
7
+ getKey(e) {
8
+ return {
9
+ messageId: e.messageId
10
+ };
11
+ }
12
+ // 查询翻页信息消息日志
13
+ findPage(e) {
14
+ const u = g().user.tenant;
15
+ return e && (e.hasStatus = e.status !== void 0), c(e), f({
16
+ url: "/v1/pgss/message_log/page/" + u,
17
+ method: "get",
18
+ params: e
19
+ });
20
+ }
21
+ // 查询列表信息消息日志
22
+ findList(e) {
23
+ const u = g().user.tenant;
24
+ return c(e), f({
25
+ url: "/v1/pgss/message_log/list/" + u,
26
+ method: "get",
27
+ params: e
28
+ });
29
+ }
30
+ // 查询消息日志
31
+ findById(e) {
32
+ const u = g().user.tenant;
33
+ return c(e), f({
34
+ url: "/v1/pgss/message_log/id/" + u + "/" + e.messageId,
35
+ method: "get"
36
+ });
37
+ }
38
+ // 创建实体消息日志
39
+ create(e) {
40
+ return e.tenant = g().user.tenant, c(e), f({
41
+ url: "/v1/pgss/message_log",
42
+ method: "post",
43
+ data: e
44
+ });
45
+ }
46
+ // 修改实体消息日志
47
+ update(e) {
48
+ return e.tenant = g().user.tenant, c(e), f({
49
+ url: "/v1/pgss/message_log",
50
+ method: "patch",
51
+ data: e
52
+ });
53
+ }
54
+ // 删除消息日志
55
+ delete(e) {
56
+ return e.tenant = g().user.tenant, c(e), f({
57
+ url: "/v1/pgss/message_log/id",
58
+ method: "delete",
59
+ params: e
60
+ });
61
+ }
62
+ // 批量删除消息日志
63
+ batchDelete(e) {
64
+ const u = e.map((p) => p.messageId), i = {
65
+ tenant: g().user.tenant,
66
+ messageId: u
67
+ };
68
+ return c(i), f({
69
+ url: "/v1/pgss/message_log/batch",
70
+ method: "put",
71
+ data: i
72
+ });
73
+ }
74
+ }
75
+ const oe = new se();
76
+ function le(D, e) {
77
+ if (!D || !e) return "-";
78
+ const u = new Date(D).getTime(), i = new Date(e).getTime();
79
+ if (isNaN(u) || isNaN(i) || i < u) return "-";
80
+ const p = i - u, n = Math.floor(p / 864e5), m = Math.floor(p % 864e5 / 36e5), v = Math.floor(p % 36e5 / 6e4), _ = Math.floor(p % 6e4 / 1e3), I = p % 1e3;
81
+ return n > 0 ? `${n}d ${m}h ${v}m` : m > 0 ? `${m}h ${v}m ${_}s` : v > 0 ? `${v}m ${_}s` : _ > 0 ? `${_}s ${I}ms` : `${I}ms`;
82
+ }
83
+ const ne = { class: "app-container" }, re = { class: "search-container" }, ge = /* @__PURE__ */ W({
84
+ __name: "index",
85
+ setup(D) {
86
+ const { t: e } = te(), u = C([]), { proxy: i } = X(), p = ae();
87
+ $.appListDict.useValues();
88
+ const n = C({
89
+ appId: p.query.appId
90
+ }), {
91
+ tableHooks: m,
92
+ multipleTableRef: v,
93
+ queryFormRef: _,
94
+ listLoading: I,
95
+ tableData: Q,
96
+ total: T
97
+ } = ee(e, oe, n);
98
+ function R(l) {
99
+ if (!l) {
100
+ u.value = [], n.value.startDate = " ", n.value.endDate = " ", m.handleQuery();
101
+ return;
102
+ }
103
+ n.value.startDate = l[0], n.value.endDate = l[1], m.handleQuery();
104
+ }
105
+ let h = C([
106
+ {
107
+ label: "messageLog.createTime",
108
+ prop: "createTime",
109
+ slotName: "createTime",
110
+ columnType: "slot",
111
+ width: "180",
112
+ sortable: "custom",
113
+ isColumn: !0
114
+ },
115
+ {
116
+ label: "messageLog.appId",
117
+ prop: "appId",
118
+ slotName: "appId",
119
+ columnType: "slot",
120
+ sortable: "custom",
121
+ isColumn: !0
122
+ },
123
+ {
124
+ label: "messageLog.thirdUserId",
125
+ prop: "thirdUserId",
126
+ sortable: "custom",
127
+ isColumn: !0
128
+ },
129
+ // 耗时
130
+ {
131
+ label: "messageLog.duration",
132
+ prop: "duration",
133
+ slotName: "duration",
134
+ columnType: "slot",
135
+ width: "150",
136
+ sortable: "custom",
137
+ isColumn: !0
138
+ },
139
+ {
140
+ label: "messageLog.status",
141
+ prop: "status",
142
+ slotName: "status",
143
+ columnType: "slot",
144
+ width: "150",
145
+ sortable: "custom",
146
+ isColumn: !0
147
+ }
148
+ ]);
149
+ function j(l) {
150
+ m.selectionRows.value = l;
151
+ }
152
+ function E(l) {
153
+ m.handleSort(l.prop, l.order);
154
+ }
155
+ const P = {
156
+ generating: "warning",
157
+ generated: "success",
158
+ failed: "danger"
159
+ }, A = (l) => P[l] ?? "info";
160
+ function z() {
161
+ u.value = [], n.value.startDate = void 0, n.value.endDate = void 0, m.resetQuery();
162
+ }
163
+ return m.getList(), (l, a) => {
164
+ const S = d("jmash-select"), w = d("el-form-item"), y = d("el-col"), B = d("el-date-picker"), k = d("el-button"), M = d("el-row"), H = d("el-form"), K = d("jmash-column-select"), F = d("el-tag"), G = d("jmash-table"), J = d("jmash-pagination"), O = d("el-card");
165
+ return N(), Z("div", ne, [
166
+ L("div", re, [
167
+ o(H, {
168
+ ref_key: "queryFormRef",
169
+ ref: _,
170
+ model: n.value,
171
+ inline: !0
172
+ }, {
173
+ default: s(() => [
174
+ o(M, null, {
175
+ default: s(() => [
176
+ o(y, { span: 6 }, {
177
+ default: s(() => [
178
+ o(w, {
179
+ label: l.$t("messageLog.status"),
180
+ prop: "status"
181
+ }, {
182
+ default: s(() => [
183
+ o(S, {
184
+ modelValue: n.value.status,
185
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => n.value.status = t),
186
+ data: r($).logStatusEnum.values,
187
+ placeholder: l.$t("messageLog.statusRequired"),
188
+ onKeyup: a[1] || (a[1] = Y((t) => r(m).handleQuery(), ["enter"])),
189
+ onChange: a[2] || (a[2] = (t) => r(m).handleQuery()),
190
+ class: "!w-[203px]"
191
+ }, null, 8, ["modelValue", "data", "placeholder"])
192
+ ]),
193
+ _: 1
194
+ }, 8, ["label"])
195
+ ]),
196
+ _: 1
197
+ }),
198
+ o(y, { span: 6 }, {
199
+ default: s(() => [
200
+ o(w, {
201
+ label: l.$t("messageLog.appId"),
202
+ prop: "appId"
203
+ }, {
204
+ default: s(() => [
205
+ o(S, {
206
+ modelValue: n.value.appId,
207
+ "onUpdate:modelValue": a[3] || (a[3] = (t) => n.value.appId = t),
208
+ data: r($).appListDict.values,
209
+ placeholder: l.$t("messageLog.appIdRequired"),
210
+ onKeyup: a[4] || (a[4] = Y((t) => r(m).handleQuery(), ["enter"])),
211
+ onChange: a[5] || (a[5] = (t) => r(m).handleQuery()),
212
+ class: "!w-[203px]"
213
+ }, null, 8, ["modelValue", "data", "placeholder"])
214
+ ]),
215
+ _: 1
216
+ }, 8, ["label"])
217
+ ]),
218
+ _: 1
219
+ }),
220
+ o(y, { span: 6 }, {
221
+ default: s(() => [
222
+ o(w, {
223
+ label: l.$t("messageLog.startTime"),
224
+ prop: "startDate"
225
+ }, {
226
+ default: s(() => [
227
+ o(B, {
228
+ modelValue: u.value,
229
+ "onUpdate:modelValue": a[6] || (a[6] = (t) => u.value = t),
230
+ type: "daterange",
231
+ "start-placeholder": l.$t("messageLog.startTime"),
232
+ "end-placeholder": l.$t("messageLog.endTime"),
233
+ format: "YYYY-MM-DD",
234
+ "value-format": "YYYY-MM-DD",
235
+ onChange: R,
236
+ clearable: ""
237
+ }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
238
+ ]),
239
+ _: 1
240
+ }, 8, ["label"])
241
+ ]),
242
+ _: 1
243
+ }),
244
+ o(y, { span: 6 }, {
245
+ default: s(() => [
246
+ o(w, { class: "search-btn" }, {
247
+ default: s(() => [
248
+ o(k, {
249
+ type: "primary",
250
+ onClick: a[7] || (a[7] = (t) => r(m).handleQuery())
251
+ }, {
252
+ default: s(() => [
253
+ V(b(l.$t("common.search")), 1)
254
+ ]),
255
+ _: 1
256
+ }),
257
+ o(k, {
258
+ onClick: a[8] || (a[8] = (t) => z())
259
+ }, {
260
+ default: s(() => [
261
+ V(b(l.$t("common.reset")), 1)
262
+ ]),
263
+ _: 1
264
+ })
265
+ ]),
266
+ _: 1
267
+ })
268
+ ]),
269
+ _: 1
270
+ })
271
+ ]),
272
+ _: 1
273
+ })
274
+ ]),
275
+ _: 1
276
+ }, 8, ["model"]),
277
+ a[14] || (a[14] = L("div", { class: "clear" }, null, -1))
278
+ ]),
279
+ o(O, {
280
+ shadow: "never",
281
+ class: "table-container"
282
+ }, {
283
+ header: s(() => [
284
+ o(M, null, {
285
+ default: s(() => [
286
+ o(y, {
287
+ span: 24,
288
+ class: "container-float"
289
+ }, {
290
+ default: s(() => [
291
+ o(K, {
292
+ modelValue: r(h),
293
+ "onUpdate:modelValue": a[9] || (a[9] = (t) => U(h) ? h.value = t : h = t),
294
+ "label-name": "pgss/pgss-message-log"
295
+ }, null, 8, ["modelValue"])
296
+ ]),
297
+ _: 1
298
+ })
299
+ ]),
300
+ _: 1
301
+ })
302
+ ]),
303
+ footer: s(() => [
304
+ r(T) > 0 ? (N(), q(J, {
305
+ key: 0,
306
+ total: r(T),
307
+ "onUpdate:total": a[10] || (a[10] = (t) => U(T) ? T.value = t : null),
308
+ "current-page": n.value.curPage,
309
+ "onUpdate:currentPage": a[11] || (a[11] = (t) => n.value.curPage = t),
310
+ "page-size": n.value.pageSize,
311
+ "onUpdate:pageSize": a[12] || (a[12] = (t) => n.value.pageSize = t),
312
+ onPagination: a[13] || (a[13] = (t) => r(m).getList())
313
+ }, null, 8, ["total", "current-page", "page-size"])) : x("", !0)
314
+ ]),
315
+ default: s(() => [
316
+ o(G, {
317
+ ref_key: "multipleTableRef",
318
+ ref: v,
319
+ "row-key": "messageId",
320
+ "list-loading": r(I),
321
+ data: r(Q),
322
+ isSelection: !1,
323
+ "table-label": r(h),
324
+ onSelectionChange: j,
325
+ onSortChange: E
326
+ }, {
327
+ status: s((t) => [
328
+ o(F, {
329
+ type: A(t.data.row.status)
330
+ }, {
331
+ default: s(() => [
332
+ V(b(r($).logStatusEnum.getEnumValue(t.data.row.status)), 1)
333
+ ]),
334
+ _: 2
335
+ }, 1032, ["type"])
336
+ ]),
337
+ createTime: s((t) => [
338
+ L("span", null, b(r(i).$moment.formatDate(
339
+ t.data.row.createTime,
340
+ "YYYY-MM-DD HH:mm:ss"
341
+ )), 1)
342
+ ]),
343
+ appId: s((t) => [
344
+ V(b(r($).appListDict.getValue(t.data.row.appId)), 1)
345
+ ]),
346
+ duration: s((t) => [
347
+ L("span", null, b(r(le)(
348
+ t.data.row.createTime,
349
+ t.data.row.updateTime
350
+ )), 1)
351
+ ]),
352
+ _: 1
353
+ }, 8, ["list-loading", "data", "table-label"])
354
+ ]),
355
+ _: 1
356
+ })
357
+ ]);
358
+ };
359
+ }
360
+ });
361
+ export {
362
+ ge as default
363
+ };