gds-plus-design-vue 1.1.64 → 1.1.72

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.
Files changed (71) hide show
  1. package/lib/chartbi.48631362.mjs +44076 -0
  2. package/lib/chartbi.afd83839.js +80 -0
  3. package/lib/element-theme-chalk.ae828c17.js +2 -0
  4. package/lib/gd-initial.js +34 -0
  5. package/lib/gd-initial.mjs +80400 -101
  6. package/lib/main.03b24a05.js +1 -0
  7. package/lib/{main.665d9127.mjs → main.3cd24320.mjs} +27 -18
  8. package/lib/main.4cafc3eb.mjs +68 -0
  9. package/lib/main.eea30a23.js +1 -0
  10. package/lib/main.efd6b228.mjs +87 -0
  11. package/lib/main.f1e3ba71.js +1 -0
  12. package/lib/messages.083c4ede.js +9 -0
  13. package/lib/messages.7e85146d.mjs +5802 -0
  14. package/lib/style.css +2 -2
  15. package/lib/system.account.78b852cd.js +216 -0
  16. package/lib/system.account.ae0822f1.mjs +2552 -0
  17. package/lib/system.config.327aded6.js +1 -0
  18. package/lib/system.config.9c46f279.mjs +373 -0
  19. package/lib/system.datasource.4b0951ba.mjs +511 -0
  20. package/lib/system.datasource.8a0c7e0f.js +1 -0
  21. package/lib/system.dict.65f25e4e.mjs +996 -0
  22. package/lib/system.dict.72594c98.js +1 -0
  23. package/lib/system.duplicatechecking.2e9b8df8.js +1 -0
  24. package/lib/system.duplicatechecking.b05f1617.mjs +2130 -0
  25. package/lib/system.email.0899621c.js +41 -0
  26. package/lib/system.email.a4d6d622.mjs +7432 -0
  27. package/lib/system.fieldsecurity.7de4ee1d.mjs +1745 -0
  28. package/lib/system.fieldsecurity.d57edb47.js +1 -0
  29. package/lib/system.file.b3558a8b.js +1 -0
  30. package/lib/system.file.f152d4fe.mjs +489 -0
  31. package/lib/system.log.30e5157c.mjs +1450 -0
  32. package/lib/system.log.f243e7d0.js +1 -0
  33. package/lib/system.machine.325b256e.mjs +94 -0
  34. package/lib/system.machine.332fb31c.js +1 -0
  35. package/lib/system.notice.234d5e47.mjs +636 -0
  36. package/lib/system.notice.540e97ca.js +1 -0
  37. package/lib/system.noticereceived.1fb75290.js +1 -0
  38. package/lib/system.noticereceived.c22372df.mjs +158 -0
  39. package/lib/system.onlineuser.90c08aef.mjs +184 -0
  40. package/lib/system.onlineuser.e0c261ed.js +1 -0
  41. package/lib/system.org.65452f67.js +1 -0
  42. package/lib/system.org.b8d59e5d.mjs +421 -0
  43. package/lib/system.permissions.8b0d3c8c.js +9 -0
  44. package/lib/system.permissions.cba8bd58.mjs +212 -0
  45. package/lib/system.plugin.07b3c38e.js +1 -0
  46. package/lib/system.plugin.4911a33d.mjs +946 -0
  47. package/lib/system.pos.6ed35c39.js +1 -0
  48. package/lib/system.pos.c274f13c.mjs +312 -0
  49. package/lib/system.promptmanagement.67475aac.js +1 -0
  50. package/lib/system.promptmanagement.e9976712.mjs +805 -0
  51. package/lib/system.role.53778e38.mjs +1509 -0
  52. package/lib/system.role.c3d74603.js +1 -0
  53. package/lib/system.timers.69f1792a.mjs +3160 -0
  54. package/lib/system.timers.ef6b6796.js +38 -0
  55. package/lib/system.translation.48ff0b03.mjs +665 -0
  56. package/lib/system.translation.8f7e4144.js +1 -0
  57. package/lib/system.user.01a55993.mjs +1425 -0
  58. package/lib/system.user.ea18a84c.js +14 -0
  59. package/lib/system.useraffiliation.1e74fa9e.mjs +1025 -0
  60. package/lib/system.useraffiliation.f3c88a51.js +1 -0
  61. package/lib/system.webresource.5049d97b.js +1 -0
  62. package/lib/system.webresource.e9518d87.mjs +723 -0
  63. package/lib/system.welcome.3f1cce96.mjs +45 -0
  64. package/lib/system.welcome.b109df88.js +1 -0
  65. package/locale/en_US.js +67 -9
  66. package/locale/id_ID.js +66 -8
  67. package/locale/vi_VN.js +66 -8
  68. package/locale/zh_CN.js +65 -8
  69. package/package.json +105 -105
  70. package/lib/gd-initial.umd.js +0 -435
  71. package/lib/index.32120001.mjs +0 -157708
@@ -0,0 +1,1425 @@
1
+ import { g as C } from "./system.org.b8d59e5d.mjs";
2
+ import { e as O, a as N, f as P, c as B, h as M, i as E, j as D, k as U, l as I, m as A, n as q, o as H, q as j, r as z, t as S } from "./system.account.ae0822f1.mjs";
3
+ import { m as L, n as T } from "./chartbi.48631362.mjs";
4
+ import { t as G } from "./messages.7e85146d.mjs";
5
+ import { G as Q } from "./system.role.53778e38.mjs";
6
+ const V = {
7
+ data() {
8
+ return {
9
+ buttons: [
10
+ {
11
+ displayName: "\u786E\u5B9A",
12
+ functionName: "handleSubmit",
13
+ show: !0,
14
+ transKey: "gd.btn.confirm",
15
+ icon: "el-icon-document-checked"
16
+ }
17
+ ],
18
+ record: {},
19
+ visible: !1,
20
+ confirmLoading: !1,
21
+ fullscreen: !1,
22
+ width: "90%",
23
+ selectedRowKeys: []
24
+ };
25
+ },
26
+ components: { RoleForm: Q },
27
+ computed: {
28
+ height() {
29
+ return this.screenHeight - (this.fullscreen ? 160 : 340);
30
+ },
31
+ ...L(["screenHeight"])
32
+ },
33
+ methods: {
34
+ handleSubmit() {
35
+ this.confirmLoading = !0, O({ id: this.record.id, grantRoleIdList: this.selectedRowKeys }).then((n) => {
36
+ n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
37
+ });
38
+ },
39
+ open(n) {
40
+ this.confirmLoading = !0, this.record = n, this.visible = !0, N({ id: n.id }).then((e) => {
41
+ e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
42
+ setTimeout(() => {
43
+ this.$refs.roleForm.refresh();
44
+ }, 0);
45
+ }), this.confirmLoading = !1;
46
+ });
47
+ },
48
+ closed() {
49
+ this.fullscreen = !1, this.visible = !1;
50
+ },
51
+ toggleFullscreen() {
52
+ this.fullscreen = !this.fullscreen;
53
+ },
54
+ onSelectChange(n) {
55
+ this.selectedRowKeys = n;
56
+ },
57
+ doEvent(n) {
58
+ const e = n.item.functionName;
59
+ this[e] && this[e]();
60
+ }
61
+ }
62
+ };
63
+ var Y = function() {
64
+ var e = this, t = e._self._c;
65
+ return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
66
+ e.visible = r;
67
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.authorizationRole", "\u6388\u6743\u89D2\u8272"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("RoleForm", { ref: "roleForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
68
+ }, J = [], W = /* @__PURE__ */ T(
69
+ V,
70
+ Y,
71
+ J,
72
+ !1,
73
+ null,
74
+ "3cffd6a5",
75
+ null,
76
+ null
77
+ );
78
+ const X = W.exports;
79
+ const Z = {
80
+ data() {
81
+ return {
82
+ buttons: [
83
+ {
84
+ displayName: "\u786E\u5B9A",
85
+ functionName: "handleSubmit",
86
+ show: !0,
87
+ transKey: "gd.btn.confirm",
88
+ icon: "el-icon-document-checked"
89
+ }
90
+ ],
91
+ record: {},
92
+ showForm: !1,
93
+ visible: !1,
94
+ confirmLoading: !1,
95
+ fullscreen: !1,
96
+ width: "600px",
97
+ orgTree: [],
98
+ ruleFormData: {
99
+ orgIded: "",
100
+ orgId: ""
101
+ },
102
+ rules: {
103
+ orgId: [
104
+ {
105
+ required: !0,
106
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
107
+ trigger: "change"
108
+ }
109
+ ]
110
+ }
111
+ };
112
+ },
113
+ methods: {
114
+ save() {
115
+ let n = this;
116
+ this.$confirm(
117
+ this.$i18nt("gd.https.orgOldNameTip", "\u7528\u6237\u6240\u5C5E\u5386\u53F2\u6570\u636E\u673A\u6784\u4F1A\u66F4\u65B0,\u662F\u5426\u786E\u8BA4\u4FEE\u6539\u7528\u6237\u6240\u5C5E\u673A\u6784?"),
118
+ this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
119
+ {
120
+ confirmButtonText: this.$i18nt("gd.https.saveOk", "\u786E\u8BA4\u4FDD\u5B58"),
121
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
122
+ showClose: !1,
123
+ confirmButtonLoading: !1,
124
+ cancelButtonLoading: !1,
125
+ closeOnClickModal: !1,
126
+ type: "warning",
127
+ confirmButtonClass: "el-button--danger",
128
+ customClass: "custom-alert",
129
+ callback: () => {
130
+ },
131
+ beforeClose: (e, t, r) => {
132
+ if (e !== "confirm") {
133
+ r();
134
+ return;
135
+ }
136
+ r(), P({ userId: n.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((i) => {
137
+ i.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message), this.confirmLoading = !1;
138
+ });
139
+ }
140
+ }
141
+ );
142
+ },
143
+ handleSubmit() {
144
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((n) => {
145
+ n ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
146
+ });
147
+ },
148
+ open(n) {
149
+ this.confirmLoading = !0, this.record = n, this.visible = !0, this.showForm = !1, C().then((e) => {
150
+ const t = (r) => (r = r.filter((i, s) => (i.id === n.orgid && (i.disabled = !0), i.children && (i.children = t(i.children)), !0)), r);
151
+ this.orgTree = t(e.data), this.ruleFormData = {
152
+ orgIded: n.orgid,
153
+ orgId: ""
154
+ }, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
155
+ setTimeout(() => {
156
+ this.$refs.ruleForm.clearValidate();
157
+ }, 0);
158
+ });
159
+ });
160
+ },
161
+ closed() {
162
+ this.fullscreen = !1, this.visible = !1, this.$emit("closed");
163
+ },
164
+ toggleFullscreen() {
165
+ this.fullscreen = !this.fullscreen;
166
+ },
167
+ doEvent(n) {
168
+ const e = n.item.functionName;
169
+ this[e] && this[e]();
170
+ }
171
+ }
172
+ };
173
+ var ee = function() {
174
+ var e = this, t = e._self._c;
175
+ return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(r) {
176
+ e.visible = r;
177
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.btn.updateInstitutions", "\u66F4\u65B0\u673A\u6784"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "130px" } }, [e.showForm ? t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(r) {
178
+ r.preventDefault();
179
+ } } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.user.orgOldName", "\u539F\u673A\u6784\u540D\u79F0"), prop: "orgIded" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, "default-value": e.ruleFormData.orgIded, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleFormData.orgIded, callback: function(r) {
180
+ e.$set(e.ruleFormData, "orgIded", r);
181
+ }, expression: "ruleFormData.orgIded" } })], 1), t("el-form-item", { attrs: { label: e.$i18nt("gd.user.organization", "\u6240\u5C5E\u673A\u6784"), prop: "orgId" } }, [t("gd-select-tree", { attrs: { filterable: !0, "tree-options": e.orgTree, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.orgId, callback: function(r) {
182
+ e.$set(e.ruleFormData, "orgId", r);
183
+ }, expression: "ruleFormData.orgId" } })], 1)], 1) : e._e()], 1)], 2);
184
+ }, te = [], se = /* @__PURE__ */ T(
185
+ Z,
186
+ ee,
187
+ te,
188
+ !1,
189
+ null,
190
+ "576f6840",
191
+ null,
192
+ null
193
+ );
194
+ const ie = se.exports, ne = {
195
+ data() {
196
+ return {
197
+ tableColumns: [
198
+ {
199
+ type: "selection",
200
+ width: "60",
201
+ fixed: !0
202
+ },
203
+ {
204
+ transKey: "gd.user.account",
205
+ prop: "account",
206
+ label: "\u8D26\u53F7",
207
+ width: "220",
208
+ type: "slot",
209
+ slotType: "account",
210
+ align: "left",
211
+ fixed: !0,
212
+ showOverflowTooltip: !0
213
+ },
214
+ {
215
+ transKey: "gd.user.name",
216
+ prop: "name",
217
+ label: "\u59D3\u540D",
218
+ width: "160",
219
+ align: "left",
220
+ showOverflowTooltip: !0
221
+ },
222
+ {
223
+ transKey: "gd.user.sex",
224
+ prop: "gender",
225
+ width: "120",
226
+ label: "\u6027\u522B",
227
+ type: "slot",
228
+ slotType: "gender",
229
+ align: "left",
230
+ showOverflowTooltip: !0
231
+ },
232
+ {
233
+ transKey: "gd.org.displayName",
234
+ prop: "orgname",
235
+ label: "\u673A\u6784\u540D\u79F0",
236
+ width: "180",
237
+ align: "left",
238
+ showOverflowTooltip: !0
239
+ },
240
+ {
241
+ transKey: "gd.user.phone",
242
+ prop: "phone",
243
+ width: "160",
244
+ label: "\u624B\u673A",
245
+ align: "left"
246
+ },
247
+ {
248
+ transKey: "gd.user.status",
249
+ prop: "statecodes",
250
+ label: "\u72B6\u6001",
251
+ width: "120",
252
+ type: "slot",
253
+ slotType: "statecodes",
254
+ align: "center",
255
+ dictTypeCode: "state_code",
256
+ renderHeader: (n, ...e) => this.renderHeader(n, ...e, {
257
+ effectType: "checkbox",
258
+ dictTypeCode: "state_code"
259
+ })
260
+ }
261
+ ],
262
+ formColumns: [{
263
+ transKey: "gd.user.account",
264
+ effectType: "input",
265
+ prop: "account",
266
+ label: "\u8D26\u53F7",
267
+ placeholder: "\u8BF7\u8F93\u5165",
268
+ placeholderTransKey: "gd.placeholder.input",
269
+ rules: [{
270
+ required: !0,
271
+ message: "\u8BF7\u8F93\u5165",
272
+ transKey: "gd.placeholder.input",
273
+ trigger: "change",
274
+ min: 2
275
+ }]
276
+ }, {
277
+ transKey: "gd.user.name",
278
+ prop: "name",
279
+ effectType: "input",
280
+ label: "\u59D3\u540D",
281
+ placeholder: "\u8BF7\u8F93\u5165",
282
+ placeholderTransKey: "gd.placeholder.input",
283
+ rules: [{
284
+ required: !0,
285
+ message: "\u8BF7\u8F93\u5165",
286
+ transKey: "gd.placeholder.input",
287
+ trigger: "change"
288
+ }]
289
+ }, {
290
+ transKey: "gd.user.sex",
291
+ prop: "gender",
292
+ effectType: "radio",
293
+ label: "\u6027\u522B",
294
+ placeholder: "\u8BF7\u8F93\u5165",
295
+ placeholderTransKey: "gd.placeholder.input",
296
+ dictTypeCode: "gender",
297
+ rules: [{
298
+ required: !0,
299
+ message: "\u8BF7\u8F93\u5165",
300
+ transKey: "gd.placeholder.input",
301
+ trigger: "change"
302
+ }]
303
+ }, {
304
+ transKey: "gd.user.birthday",
305
+ prop: "birthday",
306
+ effectType: "date",
307
+ label: "\u751F\u65E5",
308
+ placeholder: "\u8BF7\u8F93\u5165",
309
+ valueFormat: "yyyy-MM-dd",
310
+ placeholderTransKey: "gd.placeholder.select",
311
+ rules: []
312
+ }, {
313
+ transKey: "gd.user.phone",
314
+ effectType: "input",
315
+ prop: "phone",
316
+ label: "\u624B\u673A\u53F7",
317
+ placeholder: "\u8BF7\u8F93\u5165",
318
+ placeholderTransKey: "gd.placeholder.input",
319
+ rules: [{
320
+ required: !0,
321
+ message: "\u8BF7\u8F93\u5165",
322
+ transKey: "gd.placeholder.input",
323
+ trigger: "change"
324
+ }]
325
+ }, {
326
+ transKey: "gd.user.email",
327
+ effectType: "input",
328
+ prop: "email",
329
+ label: "\u90AE\u7BB1",
330
+ placeholder: "\u8BF7\u8F93\u5165",
331
+ placeholderTransKey: "gd.placeholder.input",
332
+ rules: [{
333
+ required: !0,
334
+ message: "\u8BF7\u8F93\u5165",
335
+ transKey: "gd.placeholder.input",
336
+ trigger: "change"
337
+ }, {
338
+ type: "email",
339
+ message: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u53F7!",
340
+ transKey: "gd.account.emailTip"
341
+ }]
342
+ }, {
343
+ transKey: "gd.user.nickname",
344
+ prop: "nickname",
345
+ effectType: "input",
346
+ label: "\u6635\u79F0",
347
+ placeholder: "\u8BF7\u8F93\u5165",
348
+ placeholderTransKey: "gd.placeholder.input",
349
+ rules: []
350
+ }, {
351
+ transKey: "gd.user.tel",
352
+ prop: "tel",
353
+ effectType: "input",
354
+ label: "\u7535\u8BDD",
355
+ placeholder: "\u8BF7\u8F93\u5165",
356
+ placeholderTransKey: "gd.placeholder.input",
357
+ rules: []
358
+ }, {
359
+ transKey: "gd.org.displayName",
360
+ prop: "orgid",
361
+ effectType: "selectTree",
362
+ label: "\u6240\u5C5E\u673A\u6784",
363
+ placeholder: "\u8BF7\u9009\u62E9",
364
+ placeholderTransKey: "gd.placeholder.select",
365
+ treeOptions: [],
366
+ rules: [{
367
+ required: !0,
368
+ message: "\u8BF7\u9009\u62E9",
369
+ transKey: "gd.placeholder.select",
370
+ trigger: "change"
371
+ }]
372
+ }, {
373
+ transKey: "gd.user.PSDNeverExpire",
374
+ prop: "psdneverexpire",
375
+ effectType: "switch",
376
+ label: "\u5BC6\u7801\u6C38\u4E0D\u8FC7\u671F",
377
+ placeholder: "\u8BF7\u8F93\u5165",
378
+ placeholderTransKey: "gd.placeholder.input",
379
+ rules: []
380
+ }],
381
+ tableButtons: [
382
+ {
383
+ displayName: "\u65B0\u589E",
384
+ functionName: "add",
385
+ show: !0,
386
+ transKey: "gd.btn.add",
387
+ icon: "el-icon-plus",
388
+ name: "sysUser:add"
389
+ },
390
+ {
391
+ displayName: "\u7F16\u8F91",
392
+ functionName: "edit",
393
+ show: !0,
394
+ transKey: "gd.btn.edit",
395
+ icon: "el-icon-edit",
396
+ name: "sysUser:edit"
397
+ },
398
+ {
399
+ displayName: "\u66F4\u65B0\u673A\u6784",
400
+ functionName: "updateInstitutions",
401
+ show: !0,
402
+ transKey: "gd.btn.updateInstitutions",
403
+ icon: "el-icon-edit",
404
+ name: "sysUser:updateInstitutions"
405
+ },
406
+ {
407
+ displayName: "\u6388\u6743\u89D2\u8272",
408
+ functionName: "userRole",
409
+ show: !0,
410
+ transKey: "gd.btn.authorizationRole",
411
+ icon: "el-icon-edit",
412
+ name: "sysUser:grantRole"
413
+ },
414
+ {
415
+ displayName: "\u91CD\u7F6E\u5BC6\u7801",
416
+ functionName: "resetPwd",
417
+ show: !0,
418
+ transKey: "gd.btn.resetPassword",
419
+ icon: "el-icon-edit",
420
+ btnType: "danger",
421
+ name: "sysUser:resetPwd"
422
+ },
423
+ {
424
+ displayName: "\u542F\u7528",
425
+ functionName: "enable",
426
+ show: !1,
427
+ transKey: "gd.btn.enable",
428
+ icon: "el-icon-video-play",
429
+ name: "sysUser:changeStatus"
430
+ },
431
+ {
432
+ displayName: "\u505C\u7528",
433
+ functionName: "deactivated",
434
+ show: !1,
435
+ btnType: "danger",
436
+ icon: "el-icon-discover",
437
+ transKey: "gd.btn.deactivate",
438
+ name: "sysUser:changeStatus"
439
+ },
440
+ {
441
+ displayName: "\u5BFC\u5165",
442
+ functionName: "importUser",
443
+ show: !0,
444
+ icon: "gd-icon-daoru1",
445
+ transKey: "gd.btn.import",
446
+ name: "sysUser:import"
447
+ },
448
+ {
449
+ displayName: "\u5BFC\u51FA",
450
+ functionName: "exportUser",
451
+ show: !0,
452
+ icon: "gd-icon-daoru",
453
+ transKey: "gd.btn.export",
454
+ name: "sysUser:export"
455
+ }
456
+ ],
457
+ formButtons: [{
458
+ displayName: "\u786E\u5B9A",
459
+ functionName: "handleSubmit",
460
+ show: !0,
461
+ transKey: "gd.btn.confirm",
462
+ icon: "el-icon-document-checked",
463
+ validate: !0
464
+ }],
465
+ tableQueries: [{
466
+ transKey: "gd.user.status",
467
+ prop: "stateCodes",
468
+ label: "\u72B6\u6001",
469
+ effectType: "checkbox",
470
+ dictTypeCode: "state_code",
471
+ selectType: "checkbox",
472
+ rules: []
473
+ }]
474
+ };
475
+ }
476
+ };
477
+ var R = { exports: {} };
478
+ /*!
479
+ * clipboard.js v2.0.4
480
+ * https://zenorocha.github.io/clipboard.js
481
+ *
482
+ * Licensed MIT © Zeno Rocha
483
+ */
484
+ (function(n, e) {
485
+ (function(r, i) {
486
+ n.exports = i();
487
+ })(B, function() {
488
+ return function(t) {
489
+ var r = {};
490
+ function i(s) {
491
+ if (r[s])
492
+ return r[s].exports;
493
+ var o = r[s] = {
494
+ i: s,
495
+ l: !1,
496
+ exports: {}
497
+ };
498
+ return t[s].call(o.exports, o, o.exports, i), o.l = !0, o.exports;
499
+ }
500
+ return i.m = t, i.c = r, i.d = function(s, o, a) {
501
+ i.o(s, o) || Object.defineProperty(s, o, { enumerable: !0, get: a });
502
+ }, i.r = function(s) {
503
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
504
+ }, i.t = function(s, o) {
505
+ if (o & 1 && (s = i(s)), o & 8 || o & 4 && typeof s == "object" && s && s.__esModule)
506
+ return s;
507
+ var a = /* @__PURE__ */ Object.create(null);
508
+ if (i.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: s }), o & 2 && typeof s != "string")
509
+ for (var c in s)
510
+ i.d(a, c, function(h) {
511
+ return s[h];
512
+ }.bind(null, c));
513
+ return a;
514
+ }, i.n = function(s) {
515
+ var o = s && s.__esModule ? function() {
516
+ return s.default;
517
+ } : function() {
518
+ return s;
519
+ };
520
+ return i.d(o, "a", o), o;
521
+ }, i.o = function(s, o) {
522
+ return Object.prototype.hasOwnProperty.call(s, o);
523
+ }, i.p = "", i(i.s = 0);
524
+ }([
525
+ function(t, r, i) {
526
+ var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
527
+ return typeof m;
528
+ } : function(m) {
529
+ return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
530
+ }, o = function() {
531
+ function m(g, v) {
532
+ for (var f = 0; f < v.length; f++) {
533
+ var y = v[f];
534
+ y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(g, y.key, y);
535
+ }
536
+ }
537
+ return function(g, v, f) {
538
+ return v && m(g.prototype, v), f && m(g, f), g;
539
+ };
540
+ }(), a = i(1), c = l(a), h = i(3), b = l(h), p = i(4), u = l(p);
541
+ function l(m) {
542
+ return m && m.__esModule ? m : { default: m };
543
+ }
544
+ function d(m, g) {
545
+ if (!(m instanceof g))
546
+ throw new TypeError("Cannot call a class as a function");
547
+ }
548
+ function w(m, g) {
549
+ if (!m)
550
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
551
+ return g && (typeof g == "object" || typeof g == "function") ? g : m;
552
+ }
553
+ function $(m, g) {
554
+ if (typeof g != "function" && g !== null)
555
+ throw new TypeError("Super expression must either be null or a function, not " + typeof g);
556
+ m.prototype = Object.create(g && g.prototype, { constructor: { value: m, enumerable: !1, writable: !0, configurable: !0 } }), g && (Object.setPrototypeOf ? Object.setPrototypeOf(m, g) : m.__proto__ = g);
557
+ }
558
+ var F = function(m) {
559
+ $(g, m);
560
+ function g(v, f) {
561
+ d(this, g);
562
+ var y = w(this, (g.__proto__ || Object.getPrototypeOf(g)).call(this));
563
+ return y.resolveOptions(f), y.listenClick(v), y;
564
+ }
565
+ return o(g, [{
566
+ key: "resolveOptions",
567
+ value: function() {
568
+ var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
569
+ this.action = typeof f.action == "function" ? f.action : this.defaultAction, this.target = typeof f.target == "function" ? f.target : this.defaultTarget, this.text = typeof f.text == "function" ? f.text : this.defaultText, this.container = s(f.container) === "object" ? f.container : document.body;
570
+ }
571
+ }, {
572
+ key: "listenClick",
573
+ value: function(f) {
574
+ var y = this;
575
+ this.listener = (0, u.default)(f, "click", function(_) {
576
+ return y.onClick(_);
577
+ });
578
+ }
579
+ }, {
580
+ key: "onClick",
581
+ value: function(f) {
582
+ var y = f.delegateTarget || f.currentTarget;
583
+ this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new c.default({
584
+ action: this.action(y),
585
+ target: this.target(y),
586
+ text: this.text(y),
587
+ container: this.container,
588
+ trigger: y,
589
+ emitter: this
590
+ });
591
+ }
592
+ }, {
593
+ key: "defaultAction",
594
+ value: function(f) {
595
+ return k("action", f);
596
+ }
597
+ }, {
598
+ key: "defaultTarget",
599
+ value: function(f) {
600
+ var y = k("target", f);
601
+ if (y)
602
+ return document.querySelector(y);
603
+ }
604
+ }, {
605
+ key: "defaultText",
606
+ value: function(f) {
607
+ return k("text", f);
608
+ }
609
+ }, {
610
+ key: "destroy",
611
+ value: function() {
612
+ this.listener.destroy(), this.clipboardAction && (this.clipboardAction.destroy(), this.clipboardAction = null);
613
+ }
614
+ }], [{
615
+ key: "isSupported",
616
+ value: function() {
617
+ var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, _ = !!document.queryCommandSupported;
618
+ return y.forEach(function(K) {
619
+ _ = _ && !!document.queryCommandSupported(K);
620
+ }), _;
621
+ }
622
+ }]), g;
623
+ }(b.default);
624
+ function k(m, g) {
625
+ var v = "data-clipboard-" + m;
626
+ if (!!g.hasAttribute(v))
627
+ return g.getAttribute(v);
628
+ }
629
+ t.exports = F;
630
+ },
631
+ function(t, r, i) {
632
+ var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
633
+ return typeof u;
634
+ } : function(u) {
635
+ return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
636
+ }, o = function() {
637
+ function u(l, d) {
638
+ for (var w = 0; w < d.length; w++) {
639
+ var $ = d[w];
640
+ $.enumerable = $.enumerable || !1, $.configurable = !0, "value" in $ && ($.writable = !0), Object.defineProperty(l, $.key, $);
641
+ }
642
+ }
643
+ return function(l, d, w) {
644
+ return d && u(l.prototype, d), w && u(l, w), l;
645
+ };
646
+ }(), a = i(2), c = h(a);
647
+ function h(u) {
648
+ return u && u.__esModule ? u : { default: u };
649
+ }
650
+ function b(u, l) {
651
+ if (!(u instanceof l))
652
+ throw new TypeError("Cannot call a class as a function");
653
+ }
654
+ var p = function() {
655
+ function u(l) {
656
+ b(this, u), this.resolveOptions(l), this.initSelection();
657
+ }
658
+ return o(u, [{
659
+ key: "resolveOptions",
660
+ value: function() {
661
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
662
+ this.action = d.action, this.container = d.container, this.emitter = d.emitter, this.target = d.target, this.text = d.text, this.trigger = d.trigger, this.selectedText = "";
663
+ }
664
+ }, {
665
+ key: "initSelection",
666
+ value: function() {
667
+ this.text ? this.selectFake() : this.target && this.selectTarget();
668
+ }
669
+ }, {
670
+ key: "selectFake",
671
+ value: function() {
672
+ var d = this, w = document.documentElement.getAttribute("dir") == "rtl";
673
+ this.removeFake(), this.fakeHandlerCallback = function() {
674
+ return d.removeFake();
675
+ }, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[w ? "right" : "left"] = "-9999px";
676
+ var $ = window.pageYOffset || document.documentElement.scrollTop;
677
+ this.fakeElem.style.top = $ + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = (0, c.default)(this.fakeElem), this.copyText();
678
+ }
679
+ }, {
680
+ key: "removeFake",
681
+ value: function() {
682
+ this.fakeHandler && (this.container.removeEventListener("click", this.fakeHandlerCallback), this.fakeHandler = null, this.fakeHandlerCallback = null), this.fakeElem && (this.container.removeChild(this.fakeElem), this.fakeElem = null);
683
+ }
684
+ }, {
685
+ key: "selectTarget",
686
+ value: function() {
687
+ this.selectedText = (0, c.default)(this.target), this.copyText();
688
+ }
689
+ }, {
690
+ key: "copyText",
691
+ value: function() {
692
+ var d = void 0;
693
+ try {
694
+ d = document.execCommand(this.action);
695
+ } catch {
696
+ d = !1;
697
+ }
698
+ this.handleResult(d);
699
+ }
700
+ }, {
701
+ key: "handleResult",
702
+ value: function(d) {
703
+ this.emitter.emit(d ? "success" : "error", {
704
+ action: this.action,
705
+ text: this.selectedText,
706
+ trigger: this.trigger,
707
+ clearSelection: this.clearSelection.bind(this)
708
+ });
709
+ }
710
+ }, {
711
+ key: "clearSelection",
712
+ value: function() {
713
+ this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges();
714
+ }
715
+ }, {
716
+ key: "destroy",
717
+ value: function() {
718
+ this.removeFake();
719
+ }
720
+ }, {
721
+ key: "action",
722
+ set: function() {
723
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "copy";
724
+ if (this._action = d, this._action !== "copy" && this._action !== "cut")
725
+ throw new Error('Invalid "action" value, use either "copy" or "cut"');
726
+ },
727
+ get: function() {
728
+ return this._action;
729
+ }
730
+ }, {
731
+ key: "target",
732
+ set: function(d) {
733
+ if (d !== void 0)
734
+ if (d && (typeof d > "u" ? "undefined" : s(d)) === "object" && d.nodeType === 1) {
735
+ if (this.action === "copy" && d.hasAttribute("disabled"))
736
+ throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
737
+ if (this.action === "cut" && (d.hasAttribute("readonly") || d.hasAttribute("disabled")))
738
+ throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
739
+ this._target = d;
740
+ } else
741
+ throw new Error('Invalid "target" value, use a valid Element');
742
+ },
743
+ get: function() {
744
+ return this._target;
745
+ }
746
+ }]), u;
747
+ }();
748
+ t.exports = p;
749
+ },
750
+ function(t, r) {
751
+ function i(s) {
752
+ var o;
753
+ if (s.nodeName === "SELECT")
754
+ s.focus(), o = s.value;
755
+ else if (s.nodeName === "INPUT" || s.nodeName === "TEXTAREA") {
756
+ var a = s.hasAttribute("readonly");
757
+ a || s.setAttribute("readonly", ""), s.select(), s.setSelectionRange(0, s.value.length), a || s.removeAttribute("readonly"), o = s.value;
758
+ } else {
759
+ s.hasAttribute("contenteditable") && s.focus();
760
+ var c = window.getSelection(), h = document.createRange();
761
+ h.selectNodeContents(s), c.removeAllRanges(), c.addRange(h), o = c.toString();
762
+ }
763
+ return o;
764
+ }
765
+ t.exports = i;
766
+ },
767
+ function(t, r) {
768
+ function i() {
769
+ }
770
+ i.prototype = {
771
+ on: function(s, o, a) {
772
+ var c = this.e || (this.e = {});
773
+ return (c[s] || (c[s] = [])).push({
774
+ fn: o,
775
+ ctx: a
776
+ }), this;
777
+ },
778
+ once: function(s, o, a) {
779
+ var c = this;
780
+ function h() {
781
+ c.off(s, h), o.apply(a, arguments);
782
+ }
783
+ return h._ = o, this.on(s, h, a);
784
+ },
785
+ emit: function(s) {
786
+ var o = [].slice.call(arguments, 1), a = ((this.e || (this.e = {}))[s] || []).slice(), c = 0, h = a.length;
787
+ for (c; c < h; c++)
788
+ a[c].fn.apply(a[c].ctx, o);
789
+ return this;
790
+ },
791
+ off: function(s, o) {
792
+ var a = this.e || (this.e = {}), c = a[s], h = [];
793
+ if (c && o)
794
+ for (var b = 0, p = c.length; b < p; b++)
795
+ c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
796
+ return h.length ? a[s] = h : delete a[s], this;
797
+ }
798
+ }, t.exports = i;
799
+ },
800
+ function(t, r, i) {
801
+ var s = i(5), o = i(6);
802
+ function a(p, u, l) {
803
+ if (!p && !u && !l)
804
+ throw new Error("Missing required arguments");
805
+ if (!s.string(u))
806
+ throw new TypeError("Second argument must be a String");
807
+ if (!s.fn(l))
808
+ throw new TypeError("Third argument must be a Function");
809
+ if (s.node(p))
810
+ return c(p, u, l);
811
+ if (s.nodeList(p))
812
+ return h(p, u, l);
813
+ if (s.string(p))
814
+ return b(p, u, l);
815
+ throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
816
+ }
817
+ function c(p, u, l) {
818
+ return p.addEventListener(u, l), {
819
+ destroy: function() {
820
+ p.removeEventListener(u, l);
821
+ }
822
+ };
823
+ }
824
+ function h(p, u, l) {
825
+ return Array.prototype.forEach.call(p, function(d) {
826
+ d.addEventListener(u, l);
827
+ }), {
828
+ destroy: function() {
829
+ Array.prototype.forEach.call(p, function(d) {
830
+ d.removeEventListener(u, l);
831
+ });
832
+ }
833
+ };
834
+ }
835
+ function b(p, u, l) {
836
+ return o(document.body, p, u, l);
837
+ }
838
+ t.exports = a;
839
+ },
840
+ function(t, r) {
841
+ r.node = function(i) {
842
+ return i !== void 0 && i instanceof HTMLElement && i.nodeType === 1;
843
+ }, r.nodeList = function(i) {
844
+ var s = Object.prototype.toString.call(i);
845
+ return i !== void 0 && (s === "[object NodeList]" || s === "[object HTMLCollection]") && "length" in i && (i.length === 0 || r.node(i[0]));
846
+ }, r.string = function(i) {
847
+ return typeof i == "string" || i instanceof String;
848
+ }, r.fn = function(i) {
849
+ var s = Object.prototype.toString.call(i);
850
+ return s === "[object Function]";
851
+ };
852
+ },
853
+ function(t, r, i) {
854
+ var s = i(7);
855
+ function o(h, b, p, u, l) {
856
+ var d = c.apply(this, arguments);
857
+ return h.addEventListener(p, d, l), {
858
+ destroy: function() {
859
+ h.removeEventListener(p, d, l);
860
+ }
861
+ };
862
+ }
863
+ function a(h, b, p, u, l) {
864
+ return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof p == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
865
+ return o(d, b, p, u, l);
866
+ }));
867
+ }
868
+ function c(h, b, p, u) {
869
+ return function(l) {
870
+ l.delegateTarget = s(l.target, b), l.delegateTarget && u.call(h, l);
871
+ };
872
+ }
873
+ t.exports = a;
874
+ },
875
+ function(t, r) {
876
+ var i = 9;
877
+ if (typeof Element < "u" && !Element.prototype.matches) {
878
+ var s = Element.prototype;
879
+ s.matches = s.matchesSelector || s.mozMatchesSelector || s.msMatchesSelector || s.oMatchesSelector || s.webkitMatchesSelector;
880
+ }
881
+ function o(a, c) {
882
+ for (; a && a.nodeType !== i; ) {
883
+ if (typeof a.matches == "function" && a.matches(c))
884
+ return a;
885
+ a = a.parentNode;
886
+ }
887
+ }
888
+ t.exports = o;
889
+ }
890
+ ]);
891
+ });
892
+ })(R);
893
+ const re = /* @__PURE__ */ M(R.exports);
894
+ const oe = {
895
+ props: {
896
+ infoData: {
897
+ type: Object,
898
+ required: !0
899
+ },
900
+ isSendEmail: {
901
+ type: String,
902
+ default: ""
903
+ }
904
+ },
905
+ data() {
906
+ return {
907
+ visible: !1,
908
+ sending: !1,
909
+ isSendEmailList: "",
910
+ width: "520px",
911
+ fullscreen: !1
912
+ };
913
+ },
914
+ computed: {
915
+ copyInfo() {
916
+ return `${this.$i18nt("gd.user.account", "\u8D26\u53F7")}: ${this.infoData.account}
917
+ ${this.$i18nt("gd.user.paw", "\u5BC6\u7801")}: ${this.infoData.password}
918
+ ${this.$i18nt("gd.user.name", "\u59D3\u540D")}: ${this.infoData.name}
919
+ ${this.$i18nt("gd.user.email", "\u90AE\u7BB1")}: ${this.infoData.email}
920
+ ${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
921
+ `;
922
+ }
923
+ },
924
+ methods: {
925
+ open(n) {
926
+ this.visible = !0, this.isSendEmailList = n;
927
+ },
928
+ colseCancel() {
929
+ this.visible = !1;
930
+ },
931
+ cmpleteUpgrade() {
932
+ const n = new re(".copy-btn");
933
+ n.on("success", () => {
934
+ this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
935
+ }), n.on("error", () => {
936
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
937
+ }), setTimeout(() => {
938
+ n.destroy();
939
+ }, 122);
940
+ },
941
+ sendingEailm() {
942
+ let n = this;
943
+ n.sending = !0;
944
+ let e = {
945
+ accountName: n.infoData.account,
946
+ emailAddress: n.infoData.email,
947
+ pcR_Type: 5
948
+ };
949
+ E(e).then((t) => {
950
+ t.success ? (n.sending = !1, n.visible = !1, n.$notify({
951
+ duration: 8e3,
952
+ type: "success",
953
+ title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
954
+ dangerouslyUseHTMLString: !0,
955
+ message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
956
+ <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
957
+ }), n.$emit("sending")) : n.$message.error(n.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
958
+ });
959
+ }
960
+ }
961
+ };
962
+ var ae = function() {
963
+ var e = this, t = e._self._c;
964
+ return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px" }, on: { "update:visible": function(r) {
965
+ e.visible = r;
966
+ }, closed: e.colseCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.$i18nt("gd.user.basicInformation", "\u57FA\u672C\u4FE1\u606F")))])])]), t("el-descriptions", { attrs: { title: "", column: 1, size: "medium" } }, [t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.account", "\u8D26\u53F7") } }, [e._v(e._s(e.infoData.account))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.paw", "\u5BC6\u7801") } }, [e._v(e._s(e.infoData.password))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.name", "\u59D3\u540D") } }, [e._v(e._s(e.infoData.name))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.email", "\u90AE\u7BB1") } }, [e._v(e._s(e.infoData.email))]), t("el-descriptions-item", { attrs: { label: e.$i18nt("gd.user.phone", "\u624B\u673A") } }, [e._v(e._s(e.infoData.phone))])], 1), t("template", { slot: "footer" }, [t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", "data-clipboard-action": "copy", "data-clipboard-text": e.copyInfo, icon: "el-icon-document-copy" }, on: { click: e.cmpleteUpgrade } }, [e._v(" " + e._s(e.$i18nt("gd.btn.copy")) + " ")]), e.isSendEmail == "1" ? t("el-button", { staticClass: "copy-btn", staticStyle: { "margin-left": "8px" }, attrs: { type: "primary", loading: e.sending, icon: "el-icon-message" }, on: { click: e.sendingEailm } }, [e._v(" " + e._s(e.$i18nt("gd.email.sending")) + " ")]) : e._e()], 1)], 2);
967
+ }, le = [], de = /* @__PURE__ */ T(
968
+ oe,
969
+ ae,
970
+ le,
971
+ !1,
972
+ null,
973
+ "b500bb5e",
974
+ null,
975
+ null
976
+ );
977
+ const ce = de.exports;
978
+ const ue = {
979
+ name: "GdUse",
980
+ props: {
981
+ height: {
982
+ type: Number,
983
+ default: 100
984
+ }
985
+ },
986
+ mixins: [G, ne],
987
+ data() {
988
+ return {
989
+ transKey: "gd.btn.add",
990
+ formLoading: !1,
991
+ currentNode: null,
992
+ loading: !0,
993
+ orgTree: [],
994
+ selectedRowKeys: [],
995
+ selectedRows: [],
996
+ queryParam: {},
997
+ defaultProps: {
998
+ children: "children",
999
+ label: "title",
1000
+ value: "value"
1001
+ },
1002
+ defaultExpandedKeys: "",
1003
+ loadData: (n) => D(Object.assign(n, this.getQueryParam)).then((e) => e.data),
1004
+ disableBtn: ["\u542F\u7528", "\u505C\u7528"],
1005
+ fileList: [],
1006
+ needLoad: !1,
1007
+ infoData: {},
1008
+ isSendEmail: "",
1009
+ isSendEmailed: "",
1010
+ institutionsShow: !1
1011
+ };
1012
+ },
1013
+ components: {
1014
+ UserRoleForm: X,
1015
+ EditInstitutions: ie,
1016
+ copyInfo: ce
1017
+ },
1018
+ computed: {
1019
+ getQueryParam() {
1020
+ let n = /* @__PURE__ */ new Map();
1021
+ for (let e in this.queryParam)
1022
+ n.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
1023
+ return Object.fromEntries(n);
1024
+ },
1025
+ getFormColumns() {
1026
+ return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
1027
+ },
1028
+ getTableButtons() {
1029
+ return this.tableButtons.filter((n) => (n.show = !this.disableBtn.includes(n.displayName), !0));
1030
+ },
1031
+ getHeight() {
1032
+ return this.height;
1033
+ },
1034
+ styled() {
1035
+ return `height:${this.height + 76}px`;
1036
+ },
1037
+ ...L(["tablePageSize", "tableSize", "labelPosition", "formMode"])
1038
+ },
1039
+ methods: {
1040
+ updateInstitutions() {
1041
+ if (this.selectedRowKeys.length === 0) {
1042
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1043
+ return;
1044
+ }
1045
+ if (this.selectedRowKeys.length > 1) {
1046
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1047
+ return;
1048
+ }
1049
+ this.institutionsShow = !0, this.$nextTick(() => {
1050
+ setTimeout(() => {
1051
+ this.$refs.editInstitutions.open(this.selectedRows[0]);
1052
+ }, 0);
1053
+ });
1054
+ },
1055
+ userRole() {
1056
+ if (this.selectedRowKeys.length === 0) {
1057
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1058
+ return;
1059
+ }
1060
+ if (this.selectedRowKeys.length > 1) {
1061
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1062
+ return;
1063
+ }
1064
+ this.$refs.userRoleForm.open(this.selectedRows[0]);
1065
+ },
1066
+ saveQueries(n) {
1067
+ this.queryParam = {
1068
+ ...n
1069
+ }, this.refresh();
1070
+ },
1071
+ handleFileUpload(n) {
1072
+ const e = this.$message({
1073
+ message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
1074
+ duration: 0,
1075
+ iconClass: "el-icon-loading"
1076
+ }), t = new FormData();
1077
+ t.append("file", n.file), U(t).then((r) => {
1078
+ r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
1079
+ setTimeout(() => {
1080
+ e.close();
1081
+ }, 200);
1082
+ });
1083
+ });
1084
+ },
1085
+ importUser() {
1086
+ this.fileList = [], document.querySelector(".upload-demo").click();
1087
+ },
1088
+ exportUser() {
1089
+ const n = this.$message({
1090
+ message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
1091
+ duration: 0,
1092
+ iconClass: "el-icon-loading"
1093
+ });
1094
+ I().then((e) => {
1095
+ this.downloadfile(e), this.$nextTick(() => {
1096
+ setTimeout(() => {
1097
+ n.close();
1098
+ }, 200);
1099
+ });
1100
+ }).catch((e) => {
1101
+ this.$nextTick(() => {
1102
+ setTimeout(() => {
1103
+ n.close();
1104
+ }, 200);
1105
+ });
1106
+ });
1107
+ },
1108
+ enable() {
1109
+ this.editStateCodes({
1110
+ row: this.selectedRows[0]
1111
+ });
1112
+ },
1113
+ deactivated() {
1114
+ this.editStateCodes({
1115
+ row: this.selectedRows[0]
1116
+ });
1117
+ },
1118
+ editStateCodes({ column: n, row: e }) {
1119
+ const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), r = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
1120
+ this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1121
+ confirmButtonText: r,
1122
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1123
+ showClose: !1,
1124
+ confirmButtonLoading: !1,
1125
+ cancelButtonLoading: !1,
1126
+ closeOnClickModal: !1,
1127
+ type: "warning",
1128
+ confirmButtonClass: "el-button--danger",
1129
+ customClass: "custom-alert",
1130
+ callback: () => {
1131
+ },
1132
+ beforeClose: (i, s, o) => {
1133
+ if (i !== "confirm") {
1134
+ o();
1135
+ return;
1136
+ }
1137
+ s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, A({
1138
+ id: e.id,
1139
+ stateCodes: e.statecodes == 1 ? 0 : 1
1140
+ }).then((a) => {
1141
+ o(), a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0;
1142
+ });
1143
+ }
1144
+ });
1145
+ },
1146
+ refresh() {
1147
+ this.$refs.table.refresh();
1148
+ },
1149
+ editForm(n) {
1150
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(
1151
+ Object.assign(
1152
+ {
1153
+ ...n
1154
+ },
1155
+ {
1156
+ gender: String(n.gender),
1157
+ orgid: String(n.orgid)
1158
+ }
1159
+ )
1160
+ );
1161
+ },
1162
+ getOrgTree() {
1163
+ C({}).then((n) => {
1164
+ if (n.code === 200) {
1165
+ const e = (t) => (t = t.filter((r, i) => (r.value = String(r.value), r.children && r.children.length > 0 && (r.children = e(r.children)), !0)), t);
1166
+ this.orgTree = e(n.data);
1167
+ }
1168
+ this.loading = !1;
1169
+ });
1170
+ },
1171
+ handleNodeClick(n) {
1172
+ this.queryParam.orgId === n.id ? (delete this.queryParam.orgId, this.$nextTick(() => {
1173
+ setTimeout(() => {
1174
+ this.$refs.tree.setCurrentKey(null);
1175
+ }, 0);
1176
+ })) : this.queryParam = Object.assign(
1177
+ {
1178
+ ...this.queryParam
1179
+ },
1180
+ {
1181
+ orgId: n.id
1182
+ }
1183
+ ), this.refresh();
1184
+ },
1185
+ del() {
1186
+ if (this.selectedRowKeys.length === 0) {
1187
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
1188
+ return;
1189
+ }
1190
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1191
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1192
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1193
+ showClose: !1,
1194
+ confirmButtonLoading: !1,
1195
+ cancelButtonLoading: !1,
1196
+ closeOnClickModal: !1,
1197
+ type: "warning",
1198
+ confirmButtonClass: "el-button--danger",
1199
+ customClass: "custom-alert",
1200
+ callback: () => {
1201
+ },
1202
+ beforeClose: (n, e, t) => {
1203
+ this.delHand(n, e, t);
1204
+ }
1205
+ });
1206
+ },
1207
+ delHand(n, e, t) {
1208
+ if (n !== "confirm") {
1209
+ t();
1210
+ return;
1211
+ }
1212
+ let r = [];
1213
+ this.selectedRows.forEach((i) => {
1214
+ let s = sysOrgDelete(i).then((o) => o);
1215
+ r.push(s);
1216
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((i) => {
1217
+ t();
1218
+ const s = i.filter((o) => !o.success);
1219
+ s.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + s[0].message), this.handleOk(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1220
+ });
1221
+ },
1222
+ add() {
1223
+ this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
1224
+ },
1225
+ edit() {
1226
+ if (this.selectedRowKeys.length === 0) {
1227
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
1228
+ return;
1229
+ }
1230
+ if (this.selectedRowKeys.length > 1) {
1231
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
1232
+ return;
1233
+ }
1234
+ this.editForm(this.selectedRows[0]);
1235
+ },
1236
+ async sbumit({ data: n, record: e, btn: t }, r, i) {
1237
+ this.formLoading = !0;
1238
+ let s = e ? j : z;
1239
+ if (!e) {
1240
+ let o = await this.getUsrePassword();
1241
+ Object.assign(n, {
1242
+ password: o,
1243
+ confirm: o
1244
+ });
1245
+ }
1246
+ s(n).then((o) => {
1247
+ this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i(), this.handleOk(), this.infoData = n, this.sendEmail(e, n)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1;
1248
+ });
1249
+ },
1250
+ sendEmail(n, e) {
1251
+ n || (this.isSendEmail == 1 && this.$notify({
1252
+ type: "success",
1253
+ title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
1254
+ dangerouslyUseHTMLString: !0,
1255
+ message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
1256
+ <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
1257
+ }), q({ code: "GDS_NewUser_DisplayAccount" }).then((t) => {
1258
+ t.code == 200 && t.data.value == "1" && setTimeout(() => {
1259
+ this.$refs.copyInfo.open(this.copyRule);
1260
+ }, 1200);
1261
+ }));
1262
+ },
1263
+ handleOk() {
1264
+ this.getOrgTree(), this.$refs.table.refresh();
1265
+ },
1266
+ onSelectChange(n, e) {
1267
+ if (this.selectedRowKeys = n, this.selectedRows = e, n.length === 0) {
1268
+ this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
1269
+ return;
1270
+ }
1271
+ if (e.length > 1) {
1272
+ this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
1273
+ return;
1274
+ }
1275
+ let t = [], r = e.filter((s) => s.statecodes == 1), i = e.filter((s) => s.statecodes == 0);
1276
+ r.length == e.length ? t = ["\u542F\u7528"] : i.length == e.length && (t = ["\u505C\u7528"]), this.disableBtn = t;
1277
+ },
1278
+ downloadfile(n) {
1279
+ var e = new Blob([n.data], {
1280
+ type: "application/octet-stream;charset=UTF-8"
1281
+ }), t = n.headers["content-disposition"];
1282
+ const s = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t)[1].replace(/['"]/g, "");
1283
+ var o = document.createElement("a"), a = window.URL.createObjectURL(e), c = /^["](.*)["]$/g;
1284
+ o.style.display = "none", o.href = a, o.download = decodeURI(s.replace(c, "$1")), document.body.appendChild(o), o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(a);
1285
+ },
1286
+ getUsrePassword() {
1287
+ return H({}).then((n) => {
1288
+ if (n.success)
1289
+ return this.combinationRule = n.data.combinationrule.value, this.copyRule = n.data.copyrule.value, this.lengthRule = n.data.lengthrule.value, this.isSendEmail = n.data.issendemail.value, this.mathPasword(this.lengthRule, this.combinationRule);
1290
+ });
1291
+ },
1292
+ mathPasword(n, e) {
1293
+ let t = e.includes("AL") ? "abcdefghijklmnopqrstuvwxyz" : "", r = e.includes("AL") ? "ABCDEFGHIJKLMNOPQRSTUVWXYZ" : "", i = e.includes("NU") ? "0123456789" : "", s = e.includes("SC") ? "!@#$%&*^" : "", o = "", a = [];
1294
+ s != "" && (a.push(s[Math.floor(Math.random() * s.length)]), a.push(s[Math.floor(Math.random() * s.length)])), r != "" && (a.push(r[Math.floor(Math.random() * r.length)]), a.push(r[Math.floor(Math.random() * r.length)])), t != "" && (a.push(t[Math.floor(Math.random() * t.length)]), a.push(t[Math.floor(Math.random() * t.length)])), i != "" && (a.push(i[Math.floor(Math.random() * i.length)]), a.push(i[Math.floor(Math.random() * i.length)])), a = a.sort(() => Math.random() - 0.5);
1295
+ let c = a.join("");
1296
+ for (; c.length < n; ) {
1297
+ const h = Math.floor(Math.random() * 4), b = {
1298
+ 0: s,
1299
+ 1: r,
1300
+ 2: t,
1301
+ 3: i
1302
+ }[h];
1303
+ c += b[Math.floor(Math.random() * b.length)];
1304
+ }
1305
+ return o = c.substring(0, n), o;
1306
+ },
1307
+ resetPwd() {
1308
+ if (this.selectedRowKeys.length === 0) {
1309
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E"));
1310
+ return;
1311
+ }
1312
+ if (this.selectedRowKeys.length > 1) {
1313
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
1314
+ return;
1315
+ }
1316
+ this.$confirm(this.$i18nt("gd.https.resetPwdContent", "\u662F\u5426\u91CD\u7F6E\u5BC6\u7801?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1317
+ confirmButtonText: this.$i18nt("gd.https.resetPwdOk", "\u7ACB\u5373\u91CD\u7F6E"),
1318
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1319
+ showClose: !1,
1320
+ confirmButtonLoading: !1,
1321
+ cancelButtonLoading: !1,
1322
+ closeOnClickModal: !1,
1323
+ type: "warning",
1324
+ confirmButtonClass: "el-button--danger",
1325
+ customClass: "custom-alert",
1326
+ callback: () => {
1327
+ },
1328
+ beforeClose: (n, e, t) => {
1329
+ this.resetPwdHand(n, e, t);
1330
+ }
1331
+ });
1332
+ },
1333
+ async resetPwdHand(n, e, t) {
1334
+ const r = await this.getUsrePassword();
1335
+ let i = this;
1336
+ if (n !== "confirm") {
1337
+ t();
1338
+ return;
1339
+ }
1340
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
1341
+ let s, o = {};
1342
+ i.isSendEmail == 1 && i.copyRule == 1 ? (o = {
1343
+ id: i.selectedRows[0].id,
1344
+ newPassword: r
1345
+ }, s = S) : i.isSendEmail == 1 ? (o = {
1346
+ accountName: i.selectedRows[0].account,
1347
+ emailAddress: i.selectedRows[0].email,
1348
+ pcR_Type: 5
1349
+ }, s = E) : i.copyRule == 1 && (o = {
1350
+ id: i.selectedRows[0].id,
1351
+ newPassword: r
1352
+ }, s = S), s(o).then((a) => {
1353
+ if (i.isSendEmailed = i.isSendEmail, t(), a.success) {
1354
+ let c = {
1355
+ account: i.selectedRows[0].account,
1356
+ password: r,
1357
+ name: i.selectedRows[0].name,
1358
+ email: i.selectedRows[0].email,
1359
+ phone: i.selectedRows[0].phone
1360
+ };
1361
+ i.isSendEmail == 1 && i.copyRule == 0 ? i.$notify({
1362
+ duration: 8e3,
1363
+ type: "success",
1364
+ title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
1365
+ dangerouslyUseHTMLString: !0,
1366
+ message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
1367
+ <p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
1368
+ }) : i.$message.success(i.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i.copyRule == 1 ? (i.infoData = c, setTimeout(() => {
1369
+ i.$refs.copyInfo.open(i.isSendEmail);
1370
+ }, 500)) : i.refresh();
1371
+ } else
1372
+ i.$message.error(i.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
1373
+ e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1374
+ });
1375
+ },
1376
+ sending() {
1377
+ this.refresh();
1378
+ },
1379
+ doEvent(n) {
1380
+ let e = n.item.functionName;
1381
+ this[e] && this[e]();
1382
+ }
1383
+ },
1384
+ created() {
1385
+ this.getOrgTree();
1386
+ }
1387
+ };
1388
+ var he = function() {
1389
+ var e = this, t = e._self._c;
1390
+ return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [t("el-tree", { ref: "tree", attrs: { data: e.orgTree, props: e.defaultProps, "node-key": "id", "current-node-key": e.defaultExpandedKeys, "default-expand-all": "", "highlight-current": "", "expand-on-click-node": !1 }, on: { "node-click": e.handleNodeClick } })], 1), t("div", { staticClass: "page-view-list" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: r, row: i }) {
1391
+ return [t("gd-tooltip", { attrs: { rowKey: "account", row: i, highlight: "" }, on: { click: e.editForm } })];
1392
+ } }, { key: "gender", fn: function(r) {
1393
+ return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("gender", r.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", r.row.gender)) + " ")])], 1)];
1394
+ } }, { key: "statecodes", fn: function(r) {
1395
+ return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(i) {
1396
+ return i.stopPropagation(), e.editStateCodes(r);
1397
+ } } }, [r.row.statecodes == 1 ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
1398
+ } }, { key: "operator", fn: function() {
1399
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(r) {
1400
+ return !r.type.indexOf("key") && e._k(r.keyCode, "enter", 13, r.key, "Enter") ? null : e.refresh.apply(null, arguments);
1401
+ } }, model: { value: e.queryParam.searchValue, callback: function(r) {
1402
+ e.$set(e.queryParam, "searchValue", r);
1403
+ }, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
1404
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: i }) {
1405
+ return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: i }, on: { save: e.saveQueries } })];
1406
+ } }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
1407
+ e.institutionsShow = !1;
1408
+ } } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
1409
+ }, fe = [], ge = /* @__PURE__ */ T(
1410
+ ue,
1411
+ he,
1412
+ fe,
1413
+ !1,
1414
+ null,
1415
+ "08a54b1c",
1416
+ null,
1417
+ null
1418
+ );
1419
+ const x = ge.exports;
1420
+ x.install = function(n) {
1421
+ n.component(x.name, x);
1422
+ };
1423
+ export {
1424
+ x as G
1425
+ };