gds-plus-design-vue 1.1.4 → 1.1.8

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