gds-plus-design-vue 1.1.87 → 1.2.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/lib/{chartbi.c211f08d.js → chartbi.06e48153.js} +20 -20
- package/lib/{chartbi.090c7bd2.mjs → chartbi.cdd1e365.mjs} +21 -14
- package/lib/gd-initial.js +12 -12
- package/lib/gd-initial.mjs +1993 -1336
- package/lib/main.2415a49a.js +1 -0
- package/lib/{main.b4723893.mjs → main.2cddfbbd.mjs} +5 -5
- package/lib/{main.6903ab7a.js → main.4c447fc3.js} +1 -1
- package/lib/{main.197a0d5f.mjs → main.86fe06d4.mjs} +6 -6
- package/lib/{main.4f2a165f.mjs → main.b2d0a309.mjs} +10 -10
- package/lib/{main.d1772cf9.js → main.d091d06d.js} +1 -1
- package/lib/{messages.0e2d9d5a.js → messages.2fff74f3.js} +5 -5
- package/lib/{messages.a9287789.mjs → messages.d8abe18d.mjs} +18 -18
- package/lib/style.css +3 -3
- package/lib/{system.account.d3dd14ec.js → system.account.8ea53681.js} +2 -2
- package/lib/{system.account.e95f40c9.mjs → system.account.9bc40d08.mjs} +230 -230
- package/lib/{system.config.e74cc108.mjs → system.config.8223d495.mjs} +3 -3
- package/lib/{system.config.1164deec.js → system.config.c6e30213.js} +1 -1
- package/lib/{system.datasource.034737e6.mjs → system.datasource.57233650.mjs} +3 -3
- package/lib/{system.datasource.813c512e.js → system.datasource.fd6a4e76.js} +1 -1
- package/lib/{system.dict.9b1038c3.mjs → system.dict.8f95218b.mjs} +115 -89
- package/lib/system.dict.a24f33b0.js +1 -0
- package/lib/{system.duplicatechecking.e5542a97.js → system.duplicatechecking.39293985.js} +1 -1
- package/lib/{system.duplicatechecking.1aac5b8c.mjs → system.duplicatechecking.6b706948.mjs} +17 -9
- package/lib/{system.email.6041b7b0.js → system.email.a2d9a307.js} +2 -2
- package/lib/{system.email.96d35919.mjs → system.email.dae988be.mjs} +4 -4
- package/lib/{system.fieldsecurity.0909e14b.mjs → system.fieldsecurity.02627a7a.mjs} +14 -14
- package/lib/{system.fieldsecurity.eb33e06f.js → system.fieldsecurity.a0cec24d.js} +1 -1
- package/lib/{system.file.507bf874.mjs → system.file.0fa095a9.mjs} +4 -4
- package/lib/{system.file.e37f9bd2.js → system.file.d695ab37.js} +1 -1
- package/lib/{system.log.0c37bd82.mjs → system.log.acb64505.mjs} +2 -2
- package/lib/{system.log.73097e0b.js → system.log.c07ae5db.js} +1 -1
- package/lib/{system.machine.4302c7e3.js → system.machine.7fa3e3d1.js} +1 -1
- package/lib/{system.machine.fb7aa834.mjs → system.machine.fc392d7f.mjs} +2 -2
- package/lib/{system.notice.128ebe61.mjs → system.notice.5ae50bd4.mjs} +5 -5
- package/lib/{system.notice.d92fe0cd.js → system.notice.f18578ae.js} +1 -1
- package/lib/{system.noticereceived.54ac8bcb.mjs → system.noticereceived.1aa70b65.mjs} +4 -4
- package/lib/{system.noticereceived.32361d39.js → system.noticereceived.bfa98a9b.js} +1 -1
- package/lib/{system.onlineuser.2c37c72c.js → system.onlineuser.1c428d05.js} +1 -1
- package/lib/{system.onlineuser.2a4b2db5.mjs → system.onlineuser.3d848a32.mjs} +2 -2
- package/lib/{system.org.df5901a3.js → system.org.5bb36f9c.js} +1 -1
- package/lib/{system.org.146afbe9.mjs → system.org.fcf96d1e.mjs} +3 -3
- package/lib/{system.permissions.5f00b39f.mjs → system.permissions.23f5b097.mjs} +11 -11
- package/lib/{system.permissions.41571e57.js → system.permissions.a1a9505c.js} +2 -2
- package/lib/{system.plugin.ddd4c699.js → system.plugin.b6de4673.js} +1 -1
- package/lib/{system.plugin.9b9c4301.mjs → system.plugin.e37f9dbc.mjs} +4 -4
- package/lib/{system.pos.eb8248c1.mjs → system.pos.1a01fc97.mjs} +3 -3
- package/lib/{system.pos.352032e6.js → system.pos.a4fb19b0.js} +1 -1
- package/lib/system.promptmanagement.290958b1.js +1 -0
- package/lib/{system.promptmanagement.cd36225c.mjs → system.promptmanagement.36a65c51.mjs} +20 -12
- package/lib/{system.role.8d9f0f33.mjs → system.role.68de93ef.mjs} +13 -13
- package/lib/{system.role.656fa7cc.js → system.role.88100f66.js} +1 -1
- package/lib/{system.sumberrules.6eee79be.mjs → system.sumberrules.cdef9308.mjs} +5 -5
- package/lib/system.sumberrules.dd6299e8.js +1 -0
- package/lib/system.team.53d64006.js +1 -0
- package/lib/system.team.ee652fe4.mjs +926 -0
- package/lib/system.teammembers.26a2ba81.mjs +398 -0
- package/lib/system.teammembers.4a3dc336.js +1 -0
- package/lib/{system.timers.f4eaacaf.mjs → system.timers.4efa8a7d.mjs} +16 -16
- package/lib/{system.timers.a348d394.js → system.timers.b9424204.js} +2 -2
- package/lib/{system.translation.00e5bfa2.mjs → system.translation.0a9399b4.mjs} +14 -14
- package/lib/{system.translation.aa511bcb.js → system.translation.21d2fd8b.js} +1 -1
- package/lib/{system.user.eecef7c2.mjs → system.user.4fcfdf99.mjs} +9 -9
- package/lib/{system.user.2a00c354.js → system.user.d48a08db.js} +3 -3
- package/lib/{system.useraffiliation.f986d344.js → system.useraffiliation.a59ce45b.js} +1 -1
- package/lib/{system.useraffiliation.d638afe1.mjs → system.useraffiliation.fb002239.mjs} +7 -7
- package/lib/{system.webresource.5071b3f4.js → system.webresource.3366cc29.js} +1 -1
- package/lib/{system.webresource.d25eab7d.mjs → system.webresource.4df01c92.mjs} +9 -9
- package/lib/{system.welcome.1988f581.mjs → system.welcome.120f4b50.mjs} +2 -2
- package/lib/{system.welcome.b6ec1ec0.js → system.welcome.472f099b.js} +1 -1
- package/locale/el/en_US.js +122 -122
- package/locale/el/id_ID.js +122 -122
- package/locale/el/vi_VN.js +122 -122
- package/locale/el/zh_CN.js +122 -122
- package/locale/en_US.js +17 -2
- package/locale/id_ID.js +17 -2
- package/locale/vi_VN.js +17 -2
- package/locale/zh_CN.js +17 -2
- package/package.json +1 -1
- package/lib/main.d9f793bb.js +0 -1
- package/lib/system.dict.2deb0cde.js +0 -1
- package/lib/system.promptmanagement.25e1639b.js +0 -1
- package/lib/system.sumberrules.0a269af6.js +0 -1
- /package/lib/{element-theme-chalk.ae828c17.js → element-theme-chalk.dee12271.js} +0 -0
- /package/lib/{element-theme-chalk.35b1f600.mjs → element-theme-chalk.fbb1a631.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as W, n as M } from "./chartbi.
|
|
1
|
+
import { m as W, n as M } from "./chartbi.cdd1e365.mjs";
|
|
2
2
|
import j from "vue";
|
|
3
|
-
import { s as V, a as X } from "./messages.
|
|
3
|
+
import { s as V, a as X } from "./messages.d8abe18d.mjs";
|
|
4
4
|
function Ye(r) {
|
|
5
5
|
return window.axios({
|
|
6
6
|
url: "/login",
|
|
@@ -64,236 +64,77 @@ function qe(r) {
|
|
|
64
64
|
data: r
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
function q(r) {
|
|
68
|
-
return window.axios({
|
|
69
|
-
url: "/sysApp/list",
|
|
70
|
-
method: "get",
|
|
71
|
-
params: r
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
67
|
function Ze(r) {
|
|
75
|
-
return window.axios({
|
|
76
|
-
url: "/sysApp/listByAppsId",
|
|
77
|
-
method: "get",
|
|
78
|
-
params: r
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
function Je(r) {
|
|
82
|
-
return window.axios({
|
|
83
|
-
url: "/sysApp/add",
|
|
84
|
-
method: "post",
|
|
85
|
-
data: r
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
function Ke(r) {
|
|
89
|
-
return window.axios({
|
|
90
|
-
url: "/sysApp/edit",
|
|
91
|
-
method: "post",
|
|
92
|
-
data: r
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
function Qe(r) {
|
|
96
|
-
return window.axios({
|
|
97
|
-
url: "/sysApp/delete",
|
|
98
|
-
method: "post",
|
|
99
|
-
data: r
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
function et(r) {
|
|
103
|
-
return window.axios({
|
|
104
|
-
url: "/sysApp/changeStatus",
|
|
105
|
-
method: "post",
|
|
106
|
-
data: r
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
const Y = [{
|
|
110
|
-
key: "gd.theme.twilight",
|
|
111
|
-
color: "#F5222D"
|
|
112
|
-
}, {
|
|
113
|
-
key: "gd.theme.volcano",
|
|
114
|
-
color: "#FA541C"
|
|
115
|
-
}, {
|
|
116
|
-
key: "gd.theme.nightfall",
|
|
117
|
-
color: "#FAAD14"
|
|
118
|
-
}, {
|
|
119
|
-
key: "gd.theme.mingQing",
|
|
120
|
-
color: "#13C2C2"
|
|
121
|
-
}, {
|
|
122
|
-
key: "gd.theme.auroragreen",
|
|
123
|
-
color: "#52C41A"
|
|
124
|
-
}, {
|
|
125
|
-
key: "gd.theme.dawnBlue",
|
|
126
|
-
color: "#1890FF"
|
|
127
|
-
}, {
|
|
128
|
-
key: "gd.theme.soypurple",
|
|
129
|
-
color: "#722ED1"
|
|
130
|
-
}];
|
|
131
|
-
const Z = {
|
|
132
|
-
props: {
|
|
133
|
-
keepAlive: {
|
|
134
|
-
type: Boolean,
|
|
135
|
-
default: !0
|
|
136
|
-
},
|
|
137
|
-
height: {
|
|
138
|
-
type: Number,
|
|
139
|
-
default: 0
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
name: "GdAccountSettings",
|
|
143
|
-
data() {
|
|
144
|
-
return {
|
|
145
|
-
mode: "inline",
|
|
146
|
-
openKeys: [],
|
|
147
|
-
selectedKeys: [],
|
|
148
|
-
activeIndex: "/account/settings/base",
|
|
149
|
-
preview: {},
|
|
150
|
-
option: {
|
|
151
|
-
img: "/avatar2.jpg",
|
|
152
|
-
info: !0,
|
|
153
|
-
size: 1,
|
|
154
|
-
outputType: "jpeg",
|
|
155
|
-
canScale: !1,
|
|
156
|
-
autoCrop: !0,
|
|
157
|
-
autoCropWidth: 180,
|
|
158
|
-
autoCropHeight: 180,
|
|
159
|
-
fixedBox: !0,
|
|
160
|
-
fixed: !0,
|
|
161
|
-
fixedNumber: [1, 1]
|
|
162
|
-
},
|
|
163
|
-
pageTitle: ""
|
|
164
|
-
};
|
|
165
|
-
},
|
|
166
|
-
components: {},
|
|
167
|
-
computed: {
|
|
168
|
-
fadeColord() {
|
|
169
|
-
return this.fadeColor(this.primaryColor, 0.1);
|
|
170
|
-
},
|
|
171
|
-
style() {
|
|
172
|
-
return this.crumbsState ? "margin:0 4px 4px;height: 100%;" : "margin: 4px;height: 100%;";
|
|
173
|
-
},
|
|
174
|
-
getHeight() {
|
|
175
|
-
return "overflow:auto;height:" + (this.screenHeight - 24 - 20 - 10 - 5) + "px;";
|
|
176
|
-
},
|
|
177
|
-
getTitle() {
|
|
178
|
-
let r = "", e = this.$route.meta.title;
|
|
179
|
-
return e === "\u57FA\u672C\u8BBE\u7F6E" ? r = "basicSettings" : e === "\u5B89\u5168\u8BBE\u7F6E" ? r = "securitySetting" : e === "\u4E2A\u6027\u5316\u8BBE\u7F6E" ? r = "personalization" : e === "\u65B0\u6D88\u606F\u901A\u77E5" ? r = "notify" : e === "\u7ED1\u5B9A\u4F01\u4E1A\u5FAE\u4FE1" && (r = "bindenterpriseWechat"), r === "" ? e : this.$i18nt("gd.account." + r);
|
|
180
|
-
},
|
|
181
|
-
...W(["userInfo", "screenHeight", "primaryColor", "multiTab"])
|
|
182
|
-
},
|
|
183
|
-
mounted() {
|
|
184
|
-
this.updateMenu();
|
|
185
|
-
},
|
|
186
|
-
methods: {
|
|
187
|
-
onOpenChange(r, e) {
|
|
188
|
-
this.openKeys = openKeys;
|
|
189
|
-
},
|
|
190
|
-
updateMenu() {
|
|
191
|
-
const r = this.$route.matched.concat();
|
|
192
|
-
this.activeIndex = r.pop().path;
|
|
193
|
-
},
|
|
194
|
-
clickWx(r, e) {
|
|
195
|
-
const o = this.$route.matched.concat();
|
|
196
|
-
this.activeIndex = o.pop().path;
|
|
197
|
-
},
|
|
198
|
-
fadeColor(r, e) {
|
|
199
|
-
let o = parseInt(r.substring(1, 3), 16), a = parseInt(r.substring(3, 5), 16), d = parseInt(r.substring(5, 7), 16);
|
|
200
|
-
return `rgba(${o},${a},${d},${e})`;
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
watch: {
|
|
204
|
-
$route(r) {
|
|
205
|
-
this.updateMenu();
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
var J = function() {
|
|
210
|
-
var e = this, o = e._self._c;
|
|
211
|
-
return o("div", { staticClass: "page-header-index-wide", style: e.style }, [o("el-card", { style: e.getHeight, attrs: { bordered: !1, bodyStyle: { padding: "16px 0", height: e.getHeight + "px" } } }, [o("div", { staticClass: "account-settings-info-main" }, [o("div", { staticClass: "account-settings-info-left", style: { "--dilute": e.fadeColord } }, [o("el-menu", { staticClass: "el-menu-vertical-demo", attrs: { router: "", "default-active": e.$route.path, mode: "vertical" }, on: { select: e.clickWx } }, [o("el-menu-item", { attrs: { index: "/account/settings/base" } }, [e._v(e._s(e.$i18nt("gd.account.basicSettings")))]), o("el-menu-item", { attrs: { index: "/account/settings/security" } }, [e._v(e._s(e.$i18nt("gd.account.securitySetting")))]), o("el-menu-item", { attrs: { index: "/account/settings/custom" } }, [e._v(e._s(e.$i18nt("gd.account.personalization")))])], 1)], 1), o("div", { staticClass: "account-settings-info-right" }, [o("div", { staticClass: "account-settings-info-title" }, [o("span", [e._v(e._s(e.getTitle))])]), e.multiTab ? o("keep-alive", [o("router-view", { key: e.$route.fullPath })], 1) : o("router-view", { key: e.$route.fullPath })], 1)])])], 1);
|
|
212
|
-
}, K = [], Q = /* @__PURE__ */ M(
|
|
213
|
-
Z,
|
|
214
|
-
J,
|
|
215
|
-
K,
|
|
216
|
-
!1,
|
|
217
|
-
null,
|
|
218
|
-
"2a9f8bc3",
|
|
219
|
-
null,
|
|
220
|
-
null
|
|
221
|
-
);
|
|
222
|
-
const U = Q.exports;
|
|
223
|
-
U.install = function(r) {
|
|
224
|
-
r.component(U.name, U);
|
|
225
|
-
};
|
|
226
|
-
function tt(r) {
|
|
227
68
|
return window.axios({
|
|
228
69
|
url: "/sysUser/page",
|
|
229
70
|
method: "get",
|
|
230
71
|
params: r
|
|
231
72
|
});
|
|
232
73
|
}
|
|
233
|
-
function
|
|
74
|
+
function Je(r) {
|
|
234
75
|
return window.axios({
|
|
235
76
|
url: "/sysUser/add",
|
|
236
77
|
method: "post",
|
|
237
78
|
data: r
|
|
238
79
|
});
|
|
239
80
|
}
|
|
240
|
-
function
|
|
81
|
+
function Ke(r) {
|
|
241
82
|
return window.axios({
|
|
242
83
|
url: "/sysUser/edit",
|
|
243
84
|
method: "post",
|
|
244
85
|
data: r
|
|
245
86
|
});
|
|
246
87
|
}
|
|
247
|
-
function
|
|
88
|
+
function Qe(r) {
|
|
248
89
|
return window.axios({
|
|
249
90
|
url: "/sysUser/ownRole",
|
|
250
91
|
method: "get",
|
|
251
92
|
params: r
|
|
252
93
|
});
|
|
253
94
|
}
|
|
254
|
-
function
|
|
95
|
+
function et(r) {
|
|
255
96
|
return window.axios({
|
|
256
97
|
url: "/sysUser/changeRole",
|
|
257
98
|
method: "post",
|
|
258
99
|
data: r
|
|
259
100
|
});
|
|
260
101
|
}
|
|
261
|
-
function
|
|
102
|
+
function tt(r) {
|
|
262
103
|
return window.axios({
|
|
263
104
|
url: "/sysUser/changeStatus",
|
|
264
105
|
method: "post",
|
|
265
106
|
data: r
|
|
266
107
|
});
|
|
267
108
|
}
|
|
268
|
-
function
|
|
109
|
+
function nt(r) {
|
|
269
110
|
return window.axios({
|
|
270
111
|
url: "/sysUser/resetPwd",
|
|
271
112
|
method: "post",
|
|
272
113
|
data: r
|
|
273
114
|
});
|
|
274
115
|
}
|
|
275
|
-
function
|
|
116
|
+
function ot(r) {
|
|
276
117
|
return window.axios({
|
|
277
118
|
url: "/sysUser/selector",
|
|
278
119
|
method: "get",
|
|
279
120
|
params: r
|
|
280
121
|
});
|
|
281
122
|
}
|
|
282
|
-
function
|
|
123
|
+
function q(r) {
|
|
283
124
|
return window.axios({
|
|
284
125
|
url: "/sysUser/updateAvatar",
|
|
285
126
|
method: "post",
|
|
286
127
|
data: r
|
|
287
128
|
});
|
|
288
129
|
}
|
|
289
|
-
function
|
|
130
|
+
function Z(r) {
|
|
290
131
|
return window.axios({
|
|
291
132
|
url: "/sysUser/updateInfo",
|
|
292
133
|
method: "post",
|
|
293
134
|
data: r
|
|
294
135
|
});
|
|
295
136
|
}
|
|
296
|
-
function
|
|
137
|
+
function rt(r) {
|
|
297
138
|
return window.axios({
|
|
298
139
|
url: "/sysUser/export",
|
|
299
140
|
method: "get",
|
|
@@ -301,118 +142,277 @@ function lt(r) {
|
|
|
301
142
|
responseType: "blob"
|
|
302
143
|
});
|
|
303
144
|
}
|
|
304
|
-
function
|
|
145
|
+
function st(r) {
|
|
305
146
|
return window.axios({
|
|
306
147
|
url: "/sysUser/import",
|
|
307
148
|
method: "post",
|
|
308
149
|
data: r
|
|
309
150
|
});
|
|
310
151
|
}
|
|
311
|
-
function
|
|
152
|
+
function J(r) {
|
|
312
153
|
return window.axios({
|
|
313
154
|
url: "/sysUser/updateConfigTheme",
|
|
314
155
|
method: "post",
|
|
315
156
|
data: r
|
|
316
157
|
});
|
|
317
158
|
}
|
|
318
|
-
function
|
|
159
|
+
function K(r) {
|
|
319
160
|
return window.axios({
|
|
320
161
|
url: "/sysConfig/GetPasswordRules",
|
|
321
162
|
method: "get",
|
|
322
163
|
params: r
|
|
323
164
|
});
|
|
324
165
|
}
|
|
325
|
-
function
|
|
166
|
+
function Q(r) {
|
|
326
167
|
return window.axios({
|
|
327
168
|
url: "/sysUser/updatePwdByAccount",
|
|
328
169
|
method: "post",
|
|
329
170
|
data: r
|
|
330
171
|
});
|
|
331
172
|
}
|
|
332
|
-
function
|
|
173
|
+
function it(r) {
|
|
333
174
|
return window.axios({
|
|
334
175
|
url: "/sysUser/resetPwdByAccount",
|
|
335
176
|
method: "post",
|
|
336
177
|
data: r
|
|
337
178
|
});
|
|
338
179
|
}
|
|
339
|
-
function
|
|
180
|
+
function ee(r) {
|
|
340
181
|
return window.axios({
|
|
341
182
|
url: "/sysConfig/GetConfigInfoByCode",
|
|
342
183
|
method: "get",
|
|
343
184
|
params: r
|
|
344
185
|
});
|
|
345
186
|
}
|
|
346
|
-
function
|
|
187
|
+
function at(r) {
|
|
347
188
|
return window.axios({
|
|
348
189
|
url: "/sysUser/ApplyResetPassword",
|
|
349
190
|
method: "post",
|
|
350
191
|
data: r
|
|
351
192
|
});
|
|
352
193
|
}
|
|
353
|
-
function
|
|
194
|
+
function ct(r) {
|
|
354
195
|
return window.axios({
|
|
355
196
|
url: "/sysUserPRC/CheckPRCValidation",
|
|
356
197
|
method: "post",
|
|
357
198
|
data: r
|
|
358
199
|
});
|
|
359
200
|
}
|
|
360
|
-
function
|
|
201
|
+
function lt(r) {
|
|
361
202
|
return window.axios({
|
|
362
203
|
url: "/wechatwork/LoginByWeChatWork",
|
|
363
204
|
method: "get",
|
|
364
205
|
params: r
|
|
365
206
|
});
|
|
366
207
|
}
|
|
367
|
-
function
|
|
208
|
+
function ut(r) {
|
|
368
209
|
return window.axios({
|
|
369
210
|
url: "/wechatwork/BindWechatWorkAccount",
|
|
370
211
|
method: "get",
|
|
371
212
|
params: r
|
|
372
213
|
});
|
|
373
214
|
}
|
|
374
|
-
function
|
|
215
|
+
function te(r) {
|
|
375
216
|
return window.axios({
|
|
376
217
|
url: "/wechatwork/BindWechatWorkAccountByCode",
|
|
377
218
|
method: "get",
|
|
378
219
|
params: r
|
|
379
220
|
});
|
|
380
221
|
}
|
|
381
|
-
function
|
|
222
|
+
function ne(r) {
|
|
382
223
|
return window.axios({
|
|
383
224
|
url: "/sysConfig/GetConfigsByCode",
|
|
384
225
|
method: "get",
|
|
385
226
|
params: r
|
|
386
227
|
});
|
|
387
228
|
}
|
|
388
|
-
function
|
|
229
|
+
function dt(r) {
|
|
389
230
|
return window.axios({
|
|
390
231
|
url: "/sysUser/ChangeUserBUJob",
|
|
391
232
|
method: "post",
|
|
392
233
|
data: r
|
|
393
234
|
});
|
|
394
235
|
}
|
|
395
|
-
function
|
|
236
|
+
function ht(r) {
|
|
396
237
|
return window.axios({
|
|
397
238
|
url: "/getUserListByRoleId",
|
|
398
239
|
method: "get",
|
|
399
240
|
params: r
|
|
400
241
|
});
|
|
401
242
|
}
|
|
402
|
-
function
|
|
243
|
+
function pt(r) {
|
|
403
244
|
return window.axios({
|
|
404
245
|
url: "/bindUsersToRole",
|
|
405
246
|
method: "post",
|
|
406
247
|
data: r
|
|
407
248
|
});
|
|
408
249
|
}
|
|
409
|
-
function
|
|
250
|
+
function gt(r) {
|
|
410
251
|
return window.axios({
|
|
411
252
|
url: "/unbindUsersFromRole",
|
|
412
253
|
method: "post",
|
|
413
254
|
data: r
|
|
414
255
|
});
|
|
415
256
|
}
|
|
257
|
+
function oe(r) {
|
|
258
|
+
return window.axios({
|
|
259
|
+
url: "/sysApp/list",
|
|
260
|
+
method: "get",
|
|
261
|
+
params: r
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
function ft(r) {
|
|
265
|
+
return window.axios({
|
|
266
|
+
url: "/sysApp/listByAppsId",
|
|
267
|
+
method: "get",
|
|
268
|
+
params: r
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
function mt(r) {
|
|
272
|
+
return window.axios({
|
|
273
|
+
url: "/sysApp/add",
|
|
274
|
+
method: "post",
|
|
275
|
+
data: r
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
function vt(r) {
|
|
279
|
+
return window.axios({
|
|
280
|
+
url: "/sysApp/edit",
|
|
281
|
+
method: "post",
|
|
282
|
+
data: r
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
function wt(r) {
|
|
286
|
+
return window.axios({
|
|
287
|
+
url: "/sysApp/delete",
|
|
288
|
+
method: "post",
|
|
289
|
+
data: r
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
function yt(r) {
|
|
293
|
+
return window.axios({
|
|
294
|
+
url: "/sysApp/changeStatus",
|
|
295
|
+
method: "post",
|
|
296
|
+
data: r
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
const Y = [{
|
|
300
|
+
key: "gd.theme.twilight",
|
|
301
|
+
color: "#F5222D"
|
|
302
|
+
}, {
|
|
303
|
+
key: "gd.theme.volcano",
|
|
304
|
+
color: "#FA541C"
|
|
305
|
+
}, {
|
|
306
|
+
key: "gd.theme.nightfall",
|
|
307
|
+
color: "#FAAD14"
|
|
308
|
+
}, {
|
|
309
|
+
key: "gd.theme.mingQing",
|
|
310
|
+
color: "#13C2C2"
|
|
311
|
+
}, {
|
|
312
|
+
key: "gd.theme.auroragreen",
|
|
313
|
+
color: "#52C41A"
|
|
314
|
+
}, {
|
|
315
|
+
key: "gd.theme.dawnBlue",
|
|
316
|
+
color: "#1890FF"
|
|
317
|
+
}, {
|
|
318
|
+
key: "gd.theme.soypurple",
|
|
319
|
+
color: "#722ED1"
|
|
320
|
+
}];
|
|
321
|
+
const re = {
|
|
322
|
+
props: {
|
|
323
|
+
keepAlive: {
|
|
324
|
+
type: Boolean,
|
|
325
|
+
default: !0
|
|
326
|
+
},
|
|
327
|
+
height: {
|
|
328
|
+
type: Number,
|
|
329
|
+
default: 0
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
name: "GdAccountSettings",
|
|
333
|
+
data() {
|
|
334
|
+
return {
|
|
335
|
+
mode: "inline",
|
|
336
|
+
openKeys: [],
|
|
337
|
+
selectedKeys: [],
|
|
338
|
+
activeIndex: "/account/settings/base",
|
|
339
|
+
preview: {},
|
|
340
|
+
option: {
|
|
341
|
+
img: "/avatar2.jpg",
|
|
342
|
+
info: !0,
|
|
343
|
+
size: 1,
|
|
344
|
+
outputType: "jpeg",
|
|
345
|
+
canScale: !1,
|
|
346
|
+
autoCrop: !0,
|
|
347
|
+
autoCropWidth: 180,
|
|
348
|
+
autoCropHeight: 180,
|
|
349
|
+
fixedBox: !0,
|
|
350
|
+
fixed: !0,
|
|
351
|
+
fixedNumber: [1, 1]
|
|
352
|
+
},
|
|
353
|
+
pageTitle: ""
|
|
354
|
+
};
|
|
355
|
+
},
|
|
356
|
+
components: {},
|
|
357
|
+
computed: {
|
|
358
|
+
fadeColord() {
|
|
359
|
+
return this.fadeColor(this.primaryColor, 0.1);
|
|
360
|
+
},
|
|
361
|
+
style() {
|
|
362
|
+
return this.crumbsState ? "margin:0 4px 4px;height: 100%;" : "margin: 4px;height: 100%;";
|
|
363
|
+
},
|
|
364
|
+
getHeight() {
|
|
365
|
+
return "overflow:auto;height:" + (this.screenHeight - 24 - 20 - 10 - 5) + "px;";
|
|
366
|
+
},
|
|
367
|
+
getTitle() {
|
|
368
|
+
let r = "", e = this.$route.meta.title;
|
|
369
|
+
return e === "\u57FA\u672C\u8BBE\u7F6E" ? r = "basicSettings" : e === "\u5B89\u5168\u8BBE\u7F6E" ? r = "securitySetting" : e === "\u4E2A\u6027\u5316\u8BBE\u7F6E" ? r = "personalization" : e === "\u65B0\u6D88\u606F\u901A\u77E5" ? r = "notify" : e === "\u7ED1\u5B9A\u4F01\u4E1A\u5FAE\u4FE1" && (r = "bindenterpriseWechat"), r === "" ? e : this.$i18nt("gd.account." + r);
|
|
370
|
+
},
|
|
371
|
+
...W(["userInfo", "screenHeight", "primaryColor", "multiTab"])
|
|
372
|
+
},
|
|
373
|
+
mounted() {
|
|
374
|
+
this.updateMenu();
|
|
375
|
+
},
|
|
376
|
+
methods: {
|
|
377
|
+
onOpenChange(r, e) {
|
|
378
|
+
this.openKeys = openKeys;
|
|
379
|
+
},
|
|
380
|
+
updateMenu() {
|
|
381
|
+
const r = this.$route.matched.concat();
|
|
382
|
+
this.activeIndex = r.pop().path;
|
|
383
|
+
},
|
|
384
|
+
clickWx(r, e) {
|
|
385
|
+
const o = this.$route.matched.concat();
|
|
386
|
+
this.activeIndex = o.pop().path;
|
|
387
|
+
},
|
|
388
|
+
fadeColor(r, e) {
|
|
389
|
+
let o = parseInt(r.substring(1, 3), 16), a = parseInt(r.substring(3, 5), 16), d = parseInt(r.substring(5, 7), 16);
|
|
390
|
+
return `rgba(${o},${a},${d},${e})`;
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
watch: {
|
|
394
|
+
$route(r) {
|
|
395
|
+
this.updateMenu();
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
};
|
|
399
|
+
var se = function() {
|
|
400
|
+
var e = this, o = e._self._c;
|
|
401
|
+
return o("div", { staticClass: "page-header-index-wide", style: e.style }, [o("el-card", { style: e.getHeight, attrs: { bordered: !1, bodyStyle: { padding: "16px 0", height: e.getHeight + "px" } } }, [o("div", { staticClass: "account-settings-info-main" }, [o("div", { staticClass: "account-settings-info-left", style: { "--dilute": e.fadeColord } }, [o("el-menu", { staticClass: "el-menu-vertical-demo", attrs: { router: "", "default-active": e.$route.path, mode: "vertical" }, on: { select: e.clickWx } }, [o("el-menu-item", { attrs: { index: "/account/settings/base" } }, [e._v(e._s(e.$i18nt("gd.account.basicSettings")))]), o("el-menu-item", { attrs: { index: "/account/settings/security" } }, [e._v(e._s(e.$i18nt("gd.account.securitySetting")))]), o("el-menu-item", { attrs: { index: "/account/settings/custom" } }, [e._v(e._s(e.$i18nt("gd.account.personalization")))])], 1)], 1), o("div", { staticClass: "account-settings-info-right" }, [o("div", { staticClass: "account-settings-info-title" }, [o("span", [e._v(e._s(e.getTitle))])]), e.multiTab ? o("keep-alive", [o("router-view", { key: e.$route.fullPath })], 1) : o("router-view", { key: e.$route.fullPath })], 1)])])], 1);
|
|
402
|
+
}, ie = [], ae = /* @__PURE__ */ M(
|
|
403
|
+
re,
|
|
404
|
+
se,
|
|
405
|
+
ie,
|
|
406
|
+
!1,
|
|
407
|
+
null,
|
|
408
|
+
"0ab9cb32",
|
|
409
|
+
null,
|
|
410
|
+
null
|
|
411
|
+
);
|
|
412
|
+
const U = ae.exports;
|
|
413
|
+
U.install = function(r) {
|
|
414
|
+
r.component(U.name, U);
|
|
415
|
+
};
|
|
416
416
|
var xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
417
417
|
function Ct(r) {
|
|
418
418
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -1588,7 +1588,7 @@ const ce = {
|
|
|
1588
1588
|
id: this.id,
|
|
1589
1589
|
avatar: r
|
|
1590
1590
|
};
|
|
1591
|
-
|
|
1591
|
+
q(e).then((o) => {
|
|
1592
1592
|
this.uploading = !1, o.success ? (this.visible = !1, this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.$emit("ok", r);
|
|
1593
1593
|
}).catch((o) => {
|
|
1594
1594
|
this.$emit("ok", r);
|
|
@@ -1620,7 +1620,7 @@ var le = function() {
|
|
|
1620
1620
|
ue,
|
|
1621
1621
|
!1,
|
|
1622
1622
|
null,
|
|
1623
|
-
"
|
|
1623
|
+
"1fe51f00",
|
|
1624
1624
|
null,
|
|
1625
1625
|
null
|
|
1626
1626
|
);
|
|
@@ -1749,7 +1749,7 @@ const me = {
|
|
|
1749
1749
|
},
|
|
1750
1750
|
submitUserInfo() {
|
|
1751
1751
|
this.spinning || this.$refs.ruleForm.validate((r) => {
|
|
1752
|
-
r && (this.spinning = !0, this.ruleForm.birthday = this.birthdayString, this.ruleForm.id = this.userInfo.id,
|
|
1752
|
+
r && (this.spinning = !0, this.ruleForm.birthday = this.birthdayString, this.ruleForm.id = this.userInfo.id, Z(this.ruleForm).then((e) => {
|
|
1753
1753
|
if (e.success) {
|
|
1754
1754
|
let o = this.langData.filter((a) => a.id == this.ruleForm.languageId)[0];
|
|
1755
1755
|
this.$store.dispatch("Language", o.code), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), setTimeout(() => {
|
|
@@ -1826,7 +1826,7 @@ var ve = function() {
|
|
|
1826
1826
|
we,
|
|
1827
1827
|
!1,
|
|
1828
1828
|
null,
|
|
1829
|
-
"
|
|
1829
|
+
"685efc26",
|
|
1830
1830
|
null,
|
|
1831
1831
|
null
|
|
1832
1832
|
);
|
|
@@ -1962,7 +1962,7 @@ const be = {
|
|
|
1962
1962
|
o();
|
|
1963
1963
|
return;
|
|
1964
1964
|
}
|
|
1965
|
-
let d = [], h =
|
|
1965
|
+
let d = [], h = J({
|
|
1966
1966
|
configTheme: a.join(",")
|
|
1967
1967
|
}).then((y) => y);
|
|
1968
1968
|
d.push(h), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(d).then((y) => {
|
|
@@ -1998,7 +1998,7 @@ const be = {
|
|
|
1998
1998
|
});
|
|
1999
1999
|
},
|
|
2000
2000
|
geData() {
|
|
2001
|
-
return
|
|
2001
|
+
return oe({}).then((r) => {
|
|
2002
2002
|
if (r.success) {
|
|
2003
2003
|
let e = r.data.map((o) => {
|
|
2004
2004
|
let a = this.userInfo.apps.filter((d) => d.code == o.code)[0];
|
|
@@ -2051,7 +2051,7 @@ const be = {
|
|
|
2051
2051
|
let t = document.getElementById(k);
|
|
2052
2052
|
t || (t = document.createElement("style"), t.setAttribute("id", k), document.head.appendChild(t)), t.innerText = n;
|
|
2053
2053
|
};
|
|
2054
|
-
this.chalk || await import("./element-theme-chalk.
|
|
2054
|
+
this.chalk || await import("./element-theme-chalk.fbb1a631.mjs").then((A) => {
|
|
2055
2055
|
this.chalk = A.default;
|
|
2056
2056
|
}), y("chalk", "chalk-style")(), [].slice.call(document.querySelectorAll("style")).filter((A) => {
|
|
2057
2057
|
const k = A.innerText;
|
|
@@ -2114,7 +2114,7 @@ var _e = function() {
|
|
|
2114
2114
|
$e,
|
|
2115
2115
|
!1,
|
|
2116
2116
|
null,
|
|
2117
|
-
"
|
|
2117
|
+
"b784faab",
|
|
2118
2118
|
null,
|
|
2119
2119
|
null
|
|
2120
2120
|
);
|
|
@@ -2191,7 +2191,7 @@ const Se = {
|
|
|
2191
2191
|
}), this.visible = !0;
|
|
2192
2192
|
},
|
|
2193
2193
|
getConfigInfo(r) {
|
|
2194
|
-
|
|
2194
|
+
K().then((e) => {
|
|
2195
2195
|
this.min = parseInt(e.data.lengthrule.value), this.lenMin = parseInt(e.data.lengthrule.value), this.messageTip = e.data.lengthrule.remark, this.maskValue = e.data.combinationrule.value, this.lenMax = 16, this.maskValue.includes("AL") && this.maskValue.includes("NU") && this.maskValue.includes("SC") ? this.pattern = new RegExp(
|
|
2196
2196
|
`^(?=.*\\d)(?=.*?[a-z])(?=.*?[A-Z])(?=.*[~!@#$%^&*])[\\da-zA-Z~!@#$%^&*]{${this.lenMin},${this.lenMax}}$`
|
|
2197
2197
|
) : this.maskValue.includes("AL") && this.maskValue.includes("NU") ? this.pattern = new RegExp("(?=.*\\d)(?=.*?[a-z])(?=.*?[A-Z])") : this.maskValue.includes("AL") && this.maskValue.includes("SC") ? this.pattern = new RegExp("(?=.*[~!@#$%^&*])(?=.*?[a-z])(?=.*?[A-Z]))") : this.maskValue.includes("NU") && this.maskValue.includes("SC") ? this.pattern = new RegExp("(?=.*\\d)(?=.*[~!@#$%^&*])") : this.maskValue.includes("AL") ? this.pattern = new RegExp("^(?=.*?[a-z])(?=.*?[A-Z])") : this.maskValue.includes("NU") ? this.pattern = new RegExp("\\d") : this.maskValue.includes("SC") && (this.pattern = new RegExp("[^a-zA-Z0-9]")), this.messageTipErr = e.data.combinationrule.remark;
|
|
@@ -2210,7 +2210,7 @@ const Se = {
|
|
|
2210
2210
|
account: this.ruleForm.account,
|
|
2211
2211
|
password: this.ruleForm.password,
|
|
2212
2212
|
corpCode: this.code
|
|
2213
|
-
}, (this.num == 1 ?
|
|
2213
|
+
}, (this.num == 1 ? Q : te)(e).then((a) => {
|
|
2214
2214
|
a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
2215
2215
|
}).finally((a) => {
|
|
2216
2216
|
this.confirmLoading = !1;
|
|
@@ -2271,7 +2271,7 @@ var ke = function() {
|
|
|
2271
2271
|
Ae,
|
|
2272
2272
|
!1,
|
|
2273
2273
|
null,
|
|
2274
|
-
"
|
|
2274
|
+
"1d4e1c11",
|
|
2275
2275
|
null,
|
|
2276
2276
|
null
|
|
2277
2277
|
);
|
|
@@ -2372,7 +2372,7 @@ var Ee = function() {
|
|
|
2372
2372
|
Oe,
|
|
2373
2373
|
!1,
|
|
2374
2374
|
null,
|
|
2375
|
-
"
|
|
2375
|
+
"55ede8aa",
|
|
2376
2376
|
null,
|
|
2377
2377
|
null
|
|
2378
2378
|
);
|
|
@@ -2421,14 +2421,14 @@ const He = {
|
|
|
2421
2421
|
this.$refs.weChatBind.open(this.obj, 1);
|
|
2422
2422
|
},
|
|
2423
2423
|
getConfigInfo() {
|
|
2424
|
-
|
|
2424
|
+
ee({
|
|
2425
2425
|
code: "GDS_ENTERPRISE_WECHAT_LOGIN"
|
|
2426
2426
|
}).then((e) => {
|
|
2427
2427
|
this.enterpriseNum = e.data.value;
|
|
2428
2428
|
});
|
|
2429
2429
|
},
|
|
2430
2430
|
getConfigsBy() {
|
|
2431
|
-
|
|
2431
|
+
ne({
|
|
2432
2432
|
strCodes: "GDS_ENTERPRISE_WECHAT_CropID,GDS_ENTERPRISE_WECHAT_AgentId,GDS_ENTERPRISE_WECHAT_Redirect_URL"
|
|
2433
2433
|
}).then((e) => {
|
|
2434
2434
|
e.success && (this.obj = e);
|
|
@@ -2490,7 +2490,7 @@ var Ue = function() {
|
|
|
2490
2490
|
Pe,
|
|
2491
2491
|
!1,
|
|
2492
2492
|
null,
|
|
2493
|
-
"
|
|
2493
|
+
"bab5209a",
|
|
2494
2494
|
null,
|
|
2495
2495
|
null
|
|
2496
2496
|
);
|
|
@@ -2509,42 +2509,42 @@ export {
|
|
|
2509
2509
|
_t as H,
|
|
2510
2510
|
It as I,
|
|
2511
2511
|
St as J,
|
|
2512
|
-
|
|
2512
|
+
wt as K,
|
|
2513
2513
|
$t as L,
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2514
|
+
vt as M,
|
|
2515
|
+
mt as N,
|
|
2516
|
+
yt as O,
|
|
2517
|
+
ct as P,
|
|
2518
|
+
Q,
|
|
2519
|
+
it as R,
|
|
2520
2520
|
kt as S,
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2521
|
+
lt as T,
|
|
2522
|
+
ut as U,
|
|
2523
|
+
ne as V,
|
|
2524
2524
|
qe as W,
|
|
2525
2525
|
Ge as X,
|
|
2526
|
-
|
|
2526
|
+
Qe as a,
|
|
2527
2527
|
At as b,
|
|
2528
2528
|
xt as c,
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2529
|
+
gt as d,
|
|
2530
|
+
ee as e,
|
|
2531
|
+
et as f,
|
|
2532
|
+
ht as g,
|
|
2533
|
+
dt as h,
|
|
2534
2534
|
Ct as i,
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2535
|
+
at as j,
|
|
2536
|
+
Ze as k,
|
|
2537
|
+
st as l,
|
|
2538
|
+
rt as m,
|
|
2539
|
+
tt as n,
|
|
2540
|
+
K as o,
|
|
2541
|
+
pt as p,
|
|
2542
|
+
Ke as q,
|
|
2543
|
+
Je as r,
|
|
2544
|
+
ot as s,
|
|
2545
|
+
nt as t,
|
|
2546
2546
|
Ye as u,
|
|
2547
|
-
|
|
2547
|
+
ft as v,
|
|
2548
2548
|
Ve as w,
|
|
2549
2549
|
Ne as x,
|
|
2550
2550
|
je as y,
|