sooyie-pgss 0.0.0-stage → 0.0.2
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/README.md +51 -3
- package/dist/app-info-BbQUujMP.mjs +4 -0
- package/dist/app-info.vue_vue_type_script_setup_true_lang-CILQM5Dm.mjs +444 -0
- package/dist/constant-D4fRv058.mjs +31 -0
- package/dist/edit-DCqiYilp.mjs +417 -0
- package/dist/edit-Dhe1Mlih.mjs +339 -0
- package/dist/edit-DlJbNEVn.mjs +438 -0
- package/dist/index-B2aeDXDI.mjs +1680 -0
- package/dist/index-B4yFC5Qp.mjs +57 -0
- package/dist/index-BQctarUx.mjs +306 -0
- package/dist/index-CRP6JuIH.mjs +1932 -0
- package/dist/index-CkVsz6yH.mjs +145 -0
- package/dist/index-CoKl3CjE.mjs +305 -0
- package/dist/index-D7pM0eGF.mjs +47526 -0
- package/dist/index-DAKAeNie.mjs +83 -0
- package/dist/index-DmneBhrk.mjs +326 -0
- package/dist/index-quJUd8pu.mjs +512 -0
- package/dist/index.mjs +6 -0
- package/dist/info-B3MSviL1.mjs +183 -0
- package/dist/info-BcEJCDoh.mjs +221 -0
- package/dist/resetPwd-C00poFAP.mjs +4 -0
- package/dist/resetPwd.vue_vue_type_script_setup_true_lang-jrWExNFq.mjs +142 -0
- package/dist/simulateNum-p0ftrVo6.mjs +4 -0
- package/dist/simulateNum.vue_vue_type_script_setup_true_lang-DY_YkKUO.mjs +102 -0
- package/dist/style.css +1 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/pgss/dict.d.ts +4 -0
- package/dts/src/api/pgss/index.d.ts +23 -0
- package/dts/src/api/pgss/pgss-app-info/index.d.ts +18 -0
- package/dts/src/api/pgss/pgss-app-info/types.d.ts +96 -0
- package/dts/src/api/pgss/pgss-app-stat/index.d.ts +20 -0
- package/dts/src/api/pgss/pgss-message-log/index.d.ts +14 -0
- package/dts/src/api/pgss/pgss-message-log/types.d.ts +80 -0
- package/dts/src/api/pgss/pgss-portrait-weight/index.d.ts +19 -0
- package/dts/src/api/pgss/pgss-portrait-weight/types.d.ts +72 -0
- package/dts/src/api/pgss/pgss-prompt-template/index.d.ts +15 -0
- package/dts/src/api/pgss/pgss-prompt-template/types.d.ts +77 -0
- package/dts/src/api/pgss/pgss-user-portrait/index.d.ts +18 -0
- package/dts/src/api/pgss/pgss-user-portrait/types.d.ts +143 -0
- package/dts/src/components/DateRangePicker/DateRangePicker.vue.d.ts +18 -0
- package/dts/src/constant.d.ts +29 -0
- package/dts/src/index.d.ts +7 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/pgss/en.d.ts +88 -0
- package/dts/src/lang/pgss/zh-cn.d.ts +137 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +9 -0
- package/dts/src/utils/copy.d.ts +1 -0
- package/dts/src/utils/dateFormat.d.ts +7 -0
- package/dts/src/utils/duration.d.ts +3 -0
- package/dts/src/utils/timePlugin.d.ts +5 -0
- package/dts/src/views/pgss/pgss-app-info/app-info.vue.d.ts +6 -0
- package/dts/src/views/pgss/pgss-app-info/edit.vue.d.ts +28 -0
- package/dts/src/views/pgss/pgss-app-info/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-app-info/info.vue.d.ts +26 -0
- package/dts/src/views/pgss/pgss-app-info/resetPwd.vue.d.ts +26 -0
- package/dts/src/views/pgss/pgss-homepage/apiCall.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-homepage/image.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-homepage/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-message-log/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-portrait-weight/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-prompt-template/edit.vue.d.ts +28 -0
- package/dts/src/views/pgss/pgss-prompt-template/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-prompt-template-custom/edit.vue.d.ts +28 -0
- package/dts/src/views/pgss/pgss-prompt-template-custom/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-user-portrait/index.vue.d.ts +2 -0
- package/dts/src/views/pgss/pgss-user-portrait/info.vue.d.ts +26 -0
- package/dts/src/views/pgss/pgss-user-portrait/simulateNum.vue.d.ts +11 -0
- package/package.json +57 -3
package/README.md
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# pnpm publish --no-git-checks
|
|
2
|
+
npm config set registry https://registry.npmjs.org/
|
|
3
|
+
|
|
4
|
+
# pnpm install
|
|
5
|
+
npm config set registry https://registry.npmmirror.com/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
9
|
+
|
|
10
|
+
## Recommended IDE Setup
|
|
11
|
+
|
|
12
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
13
|
+
|
|
14
|
+
## Type Support for `.vue` Imports in TS
|
|
15
|
+
|
|
16
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
17
|
+
|
|
18
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
19
|
+
|
|
20
|
+
1. Disable the built-in TypeScript Extension
|
|
21
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
22
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
23
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
24
|
+
|
|
25
|
+
## Customize configuration
|
|
26
|
+
|
|
27
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
28
|
+
|
|
29
|
+
## Project Setup
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
pnpm install
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Compile and Hot-Reload for Development
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
pnpm dev
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Type-Check, Compile and Minify for Production
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
pnpm build
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
pnpm lint
|
|
51
|
+
```
|
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
import { defineComponent as _e, getCurrentInstance as ye, ref as T, watch as ve, 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
|
+
import { useTableHooks as be } from "jmash-core";
|
|
3
|
+
import { useI18n as ge } from "vue-i18n";
|
|
4
|
+
import { a as ke } from "./index-D7pM0eGF.mjs";
|
|
5
|
+
import { D as L } from "./index-B2aeDXDI.mjs";
|
|
6
|
+
import Ce from "./edit-Dhe1Mlih.mjs";
|
|
7
|
+
import { _ as Te } from "./resetPwd.vue_vue_type_script_setup_true_lang-jrWExNFq.mjs";
|
|
8
|
+
import he from "./info-B3MSviL1.mjs";
|
|
9
|
+
import { useRouter as Ve } from "vue-router";
|
|
10
|
+
import { C as Ie } from "./constant-D4fRv058.mjs";
|
|
11
|
+
const $e = { class: "app-container" }, Re = { class: "search-container" }, De = ["onClick"], Pe = ["onClick"], Ne = { class: "el-dropdown-link" }, He = /* @__PURE__ */ _e({
|
|
12
|
+
__name: "app-info",
|
|
13
|
+
emits: ["totalChange"],
|
|
14
|
+
setup(Ue, { emit: E }) {
|
|
15
|
+
const { t: _ } = ge(), q = Ve(), { proxy: K } = ye(), z = E, i = T({});
|
|
16
|
+
let y = T(!1);
|
|
17
|
+
const {
|
|
18
|
+
tableHooks: s,
|
|
19
|
+
multipleTableRef: Y,
|
|
20
|
+
queryFormRef: Q,
|
|
21
|
+
listLoading: H,
|
|
22
|
+
tableData: M,
|
|
23
|
+
total: I
|
|
24
|
+
} = be(_, ke, i), B = s.totalRecord;
|
|
25
|
+
ve(
|
|
26
|
+
() => B.value,
|
|
27
|
+
(o) => {
|
|
28
|
+
z("totalChange", (o == null ? void 0 : o.totalSize) ?? 0);
|
|
29
|
+
},
|
|
30
|
+
{ deep: !0, immediate: !0 }
|
|
31
|
+
);
|
|
32
|
+
let C = T([
|
|
33
|
+
{
|
|
34
|
+
label: "appInfo.appName",
|
|
35
|
+
prop: "appName",
|
|
36
|
+
sortable: "custom",
|
|
37
|
+
isColumn: !0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "appInfo.appType",
|
|
41
|
+
prop: "appType",
|
|
42
|
+
slotName: "appType",
|
|
43
|
+
columnType: "slot",
|
|
44
|
+
width: "150",
|
|
45
|
+
sortable: "custom",
|
|
46
|
+
isColumn: !0
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
label: "appInfo.appKey",
|
|
50
|
+
prop: "appKey",
|
|
51
|
+
width: "240",
|
|
52
|
+
sortable: "custom",
|
|
53
|
+
isColumn: !0
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: "appInfo.createTime",
|
|
57
|
+
prop: "createTime",
|
|
58
|
+
slotName: "createTime",
|
|
59
|
+
columnType: "slot",
|
|
60
|
+
width: "200",
|
|
61
|
+
sortable: "custom",
|
|
62
|
+
isColumn: !0
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
label: "appInfo.status",
|
|
66
|
+
prop: "status",
|
|
67
|
+
slotName: "status",
|
|
68
|
+
columnType: "slot",
|
|
69
|
+
width: "150",
|
|
70
|
+
sortable: "custom",
|
|
71
|
+
isColumn: !0
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: "common.operate",
|
|
75
|
+
width: "200",
|
|
76
|
+
slotName: "operation",
|
|
77
|
+
columnType: "slot",
|
|
78
|
+
fixed: "right",
|
|
79
|
+
isColumn: !0
|
|
80
|
+
}
|
|
81
|
+
]);
|
|
82
|
+
const m = T({
|
|
83
|
+
title: _("common.edit"),
|
|
84
|
+
visible: !1
|
|
85
|
+
}), v = T({
|
|
86
|
+
title: _("common.view"),
|
|
87
|
+
visible: !1
|
|
88
|
+
});
|
|
89
|
+
let f = S({});
|
|
90
|
+
const F = {
|
|
91
|
+
"01": "primary",
|
|
92
|
+
"02": "success",
|
|
93
|
+
"03": "info",
|
|
94
|
+
"04": "warning"
|
|
95
|
+
}, G = (o) => F[o] ?? "info";
|
|
96
|
+
function O() {
|
|
97
|
+
f = S({}), m.value.title = _("common.add"), m.value.visible = !0;
|
|
98
|
+
}
|
|
99
|
+
function J(o) {
|
|
100
|
+
f.appId = o.appId, m.value.title = _("common.edit"), m.value.visible = !0;
|
|
101
|
+
}
|
|
102
|
+
function W(o) {
|
|
103
|
+
f.appId = o.appId, v.value.title = _("common.view"), v.value.visible = !0;
|
|
104
|
+
}
|
|
105
|
+
function X(o) {
|
|
106
|
+
s.selectionRows.value = o;
|
|
107
|
+
}
|
|
108
|
+
function Z(o) {
|
|
109
|
+
s.handleSort(o.prop, o.order);
|
|
110
|
+
}
|
|
111
|
+
function P(o) {
|
|
112
|
+
o && s.getList();
|
|
113
|
+
}
|
|
114
|
+
function x(o) {
|
|
115
|
+
y.value = !0, f.appId = o.appId;
|
|
116
|
+
}
|
|
117
|
+
function ee(o) {
|
|
118
|
+
q.push({
|
|
119
|
+
path: "/pgss/pgss-message-log",
|
|
120
|
+
query: {
|
|
121
|
+
appId: o.appId
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
return s.getList(), (o, t) => {
|
|
126
|
+
const te = p("el-input"), $ = 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", $e, [
|
|
128
|
+
V("div", Re, [
|
|
129
|
+
a(ae, {
|
|
130
|
+
ref_key: "queryFormRef",
|
|
131
|
+
ref: Q,
|
|
132
|
+
model: i.value,
|
|
133
|
+
inline: !0
|
|
134
|
+
}, {
|
|
135
|
+
default: l(() => [
|
|
136
|
+
a(j, null, {
|
|
137
|
+
default: l(() => [
|
|
138
|
+
a(w, { span: 6 }, {
|
|
139
|
+
default: l(() => [
|
|
140
|
+
a($, {
|
|
141
|
+
label: o.$t("appInfo.appName"),
|
|
142
|
+
prop: "likeAppName"
|
|
143
|
+
}, {
|
|
144
|
+
default: l(() => [
|
|
145
|
+
a(te, {
|
|
146
|
+
modelValue: i.value.likeAppName,
|
|
147
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.likeAppName = e),
|
|
148
|
+
placeholder: o.$t("appInfo.appNameRequired"),
|
|
149
|
+
onKeyup: t[1] || (t[1] = U((e) => n(s).handleQuery(), ["enter"])),
|
|
150
|
+
class: "!w-[203px]"
|
|
151
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}, 8, ["label"])
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}),
|
|
158
|
+
a(w, { span: 6 }, {
|
|
159
|
+
default: l(() => [
|
|
160
|
+
a($, {
|
|
161
|
+
label: o.$t("appInfo.appType"),
|
|
162
|
+
prop: "appType"
|
|
163
|
+
}, {
|
|
164
|
+
default: l(() => [
|
|
165
|
+
a(oe, {
|
|
166
|
+
modelValue: i.value.appType,
|
|
167
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.value.appType = e),
|
|
168
|
+
placeholder: o.$t("appInfo.appTypeRequired"),
|
|
169
|
+
onKeyup: t[3] || (t[3] = U((e) => n(s).handleQuery(), ["enter"])),
|
|
170
|
+
"type-code": n(Ie).MODULE_APP_TYPE,
|
|
171
|
+
class: "!w-[203px]"
|
|
172
|
+
}, null, 8, ["modelValue", "placeholder", "type-code"])
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
}, 8, ["label"])
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}),
|
|
179
|
+
a(w, { span: 6 }, {
|
|
180
|
+
default: l(() => [
|
|
181
|
+
a($, {
|
|
182
|
+
label: o.$t("appInfo.status"),
|
|
183
|
+
prop: "status"
|
|
184
|
+
}, {
|
|
185
|
+
default: l(() => [
|
|
186
|
+
a(le, {
|
|
187
|
+
modelValue: i.value.status,
|
|
188
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.value.status = e),
|
|
189
|
+
placeholder: o.$t("appInfo.statusRequired"),
|
|
190
|
+
onKeyup: t[5] || (t[5] = U((e) => n(s).handleQuery(), ["enter"])),
|
|
191
|
+
data: n(L).statusEnum.values,
|
|
192
|
+
clearable: "",
|
|
193
|
+
class: "!w-[203px]"
|
|
194
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["label"])
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
}),
|
|
201
|
+
a(w, { span: 6 }, {
|
|
202
|
+
default: l(() => [
|
|
203
|
+
a($, { class: "search-btn" }, {
|
|
204
|
+
default: l(() => [
|
|
205
|
+
a(R, {
|
|
206
|
+
type: "primary",
|
|
207
|
+
onClick: t[6] || (t[6] = (e) => n(s).handleQuery())
|
|
208
|
+
}, {
|
|
209
|
+
default: l(() => [
|
|
210
|
+
u(d(o.$t("common.search")), 1)
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}),
|
|
214
|
+
a(R, {
|
|
215
|
+
onClick: t[7] || (t[7] = (e) => n(s).resetQuery())
|
|
216
|
+
}, {
|
|
217
|
+
default: l(() => [
|
|
218
|
+
u(d(o.$t("common.reset")), 1)
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
})
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
})
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
})
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
})
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["model"]),
|
|
234
|
+
t[17] || (t[17] = V("div", { class: "clear" }, null, -1))
|
|
235
|
+
]),
|
|
236
|
+
a(ce, {
|
|
237
|
+
shadow: "never",
|
|
238
|
+
class: "table-container"
|
|
239
|
+
}, {
|
|
240
|
+
header: l(() => [
|
|
241
|
+
a(j, null, {
|
|
242
|
+
default: l(() => [
|
|
243
|
+
a(w, { span: 17 }, {
|
|
244
|
+
default: l(() => [
|
|
245
|
+
g((r(), k(R, {
|
|
246
|
+
type: "primary",
|
|
247
|
+
onClick: O
|
|
248
|
+
}, {
|
|
249
|
+
default: l(() => [...t[18] || (t[18] = [
|
|
250
|
+
u(" + 新建接入应用 ", -1)
|
|
251
|
+
])]),
|
|
252
|
+
_: 1
|
|
253
|
+
})), [
|
|
254
|
+
[b, ["pgss:app_info:add"]]
|
|
255
|
+
]),
|
|
256
|
+
g((r(), k(R, {
|
|
257
|
+
type: "primary",
|
|
258
|
+
onClick: t[8] || (t[8] = (e) => n(s).deleteRecords())
|
|
259
|
+
}, {
|
|
260
|
+
default: l(() => [
|
|
261
|
+
u(d(o.$t("common.batchDelete")), 1)
|
|
262
|
+
]),
|
|
263
|
+
_: 1
|
|
264
|
+
})), [
|
|
265
|
+
[b, ["pgss:app_info:delete"]]
|
|
266
|
+
])
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}),
|
|
270
|
+
a(w, {
|
|
271
|
+
span: 7,
|
|
272
|
+
class: "container-float"
|
|
273
|
+
}, {
|
|
274
|
+
default: l(() => [
|
|
275
|
+
a(ne, {
|
|
276
|
+
modelValue: n(C),
|
|
277
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => A(C) ? C.value = e : C = e),
|
|
278
|
+
"label-name": "pgss/pgss-app-info"
|
|
279
|
+
}, null, 8, ["modelValue"])
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
})
|
|
283
|
+
]),
|
|
284
|
+
_: 1
|
|
285
|
+
})
|
|
286
|
+
]),
|
|
287
|
+
footer: l(() => [
|
|
288
|
+
n(I) > 0 ? (r(), k(fe, {
|
|
289
|
+
key: 0,
|
|
290
|
+
total: n(I),
|
|
291
|
+
"onUpdate:total": t[10] || (t[10] = (e) => A(I) ? I.value = e : null),
|
|
292
|
+
"current-page": i.value.curPage,
|
|
293
|
+
"onUpdate:currentPage": t[11] || (t[11] = (e) => i.value.curPage = e),
|
|
294
|
+
"page-size": i.value.pageSize,
|
|
295
|
+
"onUpdate:pageSize": t[12] || (t[12] = (e) => i.value.pageSize = e),
|
|
296
|
+
onPagination: t[13] || (t[13] = (e) => n(s).getList())
|
|
297
|
+
}, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
|
|
298
|
+
]),
|
|
299
|
+
default: l(() => [
|
|
300
|
+
a(me, {
|
|
301
|
+
ref_key: "multipleTableRef",
|
|
302
|
+
ref: Y,
|
|
303
|
+
"row-key": "appId",
|
|
304
|
+
"list-loading": n(H),
|
|
305
|
+
data: n(M),
|
|
306
|
+
"table-label": n(C),
|
|
307
|
+
onSelectionChange: X,
|
|
308
|
+
onSortChange: Z
|
|
309
|
+
}, {
|
|
310
|
+
appType: l((e) => [
|
|
311
|
+
a(pe, {
|
|
312
|
+
type: G(e.data.row.appType)
|
|
313
|
+
}, {
|
|
314
|
+
default: l(() => [
|
|
315
|
+
u(d(n(L).appTypeDict.getDictValue(e.data.row.appType)), 1)
|
|
316
|
+
]),
|
|
317
|
+
_: 2
|
|
318
|
+
}, 1032, ["type"])
|
|
319
|
+
]),
|
|
320
|
+
status: l((e) => [
|
|
321
|
+
a(se, {
|
|
322
|
+
modelValue: e.data.row.status,
|
|
323
|
+
"onUpdate:modelValue": (c) => e.data.row.status = c,
|
|
324
|
+
onChange: (c) => n(s).enableRecord(e.data.row, e.data.row.status)
|
|
325
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
326
|
+
]),
|
|
327
|
+
createTime: l((e) => [
|
|
328
|
+
V("span", null, d(n(K).$moment.formatDate(
|
|
329
|
+
e.data.row.createTime,
|
|
330
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
331
|
+
)), 1)
|
|
332
|
+
]),
|
|
333
|
+
operation: l((e) => [
|
|
334
|
+
g((r(), h("span", {
|
|
335
|
+
class: "el-button-color",
|
|
336
|
+
onClick: (c) => J(e.data.row)
|
|
337
|
+
}, [
|
|
338
|
+
u(d(o.$t("common.edit")), 1)
|
|
339
|
+
], 8, De)), [
|
|
340
|
+
[b, ["pgss:app_info:update"]]
|
|
341
|
+
]),
|
|
342
|
+
g((r(), h("span", {
|
|
343
|
+
class: "el-button-color dropdown-left",
|
|
344
|
+
onClick: (c) => n(s).deleteRecord(e.data.row)
|
|
345
|
+
}, [
|
|
346
|
+
u(d(o.$t("common.delete")), 1)
|
|
347
|
+
], 8, Pe)), [
|
|
348
|
+
[b, ["pgss:app_info:delete"]]
|
|
349
|
+
]),
|
|
350
|
+
a(de, { class: "dropdown-left" }, {
|
|
351
|
+
dropdown: l(() => [
|
|
352
|
+
a(ue, null, {
|
|
353
|
+
default: l(() => [
|
|
354
|
+
V("div", null, [
|
|
355
|
+
a(N, {
|
|
356
|
+
onClick: (c) => x(e.data.row)
|
|
357
|
+
}, {
|
|
358
|
+
default: l(() => [
|
|
359
|
+
u(d(o.$t("appInfo.resetPwd")), 1)
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
}, 8, ["onClick"])
|
|
363
|
+
]),
|
|
364
|
+
g((r(), h("div", null, [
|
|
365
|
+
a(N, {
|
|
366
|
+
onClick: (c) => W(e.data.row)
|
|
367
|
+
}, {
|
|
368
|
+
default: l(() => [
|
|
369
|
+
u(d(o.$t("common.view")), 1)
|
|
370
|
+
]),
|
|
371
|
+
_: 1
|
|
372
|
+
}, 8, ["onClick"])
|
|
373
|
+
])), [
|
|
374
|
+
[b, ["pgss:app_info:info"]]
|
|
375
|
+
]),
|
|
376
|
+
g((r(), h("div", null, [
|
|
377
|
+
a(N, {
|
|
378
|
+
onClick: (c) => ee(e.data.row)
|
|
379
|
+
}, {
|
|
380
|
+
default: l(() => [
|
|
381
|
+
u(d(o.$t("appInfo.callLog")), 1)
|
|
382
|
+
]),
|
|
383
|
+
_: 1
|
|
384
|
+
}, 8, ["onClick"])
|
|
385
|
+
])), [
|
|
386
|
+
[b, ["pgss:app_info:callLog"]]
|
|
387
|
+
])
|
|
388
|
+
]),
|
|
389
|
+
_: 2
|
|
390
|
+
}, 1024)
|
|
391
|
+
]),
|
|
392
|
+
default: l(() => [
|
|
393
|
+
V("span", Ne, [
|
|
394
|
+
u(d(o.$t("common.more")) + " ", 1),
|
|
395
|
+
a(re, { class: "el-icon--right" }, {
|
|
396
|
+
default: l(() => [
|
|
397
|
+
a(ie)
|
|
398
|
+
]),
|
|
399
|
+
_: 1
|
|
400
|
+
})
|
|
401
|
+
])
|
|
402
|
+
]),
|
|
403
|
+
_: 2
|
|
404
|
+
}, 1024)
|
|
405
|
+
]),
|
|
406
|
+
_: 1
|
|
407
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
408
|
+
]),
|
|
409
|
+
_: 1
|
|
410
|
+
}),
|
|
411
|
+
m.value.visible ? (r(), k(Ce, {
|
|
412
|
+
key: 0,
|
|
413
|
+
modelValue: m.value.visible,
|
|
414
|
+
"onUpdate:modelValue": t[14] || (t[14] = (e) => m.value.visible = e),
|
|
415
|
+
title: m.value.title,
|
|
416
|
+
"entity-key": n(f),
|
|
417
|
+
onRefresh: P,
|
|
418
|
+
width: "900px"
|
|
419
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0),
|
|
420
|
+
n(y) ? (r(), k(Te, {
|
|
421
|
+
key: 1,
|
|
422
|
+
modelValue: n(y),
|
|
423
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => A(y) ? y.value = e : y = e),
|
|
424
|
+
"entity-key": n(f),
|
|
425
|
+
title: "重置秘钥",
|
|
426
|
+
width: "550px",
|
|
427
|
+
onRefresh: P
|
|
428
|
+
}, null, 8, ["modelValue", "entity-key"])) : D("", !0),
|
|
429
|
+
v.value.visible ? (r(), k(he, {
|
|
430
|
+
key: 2,
|
|
431
|
+
modelValue: v.value.visible,
|
|
432
|
+
"onUpdate:modelValue": t[16] || (t[16] = (e) => v.value.visible = e),
|
|
433
|
+
"entity-key": n(f),
|
|
434
|
+
title: v.value.title,
|
|
435
|
+
width: "900px",
|
|
436
|
+
onRefresh: P
|
|
437
|
+
}, null, 8, ["modelValue", "entity-key", "title"])) : D("", !0)
|
|
438
|
+
]);
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
export {
|
|
443
|
+
He as _
|
|
444
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var t = Object.defineProperty;
|
|
2
|
+
var o = (E, e, _) => e in E ? t(E, e, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : E[e] = _;
|
|
3
|
+
var i = (E, e, _) => o(E, typeof e != "symbol" ? e + "" : e, _);
|
|
4
|
+
import { ref as p } from "vue";
|
|
5
|
+
class s {
|
|
6
|
+
}
|
|
7
|
+
//模块
|
|
8
|
+
i(s, "MODULE_PGSS_DICT", "pgss"), // 状态(启用/禁用)
|
|
9
|
+
i(s, "STATUS", p([
|
|
10
|
+
{ key: !0, value: "启用" },
|
|
11
|
+
{ key: !1, value: "禁用" }
|
|
12
|
+
])), // 应用类型
|
|
13
|
+
i(s, "MODULE_APP_TYPE", "app_type"), // 日志状态
|
|
14
|
+
i(s, "MODULE_LOG_STATUS", "sooyie.pgss.protobuf.PromptStatus"), // 画像维度
|
|
15
|
+
i(s, "MODULE_PROFILE", "portrait_weight"), // 维度方案
|
|
16
|
+
i(s, "MODULE_WEIGHT_DICT", "weight_code"), // 年龄区间
|
|
17
|
+
i(s, "MODULE_AGERANGE", "sooyie.pgss.protobuf.AgeRange"), // 历史办理阶段
|
|
18
|
+
i(s, "MODULE_HISTORY_STAGE", "sooyie.pgss.protobuf.BusinessStage"), // 用户类型
|
|
19
|
+
i(s, "MODULE_USER_TYPE", "sooyie.pgss.protobuf.IdentityType"), // 咨询用语复杂度
|
|
20
|
+
i(s, "MODULE_CONSULTATION_COMPLEXITY", "sooyie.pgss.protobuf.KnowComplexity"), // 教育程度
|
|
21
|
+
i(s, "MODULE_EDUCATION", "sooyie.pgss.protobuf.KnowEducation"), // 交互渠道
|
|
22
|
+
i(s, "MODULE_PREF_CHANNEL", "sooyie.pgss.protobuf.PrefChannel"), // 内容风格偏好
|
|
23
|
+
i(s, "MODULE_PREF_STYLE", "sooyie.pgss.protobuf.PrefStyle"), // 关注领域
|
|
24
|
+
i(s, "MODULE_BUSINESS_FOCUS", "business_focus"), // 特殊人群标识
|
|
25
|
+
i(s, "MODULE_ID_SPECIAL_FLAG", "identity_special"), // 常用办事事项
|
|
26
|
+
i(s, "MODULE_BUSINESS_MATTER", "business_matter"), // 待办事项提醒
|
|
27
|
+
i(s, "MODULE_INTENT_REMINDER", "intent_reminder"), // 职业类别
|
|
28
|
+
i(s, "MODULE_JOB_CATEGORY", "indentity_job");
|
|
29
|
+
export {
|
|
30
|
+
s as C
|
|
31
|
+
};
|