gds-plus-design-vue 1.1.4 → 1.1.7

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 (68) 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 +80300 -99
  6. package/lib/main.60763eae.js +1 -0
  7. package/lib/main.f2b00b70.mjs +939 -0
  8. package/lib/messages.083c4ede.js +9 -0
  9. package/lib/messages.7e85146d.mjs +5802 -0
  10. package/lib/style.css +2 -2
  11. package/lib/system.account.65b2f7d4.js +216 -0
  12. package/lib/system.account.93b7df36.mjs +2536 -0
  13. package/lib/system.config.327aded6.js +1 -0
  14. package/lib/system.config.9c46f279.mjs +373 -0
  15. package/lib/system.datasource.4b0951ba.mjs +511 -0
  16. package/lib/system.datasource.8a0c7e0f.js +1 -0
  17. package/lib/system.dict.65f25e4e.mjs +996 -0
  18. package/lib/system.dict.72594c98.js +1 -0
  19. package/lib/system.duplicatechecking.0d47a5ca.js +1 -0
  20. package/lib/system.duplicatechecking.ad111272.mjs +2130 -0
  21. package/lib/system.email.54722948.js +41 -0
  22. package/lib/system.email.923697c6.mjs +7432 -0
  23. package/lib/system.fieldsecurity.7de4ee1d.mjs +1745 -0
  24. package/lib/system.fieldsecurity.d57edb47.js +1 -0
  25. package/lib/system.file.b3558a8b.js +1 -0
  26. package/lib/system.file.f152d4fe.mjs +489 -0
  27. package/lib/system.log.30e5157c.mjs +1450 -0
  28. package/lib/system.log.f243e7d0.js +1 -0
  29. package/lib/system.machine.325b256e.mjs +94 -0
  30. package/lib/system.machine.332fb31c.js +1 -0
  31. package/lib/system.notice.93c4691c.js +1 -0
  32. package/lib/system.notice.e0b84103.mjs +636 -0
  33. package/lib/system.noticereceived.a28ba643.js +1 -0
  34. package/lib/system.noticereceived.c0a19336.mjs +158 -0
  35. package/lib/system.onlineuser.90c08aef.mjs +184 -0
  36. package/lib/system.onlineuser.e0c261ed.js +1 -0
  37. package/lib/system.org.65452f67.js +1 -0
  38. package/lib/system.org.b8d59e5d.mjs +421 -0
  39. package/lib/system.permissions.b8a5f79d.mjs +212 -0
  40. package/lib/system.permissions.c34f44a3.js +9 -0
  41. package/lib/system.plugin.07b3c38e.js +1 -0
  42. package/lib/system.plugin.4911a33d.mjs +946 -0
  43. package/lib/system.pos.6ed35c39.js +1 -0
  44. package/lib/system.pos.c274f13c.mjs +312 -0
  45. package/lib/system.promptmanagement.5a4930b1.js +1 -0
  46. package/lib/system.promptmanagement.fe8b0913.mjs +789 -0
  47. package/lib/system.role.ceb5ed2d.mjs +1509 -0
  48. package/lib/system.role.daedd959.js +1 -0
  49. package/lib/system.timers.69f1792a.mjs +3160 -0
  50. package/lib/system.timers.ef6b6796.js +38 -0
  51. package/lib/system.translation.6351f189.mjs +661 -0
  52. package/lib/system.translation.8905eb73.js +1 -0
  53. package/lib/system.user.12a4e490.mjs +1425 -0
  54. package/lib/system.user.d668538b.js +14 -0
  55. package/lib/system.useraffiliation.b8be03db.js +1 -0
  56. package/lib/system.useraffiliation.c272e688.mjs +1025 -0
  57. package/lib/system.webresource.5049d97b.js +1 -0
  58. package/lib/system.webresource.e9518d87.mjs +723 -0
  59. package/lib/system.welcome.3f1cce96.mjs +45 -0
  60. package/lib/system.welcome.b109df88.js +1 -0
  61. package/locale/en_US.js +213 -15
  62. package/locale/id_ID.js +212 -14
  63. package/locale/vi_VN.js +212 -14
  64. package/locale/zh_CN.js +222 -22
  65. package/package.json +105 -104
  66. package/lib/gd-initial.umd.js +0 -433
  67. package/lib/index.a0c53741.mjs +0 -146905
  68. package/lib/main.06db53a0.mjs +0 -919
@@ -0,0 +1,1025 @@
1
+ import { g as f, s as p, a as g, b as m, c as u, d as y, e as b, f as w, h as v, i as _, j as $ } from "./system.duplicatechecking.ad111272.mjs";
2
+ import { m as o, n as d } from "./chartbi.48631362.mjs";
3
+ import { t as h, f as K } from "./messages.7e85146d.mjs";
4
+ const C = {
5
+ data() {
6
+ return {
7
+ tableColumns: [
8
+ {
9
+ type: "selection",
10
+ width: "60",
11
+ fixed: !0
12
+ },
13
+ {
14
+ transKey: "gd.form.name",
15
+ prop: "name",
16
+ label: "\u540D\u79F0",
17
+ type: "slot",
18
+ slotType: "name",
19
+ align: "left",
20
+ fixed: !0,
21
+ renderHeader: (t, ...e) => this.renderHeader(t, ...e, {
22
+ effectType: "input"
23
+ }),
24
+ showOverflowTooltip: !0
25
+ }
26
+ ],
27
+ formColumns: [{
28
+ transKey: "gd.form.roleName",
29
+ effectType: "input",
30
+ prop: "name",
31
+ label: "\u540D\u79F0",
32
+ placeholder: "\u8BF7\u8F93\u5165",
33
+ placeholderTransKey: "gd.placeholder.input",
34
+ rules: [{
35
+ required: !0,
36
+ message: "\u8BF7\u8F93\u5165",
37
+ transKey: "gd.placeholder.input",
38
+ trigger: "change"
39
+ }]
40
+ }, {
41
+ transKey: "gd.ownershipValue.ownershipValue",
42
+ prop: "affiliationValue",
43
+ effectType: "input",
44
+ label: "\u6240\u5C5E\u503C",
45
+ placeholder: "\u8BF7\u8F93\u5165",
46
+ disabled: !1,
47
+ placeholderTransKey: "gd.placeholder.input",
48
+ rules: [{
49
+ required: !0,
50
+ message: "\u8BF7\u8F93\u5165",
51
+ transKey: "gd.placeholder.input",
52
+ trigger: "change"
53
+ }]
54
+ }],
55
+ tableButtons: [
56
+ {
57
+ displayName: "\u65B0\u589E",
58
+ functionName: "add",
59
+ show: !0,
60
+ transKey: "gd.btn.add",
61
+ icon: "el-icon-plus",
62
+ name: "sysAffiliation:add"
63
+ },
64
+ {
65
+ displayName: "\u7F16\u8F91",
66
+ functionName: "edit",
67
+ show: !0,
68
+ transKey: "gd.btn.edit",
69
+ icon: "el-icon-edit",
70
+ name: "sysAffiliation:edit"
71
+ },
72
+ {
73
+ displayName: "\u5220\u9664",
74
+ functionName: "del",
75
+ show: !0,
76
+ transKey: "gd.btn.del",
77
+ icon: "el-icon-delete",
78
+ btnType: "danger",
79
+ name: "sysAffiliation:delete"
80
+ }
81
+ ],
82
+ formButtons: [{
83
+ displayName: "\u786E\u5B9A",
84
+ functionName: "handleSubmit",
85
+ show: !0,
86
+ transKey: "gd.btn.confirm",
87
+ icon: "el-icon-document-checked",
88
+ validate: !0
89
+ }],
90
+ tableQueries: [{
91
+ transKey: "gd.form.name",
92
+ prop: "name",
93
+ label: "\u540D\u79F0",
94
+ effectType: "input",
95
+ rules: []
96
+ }, {
97
+ transKey: "gd.ownershipValue.ownershipValue",
98
+ prop: "affiliationValue",
99
+ label: "\u6240\u5C5E\u503C",
100
+ effectType: "input",
101
+ rules: []
102
+ }]
103
+ };
104
+ }
105
+ };
106
+ const S = {
107
+ name: "GdUserRole",
108
+ props: {
109
+ height: {
110
+ type: Number,
111
+ default: 100
112
+ },
113
+ openSelecteKeys: {
114
+ type: Array,
115
+ default: () => []
116
+ },
117
+ useraffiliationname: {
118
+ type: String,
119
+ default: ""
120
+ },
121
+ openMode: {
122
+ type: String,
123
+ default: "page"
124
+ }
125
+ },
126
+ mixins: [h],
127
+ data() {
128
+ return {
129
+ transKey: "gd.btn.add",
130
+ formLoading: !1,
131
+ currentNode: null,
132
+ loading: !0,
133
+ orgTree: [],
134
+ selectedRowKeys: [],
135
+ selectedRows: [],
136
+ queryParam: {},
137
+ defaultProps: {
138
+ children: "children",
139
+ label: "title",
140
+ value: "value"
141
+ },
142
+ defaultExpandedKeys: "",
143
+ loadData: (t) => (this.queryParam = {
144
+ userAffiliationId: this.openSelecteKeys[0]
145
+ }, f(this.queryParam).then((e) => (e.data.length > 0 && this.getRowId(e.data), console.log(this.disabledRowId), e.data.forEach((s) => {
146
+ s.useraffiliationname = this.useraffiliationname;
147
+ }), { pageno: 1, pagesize: 1e3, rows: e.data }))),
148
+ disableBtn: [],
149
+ fileList: [],
150
+ needLoad: !1,
151
+ infoData: {},
152
+ isSendEmail: "",
153
+ isSendEmailed: "",
154
+ tableColumns: [
155
+ {
156
+ type: "selection",
157
+ width: "60",
158
+ fixed: !0
159
+ },
160
+ {
161
+ transKey: "gd.userAffiliation.name",
162
+ prop: "username",
163
+ label: "\u7528\u6237(\u59D3\u540D)",
164
+ align: "left",
165
+ type: "slot",
166
+ slotType: "username",
167
+ showOverflowTooltip: !0
168
+ },
169
+ {
170
+ transKey: "gd.userAffiliation.userOwnershipName",
171
+ prop: "useraffiliationname",
172
+ label: "\u7528\u6237\u6240\u5C5E\u540D\u79F0",
173
+ align: "left",
174
+ showOverflowTooltip: !0
175
+ }
176
+ ],
177
+ formColumnsuser: [{
178
+ transKey: "gd.user.account",
179
+ effectType: "input",
180
+ prop: "account",
181
+ label: "\u8D26\u53F7",
182
+ placeholder: "\u8BF7\u8F93\u5165",
183
+ placeholderTransKey: "gd.placeholder.input",
184
+ rules: [{
185
+ required: !0,
186
+ message: "\u8BF7\u8F93\u5165",
187
+ transKey: "gd.placeholder.input",
188
+ trigger: "change",
189
+ min: 2
190
+ }]
191
+ }, {
192
+ transKey: "gd.user.name",
193
+ prop: "name",
194
+ effectType: "input",
195
+ label: "\u59D3\u540D",
196
+ placeholder: "\u8BF7\u8F93\u5165",
197
+ placeholderTransKey: "gd.placeholder.input",
198
+ rules: [{
199
+ required: !0,
200
+ message: "\u8BF7\u8F93\u5165",
201
+ transKey: "gd.placeholder.input",
202
+ trigger: "change"
203
+ }]
204
+ }, {
205
+ transKey: "gd.user.sex",
206
+ prop: "gender",
207
+ effectType: "radio",
208
+ label: "\u6027\u522B",
209
+ placeholder: "\u8BF7\u8F93\u5165",
210
+ placeholderTransKey: "gd.placeholder.input",
211
+ dictTypeCode: "gender",
212
+ rules: [{
213
+ required: !0,
214
+ message: "\u8BF7\u8F93\u5165",
215
+ transKey: "gd.placeholder.input",
216
+ trigger: "change"
217
+ }]
218
+ }, {
219
+ transKey: "gd.user.birthday",
220
+ prop: "birthday",
221
+ effectType: "date",
222
+ label: "\u751F\u65E5",
223
+ placeholder: "\u8BF7\u8F93\u5165",
224
+ valueFormat: "yyyy-MM-dd",
225
+ placeholderTransKey: "gd.placeholder.select",
226
+ rules: []
227
+ }, {
228
+ transKey: "gd.user.phone",
229
+ effectType: "input",
230
+ prop: "phone",
231
+ label: "\u624B\u673A\u53F7",
232
+ placeholder: "\u8BF7\u8F93\u5165",
233
+ placeholderTransKey: "gd.placeholder.input",
234
+ rules: [{
235
+ required: !0,
236
+ message: "\u8BF7\u8F93\u5165",
237
+ transKey: "gd.placeholder.input",
238
+ trigger: "change"
239
+ }]
240
+ }, {
241
+ transKey: "gd.user.email",
242
+ effectType: "input",
243
+ prop: "email",
244
+ label: "\u90AE\u7BB1",
245
+ placeholder: "\u8BF7\u8F93\u5165",
246
+ placeholderTransKey: "gd.placeholder.input",
247
+ rules: [{
248
+ required: !0,
249
+ message: "\u8BF7\u8F93\u5165",
250
+ transKey: "gd.placeholder.input",
251
+ trigger: "change"
252
+ }, {
253
+ type: "email",
254
+ message: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u53F7!",
255
+ transKey: "gd.account.emailTip"
256
+ }]
257
+ }, {
258
+ transKey: "gd.user.nickname",
259
+ prop: "nickname",
260
+ effectType: "input",
261
+ label: "\u6635\u79F0",
262
+ placeholder: "\u8BF7\u8F93\u5165",
263
+ placeholderTransKey: "gd.placeholder.input",
264
+ rules: []
265
+ }, {
266
+ transKey: "gd.user.tel",
267
+ prop: "tel",
268
+ effectType: "input",
269
+ label: "\u7535\u8BDD",
270
+ placeholder: "\u8BF7\u8F93\u5165",
271
+ placeholderTransKey: "gd.placeholder.input",
272
+ rules: []
273
+ }, {
274
+ transKey: "gd.org.displayName",
275
+ prop: "orgid",
276
+ effectType: "selectTree",
277
+ label: "\u6240\u5C5E\u673A\u6784",
278
+ placeholder: "\u8BF7\u9009\u62E9",
279
+ placeholderTransKey: "gd.placeholder.select",
280
+ treeOptions: [],
281
+ rules: [{
282
+ required: !0,
283
+ message: "\u8BF7\u9009\u62E9",
284
+ transKey: "gd.placeholder.select",
285
+ trigger: "change"
286
+ }]
287
+ }, {
288
+ transKey: "gd.user.PSDNeverExpire",
289
+ prop: "psdneverexpire",
290
+ effectType: "switch",
291
+ label: "\u5BC6\u7801\u6C38\u4E0D\u8FC7\u671F",
292
+ placeholder: "\u8BF7\u8F93\u5165",
293
+ placeholderTransKey: "gd.placeholder.input",
294
+ rules: []
295
+ }],
296
+ tableButtons: [
297
+ {
298
+ displayName: "\u65B0\u589E",
299
+ functionName: "add",
300
+ show: !0,
301
+ transKey: "gd.btn.add",
302
+ icon: "el-icon-plus",
303
+ name: "sysRole:add"
304
+ },
305
+ {
306
+ displayName: "\u5220\u9664",
307
+ functionName: "del",
308
+ show: !0,
309
+ transKey: "gd.btn.del",
310
+ icon: "el-icon-delete",
311
+ btnType: "danger",
312
+ name: "sysRole:delete"
313
+ }
314
+ ],
315
+ disabledRowId: [],
316
+ sysCodeGenName: "sys_user"
317
+ };
318
+ },
319
+ components: {},
320
+ computed: {
321
+ initialLoading() {
322
+ return this.openMode === "page";
323
+ },
324
+ selectedKeep() {
325
+ return this.openMode !== "page";
326
+ },
327
+ getQueryParam() {
328
+ let t = /* @__PURE__ */ new Map();
329
+ for (let e in this.queryParam)
330
+ t.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
331
+ return Object.fromEntries(t);
332
+ },
333
+ getFormColumns() {
334
+ return this.formColumnsuser.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
335
+ },
336
+ getTableButtons() {
337
+ return this.tableButtons.filter((t) => (t.show = !this.disableBtn.includes(t.displayName), !0));
338
+ },
339
+ getHeight() {
340
+ return this.height;
341
+ },
342
+ styled() {
343
+ return `height:${this.height + 76}px`;
344
+ },
345
+ ...o(["tablePageSize", "tableSize", "labelPosition", "formMode"])
346
+ },
347
+ methods: {
348
+ getRowId(t) {
349
+ let e = [];
350
+ t.filter((s) => !this.disabledRowId.includes(s.userid)).forEach((s) => {
351
+ e.push(s.userid);
352
+ }), this.disabledRowId = this.disabledRowId.concat(e);
353
+ },
354
+ saveQueries(t) {
355
+ this.queryParam = {
356
+ ...t
357
+ }, this.refresh();
358
+ },
359
+ refresh() {
360
+ this.$refs.table.refresh();
361
+ },
362
+ handleOk() {
363
+ this.$refs.table.refresh();
364
+ },
365
+ onSelectChange(t, e) {
366
+ this.selectedRowKeys = t, this.selectedRows = e;
367
+ },
368
+ doEvent(t) {
369
+ let e = t.item.functionName;
370
+ this[e] && this[e]();
371
+ },
372
+ lookupSeled(t) {
373
+ if (t.fkData.length === 0) {
374
+ this.$refs.engineSearch.closed();
375
+ return;
376
+ }
377
+ this.$refs.engineSearch.confirmLoading = !0, p({
378
+ userAffiliationId: this.openSelecteKeys[0],
379
+ userIdList: t.data
380
+ }).then((e) => {
381
+ e.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.engineSearch.closed(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.$refs.engineSearch.confirmLoading = !1;
382
+ });
383
+ },
384
+ add() {
385
+ this.$refs.engineSearch.open({
386
+ fkEntityName: this.sysCodeGenName,
387
+ val: [],
388
+ effectType: "participants",
389
+ isRelevance: !0
390
+ });
391
+ },
392
+ del() {
393
+ let t = this;
394
+ if (this.selectedRowKeys.length === 0) {
395
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
396
+ return;
397
+ }
398
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
399
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
400
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
401
+ showClose: !1,
402
+ confirmButtonLoading: !1,
403
+ cancelButtonLoading: !1,
404
+ closeOnClickModal: !1,
405
+ type: "warning",
406
+ confirmButtonClass: "el-button--danger",
407
+ customClass: "custom-alert",
408
+ callback: () => {
409
+ },
410
+ beforeClose: (e, s, i) => {
411
+ if (e !== "confirm") {
412
+ i();
413
+ return;
414
+ }
415
+ s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, g({
416
+ userAffiliationId: t.openSelecteKeys[0],
417
+ userIdList: JSON.parse(JSON.stringify(t.selectedRows)).map((a) => a.userid)
418
+ }).then((a) => {
419
+ a.success ? (t.$message.success(t.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), t.disabledRowId = t.disabledRowId.filter((n) => !t.selectedRows.filter((r) => r.userid === n)[0]), s.confirmButtonLoading = !1, s.cancelButtonLoading = !1, s.showCancelButton = !0, i(), t.refresh()) : t.$message.error(t.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a.message);
420
+ });
421
+ }
422
+ });
423
+ }
424
+ },
425
+ created() {
426
+ }
427
+ };
428
+ var T = function() {
429
+ var e = this, s = e._self._c;
430
+ return s("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [s("div", { staticClass: "page-view-list" }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, showPagination: !1, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
431
+ return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
432
+ }, proxy: !0 }, { key: "username", fn: function({ column: i, row: a }) {
433
+ return [s("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(a.username) + " ")])];
434
+ } }]) }), s("gd-search", { ref: "engineSearch", attrs: { appendToBody: !0, disabledRowId: e.disabledRowId }, on: { lookupSeled: e.lookupSeled } })], 1)]);
435
+ }, R = [], L = /* @__PURE__ */ d(
436
+ S,
437
+ T,
438
+ R,
439
+ !1,
440
+ null,
441
+ "01c5868d",
442
+ null,
443
+ null
444
+ );
445
+ const k = L.exports;
446
+ const B = {
447
+ data() {
448
+ return {
449
+ buttons: [],
450
+ record: {},
451
+ visible: !1,
452
+ confirmLoading: !1,
453
+ fullscreen: !1,
454
+ width: "90%",
455
+ selectedRowKeys: []
456
+ };
457
+ },
458
+ components: { UserRelation: k },
459
+ computed: {
460
+ height() {
461
+ return this.screenHeight - (this.fullscreen ? 160 : 340);
462
+ },
463
+ ...o(["screenHeight"])
464
+ },
465
+ methods: {
466
+ handleSubmit() {
467
+ this.closed();
468
+ },
469
+ open(t) {
470
+ this.record = t, this.visible = !0, this.selectedRowKeys = [t.id], this.useraffiliationname = t.affiliationvalue, this.$nextTick(() => {
471
+ setTimeout(() => {
472
+ this.$refs.userForm.refresh();
473
+ }, 0);
474
+ });
475
+ },
476
+ closed() {
477
+ this.fullscreen = !1, this.visible = !1;
478
+ },
479
+ toggleFullscreen() {
480
+ this.fullscreen = !this.fullscreen;
481
+ },
482
+ onSelectChange(t) {
483
+ this.selectedRowKeys = t;
484
+ },
485
+ doEvent(t) {
486
+ const e = t.item.functionName;
487
+ this[e] && this[e]();
488
+ }
489
+ }
490
+ };
491
+ var F = function() {
492
+ var e = this, s = e._self._c;
493
+ return s("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": !1, "append-to-body": !0, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
494
+ e.visible = i;
495
+ }, closed: e.closed } }, [s("template", { slot: "title" }, [s("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.userAuthorization", "\u6388\u6743\u7528\u6237"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? s("UserRelation", { ref: "userForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys, useraffiliationname: e.useraffiliationname }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
496
+ }, x = [], N = /* @__PURE__ */ d(
497
+ B,
498
+ F,
499
+ x,
500
+ !1,
501
+ null,
502
+ "eceab663",
503
+ null,
504
+ null
505
+ );
506
+ const A = N.exports;
507
+ const D = {
508
+ data() {
509
+ return {
510
+ sys_UseraffiliationtypeId: "",
511
+ transKey: "gd.btn.add",
512
+ formLoading: !1,
513
+ formButtons: [
514
+ {
515
+ displayName: "\u786E\u5B9A",
516
+ functionName: "formhandleSubmit",
517
+ show: !0,
518
+ transKey: "gd.btn.confirm",
519
+ icon: "el-icon-document-checked",
520
+ validate: !0
521
+ }
522
+ ],
523
+ belongslist: [],
524
+ formColumns: [
525
+ {
526
+ transKey: "gd.form.name",
527
+ prop: "name",
528
+ effectType: "input",
529
+ label: "\u540D\u79F0",
530
+ placeholder: "\u8BF7\u8F93\u5165",
531
+ disabled: !1,
532
+ placeholderTransKey: "gd.placeholder.input",
533
+ rules: [
534
+ {
535
+ required: !0,
536
+ message: "\u8BF7\u8F93\u5165",
537
+ transKey: "gd.placeholder.input",
538
+ trigger: "change"
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ transKey: "gd.ownershipValue.ownershipValue",
544
+ prop: "affiliationValue",
545
+ effectType: "input",
546
+ label: "\u6240\u5C5E\u503C",
547
+ placeholder: "\u8BF7\u8F93\u5165",
548
+ disabled: !1,
549
+ placeholderTransKey: "gd.placeholder.input",
550
+ rules: [
551
+ {
552
+ required: !0,
553
+ message: "\u8BF7\u8F93\u5165",
554
+ transKey: "gd.placeholder.input",
555
+ trigger: "change"
556
+ }
557
+ ]
558
+ }
559
+ ],
560
+ confirmLoading: !0,
561
+ title: "",
562
+ sysViewButtons: [
563
+ {
564
+ displayName: "\u786E\u5B9A",
565
+ functionName: "handleSubmit",
566
+ show: !0,
567
+ transKey: "gd.btn.confirm",
568
+ icon: "el-icon-document-checked"
569
+ }
570
+ ],
571
+ type: 1,
572
+ fullScreen: !1,
573
+ width: "1000px",
574
+ ruleFormData: {
575
+ name: ""
576
+ },
577
+ rules: {
578
+ name: [
579
+ {
580
+ required: !0,
581
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
582
+ trigger: "change"
583
+ }
584
+ ]
585
+ },
586
+ visible: !1,
587
+ queryParam: {},
588
+ loadData: (t) => (this.queryParam = {
589
+ Sys_UseraffiliationtypeId: this.sys_UseraffiliationtypeId
590
+ }, m(Object.assign(t, this.queryParam)).then((e) => (e.data.rows.forEach((s) => {
591
+ s.typename = this.ruleFormData.name;
592
+ }), e.data))),
593
+ openMode: "page",
594
+ selectedRowKeys: [],
595
+ selectedRows: [],
596
+ tableColumns: [
597
+ {
598
+ type: "selection",
599
+ width: "60",
600
+ fixed: !0
601
+ },
602
+ {
603
+ transKey: "gd.duplicatechecking.name",
604
+ prop: "name",
605
+ label: "\u540D\u79F0",
606
+ type: "slot",
607
+ slotType: "name",
608
+ align: "left",
609
+ showOverflowTooltip: !0
610
+ },
611
+ {
612
+ transKey: "gd.ownershipValue.ownershipValue",
613
+ prop: "affiliationvalue",
614
+ label: "\u6240\u5C5E\u503C",
615
+ align: "left",
616
+ showOverflowTooltip: !0
617
+ }
618
+ ],
619
+ tableButtons: [
620
+ {
621
+ displayName: "\u65B0\u589E",
622
+ functionName: "add",
623
+ show: !0,
624
+ transKey: "gd.btn.add",
625
+ icon: "el-icon-plus",
626
+ name: "sysAffiliation:add"
627
+ },
628
+ {
629
+ displayName: "\u7F16\u8F91",
630
+ functionName: "edit",
631
+ show: !0,
632
+ transKey: "gd.btn.edit",
633
+ icon: "el-icon-edit",
634
+ name: "sysAffiliation:edit"
635
+ },
636
+ {
637
+ displayName: "\u5220\u9664",
638
+ functionName: "del",
639
+ show: !0,
640
+ transKey: "gd.btn.del",
641
+ icon: "el-icon-delete",
642
+ btnType: "danger",
643
+ name: "sysAffiliation:delete"
644
+ },
645
+ {
646
+ displayName: "\u6388\u6743\u7528\u6237",
647
+ functionName: "userRelationship",
648
+ show: !0,
649
+ transKey: "gd.user.userAuthorization",
650
+ icon: "el-icon-setting",
651
+ name: "sysAffiliation:belongingMenu"
652
+ }
653
+ ]
654
+ };
655
+ },
656
+ components: { UserRelationAdd: A },
657
+ computed: {
658
+ getFormColumns() {
659
+ return this.formColumns.filter((t) => !0);
660
+ },
661
+ getHeight() {
662
+ const t = this.fullScreen ? 230 : 410;
663
+ return this.screenHeight - t;
664
+ },
665
+ initialLoading() {
666
+ return this.openMode === "page";
667
+ },
668
+ selectedKeep() {
669
+ return this.openMode !== "page";
670
+ },
671
+ ...o(["screenHeight", "tableLists", "tableSize", "tablePageSize", "labelPosition", "formMode"])
672
+ },
673
+ methods: {
674
+ userRelationship() {
675
+ if (this.selectedRowKeys.length === 0) {
676
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
677
+ return;
678
+ }
679
+ if (this.selectedRowKeys.length > 1) {
680
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
681
+ return;
682
+ }
683
+ this.$refs.userrelationadd.open(this.selectedRows[0]);
684
+ },
685
+ lookup(t, e) {
686
+ const s = t[e.prop];
687
+ this.$refs.viewSearch.open({
688
+ fkEntityName: "DataSource",
689
+ effectType: e.effectType,
690
+ val: s || ""
691
+ });
692
+ },
693
+ async searchDataSource(t) {
694
+ this.formLoading = !0, this.belongslist = [], this.belongslist = await this.getbelongslist(), this.formLoading = !1;
695
+ },
696
+ fkSearch(t) {
697
+ const e = `${t}Loading`;
698
+ t === "name" && !this[e] && this.searchDataSource("");
699
+ },
700
+ getbelongslist() {
701
+ return u().then((t) => {
702
+ if (t.code === 200)
703
+ return t.data.rows;
704
+ });
705
+ },
706
+ getDataSource(t) {
707
+ let e = {
708
+ name: t,
709
+ fkEntityName: this.fkEntityName
710
+ };
711
+ return K(e).then((s) => s.data.map((i) => (i.id = String(i.id), i)));
712
+ },
713
+ okFilter(t) {
714
+ this.filterList = { ...t };
715
+ },
716
+ toggleFullscreen() {
717
+ this.fullScreen = !this.fullScreen;
718
+ },
719
+ getDictionary(t) {
720
+ return this.$options.filters.dictData(t);
721
+ },
722
+ selectRules(t) {
723
+ },
724
+ getList(t, e) {
725
+ },
726
+ init(t) {
727
+ this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0, this.type = t ? 2 : 1, this.title = t ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.sys_UseraffiliationtypeId = t ? t.id : "", this.selectedRowKeys = [], this.selectedRows = [], this.$nextTick(() => {
728
+ setTimeout(() => {
729
+ this.type === 2 && this.refresh(), this.ruleFormData = {
730
+ name: t ? t.name : ""
731
+ }, this.$refs.ruleForm.resetFields();
732
+ }, 0);
733
+ });
734
+ },
735
+ del() {
736
+ if (this.selectedRowKeys.length === 0) {
737
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
738
+ return;
739
+ }
740
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
741
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
742
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
743
+ showClose: !1,
744
+ confirmButtonLoading: !1,
745
+ cancelButtonLoading: !1,
746
+ closeOnClickModal: !1,
747
+ type: "warning",
748
+ confirmButtonClass: "el-button--danger",
749
+ customClass: "custom-alert",
750
+ callback: () => {
751
+ },
752
+ beforeClose: (t, e, s) => {
753
+ this.delHand(t, e, s);
754
+ }
755
+ });
756
+ },
757
+ delHand(t, e, s) {
758
+ if (t !== "confirm") {
759
+ s();
760
+ return;
761
+ }
762
+ let i = [];
763
+ this.selectedRows.forEach((a) => {
764
+ let n = y(a).then((l) => l);
765
+ i.push(n);
766
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
767
+ const n = a.filter((l) => !l.success);
768
+ n.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") + n[0].message), s(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
769
+ });
770
+ },
771
+ add(t) {
772
+ this.transKey = "gd.btn.add", this.$refs.editFormref.open(null), this.$refs.editFormref.setData({ nametype: this.ruleFormData.name });
773
+ },
774
+ edit(t) {
775
+ if (this.selectedRowKeys.length === 0) {
776
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
777
+ return;
778
+ }
779
+ if (this.selectedRowKeys.length > 1) {
780
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
781
+ return;
782
+ }
783
+ this.editForm(this.selectedRows[0]);
784
+ },
785
+ editForm(t) {
786
+ this.transKey = "gd.btn.edit", this.$refs.editFormref.open(t), this.$refs.editFormref.setData({ nametype: this.ruleFormData.name }), this.$refs.editFormref.setData({ affiliationValue: t.affiliationvalue });
787
+ },
788
+ formhandleSubmit() {
789
+ console.log("\u6240\u5C5E\u503C\u7684\u65B0\u589E\u4FDD\u5B58");
790
+ },
791
+ handleSubmit() {
792
+ this.$refs.ruleForm.validate((t) => {
793
+ if (t) {
794
+ const e = {
795
+ ...this.ruleFormData
796
+ };
797
+ this.sub(e);
798
+ }
799
+ });
800
+ },
801
+ sub(t) {
802
+ this.formLoading = !0;
803
+ let e = this.type == 1 ? b : w;
804
+ const s = this.type == 1 ? t : Object.assign({ values: t, id: this.sys_UseraffiliationtypeId });
805
+ e(s).then((i) => {
806
+ i.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.handleCancel(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message), this.formLoading = !1;
807
+ });
808
+ },
809
+ handleCancel() {
810
+ this.visible = !1, this.confirmLoading = !1, this.tabledisabled = !1;
811
+ },
812
+ doEvent(t) {
813
+ let e = t.item.functionName;
814
+ this[e]();
815
+ },
816
+ onSelectChange(t, e) {
817
+ this.selectedRowKeys = t, this.selectedRows = e, this.$emit("onSelectChange", t, e);
818
+ },
819
+ removeRow(t) {
820
+ let e = this;
821
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
822
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
823
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
824
+ showClose: !1,
825
+ confirmButtonLoading: !1,
826
+ cancelButtonLoading: !1,
827
+ closeOnClickModal: !1,
828
+ type: "warning",
829
+ confirmButtonClass: "el-button--danger",
830
+ customClass: "custom-alert",
831
+ callback: () => {
832
+ },
833
+ beforeClose: (s, i, a) => {
834
+ if (s !== "confirm") {
835
+ a();
836
+ return;
837
+ }
838
+ e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), a();
839
+ }
840
+ });
841
+ },
842
+ sbumit({ data: t, record: e, btn: s }, i, a) {
843
+ this.formLoading = !0;
844
+ let n = e ? v : _;
845
+ delete t.nametype;
846
+ const l = e ? Object.assign({
847
+ affiliationValue: t.affiliationValue,
848
+ sys_UseraffiliationtypeId: this.sys_UseraffiliationtypeId,
849
+ id: t.id
850
+ }) : Object.assign(t, { sys_UseraffiliationtypeId: this.sys_UseraffiliationtypeId });
851
+ n(l).then((r) => {
852
+ r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), a(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.formLoading = !1;
853
+ });
854
+ },
855
+ refresh() {
856
+ this.$refs.table && this.$refs.table.refresh();
857
+ }
858
+ }
859
+ };
860
+ var P = function() {
861
+ var e = this, s = e._self._c;
862
+ return s("div", [s("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullScreen, width: e.width, visible: e.visible, footer: null, top: "80px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(i) {
863
+ e.visible = i;
864
+ }, closed: e.handleCancel } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullScreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0, closed: "handleCancel" }, on: { changeEvent: e.doEvent }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-form", { ref: "ruleForm", attrs: { model: e.ruleFormData, rules: e.rules, "label-width": "120px" }, nativeOn: { submit: function(i) {
865
+ i.preventDefault();
866
+ } } }, [s("el-row", { staticStyle: { "margin-left": "-12px", "margin-right": "-12px" }, attrs: { gutter: 48 } }, [s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { staticClass: "form_name", staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.duplicatechecking.name", "\u540D\u79F0"), prop: "name" } }, [s("el-input", { attrs: { disabled: e.type == 2, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.name, callback: function(i) {
867
+ e.$set(e.ruleFormData, "name", i);
868
+ }, expression: "ruleFormData.name" } })], 1)], 1)], 1)], 1), e.type == 2 ? [s("el-divider"), s("div", { staticClass: "setting-conter" }, [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, selectedKeep: e.selectedKeep, initialLoading: e.initialLoading }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
869
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" }, on: { click: e.editForm } })];
870
+ } }, { key: "operator", fn: function() {
871
+ return [s("div", { staticClass: "operator-list" }, [s("div", { staticClass: "clearfix" }, [s("span", [e._v(e._s(e.$i18nt("gd.userAffiliation.userownershipValue", "\u7528\u6237\u6240\u5C5E\u503C")))])]), s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])])];
872
+ }, proxy: !0 }], null, !1, 3417440761) })], 1)] : e._e()], 2)])], 1), s("gd-edit-form", { ref: "editFormref", attrs: { formItemWidth: "100%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode }, on: { sbumit: e.sbumit } }), s("UserRelationAdd", { ref: "userrelationadd", on: { ok: e.refresh } })], 1);
873
+ }, O = [], q = /* @__PURE__ */ d(
874
+ D,
875
+ P,
876
+ O,
877
+ !1,
878
+ null,
879
+ "40f982ec",
880
+ null,
881
+ null
882
+ );
883
+ const E = q.exports;
884
+ const I = {
885
+ name: "GdUserAffiliation",
886
+ props: {
887
+ height: {
888
+ type: Number,
889
+ default: 100
890
+ },
891
+ openMode: {
892
+ type: String,
893
+ default: "page"
894
+ },
895
+ openSelecteKeys: {
896
+ type: Array,
897
+ default: () => []
898
+ }
899
+ },
900
+ mixins: [h, C],
901
+ data() {
902
+ return {
903
+ loading: !0,
904
+ selectedRowKeys: [],
905
+ selectedRows: [],
906
+ queryParam: {},
907
+ record: {},
908
+ loadData: (t) => (this.selectedKeep && (this.selectedRowKeys = [...this.openSelecteKeys]), u(Object.assign(t, this.queryParam)).then((e) => e.data))
909
+ };
910
+ },
911
+ components: { editForm: E },
912
+ computed: {
913
+ initialLoading() {
914
+ return this.openMode === "page";
915
+ },
916
+ selectedKeep() {
917
+ return this.openMode !== "page";
918
+ },
919
+ getHeight() {
920
+ return this.height;
921
+ },
922
+ ...o(["tablePageSize", "tableSize", "labelPosition", "formMode"])
923
+ },
924
+ methods: {
925
+ saveQueries(t) {
926
+ this.queryParam = { ...t }, this.refresh();
927
+ },
928
+ refresh() {
929
+ this.$refs.table.refresh();
930
+ },
931
+ editForm(t) {
932
+ this.$refs.editForm.init(t);
933
+ },
934
+ del() {
935
+ if (this.selectedRowKeys.length === 0) {
936
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
937
+ return;
938
+ }
939
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
940
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
941
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
942
+ showClose: !1,
943
+ confirmButtonLoading: !1,
944
+ cancelButtonLoading: !1,
945
+ closeOnClickModal: !1,
946
+ type: "warning",
947
+ confirmButtonClass: "el-button--danger",
948
+ customClass: "custom-alert",
949
+ callback: () => {
950
+ },
951
+ beforeClose: (t, e, s) => {
952
+ this.delHand(t, e, s);
953
+ }
954
+ });
955
+ },
956
+ delHand(t, e, s) {
957
+ if (t !== "confirm") {
958
+ s();
959
+ return;
960
+ }
961
+ let i = [];
962
+ this.selectedRows.forEach((a) => {
963
+ let n = $(a).then((l) => l);
964
+ i.push(n);
965
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
966
+ const n = a.filter((l) => !l.success);
967
+ n.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") + n[0].message), s(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
968
+ });
969
+ },
970
+ add() {
971
+ this.$refs.editForm.init(null);
972
+ },
973
+ edit() {
974
+ if (this.selectedRowKeys.length === 0) {
975
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
976
+ return;
977
+ }
978
+ if (this.selectedRowKeys.length > 1) {
979
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
980
+ return;
981
+ }
982
+ this.editForm(this.selectedRows[0]);
983
+ },
984
+ handleOk() {
985
+ this.$refs.table.refresh();
986
+ },
987
+ onSelectChange(t, e) {
988
+ this.selectedRowKeys = t, this.selectedRows = e, this.$emit("onSelectChange", t, e);
989
+ },
990
+ doEvent(t) {
991
+ let e = t.item.functionName;
992
+ this[e] && this[e]();
993
+ }
994
+ }
995
+ };
996
+ var U = function() {
997
+ var e = this, s = e._self._c;
998
+ return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [s("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, selectedKeep: e.selectedKeep, initialLoading: e.initialLoading }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
999
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" }, on: { click: e.editForm } })];
1000
+ } }, { key: "operator", fn: function() {
1001
+ return [s("div", { staticClass: "gd-table-operator" }, [s("div", { staticClass: "gd-table-operatorl" }, [s("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.form.name", "\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(i) {
1002
+ return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
1003
+ } }, model: { value: e.queryParam.name, callback: function(i) {
1004
+ e.$set(e.queryParam, "name", i);
1005
+ }, expression: "queryParam.name" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [e.openMode === "page" ? s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } }) : e._e()], 1)])];
1006
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: i, visible: a }) {
1007
+ return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: a }, on: { save: e.saveQueries } })];
1008
+ } }]) })], 1), s("editForm", { ref: "editForm", attrs: { table: e.record }, on: { ok: e.handleOk } })], 1);
1009
+ }, M = [], z = /* @__PURE__ */ d(
1010
+ I,
1011
+ U,
1012
+ M,
1013
+ !1,
1014
+ null,
1015
+ "48edf473",
1016
+ null,
1017
+ null
1018
+ );
1019
+ const c = z.exports;
1020
+ c.install = function(t) {
1021
+ t.component(c.name, c);
1022
+ };
1023
+ export {
1024
+ c as G
1025
+ };