@witlink/usercenter 1.0.3 → 1.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/{404.a6648431.mjs → 404.25fad408.mjs} +1 -1
- package/dist/{Standard.fc95c576.mjs → Standard.61d10b5f.mjs} +13 -13
- package/dist/{WebClient.80331fdc.mjs → WebClient.ef36c3b9.mjs} +18 -18
- package/dist/assets/index.0e2284e6.css +1 -0
- package/dist/{index.cdd11689.mjs → index.278f9839.mjs} +1 -1
- package/dist/index.2ba5f477.mjs +94026 -0
- package/dist/{index.ed4dbd01.mjs → index.6c2bc27b.mjs} +1 -1
- package/dist/{index.2c2473ea.mjs → index.bc2823f3.mjs} +1 -1
- package/dist/{index.69b68e45.mjs → index.e81480ca.mjs} +1 -1
- package/dist/usercenter.es.js +9 -9
- package/dist/usercenter.umd.js +348 -6580
- package/package.json +1 -1
- package/dist/404.8c60a901.c3e76ee8.mjs +0 -10
- package/dist/Standard.f3edef69.f5212048.mjs +0 -110
- package/dist/WebClient.d57f9832.6ba94a3e.mjs +0 -151
- package/dist/assets/Standard.f3edef69.badeec91.css +0 -1
- package/dist/assets/WebClient.d57f9832.2a3e464e.css +0 -1
- package/dist/assets/index.2d0e9dcb.css +0 -1
- package/dist/assets/index.8b3e4f70.fb7724ee.css +0 -1
- package/dist/index.0da1fafa.015bee59.mjs +0 -10
- package/dist/index.1046a424.mjs +0 -175799
- package/dist/index.2242d1a7.66a01ef7.mjs +0 -125
- package/dist/index.2291c8e2.1c1e2758.mjs +0 -125
- package/dist/index.42fbc816.bcd3785a.mjs +0 -10
- package/dist/index.5dce5a61.mjs +0 -777
- package/dist/index.8b3e4f70.550c8920.mjs +0 -385
- package/dist/index.9803c44f.5a0946eb.mjs +0 -125
- package/dist/index.9829f249.dfba489c.mjs +0 -10
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as r } from "vue";
|
|
2
|
-
import { V as o } from "./index.1046a424.mjs";
|
|
3
|
-
const t = {};
|
|
4
|
-
function n(c, i) {
|
|
5
|
-
return e(), r("div", null, "404");
|
|
6
|
-
}
|
|
7
|
-
const f = /* @__PURE__ */ o(t, [["render", n], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/error/404.vue"]]);
|
|
8
|
-
export {
|
|
9
|
-
f as default
|
|
10
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { defineComponent as j, ref as v, reactive as B, onMounted as D, openBlock as n, createElementBlock as f, createVNode as m, withCtx as u, Fragment as V, renderList as E, createBlock as d, mergeProps as L, createCommentVNode as s, normalizeStyle as _, createTextVNode as P, toDisplayString as Y } from "vue";
|
|
2
|
-
import { V as F, aa as I, ac as J, a2 as T, ae as z, af as G, a3 as H, a5 as M, a4 as R } from "./index.1046a424.mjs";
|
|
3
|
-
import './assets/Standard.f3edef69.badeec91.css';const W = { class: "web-client" }, q = /* @__PURE__ */ j({
|
|
4
|
-
name: "Standard",
|
|
5
|
-
__name: "Standard",
|
|
6
|
-
props: {
|
|
7
|
-
record: {
|
|
8
|
-
type: Object,
|
|
9
|
-
default: () => {
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
emits: ["ok"],
|
|
14
|
-
setup(h, { emit: k }) {
|
|
15
|
-
const y = k, p = h, w = v(), i = B({
|
|
16
|
-
parentCode: "",
|
|
17
|
-
items: {}
|
|
18
|
-
}), b = v({}), r = v([]), g = {
|
|
19
|
-
labelCol: {
|
|
20
|
-
span: 6
|
|
21
|
-
},
|
|
22
|
-
wrapperCol: {
|
|
23
|
-
span: 18
|
|
24
|
-
}
|
|
25
|
-
}, C = async () => {
|
|
26
|
-
const { result: l } = await I({
|
|
27
|
-
parentCode: p.record.code
|
|
28
|
-
});
|
|
29
|
-
i.parentCode = p.record.code, l.forEach((a) => {
|
|
30
|
-
var t;
|
|
31
|
-
a.v2 = a.v2 ? JSON.parse(a.v2) : "", ((t = a == null ? void 0 : a.v2) == null ? void 0 : t.field) == "2" && (a.isChecked = a.v1 == "Y");
|
|
32
|
-
}), r.value = l;
|
|
33
|
-
}, S = async () => {
|
|
34
|
-
console.log(r.value, "source");
|
|
35
|
-
const l = {};
|
|
36
|
-
r.value.forEach((t) => {
|
|
37
|
-
var c;
|
|
38
|
-
((c = t == null ? void 0 : t.v2) == null ? void 0 : c.field) == "2" && (t.isChecked ? t.v1 == "Y" : t.v1 == "N"), l[t.code] = t.v1;
|
|
39
|
-
}), i.items = JSON.stringify(l);
|
|
40
|
-
const { result: a } = await J(i);
|
|
41
|
-
a && y("ok");
|
|
42
|
-
};
|
|
43
|
-
return D(() => {
|
|
44
|
-
C();
|
|
45
|
-
}), (l, a) => {
|
|
46
|
-
const t = T, c = z, U = G, x = H, O = M, N = R;
|
|
47
|
-
return n(), f("div", W, [
|
|
48
|
-
m(O, {
|
|
49
|
-
class: "form",
|
|
50
|
-
model: b.value,
|
|
51
|
-
ref_key: "formRef",
|
|
52
|
-
ref: w
|
|
53
|
-
}, {
|
|
54
|
-
default: u(() => [
|
|
55
|
-
(n(!0), f(V, null, E(r.value, (e, $) => (n(), d(x, L({
|
|
56
|
-
key: $,
|
|
57
|
-
label: l.$t("dct.SYS" + e.code),
|
|
58
|
-
ref_for: !0
|
|
59
|
-
}, g), {
|
|
60
|
-
default: u(() => [
|
|
61
|
-
e.v2 instanceof Object ? s("v-if", !0) : (n(), d(t, {
|
|
62
|
-
key: 0,
|
|
63
|
-
value: e.v1,
|
|
64
|
-
"onUpdate:value": (o) => e.v1 = o
|
|
65
|
-
}, null, 8, ["value", "onUpdate:value"])),
|
|
66
|
-
e.v2 instanceof Object && e.v2.field && e.v2.field == "0" ? (n(), d(t, {
|
|
67
|
-
key: 1,
|
|
68
|
-
style: _(
|
|
69
|
-
e.v2.width ? "width:" + e.v2.width + "px" : "width: 100% "
|
|
70
|
-
),
|
|
71
|
-
maxLength: e.v2.length ? e.v2.length : 100,
|
|
72
|
-
value: e.v1,
|
|
73
|
-
"onUpdate:value": (o) => e.v1 = o
|
|
74
|
-
}, null, 8, ["style", "maxLength", "value", "onUpdate:value"])) : s("v-if", !0),
|
|
75
|
-
e.v2 instanceof Object && e.v2.field && e.v2.field == "1" ? (n(), d(c, {
|
|
76
|
-
key: 2,
|
|
77
|
-
style: _(
|
|
78
|
-
e.v2.width ? "width:" + e.v2.width + "px" : "width: 100% "
|
|
79
|
-
),
|
|
80
|
-
value: e.v1,
|
|
81
|
-
"onUpdate:value": (o) => e.v1 = o
|
|
82
|
-
}, null, 8, ["style", "value", "onUpdate:value"])) : s("v-if", !0),
|
|
83
|
-
e.v2 instanceof Object && e.v2.field && e.v2.field == "2" ? (n(), d(U, {
|
|
84
|
-
key: 3,
|
|
85
|
-
checked: e.isChecked,
|
|
86
|
-
"onUpdate:checked": (o) => e.isChecked = o
|
|
87
|
-
}, null, 8, ["checked", "onUpdate:checked"])) : s("v-if", !0)
|
|
88
|
-
]),
|
|
89
|
-
_: 2
|
|
90
|
-
}, 1040, ["label"]))), 128))
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
}, 8, ["model"]),
|
|
94
|
-
m(N, {
|
|
95
|
-
onClick: S,
|
|
96
|
-
type: "primary",
|
|
97
|
-
class: "sub_btn"
|
|
98
|
-
}, {
|
|
99
|
-
default: u(() => [
|
|
100
|
-
P(Y(l.$t("param.btn_ok")), 1)
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
})
|
|
104
|
-
]);
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
}), Q = /* @__PURE__ */ F(q, [["__scopeId", "data-v-7829cd8b"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/sys/parameter/Standard.vue"]]);
|
|
108
|
-
export {
|
|
109
|
-
Q as default
|
|
110
|
-
};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { defineComponent as R, ref as f, reactive as z, watch as J, onMounted as M, openBlock as l, createElementBlock as c, createVNode as g, withCtx as i, Fragment as w, renderList as N, createBlock as m, mergeProps as j, createCommentVNode as _, createElementVNode as o, normalizeStyle as h, normalizeClass as T, toDisplayString as D, createTextVNode as q } from "vue";
|
|
2
|
-
import { V as G, a9 as K, aa as Q, ab as E, ac as X, a2 as Y, ad as Z, a3 as ee, a5 as ae, a4 as te } from "./index.1046a424.mjs";
|
|
3
|
-
import './assets/WebClient.d57f9832.2a3e464e.css';const le = { class: "web-client" }, re = ["src"], oe = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "color-choose"
|
|
6
|
-
}, se = { class: "color" }, ne = ["onClick"], ce = { class: "tips" }, ie = /* @__PURE__ */ R({
|
|
7
|
-
name: "WebClient",
|
|
8
|
-
__name: "WebClient",
|
|
9
|
-
props: {
|
|
10
|
-
record: {
|
|
11
|
-
type: Object,
|
|
12
|
-
default: () => {
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
emits: ["ok"],
|
|
17
|
-
setup(A, { emit: I }) {
|
|
18
|
-
const { t: y } = K(), O = I, p = A, d = f(0), C = [
|
|
19
|
-
"#fff",
|
|
20
|
-
"#ccc",
|
|
21
|
-
"#666",
|
|
22
|
-
"#333",
|
|
23
|
-
"#000",
|
|
24
|
-
"#001efb",
|
|
25
|
-
"#fffe34",
|
|
26
|
-
"#ff0f00",
|
|
27
|
-
"#0dfd36"
|
|
28
|
-
], s = z({
|
|
29
|
-
parentCode: "",
|
|
30
|
-
items: {}
|
|
31
|
-
}), n = f([]), S = "/", b = f(""), H = {
|
|
32
|
-
labelCol: {
|
|
33
|
-
span: 6
|
|
34
|
-
},
|
|
35
|
-
wrapperCol: {
|
|
36
|
-
span: 18
|
|
37
|
-
}
|
|
38
|
-
}, k = async () => {
|
|
39
|
-
s.parentCode = p.record.code;
|
|
40
|
-
const { result: e } = await Q({
|
|
41
|
-
parentCode: p.record.code
|
|
42
|
-
});
|
|
43
|
-
n.value = e;
|
|
44
|
-
const t = e.find((a) => a.v2 == "HEAD_ICON");
|
|
45
|
-
if (t) {
|
|
46
|
-
const a = JSON.parse(t.v1);
|
|
47
|
-
b.value = S + "api/auth/node-icon/" + a.bucket + "/" + a.file;
|
|
48
|
-
}
|
|
49
|
-
}, $ = (e, t) => {
|
|
50
|
-
const a = new FileReader();
|
|
51
|
-
a.addEventListener("load", () => t(a.result)), a.readAsDataURL(e);
|
|
52
|
-
}, x = (e) => e.type === "image/jpeg" || e.type === "image/png" ? e.size / 1024 / 1024 < 2 ? (s.fileName = e, $(e, (t) => {
|
|
53
|
-
t.value = t;
|
|
54
|
-
}), !1) : (E.error(y("param.tips2")), !1) : (E.error(y("param.tips1")), !1), B = async () => {
|
|
55
|
-
console.log(n.value, "source");
|
|
56
|
-
const e = {};
|
|
57
|
-
n.value.forEach((a) => {
|
|
58
|
-
a.v2 !== "HEAD_ICON" && (e[a.code] = a.v1);
|
|
59
|
-
}), s.items = JSON.stringify(e);
|
|
60
|
-
const { result: t } = await X(s);
|
|
61
|
-
t && O("ok");
|
|
62
|
-
}, P = (e) => {
|
|
63
|
-
d.value = e;
|
|
64
|
-
};
|
|
65
|
-
return J(
|
|
66
|
-
() => p.record,
|
|
67
|
-
() => {
|
|
68
|
-
k();
|
|
69
|
-
}
|
|
70
|
-
), M(() => {
|
|
71
|
-
k();
|
|
72
|
-
}), (e, t) => {
|
|
73
|
-
const a = Y, U = Z, V = ee, W = ae, F = te;
|
|
74
|
-
return l(), c("div", le, [
|
|
75
|
-
g(W, {
|
|
76
|
-
class: "form",
|
|
77
|
-
ref: "formRef"
|
|
78
|
-
}, {
|
|
79
|
-
default: i(() => [
|
|
80
|
-
(l(!0), c(w, null, N(n.value, (r, L) => (l(), m(V, j({
|
|
81
|
-
key: L,
|
|
82
|
-
label: e.$t("dct.PARAMS" + r.code),
|
|
83
|
-
ref_for: !0
|
|
84
|
-
}, H), {
|
|
85
|
-
default: i(() => [
|
|
86
|
-
r.v2 != "HEAD_ICON" ? (l(), m(a, {
|
|
87
|
-
key: 0,
|
|
88
|
-
value: r.v1,
|
|
89
|
-
"onUpdate:value": (u) => r.v1 = u
|
|
90
|
-
}, null, 8, ["value", "onUpdate:value"])) : _("v-if", !0),
|
|
91
|
-
r.v2 == "HEAD_ICON" ? (l(), m(U, {
|
|
92
|
-
key: 1,
|
|
93
|
-
name: "avatar",
|
|
94
|
-
style: { width: "102px", float: "left" },
|
|
95
|
-
"list-type": "picture-card",
|
|
96
|
-
class: "avatar-uploader",
|
|
97
|
-
"show-upload-list": !1,
|
|
98
|
-
"before-upload": x
|
|
99
|
-
}, {
|
|
100
|
-
default: i(() => [
|
|
101
|
-
o("div", {
|
|
102
|
-
class: "bg",
|
|
103
|
-
style: h("background:" + C[d.value])
|
|
104
|
-
}, [
|
|
105
|
-
o("img", {
|
|
106
|
-
src: b.value,
|
|
107
|
-
alt: "avatar",
|
|
108
|
-
class: "avatar"
|
|
109
|
-
}, null, 8, re)
|
|
110
|
-
], 4)
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
})) : _("v-if", !0),
|
|
114
|
-
r.v2 == "HEAD_ICON" ? (l(), c("div", oe, [
|
|
115
|
-
o("div", se, [
|
|
116
|
-
(l(), c(w, null, N(C, (u, v) => o("div", {
|
|
117
|
-
key: v,
|
|
118
|
-
class: "color-item"
|
|
119
|
-
}, [
|
|
120
|
-
o("div", {
|
|
121
|
-
style: h("background:" + u),
|
|
122
|
-
onClick: (pe) => P(v),
|
|
123
|
-
class: T(d.value == v ? "active" : "")
|
|
124
|
-
}, null, 14, ne)
|
|
125
|
-
])), 64))
|
|
126
|
-
]),
|
|
127
|
-
o("span", ce, D(e.$t("param.tip")), 1)
|
|
128
|
-
])) : _("v-if", !0)
|
|
129
|
-
]),
|
|
130
|
-
_: 2
|
|
131
|
-
}, 1040, ["label"]))), 128))
|
|
132
|
-
]),
|
|
133
|
-
_: 1
|
|
134
|
-
}, 512),
|
|
135
|
-
g(F, {
|
|
136
|
-
onClick: B,
|
|
137
|
-
type: "primary",
|
|
138
|
-
class: "sub_btn"
|
|
139
|
-
}, {
|
|
140
|
-
default: i(() => [
|
|
141
|
-
q(D(e.$t("param.btn_ok")), 1)
|
|
142
|
-
]),
|
|
143
|
-
_: 1
|
|
144
|
-
})
|
|
145
|
-
]);
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
}), ve = /* @__PURE__ */ G(ie, [["__scopeId", "data-v-7c2314b0"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/sys/parameter/WebClient.vue"]]);
|
|
149
|
-
export {
|
|
150
|
-
ve as default
|
|
151
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.web-client[data-v-7829cd8b]{background:#ffffff;padding-top:10px}.sub_btn[data-v-7829cd8b]{margin-left:224px}.form[data-v-7829cd8b]{width:900px;margin-top:20px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.web-client[data-v-7c2314b0]{background:#ffffff}.top-title1[data-v-7c2314b0]{width:900px;padding:7px;background:#e8ffff;color:#9820fb;font-size:17px;margin-bottom:5px}.sub_btn[data-v-7c2314b0]{margin-left:224px}.avatar-uploader>.ant-upload[data-v-7c2314b0]{width:70px;height:70px}.ant-upload-select-picture-card i[data-v-7c2314b0]{font-size:32px;color:#999}.ant-upload-select-picture-card .ant-upload-text[data-v-7c2314b0]{margin-top:8px;color:#666}.form[data-v-7c2314b0]{width:900px;margin-top:20px}.form .divide-line[data-v-7c2314b0]{position:absolute;border-bottom:1px solid #d9d9d9;width:900px;top:110px;height:1px}.form .bg[data-v-7c2314b0]{background-color:#7c5454;width:100%;padding:10px;z-index:0}.form .avatar[data-v-7c2314b0]{width:60px;height:60px}.form .active[data-v-7c2314b0]{border:1px solid #1990fc!important}.form .color-choose[data-v-7c2314b0]{display:inline-block;width:560px;padding-left:20px}.form .color-choose .color[data-v-7c2314b0]{width:100%;display:flex;justify-content:space-between}.form .color-choose .color .color-item[data-v-7c2314b0]{display:inline-block;width:50px;height:50px;border:1px solid #d9d9d9}.form .color-choose .color .color-item div[data-v-7c2314b0]{width:100%;height:100%}.form .color-choose .color div[data-v-7c2314b0]:hover{cursor:pointer}.form .color-choose .tips[data-v-7c2314b0]{display:inline-block;margin-top:10px;font-size:15px}
|