@pubinfo-pr/core 0.222.4 → 0.222.6
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/{AppSetting-BWVulLPM.js → AppSetting-Adv5Y3SE.js} +38 -38
- package/dist/{HCheckList-Bb4GvZ2_.js → HCheckList-WAAl9RiK.js} +1 -1
- package/dist/HSlideover-CXBJxuQo.js +1695 -0
- package/dist/{HToggle-Bnr5k93p.js → HToggle-YLmL7R0b.js} +1 -1
- package/dist/{HeaderFullMenu--AOcAS-6.js → HeaderFullMenu-ByedDsvz.js} +72 -72
- package/dist/{HeaderThinMenu-CRPVfGgM.js → HeaderThinMenu-2q2iBtTH.js} +132 -132
- package/dist/PreferencesContent-CiPweszy.js +701 -0
- package/dist/{SettingBreadcrumb-DKCK6V-n.js → SettingBreadcrumb-C1VwfnxX.js} +7 -6
- package/dist/{SettingCopyright-C5Pc0I1w.js → SettingCopyright-C--oGV21.js} +4 -4
- package/dist/{SettingEnableTransition-D2FDj0oR.js → SettingEnableTransition-DW2gfisN.js} +5 -5
- package/dist/{SettingHome-1Y1rYeQb.js → SettingHome-VUAS3uEg.js} +6 -6
- package/dist/{SettingMenu-DWtNX8Ti.js → SettingMenu-BH7XU7eF.js} +9 -8
- package/dist/{SettingMode-CZV84QeW.js → SettingMode-BIyHzTKH.js} +4 -4
- package/dist/{SettingNavSearch-CrMpbXFg.js → SettingNavSearch-PfSA-_ro.js} +5 -5
- package/dist/{SettingOther-D6gGuQJw.js → SettingOther-DdqNapQX.js} +6 -6
- package/dist/{SettingPage-DuN13bXO.js → SettingPage-DS-G9-X5.js} +3 -3
- package/dist/{SettingTabbar-BhJxcU35.js → SettingTabbar-2yfw2vsm.js} +11 -10
- package/dist/{SettingThemes-BjkWfY1C.js → SettingThemes-Bkcywy7v.js} +10 -9
- package/dist/{SettingToolbar-BYOxXAXL.js → SettingToolbar-DP7-_nPK.js} +5 -5
- package/dist/{SettingTopbar-CxKsnIRK.js → SettingTopbar-C0Ia4-If.js} +9 -8
- package/dist/{SettingWidthMode-dM88qSol.js → SettingWidthMode-DgSWsHFq.js} +5 -5
- package/dist/auth-B65CJEOe.js +4242 -0
- package/dist/{change-organization-BXl4ZC7j.js → change-organization-BfnI2yEl.js} +24 -24
- package/dist/{change-password-P4SGdvdU.js → change-password-Bj_GWzmn.js} +73 -64
- package/dist/chunk-CD4vhpVs.js +18 -0
- package/dist/components-BfkDsfck.js +5238 -0
- package/dist/{core-D2ocBD0r.js → core-4H5JBsa5.js} +51 -57
- package/dist/dist-7OjQvlya.js +468 -0
- package/dist/form-C3VHofnN.js +2768 -0
- package/dist/index.js +7739 -2231
- package/dist/modal-Bl5xHbxa.js +43824 -0
- package/dist/{not-found-C-1699o2.js → not-found-DbHOY5cU.js} +5 -4
- package/dist/{not-permission-CZGJzlSF.js → not-permission-DwERxb_u.js} +5 -4
- package/dist/overlayscrollbars-vue-mGyICRMi.js +1460 -0
- package/dist/profile-Dq66-Gsl.js +19269 -0
- package/dist/{question-line-B4oDBb2H.js → question-line-D7ecIumZ.js} +2 -2
- package/dist/{right-BTHgfOSp.js → right-DYiPS7dU.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/tree-select-B8cTcGLa.js +12497 -0
- package/dist/watchDiff-CPZFtaOC.js +655 -0
- package/package.json +7 -7
- package/dist/HSlideover-DoCRa4dK.js +0 -152
- package/dist/PreferencesContent-DW9HAzpr.js +0 -486
- package/dist/auth-DILNNEQ8.js +0 -1230
- package/dist/components-C9kcavB4.js +0 -2768
- package/dist/core-CKIhF3Vi.js +0 -270
- package/dist/profile-B3Q7hRgl.js +0 -123
- /package/dist/{HButton-BPbXqVbA.js → HButton-Dt6qGhhR.js} +0 -0
- /package/dist/{HDivider-BSENlYnI.js → HDivider-Ds5MMqtm.js} +0 -0
- /package/dist/{HInput-DbvnkEO7.js → HInput-BrsX9848.js} +0 -0
- /package/dist/{HTooltip-tCnNrJUE.js → HTooltip-DjAU-Evn.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-BBf_fmJ_.js → _plugin-vue_export-helper-sUTDUeGO.js} +0 -0
- /package/dist/{engine-oniguruma-Bl7ZtyDI.js → engine-oniguruma-uxNZ2DGJ.js} +0 -0
- /package/dist/{json-BuUwnwNo.js → json-CC4oV-bd.js} +0 -0
- /package/dist/{reload-DWTXo9r2.js → reload-CbuQgTlC.js} +0 -0
- /package/dist/{useContext-mDF2-tXy.js → useContext-DLtu9F7E.js} +0 -0
- /package/dist/{vitesse-dark-j0hKJETh.js → vitesse-dark-CxkWMfh6.js} +0 -0
- /package/dist/{vitesse-light-BfgKNo3X.js → vitesse-light-DY25e6F3.js} +0 -0
- /package/dist/{wasm-tXaxAgz9.js → wasm-DAU6f5s5.js} +0 -0
package/dist/core-CKIhF3Vi.js
DELETED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { createContext } from "unctx";
|
|
2
|
-
import { createPinia } from "pinia";
|
|
3
|
-
import { createApp } from "vue";
|
|
4
|
-
import { createHooks } from "hookable";
|
|
5
|
-
import { createRouter, createWebHashHistory } from "vue-router";
|
|
6
|
-
import { axiosRequestAdapter } from "@alova/adapter-axios";
|
|
7
|
-
import { createAlova } from "alova";
|
|
8
|
-
import vueHook from "alova/vue";
|
|
9
|
-
function ensureNamespace() {
|
|
10
|
-
let e = globalThis;
|
|
11
|
-
return e.__PUBINFO__ ||= {}, e.__PUBINFO__;
|
|
12
|
-
}
|
|
13
|
-
function getPubinfoNamespace() {
|
|
14
|
-
return ensureNamespace();
|
|
15
|
-
}
|
|
16
|
-
function createContext$1(t, n = {}) {
|
|
17
|
-
let r = ensureNamespace(), i = normalizeKeys(t, n.stateKey);
|
|
18
|
-
if (!r[i.contextKey]) {
|
|
19
|
-
let t = i.aliasKey ? r[i.aliasKey] : void 0;
|
|
20
|
-
r[i.contextKey] = t ?? createContext();
|
|
21
|
-
}
|
|
22
|
-
let a = r[i.contextKey];
|
|
23
|
-
i.aliasKey && (r[i.aliasKey] = a);
|
|
24
|
-
let { hydrate: o = !0, persistOnSet: s = !0 } = n, c = i.stateKey;
|
|
25
|
-
if (c && s && !a.__pubinfo_persisted) {
|
|
26
|
-
let e = a.set.bind(a), t = a.unset.bind(a);
|
|
27
|
-
a.set = (t, n) => {
|
|
28
|
-
e(t, n), t === void 0 ? clearPersistedState(c) : setPersistedState(c, t);
|
|
29
|
-
}, a.unset = () => {
|
|
30
|
-
clearPersistedState(c), t();
|
|
31
|
-
}, a.__pubinfo_persisted = !0;
|
|
32
|
-
}
|
|
33
|
-
if (o && c) {
|
|
34
|
-
let e = r[c];
|
|
35
|
-
if (e !== void 0) try {
|
|
36
|
-
a.set(e);
|
|
37
|
-
} catch {}
|
|
38
|
-
}
|
|
39
|
-
return a;
|
|
40
|
-
}
|
|
41
|
-
function setPersistedState(e, t) {
|
|
42
|
-
let n = ensureNamespace();
|
|
43
|
-
n[e] = t;
|
|
44
|
-
}
|
|
45
|
-
function getPersistedState(e) {
|
|
46
|
-
return ensureNamespace()[e];
|
|
47
|
-
}
|
|
48
|
-
function clearPersistedState(e) {
|
|
49
|
-
let t = ensureNamespace();
|
|
50
|
-
e in t && delete t[e];
|
|
51
|
-
}
|
|
52
|
-
function normalizeKeys(e, t) {
|
|
53
|
-
if (t) return {
|
|
54
|
-
contextKey: e,
|
|
55
|
-
stateKey: t
|
|
56
|
-
};
|
|
57
|
-
if (e.endsWith("Ctx")) {
|
|
58
|
-
let t = e.slice(0, -3);
|
|
59
|
-
return {
|
|
60
|
-
contextKey: e,
|
|
61
|
-
stateKey: t ? `${t}State` : void 0
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
if (e.endsWith("Context")) {
|
|
65
|
-
let t = e.slice(0, -7);
|
|
66
|
-
if (t) return {
|
|
67
|
-
contextKey: `${t}Ctx`,
|
|
68
|
-
stateKey: `${t}State`,
|
|
69
|
-
aliasKey: e
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
let n = e;
|
|
73
|
-
if (!n) return {
|
|
74
|
-
contextKey: e,
|
|
75
|
-
stateKey: void 0
|
|
76
|
-
};
|
|
77
|
-
let r = `${n}Ctx`;
|
|
78
|
-
return {
|
|
79
|
-
contextKey: r,
|
|
80
|
-
stateKey: `${n}State`,
|
|
81
|
-
aliasKey: r === e ? void 0 : e
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
async function asyncFlatten(e) {
|
|
85
|
-
do
|
|
86
|
-
e = (await Promise.all(e)).flat(Infinity);
|
|
87
|
-
while (e.some((e) => e?.then));
|
|
88
|
-
return e;
|
|
89
|
-
}
|
|
90
|
-
var HOOKS_KEY = "__pubinfo_core_hooks__", namespace$1 = getPubinfoNamespace();
|
|
91
|
-
const hooks = namespace$1[HOOKS_KEY] || (namespace$1[HOOKS_KEY] = createHooks());
|
|
92
|
-
async function callHookAsync(e, t) {
|
|
93
|
-
return await hooks.callHookWith(async (e, t) => {
|
|
94
|
-
let n = t[0];
|
|
95
|
-
for (let t of e) n = await t(n);
|
|
96
|
-
return n;
|
|
97
|
-
}, e, [t]);
|
|
98
|
-
}
|
|
99
|
-
function callHookSync(e, t) {
|
|
100
|
-
return hooks.callHookWith((t, n) => {
|
|
101
|
-
let r = n[0];
|
|
102
|
-
if (!t.length) return r;
|
|
103
|
-
for (let n of t) {
|
|
104
|
-
let t = n(r);
|
|
105
|
-
if (t && typeof t.then == "function") throw Error(`[hooks] "${e}" 当前仅支持同步回调`);
|
|
106
|
-
t !== void 0 && (r = t);
|
|
107
|
-
}
|
|
108
|
-
return r;
|
|
109
|
-
}, e, [t]);
|
|
110
|
-
}
|
|
111
|
-
async function resolveModules(e = [], t) {
|
|
112
|
-
let n = (await asyncFlatten(e)).filter((e) => !!e);
|
|
113
|
-
for (let e of n) e.setup && await e.setup(t);
|
|
114
|
-
}
|
|
115
|
-
function extractModules(e = []) {
|
|
116
|
-
let t = {
|
|
117
|
-
pre: [],
|
|
118
|
-
post: [],
|
|
119
|
-
default: []
|
|
120
|
-
};
|
|
121
|
-
function n(e) {
|
|
122
|
-
e && (Array.isArray(e) ? e.forEach(n) : typeof e == "object" && e.name && (e.enforce === "pre" ? t.pre.push(e) : e.enforce === "post" ? t.post.push(e) : t.default.push(e)));
|
|
123
|
-
}
|
|
124
|
-
return e?.forEach(n), t;
|
|
125
|
-
}
|
|
126
|
-
function resolveHooks(e) {
|
|
127
|
-
e.forEach((e) => {
|
|
128
|
-
hooks.addHooks(e?.hooks ?? {});
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
var modules;
|
|
132
|
-
async function loadProjectModules() {
|
|
133
|
-
try {
|
|
134
|
-
modules = (await import("virtual:pubinfo-resolver")).default;
|
|
135
|
-
} catch {
|
|
136
|
-
console.warn("[PUBINFO] virtual:pubinfo-resolver not available."), modules = {};
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
function readProjectModules() {
|
|
140
|
-
return modules;
|
|
141
|
-
}
|
|
142
|
-
var namespace = getPubinfoNamespace();
|
|
143
|
-
namespace.iconModules = namespace.iconModules || /* @__PURE__ */ new Map();
|
|
144
|
-
var iconModuleMap = namespace.iconModules;
|
|
145
|
-
namespace.iconCache = namespace.iconCache || /* @__PURE__ */ new Map();
|
|
146
|
-
var iconCache = namespace.iconCache;
|
|
147
|
-
function getCacheKey(e, t) {
|
|
148
|
-
return `${t ?? "default"}:${e}`;
|
|
149
|
-
}
|
|
150
|
-
function getCachedIcon(e, t) {
|
|
151
|
-
return iconCache.get(getCacheKey(e, t));
|
|
152
|
-
}
|
|
153
|
-
function setCachedIcon(e, t, n) {
|
|
154
|
-
let r = getCacheKey(e, t);
|
|
155
|
-
n ? iconCache.set(r, n) : iconCache.delete(r);
|
|
156
|
-
}
|
|
157
|
-
function defineIconModule(e, t) {
|
|
158
|
-
iconModuleMap.has(e) || iconModuleMap.set(e, t);
|
|
159
|
-
}
|
|
160
|
-
function getIconModule(e) {
|
|
161
|
-
return iconModuleMap.get(e);
|
|
162
|
-
}
|
|
163
|
-
function getAllIconModules() {
|
|
164
|
-
let e = new Map(iconModuleMap), t = readProjectModules()?.icons;
|
|
165
|
-
return t && Object.keys(t).length && (e.has("local") || e.set("local", t)), e;
|
|
166
|
-
}
|
|
167
|
-
async function setupIcon(e, t) {
|
|
168
|
-
let n = getCachedIcon(e, t);
|
|
169
|
-
if (n) return n;
|
|
170
|
-
readProjectModules() || await loadProjectModules().catch(() => {});
|
|
171
|
-
let r = readProjectModules()?.icons ?? {}, i = await findFile(t ? getIconModule(t) ?? {} : {}, e);
|
|
172
|
-
if (i || (i = await findFile(r, e), i)) return setCachedIcon(e, t, i), t && setCachedIcon(e, void 0, i), i;
|
|
173
|
-
let a = getAllIconModules();
|
|
174
|
-
for (let [n, r] of a) if (n !== t && (i = await findFile(r, e), i)) return setCachedIcon(e, n === "default" ? void 0 : n, i), setCachedIcon(e, void 0, i), i;
|
|
175
|
-
}
|
|
176
|
-
async function findFile(e, t) {
|
|
177
|
-
let n = Object.entries(e).find(([e]) => e.endsWith(t));
|
|
178
|
-
if (n?.[1]) return (await n[1]()).default;
|
|
179
|
-
}
|
|
180
|
-
function selectDefaultLayout(e, t) {
|
|
181
|
-
let n = Object.entries(e ?? {});
|
|
182
|
-
if (n.length === 0) return null;
|
|
183
|
-
if (t) {
|
|
184
|
-
let e = n.find(([e]) => e.split("/").pop()?.replace(/\.vue$/, "") === t);
|
|
185
|
-
if (e) return e[1];
|
|
186
|
-
}
|
|
187
|
-
return n.length === 1 ? n[0][1] : n.find(([e]) => e.endsWith("/index.vue"))?.[1] || n[0][1];
|
|
188
|
-
}
|
|
189
|
-
function setupDefaultLayout(e) {
|
|
190
|
-
return selectDefaultLayout(readProjectModules()?.layouts, e);
|
|
191
|
-
}
|
|
192
|
-
var routeModuleMap = /* @__PURE__ */ new Map();
|
|
193
|
-
function defineRouteModule(e, t) {
|
|
194
|
-
routeModuleMap.has(e) || routeModuleMap.set(e, t);
|
|
195
|
-
}
|
|
196
|
-
function getRouteModule(e) {
|
|
197
|
-
return routeModuleMap.get(e);
|
|
198
|
-
}
|
|
199
|
-
function getAllRouteModules() {
|
|
200
|
-
return routeModuleMap;
|
|
201
|
-
}
|
|
202
|
-
function setupPage(e, t) {
|
|
203
|
-
let n = readProjectModules()?.pages ?? {}, r = findPageFile(t ? getRouteModule(t) ?? {} : {}, e);
|
|
204
|
-
if (r || (r = findPageFile(n, e), r)) return r;
|
|
205
|
-
let i = getAllRouteModules();
|
|
206
|
-
for (let [n, a] of i) if (n !== t && (r = findPageFile(a, e), r)) return r;
|
|
207
|
-
}
|
|
208
|
-
function findPageFile(e, t) {
|
|
209
|
-
return Object.entries(e).find(([e]) => e.endsWith(t))?.[1];
|
|
210
|
-
}
|
|
211
|
-
function createApp$1(e) {
|
|
212
|
-
let { app: r, router: o, setup: s, rootContainer: c = "#app", immediate: l = !0, modules: u = [], hooks: d = {} } = e;
|
|
213
|
-
async function f() {
|
|
214
|
-
await loadProjectModules();
|
|
215
|
-
let e = createApp(r), c = createPinia();
|
|
216
|
-
e.use(c);
|
|
217
|
-
let { base: l, ...f } = o, p = createRouter({
|
|
218
|
-
history: createWebHashHistory(l),
|
|
219
|
-
...f
|
|
220
|
-
}), m = {
|
|
221
|
-
app: e,
|
|
222
|
-
store: c,
|
|
223
|
-
router: p
|
|
224
|
-
}, h = extractModules(u);
|
|
225
|
-
return resolveHooks([
|
|
226
|
-
...h.pre,
|
|
227
|
-
...h.default,
|
|
228
|
-
{ hooks: d },
|
|
229
|
-
...h.post
|
|
230
|
-
]), await resolveModules(h.pre, m), await resolveModules(h.default, m), await s?.(m), await resolveModules(h.post, m), e.use(p), m;
|
|
231
|
-
}
|
|
232
|
-
return l && (async () => {
|
|
233
|
-
let { app: e, router: t } = await f();
|
|
234
|
-
await t.isReady(), e.mount(c, !0);
|
|
235
|
-
})(), f;
|
|
236
|
-
}
|
|
237
|
-
function normalizedResponded(e) {
|
|
238
|
-
return typeof e == "function" ? { onSuccess: e } : e;
|
|
239
|
-
}
|
|
240
|
-
function createRequest(e = {}) {
|
|
241
|
-
let { axios: t, beforeRequest: n, responded: r, ...i } = e, a = normalizedResponded(r);
|
|
242
|
-
return createAlova({
|
|
243
|
-
statesHook: vueHook,
|
|
244
|
-
requestAdapter: axiosRequestAdapter(t),
|
|
245
|
-
cacheFor: null,
|
|
246
|
-
timeout: 60 * 1e3,
|
|
247
|
-
...i,
|
|
248
|
-
beforeRequest: async (e) => {
|
|
249
|
-
await hooks.callHook("http:request", e), await n?.(e);
|
|
250
|
-
},
|
|
251
|
-
responded: {
|
|
252
|
-
onSuccess: async (e, t) => {
|
|
253
|
-
let n = !1, r = await hooks.callHookWith(async (e, r) => {
|
|
254
|
-
let i = r[0];
|
|
255
|
-
for (let r of e) {
|
|
256
|
-
if (n) break;
|
|
257
|
-
i = await r(i, t, () => n = !0);
|
|
258
|
-
}
|
|
259
|
-
return i;
|
|
260
|
-
}, "http:response:onSuccess", [e]);
|
|
261
|
-
return n ? r : a?.onSuccess?.(r, t, () => n = !0) ?? r;
|
|
262
|
-
},
|
|
263
|
-
onError: async (e, t) => (await hooks.callHook("http:response:onError", e, t), a?.onError?.(e, t)),
|
|
264
|
-
onComplete: async (e) => {
|
|
265
|
-
await hooks.callHook("http:response:onComplete", e), a?.onComplete?.(e);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
export { getPersistedState as _, setupPage as a, getAllIconModules as c, setupIcon as d, readProjectModules as f, createContext$1 as g, clearPersistedState as h, getAllRouteModules as i, getCachedIcon as l, callHookSync as m, createApp$1 as n, setupDefaultLayout as o, callHookAsync as p, defineRouteModule as r, defineIconModule as s, createRequest as t, setCachedIcon as u, getPubinfoNamespace as v, setPersistedState as y };
|
package/dist/profile-B3Q7hRgl.js
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import "./core-CKIhF3Vi.js";
|
|
2
|
-
import { S as getRbacUserUserEntireInfo } from "./auth-DILNNEQ8.js";
|
|
3
|
-
import { createElementBlock, createElementVNode, createVNode, defineComponent, isRef, onMounted, openBlock, ref, resolveComponent, unref, withCtx } from "vue";
|
|
4
|
-
import { isNil } from "lodash-es";
|
|
5
|
-
import { Card } from "ant-design-vue/es";
|
|
6
|
-
import { SchemaForm } from "@pubinfo/pro-components";
|
|
7
|
-
var _hoisted_1 = { class: "relative w-full h-full py-10px px-10px overflow-hidden" }, _hoisted_2 = { class: "w-full h-full overflow-y-auto space-y-3" }, profile_default = /* @__PURE__ */ defineComponent({
|
|
8
|
-
name: "PersonalCenter",
|
|
9
|
-
__name: "index",
|
|
10
|
-
setup(n) {
|
|
11
|
-
let i = ref({}), a = [
|
|
12
|
-
{
|
|
13
|
-
label: "未知",
|
|
14
|
-
value: "0"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
label: "男",
|
|
18
|
-
value: "1"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
label: "女",
|
|
22
|
-
value: "2"
|
|
23
|
-
}
|
|
24
|
-
];
|
|
25
|
-
function o({ value: e }) {
|
|
26
|
-
return isNil(e) ? "-" : e;
|
|
27
|
-
}
|
|
28
|
-
let s = [
|
|
29
|
-
{
|
|
30
|
-
render: o,
|
|
31
|
-
renderFormItem: o,
|
|
32
|
-
dataIndex: "loginName",
|
|
33
|
-
title: "登录账号",
|
|
34
|
-
colProps: { span: 12 }
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
render: o,
|
|
38
|
-
valueType: "a-input",
|
|
39
|
-
dataIndex: "realName",
|
|
40
|
-
title: "真实姓名",
|
|
41
|
-
colProps: { span: 12 }
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
render: o,
|
|
45
|
-
valueType: "a-input",
|
|
46
|
-
dataIndex: "mobile",
|
|
47
|
-
title: "手机号",
|
|
48
|
-
colProps: { span: 12 }
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
render: ({ value: e }) => a.find((t) => t.value === e)?.label,
|
|
52
|
-
valueType: "a-radio-group",
|
|
53
|
-
dataIndex: "sex",
|
|
54
|
-
title: "性别",
|
|
55
|
-
colProps: { span: 12 },
|
|
56
|
-
fieldProps: { options: a }
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
render: o,
|
|
60
|
-
valueType: "a-input",
|
|
61
|
-
dataIndex: "email",
|
|
62
|
-
title: "邮箱",
|
|
63
|
-
colProps: { span: 12 }
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
render: o,
|
|
67
|
-
valueType: "a-input",
|
|
68
|
-
dataIndex: "idCard",
|
|
69
|
-
title: "身份证",
|
|
70
|
-
colProps: { span: 12 }
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
render: o,
|
|
74
|
-
valueType: "a-input",
|
|
75
|
-
dataIndex: "address",
|
|
76
|
-
title: "地址",
|
|
77
|
-
colProps: { span: 12 }
|
|
78
|
-
}
|
|
79
|
-
], c = [{
|
|
80
|
-
renderFormItem: ({ value: e }) => e?.map((e) => e.orgName).join("、"),
|
|
81
|
-
dataIndex: "userOrgList",
|
|
82
|
-
title: "所属组织"
|
|
83
|
-
}];
|
|
84
|
-
async function l() {
|
|
85
|
-
let t = await getRbacUserUserEntireInfo();
|
|
86
|
-
t.success && (i.value = t.data ?? {});
|
|
87
|
-
}
|
|
88
|
-
return onMounted(() => {
|
|
89
|
-
l();
|
|
90
|
-
}), (e, n) => {
|
|
91
|
-
let r = Card;
|
|
92
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(r, {
|
|
93
|
-
title: "个人信息",
|
|
94
|
-
bordered: !1
|
|
95
|
-
}, {
|
|
96
|
-
default: withCtx(() => [createVNode(unref(SchemaForm), {
|
|
97
|
-
modelValue: unref(i),
|
|
98
|
-
"onUpdate:modelValue": n[0] ||= (e) => isRef(i) ? i.value = e : null,
|
|
99
|
-
"label-col": { style: { width: "100px" } },
|
|
100
|
-
columns: s,
|
|
101
|
-
readonly: "",
|
|
102
|
-
grid: "",
|
|
103
|
-
submitter: !1
|
|
104
|
-
}, null, 8, ["modelValue"])]),
|
|
105
|
-
_: 1
|
|
106
|
-
}), createVNode(r, {
|
|
107
|
-
title: "权限信息",
|
|
108
|
-
bordered: !1
|
|
109
|
-
}, {
|
|
110
|
-
default: withCtx(() => [createVNode(unref(SchemaForm), {
|
|
111
|
-
modelValue: unref(i),
|
|
112
|
-
"onUpdate:modelValue": n[1] ||= (e) => isRef(i) ? i.value = e : null,
|
|
113
|
-
"label-col": { style: { width: "100px" } },
|
|
114
|
-
columns: c,
|
|
115
|
-
submitter: !1,
|
|
116
|
-
style: { width: "600px" }
|
|
117
|
-
}, null, 8, ["modelValue"])]),
|
|
118
|
-
_: 1
|
|
119
|
-
})])]);
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
export { profile_default as default };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{_plugin-vue_export-helper-BBf_fmJ_.js → _plugin-vue_export-helper-sUTDUeGO.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|