sooyie-pgss 0.0.3 → 0.0.5
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/dist/{app-info-B4CG9SYQ.mjs → app-info-C7WoB98-.mjs} +1 -1
- package/dist/{app-info.vue_vue_type_script_setup_true_lang-OxZnXojA.mjs → app-info.vue_vue_type_script_setup_true_lang-DxE5gyRR.mjs} +55 -53
- package/dist/{constant-D4fRv058.mjs → constant--xMn450l.mjs} +6 -5
- package/dist/{edit-Do1a4xeJ.mjs → edit-BlxqUB6-.mjs} +1 -1
- package/dist/edit-D8MlG11t.mjs +460 -0
- package/dist/{edit-sq0ohOci.mjs → edit-DinuxU0s.mjs} +123 -99
- package/dist/{index-CM5e4jX-.mjs → index-BCe402UQ.mjs} +18 -18
- package/dist/index-Bt1ubLNz.mjs +322 -0
- package/dist/{index-AzecE6QF.mjs → index-Cby2_cMl.mjs} +28 -28
- package/dist/{index-BUiu8rPV.mjs → index-CsOsVLtX.mjs} +113 -113
- package/dist/{index-BEtcyjc1.mjs → index-D3PDeVuz.mjs} +168 -170
- package/dist/index-D_e-YTyb.mjs +175 -0
- package/dist/{index-CoC7n2M9.mjs → index-Du-Gyipf.mjs} +20 -20
- package/dist/{index-BapHEpjV.mjs → index-K_0ErcZa.mjs} +401 -299
- package/dist/{index-B0w3Hvh3.mjs → index-LG1LjGBS.mjs} +30 -30
- package/dist/index.mjs +464 -458
- package/dist/{info-Bba_NzcG.mjs → info-BVeWJFsE.mjs} +1 -1
- package/dist/info-CRvLnd_-.mjs +197 -0
- package/dist/info-CvKFPpGc.mjs +218 -0
- package/dist/style.css +1 -1
- package/dts/src/api/pgss/dict.d.ts +3 -0
- package/dts/src/api/pgss/index.d.ts +3 -1
- package/dts/src/api/pgss/pgss-user-portrait/types.d.ts +1 -1
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/index.d.ts +1 -1
- package/dts/src/lang/pgss/zh-cn.d.ts +4 -0
- package/dts/src/router/index.d.ts +1 -0
- package/dts/src/views/pgss/pgss-app-info/edit.vue.d.ts +1 -1
- package/dts/src/views/pgss/pgss-login/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-message-log/info.vue.d.ts +26 -0
- package/dts/src/views/pgss/pgss-prompt-template/edit.vue.d.ts +1 -1
- package/dts/src/views/pgss/pgss-prompt-template-custom/edit.vue.d.ts +1 -1
- package/dts/src/views/pgss/pgss-user-portrait/simulateNum.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/edit-CR3tiHFR.mjs +0 -418
- package/dist/index-C_8_sh8W.mjs +0 -326
- package/dist/index-DAKAeNie.mjs +0 -83
- package/dist/info-CunGvr-S.mjs +0 -222
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ye, getCurrentInstance as ve, ref as T, watch as _e, reactive as S, resolveComponent as p, resolveDirective as we, openBlock as r, createElementBlock as h, createElementVNode as V, createVNode as a, withCtx as l, withKeys as U, unref as n, createTextVNode as u, toDisplayString as d, withDirectives as g, createBlock as k, isRef as A, createCommentVNode as D } from "vue";
|
|
2
2
|
import { useTableHooks as be } from "jmash-core";
|
|
3
3
|
import { useI18n as ge } from "vue-i18n";
|
|
4
4
|
import { a as ke } from "./index-MA9jC8ZF.mjs";
|
|
5
|
-
import { D as L } from "./index-
|
|
6
|
-
import Ce from "./edit-
|
|
5
|
+
import { D as L } from "./index-K_0ErcZa.mjs";
|
|
6
|
+
import Ce from "./edit-BlxqUB6-.mjs";
|
|
7
7
|
import { _ as Te } from "./resetPwd.vue_vue_type_script_setup_true_lang-Dx51Xvte.mjs";
|
|
8
|
-
import he from "./info-
|
|
8
|
+
import he from "./info-BVeWJFsE.mjs";
|
|
9
9
|
import { useRouter as Ve } from "vue-router";
|
|
10
|
-
import { C as
|
|
11
|
-
const
|
|
10
|
+
import { C as $e } from "./constant--xMn450l.mjs";
|
|
11
|
+
const Ie = { class: "app-container" }, Re = { class: "search-container" }, De = ["onClick"], Pe = ["onClick"], Ne = { class: "el-dropdown-link" }, He = /* @__PURE__ */ ye({
|
|
12
12
|
__name: "app-info",
|
|
13
13
|
emits: ["totalChange"],
|
|
14
14
|
setup(Ue, { emit: E }) {
|
|
15
|
-
const { t:
|
|
16
|
-
let
|
|
15
|
+
const { t: y } = ge(), q = Ve(), { proxy: K } = ve(), Q = E, i = T({});
|
|
16
|
+
let v = T(!1);
|
|
17
17
|
const {
|
|
18
18
|
tableHooks: s,
|
|
19
|
-
multipleTableRef:
|
|
20
|
-
queryFormRef:
|
|
19
|
+
multipleTableRef: z,
|
|
20
|
+
queryFormRef: Y,
|
|
21
21
|
listLoading: H,
|
|
22
22
|
tableData: M,
|
|
23
|
-
total:
|
|
24
|
-
} = be(
|
|
25
|
-
|
|
23
|
+
total: $
|
|
24
|
+
} = be(y, ke, i), B = s.totalRecord;
|
|
25
|
+
_e(
|
|
26
26
|
() => B.value,
|
|
27
27
|
(o) => {
|
|
28
|
-
|
|
28
|
+
Q("totalChange", (o == null ? void 0 : o.totalSize) ?? 0);
|
|
29
29
|
},
|
|
30
30
|
{ deep: !0, immediate: !0 }
|
|
31
31
|
);
|
|
@@ -80,10 +80,10 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
80
80
|
}
|
|
81
81
|
]);
|
|
82
82
|
const m = T({
|
|
83
|
-
title:
|
|
83
|
+
title: y("common.edit"),
|
|
84
84
|
visible: !1
|
|
85
|
-
}),
|
|
86
|
-
title:
|
|
85
|
+
}), _ = T({
|
|
86
|
+
title: y("common.view"),
|
|
87
87
|
visible: !1
|
|
88
88
|
});
|
|
89
89
|
let f = S({});
|
|
@@ -94,13 +94,13 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
94
94
|
"04": "warning"
|
|
95
95
|
}, G = (o) => F[o] ?? "info";
|
|
96
96
|
function O() {
|
|
97
|
-
f = S({}), m.value.title =
|
|
97
|
+
f = S({}), m.value.title = y("common.add"), m.value.visible = !0;
|
|
98
98
|
}
|
|
99
99
|
function J(o) {
|
|
100
|
-
f.appId = o.appId, m.value.title =
|
|
100
|
+
f.appId = o.appId, m.value.title = y("common.edit"), m.value.visible = !0;
|
|
101
101
|
}
|
|
102
102
|
function W(o) {
|
|
103
|
-
f.appId = o.appId,
|
|
103
|
+
f.appId = o.appId, _.value.title = y("common.view"), _.value.visible = !0;
|
|
104
104
|
}
|
|
105
105
|
function X(o) {
|
|
106
106
|
s.selectionRows.value = o;
|
|
@@ -112,7 +112,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
112
112
|
o && s.getList();
|
|
113
113
|
}
|
|
114
114
|
function x(o) {
|
|
115
|
-
|
|
115
|
+
v.value = !0, f.appId = o.appId;
|
|
116
116
|
}
|
|
117
117
|
function ee(o) {
|
|
118
118
|
q.push({
|
|
@@ -123,12 +123,12 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
return s.getList(), (o, t) => {
|
|
126
|
-
const te = p("el-input"),
|
|
127
|
-
return r(), h("div",
|
|
126
|
+
const te = p("el-input"), I = p("el-form-item"), w = p("el-col"), oe = p("jmash-dict-select"), le = p("jmash-select"), R = p("el-button"), j = p("el-row"), ae = p("el-form"), ne = p("jmash-column-select"), pe = p("el-tag"), se = p("el-switch"), ie = p("arrow-down"), re = p("el-icon"), N = p("el-dropdown-item"), ue = p("el-dropdown-menu"), de = p("el-dropdown"), me = p("jmash-table"), fe = p("jmash-pagination"), ce = p("el-card"), b = we("hasPerm");
|
|
127
|
+
return r(), h("div", Ie, [
|
|
128
128
|
V("div", Re, [
|
|
129
129
|
a(ae, {
|
|
130
130
|
ref_key: "queryFormRef",
|
|
131
|
-
ref:
|
|
131
|
+
ref: Y,
|
|
132
132
|
model: i.value,
|
|
133
133
|
inline: !0
|
|
134
134
|
}, {
|
|
@@ -137,7 +137,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
137
137
|
default: l(() => [
|
|
138
138
|
a(w, { span: 6 }, {
|
|
139
139
|
default: l(() => [
|
|
140
|
-
a(
|
|
140
|
+
a(I, {
|
|
141
141
|
label: o.$t("appInfo.appName"),
|
|
142
142
|
prop: "likeAppName"
|
|
143
143
|
}, {
|
|
@@ -157,7 +157,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
157
157
|
}),
|
|
158
158
|
a(w, { span: 6 }, {
|
|
159
159
|
default: l(() => [
|
|
160
|
-
a(
|
|
160
|
+
a(I, {
|
|
161
161
|
label: o.$t("appInfo.appType"),
|
|
162
162
|
prop: "appType"
|
|
163
163
|
}, {
|
|
@@ -167,8 +167,9 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
167
167
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.value.appType = e),
|
|
168
168
|
placeholder: o.$t("appInfo.appTypeRequired"),
|
|
169
169
|
onKeyup: t[3] || (t[3] = U((e) => n(s).handleQuery(), ["enter"])),
|
|
170
|
-
"type-code": n(
|
|
171
|
-
class: "!w-[203px]"
|
|
170
|
+
"type-code": n($e).MODULE_APP_TYPE,
|
|
171
|
+
class: "!w-[203px]",
|
|
172
|
+
onChange: t[4] || (t[4] = (e) => n(s).handleQuery())
|
|
172
173
|
}, null, 8, ["modelValue", "placeholder", "type-code"])
|
|
173
174
|
]),
|
|
174
175
|
_: 1
|
|
@@ -178,16 +179,17 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
178
179
|
}),
|
|
179
180
|
a(w, { span: 6 }, {
|
|
180
181
|
default: l(() => [
|
|
181
|
-
a(
|
|
182
|
+
a(I, {
|
|
182
183
|
label: o.$t("appInfo.status"),
|
|
183
184
|
prop: "status"
|
|
184
185
|
}, {
|
|
185
186
|
default: l(() => [
|
|
186
187
|
a(le, {
|
|
187
188
|
modelValue: i.value.status,
|
|
188
|
-
"onUpdate:modelValue": t[
|
|
189
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => i.value.status = e),
|
|
189
190
|
placeholder: o.$t("appInfo.statusRequired"),
|
|
190
|
-
onKeyup: t[
|
|
191
|
+
onKeyup: t[6] || (t[6] = U((e) => n(s).handleQuery(), ["enter"])),
|
|
192
|
+
onChange: t[7] || (t[7] = (e) => n(s).handleQuery()),
|
|
191
193
|
data: n(L).statusEnum.values,
|
|
192
194
|
clearable: "",
|
|
193
195
|
class: "!w-[203px]"
|
|
@@ -200,11 +202,11 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
200
202
|
}),
|
|
201
203
|
a(w, { span: 6 }, {
|
|
202
204
|
default: l(() => [
|
|
203
|
-
a(
|
|
205
|
+
a(I, { class: "search-btn" }, {
|
|
204
206
|
default: l(() => [
|
|
205
207
|
a(R, {
|
|
206
208
|
type: "primary",
|
|
207
|
-
onClick: t[
|
|
209
|
+
onClick: t[8] || (t[8] = (e) => n(s).handleQuery())
|
|
208
210
|
}, {
|
|
209
211
|
default: l(() => [
|
|
210
212
|
u(d(o.$t("common.search")), 1)
|
|
@@ -212,7 +214,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
212
214
|
_: 1
|
|
213
215
|
}),
|
|
214
216
|
a(R, {
|
|
215
|
-
onClick: t[
|
|
217
|
+
onClick: t[9] || (t[9] = (e) => n(s).resetQuery())
|
|
216
218
|
}, {
|
|
217
219
|
default: l(() => [
|
|
218
220
|
u(d(o.$t("common.reset")), 1)
|
|
@@ -231,7 +233,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
231
233
|
]),
|
|
232
234
|
_: 1
|
|
233
235
|
}, 8, ["model"]),
|
|
234
|
-
t[
|
|
236
|
+
t[19] || (t[19] = V("div", { class: "clear" }, null, -1))
|
|
235
237
|
]),
|
|
236
238
|
a(ce, {
|
|
237
239
|
shadow: "never",
|
|
@@ -246,7 +248,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
246
248
|
type: "primary",
|
|
247
249
|
onClick: O
|
|
248
250
|
}, {
|
|
249
|
-
default: l(() => [...t[
|
|
251
|
+
default: l(() => [...t[20] || (t[20] = [
|
|
250
252
|
u(" + 新建接入应用 ", -1)
|
|
251
253
|
])]),
|
|
252
254
|
_: 1
|
|
@@ -255,7 +257,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
255
257
|
]),
|
|
256
258
|
g((r(), k(R, {
|
|
257
259
|
type: "primary",
|
|
258
|
-
onClick: t[
|
|
260
|
+
onClick: t[10] || (t[10] = (e) => n(s).deleteRecords())
|
|
259
261
|
}, {
|
|
260
262
|
default: l(() => [
|
|
261
263
|
u(d(o.$t("common.batchDelete")), 1)
|
|
@@ -274,7 +276,7 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
274
276
|
default: l(() => [
|
|
275
277
|
a(ne, {
|
|
276
278
|
modelValue: n(C),
|
|
277
|
-
"onUpdate:modelValue": t[
|
|
279
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => A(C) ? C.value = e : C = e),
|
|
278
280
|
"label-name": "pgss/pgss-app-info"
|
|
279
281
|
}, null, 8, ["modelValue"])
|
|
280
282
|
]),
|
|
@@ -285,21 +287,21 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
285
287
|
})
|
|
286
288
|
]),
|
|
287
289
|
footer: l(() => [
|
|
288
|
-
n(
|
|
290
|
+
n($) > 0 ? (r(), k(fe, {
|
|
289
291
|
key: 0,
|
|
290
|
-
total: n(
|
|
291
|
-
"onUpdate:total": t[
|
|
292
|
+
total: n($),
|
|
293
|
+
"onUpdate:total": t[12] || (t[12] = (e) => A($) ? $.value = e : null),
|
|
292
294
|
"current-page": i.value.curPage,
|
|
293
|
-
"onUpdate:currentPage": t[
|
|
295
|
+
"onUpdate:currentPage": t[13] || (t[13] = (e) => i.value.curPage = e),
|
|
294
296
|
"page-size": i.value.pageSize,
|
|
295
|
-
"onUpdate:pageSize": t[
|
|
296
|
-
onPagination: t[
|
|
297
|
+
"onUpdate:pageSize": t[14] || (t[14] = (e) => i.value.pageSize = e),
|
|
298
|
+
onPagination: t[15] || (t[15] = (e) => n(s).getList())
|
|
297
299
|
}, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
|
|
298
300
|
]),
|
|
299
301
|
default: l(() => [
|
|
300
302
|
a(me, {
|
|
301
303
|
ref_key: "multipleTableRef",
|
|
302
|
-
ref:
|
|
304
|
+
ref: z,
|
|
303
305
|
"row-key": "appId",
|
|
304
306
|
"list-loading": n(H),
|
|
305
307
|
data: n(M),
|
|
@@ -411,27 +413,27 @@ const $e = { class: "app-container" }, Re = { class: "search-container" }, De =
|
|
|
411
413
|
m.value.visible ? (r(), k(Ce, {
|
|
412
414
|
key: 0,
|
|
413
415
|
modelValue: m.value.visible,
|
|
414
|
-
"onUpdate:modelValue": t[
|
|
416
|
+
"onUpdate:modelValue": t[16] || (t[16] = (e) => m.value.visible = e),
|
|
415
417
|
title: m.value.title,
|
|
416
418
|
"entity-key": n(f),
|
|
417
419
|
onRefresh: P,
|
|
418
420
|
width: "900px"
|
|
419
421
|
}, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0),
|
|
420
|
-
n(
|
|
422
|
+
n(v) ? (r(), k(Te, {
|
|
421
423
|
key: 1,
|
|
422
|
-
modelValue: n(
|
|
423
|
-
"onUpdate:modelValue": t[
|
|
424
|
+
modelValue: n(v),
|
|
425
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => A(v) ? v.value = e : v = e),
|
|
424
426
|
"entity-key": n(f),
|
|
425
427
|
title: "重置秘钥",
|
|
426
428
|
width: "550px",
|
|
427
429
|
onRefresh: P
|
|
428
430
|
}, null, 8, ["modelValue", "entity-key"])) : D("", !0),
|
|
429
|
-
|
|
431
|
+
_.value.visible ? (r(), k(he, {
|
|
430
432
|
key: 2,
|
|
431
|
-
modelValue:
|
|
432
|
-
"onUpdate:modelValue": t[
|
|
433
|
+
modelValue: _.value.visible,
|
|
434
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => _.value.visible = e),
|
|
433
435
|
"entity-key": n(f),
|
|
434
|
-
title:
|
|
436
|
+
title: _.value.title,
|
|
435
437
|
width: "900px",
|
|
436
438
|
onRefresh: P
|
|
437
439
|
}, null, 8, ["modelValue", "entity-key", "title"])) : D("", !0)
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
var t = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var i = (E,
|
|
4
|
-
import { ref as
|
|
2
|
+
var O = (E, _, e) => _ in E ? t(E, _, { enumerable: !0, configurable: !0, writable: !0, value: e }) : E[_] = e;
|
|
3
|
+
var i = (E, _, e) => O(E, typeof _ != "symbol" ? _ + "" : _, e);
|
|
4
|
+
import { ref as o } from "vue";
|
|
5
5
|
class s {
|
|
6
6
|
}
|
|
7
7
|
//模块
|
|
8
8
|
i(s, "MODULE_PGSS_DICT", "pgss"), // 状态(启用/禁用)
|
|
9
|
-
i(s, "STATUS",
|
|
9
|
+
i(s, "STATUS", o([
|
|
10
10
|
{ key: !0, value: "启用" },
|
|
11
11
|
{ key: !1, value: "禁用" }
|
|
12
12
|
])), // 应用类型
|
|
13
13
|
i(s, "MODULE_APP_TYPE", "app_type"), // 日志状态
|
|
14
14
|
i(s, "MODULE_LOG_STATUS", "sooyie.pgss.protobuf.PromptStatus"), // 画像维度
|
|
15
15
|
i(s, "MODULE_PROFILE", "portrait_weight"), // 维度方案
|
|
16
|
-
i(s, "MODULE_WEIGHT_DICT", "weight_code"), //
|
|
16
|
+
i(s, "MODULE_WEIGHT_DICT", "weight_code"), // 公共信息
|
|
17
|
+
i(s, "MODULE_COMMON_FIELD", "common_field"), // 年龄区间
|
|
17
18
|
i(s, "MODULE_AGERANGE", "sooyie.pgss.protobuf.AgeRange"), // 历史办理阶段
|
|
18
19
|
i(s, "MODULE_HISTORY_STAGE", "sooyie.pgss.protobuf.BusinessStage"), // 用户类型
|
|
19
20
|
i(s, "MODULE_USER_TYPE", "sooyie.pgss.protobuf.IdentityType"), // 咨询用语复杂度
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as O, ref as S, useModel as F, reactive as N, resolveComponent as u, openBlock as g, createBlock as k, withCtx as a, createVNode as l, unref as p, createElementVNode as o, createTextVNode as d, createElementBlock as P, createCommentVNode as L, mergeModels as T } from "vue";
|
|
2
2
|
import { ElMessage as v } from "element-plus";
|
|
3
|
-
import { C as Y } from "./constant
|
|
3
|
+
import { C as Y } from "./constant--xMn450l.mjs";
|
|
4
4
|
import { useI18n as z } from "vue-i18n";
|
|
5
5
|
import { a as _ } from "./index-MA9jC8ZF.mjs";
|
|
6
6
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|