gds-plus-design-vue 1.2.3 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gd-initial.js +15 -17
- package/lib/gd-initial.mjs +9476 -13948
- package/lib/{main.4aebe1c9.js → main.2415a49a.js} +1 -1
- package/lib/{main.eb4b260e.mjs → main.2cddfbbd.mjs} +2 -2
- package/lib/main.4c447fc3.js +1 -0
- package/lib/{main.05252737.mjs → main.86fe06d4.mjs} +2 -2
- package/lib/{main.a30b25d6.mjs → main.b2d0a309.mjs} +11 -11
- package/lib/{main.458dc0a0.js → main.d091d06d.js} +1 -1
- package/lib/{messages.30e41348.js → messages.2fff74f3.js} +5 -5
- package/lib/{messages.a1335b0f.mjs → messages.d8abe18d.mjs} +150 -165
- package/lib/style.css +2 -2
- package/lib/{system.account.1ff630c9.js → system.account.8ea53681.js} +1 -1
- package/lib/{system.account.20f9e450.mjs → system.account.9bc40d08.mjs} +9 -9
- package/lib/{system.config.c85c05e9.mjs → system.config.8223d495.mjs} +1 -1
- package/lib/{system.config.532ab3b8.js → system.config.c6e30213.js} +1 -1
- package/lib/{system.datasource.f64a59de.mjs → system.datasource.57233650.mjs} +1 -1
- package/lib/{system.datasource.272f1add.js → system.datasource.fd6a4e76.js} +1 -1
- package/lib/{system.dict.565d69ca.mjs → system.dict.8f95218b.mjs} +3 -3
- package/lib/{system.dict.a23e8cdf.js → system.dict.a24f33b0.js} +1 -1
- package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.39293985.js} +1 -1
- package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.6b706948.mjs} +1 -1
- package/lib/{system.email.00a93855.js → system.email.a2d9a307.js} +1 -1
- package/lib/{system.email.ada25702.mjs → system.email.dae988be.mjs} +1 -1
- package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.02627a7a.mjs} +78 -126
- package/lib/system.fieldsecurity.a0cec24d.js +1 -0
- package/lib/{system.file.a23b3c83.mjs → system.file.0fa095a9.mjs} +3 -3
- package/lib/system.file.d695ab37.js +1 -0
- package/lib/{system.log.8a9f4a4d.mjs → system.log.acb64505.mjs} +1 -1
- package/lib/{system.log.b3666991.js → system.log.c07ae5db.js} +1 -1
- package/lib/system.notice.5ae50bd4.mjs +641 -0
- package/lib/system.notice.f18578ae.js +1 -0
- package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.1aa70b65.mjs} +24 -32
- package/lib/system.noticereceived.bfa98a9b.js +1 -0
- package/lib/{system.onlineuser.99e4de37.js → system.onlineuser.1c428d05.js} +1 -1
- package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.3d848a32.mjs} +1 -1
- package/lib/system.org.5bb36f9c.js +1 -0
- package/lib/{system.org.638db6d1.mjs → system.org.fcf96d1e.mjs} +68 -17
- package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.23f5b097.mjs} +2 -2
- package/lib/{system.permissions.fcd56f67.js → system.permissions.a1a9505c.js} +1 -1
- package/lib/{system.plugin.b17efa53.js → system.plugin.b6de4673.js} +1 -1
- package/lib/{system.plugin.beb44900.mjs → system.plugin.e37f9dbc.mjs} +1 -1
- package/lib/{system.pos.699e8dd6.mjs → system.pos.1a01fc97.mjs} +1 -1
- package/lib/{system.pos.e8d9c488.js → system.pos.a4fb19b0.js} +1 -1
- package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.290958b1.js} +1 -1
- package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.36a65c51.mjs} +1 -1
- package/lib/{system.role.230b1445.mjs → system.role.68de93ef.mjs} +354 -845
- package/lib/system.role.88100f66.js +1 -0
- package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.cdef9308.mjs} +1 -1
- package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.dd6299e8.js} +1 -1
- package/lib/{system.team.3826e252.js → system.team.53d64006.js} +1 -1
- package/lib/{system.team.aeaede22.mjs → system.team.ee652fe4.mjs} +1 -1
- package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.26a2ba81.mjs} +2 -2
- package/lib/{system.teammembers.29128f16.js → system.teammembers.4a3dc336.js} +1 -1
- package/lib/{system.timers.0ec63785.mjs → system.timers.4efa8a7d.mjs} +1 -1
- package/lib/{system.timers.b62568ad.js → system.timers.b9424204.js} +1 -1
- package/lib/{system.translation.e71455aa.mjs → system.translation.0a9399b4.mjs} +2 -2
- package/lib/{system.translation.887fa90d.js → system.translation.21d2fd8b.js} +1 -1
- package/lib/{system.user.84227a85.mjs → system.user.4fcfdf99.mjs} +4 -4
- package/lib/{system.user.bed5f82a.js → system.user.d48a08db.js} +1 -1
- package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.a59ce45b.js} +1 -1
- package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.fb002239.mjs} +2 -2
- package/lib/{system.webresource.f8b78dd0.js → system.webresource.3366cc29.js} +1 -1
- package/lib/{system.webresource.e6cb9173.mjs → system.webresource.4df01c92.mjs} +2 -2
- package/locale/en_US.js +18 -68
- package/locale/id_ID.js +17 -67
- package/locale/vi_VN.js +17 -67
- package/locale/zh_CN.js +17 -67
- package/package.json +1 -1
- package/lib/main.9801708f.js +0 -1
- package/lib/system.fieldsecurity.ede73621.js +0 -1
- package/lib/system.file.aa567566.js +0 -1
- package/lib/system.notice.5fb1485e.js +0 -1
- package/lib/system.notice.6d0aa32c.mjs +0 -1674
- package/lib/system.noticereceived.e5ef5883.js +0 -1
- package/lib/system.org.56151be8.js +0 -1
- package/lib/system.role.f0d4082c.js +0 -1
|
@@ -69,14 +69,14 @@ function Re(t) {
|
|
|
69
69
|
params: t
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function ke(t) {
|
|
73
73
|
return window.axios({
|
|
74
74
|
url: "/SysButton/Edit",
|
|
75
75
|
method: "post",
|
|
76
76
|
data: t
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Te(t) {
|
|
80
80
|
return window.axios({
|
|
81
81
|
url: "/sysForm/list",
|
|
82
82
|
method: "get",
|
|
@@ -146,56 +146,56 @@ function Ie(t) {
|
|
|
146
146
|
params: t
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Pe(t) {
|
|
150
150
|
return window.axios({
|
|
151
151
|
url: "/SysRelationship/Details",
|
|
152
152
|
method: "get",
|
|
153
153
|
params: t
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Oe(t) {
|
|
157
157
|
return window.axios({
|
|
158
158
|
url: "/sysRelationship/Edit",
|
|
159
159
|
method: "post",
|
|
160
160
|
data: t
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function qe(t) {
|
|
164
164
|
return window.axios({
|
|
165
165
|
url: "/SysEcharts/add",
|
|
166
166
|
method: "post",
|
|
167
167
|
data: t
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function je(t) {
|
|
171
171
|
return window.axios({
|
|
172
172
|
url: "/SysEcharts/editEcharts",
|
|
173
173
|
method: "post",
|
|
174
174
|
data: t
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Me(t) {
|
|
178
178
|
return window.axios({
|
|
179
179
|
url: "/SysEcharts/del",
|
|
180
180
|
method: "get",
|
|
181
181
|
params: t
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Ve(t) {
|
|
185
185
|
return window.axios({
|
|
186
186
|
url: "/SysEcharts/getEcharts",
|
|
187
187
|
method: "post",
|
|
188
188
|
data: t
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Ae(t) {
|
|
192
192
|
return window.axios({
|
|
193
193
|
url: "/SysEcharts/getPersonalEcharts",
|
|
194
194
|
method: "post",
|
|
195
195
|
data: t
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ge(t) {
|
|
199
199
|
return window.axios({
|
|
200
200
|
url: "/SysEcharts/updatePersonalEcharts",
|
|
201
201
|
method: "post",
|
|
@@ -307,13 +307,6 @@ function h(t) {
|
|
|
307
307
|
params: t
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
-
function Ye(t) {
|
|
311
|
-
return window.axios({
|
|
312
|
-
url: "/sysTeam/page",
|
|
313
|
-
method: "get",
|
|
314
|
-
params: t
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
310
|
function _(t) {
|
|
318
311
|
return window.axios({
|
|
319
312
|
url: "/sysRole/page",
|
|
@@ -321,97 +314,62 @@ function _(t) {
|
|
|
321
314
|
params: t
|
|
322
315
|
});
|
|
323
316
|
}
|
|
324
|
-
function
|
|
317
|
+
function Ye(t) {
|
|
325
318
|
return window.axios({
|
|
326
319
|
url: "/sysRole/v2/add",
|
|
327
320
|
method: "post",
|
|
328
321
|
data: t
|
|
329
322
|
});
|
|
330
323
|
}
|
|
331
|
-
function
|
|
324
|
+
function Ze(t) {
|
|
332
325
|
return window.axios({
|
|
333
326
|
url: "/sysRole/edit",
|
|
334
327
|
method: "post",
|
|
335
328
|
data: t
|
|
336
329
|
});
|
|
337
330
|
}
|
|
338
|
-
function
|
|
331
|
+
function et(t) {
|
|
339
332
|
return window.axios({
|
|
340
333
|
url: "/sysRole/delete",
|
|
341
334
|
method: "post",
|
|
342
335
|
data: t
|
|
343
336
|
});
|
|
344
337
|
}
|
|
345
|
-
function
|
|
338
|
+
function tt(t) {
|
|
346
339
|
return window.axios({
|
|
347
340
|
url: "/sysRole/ownMenu",
|
|
348
341
|
method: "get",
|
|
349
342
|
params: t
|
|
350
343
|
});
|
|
351
344
|
}
|
|
352
|
-
function
|
|
345
|
+
function st(t) {
|
|
353
346
|
return window.axios({
|
|
354
347
|
url: "/sysRole/grantMenu",
|
|
355
348
|
method: "post",
|
|
356
349
|
data: t
|
|
357
350
|
});
|
|
358
351
|
}
|
|
359
|
-
function
|
|
352
|
+
function it(t) {
|
|
360
353
|
return window.axios({
|
|
361
354
|
url: "/role/ViewOnBtnList",
|
|
362
355
|
method: "get",
|
|
363
356
|
params: t
|
|
364
357
|
});
|
|
365
358
|
}
|
|
366
|
-
function
|
|
359
|
+
function nt(t) {
|
|
367
360
|
return window.axios({
|
|
368
361
|
url: "/role/RoleBindViewOnBtn",
|
|
369
362
|
method: "post",
|
|
370
363
|
data: t
|
|
371
364
|
});
|
|
372
365
|
}
|
|
373
|
-
function
|
|
366
|
+
function at(t) {
|
|
374
367
|
return window.axios({
|
|
375
368
|
url: "/sysRole/copyRole",
|
|
376
369
|
method: "post",
|
|
377
370
|
data: t
|
|
378
371
|
});
|
|
379
372
|
}
|
|
380
|
-
function rt(t) {
|
|
381
|
-
return window.axios({
|
|
382
|
-
url: "/dcc/DocObjectsRoles/batchEdit",
|
|
383
|
-
method: "post",
|
|
384
|
-
data: t
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
function lt(t) {
|
|
388
|
-
return window.axios({
|
|
389
|
-
url: "/dcc/DocObjectsRoles/add",
|
|
390
|
-
method: "post",
|
|
391
|
-
data: t
|
|
392
|
-
});
|
|
393
|
-
}
|
|
394
|
-
function dt(t) {
|
|
395
|
-
return window.axios({
|
|
396
|
-
url: "/dcc/DocObjectsRoles/del",
|
|
397
|
-
method: "get",
|
|
398
|
-
params: t
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
function ct(t) {
|
|
402
|
-
return window.axios({
|
|
403
|
-
url: "/dcc/SysDocObjects/allDocList",
|
|
404
|
-
method: "get",
|
|
405
|
-
params: t
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
function ut(t) {
|
|
409
|
-
return window.axios({
|
|
410
|
-
url: "/dcc/DocObjectsRoles/GetByRoleId",
|
|
411
|
-
method: "get",
|
|
412
|
-
params: t
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
373
|
const v = {
|
|
416
374
|
data() {
|
|
417
375
|
return {
|
|
@@ -549,7 +507,7 @@ var $ = function() {
|
|
|
549
507
|
null,
|
|
550
508
|
null
|
|
551
509
|
);
|
|
552
|
-
const R = x.exports,
|
|
510
|
+
const R = x.exports, k = {
|
|
553
511
|
data() {
|
|
554
512
|
return {
|
|
555
513
|
tableColumns: [
|
|
@@ -637,7 +595,7 @@ const R = x.exports, T = {
|
|
|
637
595
|
};
|
|
638
596
|
}
|
|
639
597
|
};
|
|
640
|
-
const
|
|
598
|
+
const T = {
|
|
641
599
|
name: "GdDataAssign",
|
|
642
600
|
props: {
|
|
643
601
|
id: {
|
|
@@ -725,7 +683,7 @@ var K = function() {
|
|
|
725
683
|
return [s("el-option", { attrs: { value: i.code, label: e.$i18nt(i.transKey, i.name) } })];
|
|
726
684
|
})], 2)], 1)])], 1)], 2)], 1);
|
|
727
685
|
}, N = [], B = /* @__PURE__ */ a(
|
|
728
|
-
|
|
686
|
+
T,
|
|
729
687
|
K,
|
|
730
688
|
N,
|
|
731
689
|
!1,
|
|
@@ -746,7 +704,7 @@ const L = {
|
|
|
746
704
|
default: () => ({})
|
|
747
705
|
}
|
|
748
706
|
},
|
|
749
|
-
mixins: [
|
|
707
|
+
mixins: [k],
|
|
750
708
|
components: { EditForm: F },
|
|
751
709
|
data() {
|
|
752
710
|
return {
|
|
@@ -828,7 +786,7 @@ var D = function() {
|
|
|
828
786
|
null,
|
|
829
787
|
null
|
|
830
788
|
);
|
|
831
|
-
const I = z.exports,
|
|
789
|
+
const I = z.exports, P = {
|
|
832
790
|
data() {
|
|
833
791
|
return {
|
|
834
792
|
tableColumns: [
|
|
@@ -896,7 +854,7 @@ const I = z.exports, O = {
|
|
|
896
854
|
};
|
|
897
855
|
}
|
|
898
856
|
};
|
|
899
|
-
const
|
|
857
|
+
const O = {
|
|
900
858
|
props: {
|
|
901
859
|
record: {
|
|
902
860
|
type: Object,
|
|
@@ -985,7 +943,7 @@ const P = {
|
|
|
985
943
|
}
|
|
986
944
|
}
|
|
987
945
|
};
|
|
988
|
-
var
|
|
946
|
+
var q = function() {
|
|
989
947
|
var e = this, s = e._self._c;
|
|
990
948
|
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, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
991
949
|
e.visible = i;
|
|
@@ -999,18 +957,18 @@ var j = function() {
|
|
|
999
957
|
} }, { key: "roleType", fn: function({ column: i, row: n }) {
|
|
1000
958
|
return [e._v(" " + e._s(e._f("dictType")("role_type", n.roleType)) + " ")];
|
|
1001
959
|
} }], null, !1, 3083467277) }) : e._e()], 1)], 2);
|
|
1002
|
-
},
|
|
1003
|
-
|
|
1004
|
-
j,
|
|
960
|
+
}, j = [], M = /* @__PURE__ */ a(
|
|
961
|
+
O,
|
|
1005
962
|
q,
|
|
963
|
+
j,
|
|
1006
964
|
!1,
|
|
1007
965
|
null,
|
|
1008
966
|
"a2bced86",
|
|
1009
967
|
null,
|
|
1010
968
|
null
|
|
1011
969
|
);
|
|
1012
|
-
const
|
|
1013
|
-
const
|
|
970
|
+
const V = M.exports;
|
|
971
|
+
const A = {
|
|
1014
972
|
props: {
|
|
1015
973
|
height: {
|
|
1016
974
|
type: Number,
|
|
@@ -1021,7 +979,7 @@ const G = {
|
|
|
1021
979
|
default: () => ({})
|
|
1022
980
|
}
|
|
1023
981
|
},
|
|
1024
|
-
mixins: [
|
|
982
|
+
mixins: [P],
|
|
1025
983
|
data() {
|
|
1026
984
|
return {
|
|
1027
985
|
loading: !0,
|
|
@@ -1040,7 +998,7 @@ const G = {
|
|
|
1040
998
|
).then((e) => (this.getRowId(e.data), e.data))
|
|
1041
999
|
};
|
|
1042
1000
|
},
|
|
1043
|
-
components: { RoleSearch:
|
|
1001
|
+
components: { RoleSearch: V },
|
|
1044
1002
|
computed: {
|
|
1045
1003
|
...o(["tablePageSize", "tableSize", "screenHeight"])
|
|
1046
1004
|
},
|
|
@@ -1102,7 +1060,7 @@ const G = {
|
|
|
1102
1060
|
}
|
|
1103
1061
|
}
|
|
1104
1062
|
};
|
|
1105
|
-
var
|
|
1063
|
+
var G = function() {
|
|
1106
1064
|
var e = this, s = e._self._c;
|
|
1107
1065
|
return s("div", [s("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
1108
1066
|
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)])];
|
|
@@ -1116,8 +1074,8 @@ var M = function() {
|
|
|
1116
1074
|
return [n.sysrole ? s("span", [e._v(e._s(e._f("dictType")("role_type", n.sysrole.roletype)))]) : e._e()];
|
|
1117
1075
|
} }]) }), s("RoleSearch", { ref: "roleSearch", attrs: { record: e.record, columns: e.tableColumns, disabledRowId: e.disabledRowId }, on: { lookupSeled: e.lookupSeled } })], 1);
|
|
1118
1076
|
}, H = [], Q = /* @__PURE__ */ a(
|
|
1077
|
+
A,
|
|
1119
1078
|
G,
|
|
1120
|
-
M,
|
|
1121
1079
|
H,
|
|
1122
1080
|
!1,
|
|
1123
1081
|
null,
|
|
@@ -1739,55 +1697,49 @@ c.install = function(t) {
|
|
|
1739
1697
|
t.component(c.name, c);
|
|
1740
1698
|
};
|
|
1741
1699
|
export {
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
Ye as a,
|
|
1768
|
-
st as b,
|
|
1769
|
-
rt as c,
|
|
1770
|
-
lt as d,
|
|
1771
|
-
ut as e,
|
|
1772
|
-
ct as f,
|
|
1700
|
+
ye as A,
|
|
1701
|
+
be as B,
|
|
1702
|
+
Fe as C,
|
|
1703
|
+
Ke as D,
|
|
1704
|
+
Ee as E,
|
|
1705
|
+
_e as F,
|
|
1706
|
+
De as G,
|
|
1707
|
+
Le as H,
|
|
1708
|
+
Se as I,
|
|
1709
|
+
Ne as J,
|
|
1710
|
+
Be as K,
|
|
1711
|
+
Me as L,
|
|
1712
|
+
xe as M,
|
|
1713
|
+
ke as N,
|
|
1714
|
+
Re as O,
|
|
1715
|
+
Ce as P,
|
|
1716
|
+
Pe as Q,
|
|
1717
|
+
Oe as R,
|
|
1718
|
+
c as S,
|
|
1719
|
+
tt as a,
|
|
1720
|
+
nt as b,
|
|
1721
|
+
it as c,
|
|
1722
|
+
et as d,
|
|
1723
|
+
at as e,
|
|
1724
|
+
Ze as f,
|
|
1773
1725
|
_ as g,
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1726
|
+
Ye as h,
|
|
1727
|
+
we as i,
|
|
1728
|
+
Qe as j,
|
|
1729
|
+
Ue as k,
|
|
1730
|
+
ve as l,
|
|
1731
|
+
Je as m,
|
|
1732
|
+
Xe as n,
|
|
1733
|
+
We as o,
|
|
1734
|
+
Ge as p,
|
|
1735
|
+
je as q,
|
|
1736
|
+
qe as r,
|
|
1737
|
+
st as s,
|
|
1738
|
+
Ae as t,
|
|
1739
|
+
He as u,
|
|
1740
|
+
Te as v,
|
|
1741
|
+
$e as w,
|
|
1742
|
+
Ie as x,
|
|
1743
|
+
ze as y,
|
|
1744
|
+
Ve as z
|
|
1793
1745
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./chartbi.06e48153.js");function m(t){return window.axios({url:"/SysView/add",method:"post",data:t})}function g(t){return window.axios({url:"/SysView/List",method:"get",params:t})}function y(t){return window.axios({url:"/SysView/Edit",method:"post",data:t})}function p(t){return window.axios({url:"/SysView/Delete",method:"post",params:t})}function w(t){return window.axios({url:"/SysView/Details",method:"get",params:t})}function b(t){return window.axios({url:"/SysWebResource/GetList",method:"get",params:t})}function _(t){return window.axios({url:"/SysButton/List",method:"get",params:t})}function v(t){return window.axios({url:"/SysButton/Delete",method:"get",params:t})}function S(t){return window.axios({url:"/SysButton/add",method:"post",data:t})}function $(t){return window.axios({url:"/SysButton/Details",method:"get",params:t})}function C(t){return window.axios({url:"/SysButton/Edit",method:"post",data:t})}function R(t){return window.axios({url:"/sysForm/list",method:"get",params:t})}function x(t){return window.axios({url:"/sysForm/Add",method:"post",data:t})}function k(t){return window.axios({url:"/sysForm/Edit",method:"post",data:t})}function T(t){return window.axios({url:"/sysForm/Delete",method:"get",params:t})}function B(t){return window.axios({url:"/sysForm/Details",method:"get",params:t})}function K(t){return window.axios({url:"/develop/GetFindView",method:"get",params:t})}function N(t){return window.axios({url:"/develop/GetFindForm",method:"get",params:t})}function F(t){return window.axios({url:"/SysButton/Set",method:"post",data:t})}function L(t){return window.axios({url:"/sysRelationship/List",method:"get",params:t})}function D(t){return window.axios({url:"/sysRelationship/List2",method:"get",params:t})}function E(t){return window.axios({url:"/SysRelationship/Details",method:"get",params:t})}function z(t){return window.axios({url:"/sysRelationship/Edit",method:"post",data:t})}function I(t){return window.axios({url:"/SysEcharts/add",method:"post",data:t})}function P(t){return window.axios({url:"/SysEcharts/editEcharts",method:"post",data:t})}function O(t){return window.axios({url:"/SysEcharts/del",method:"get",params:t})}function V(t){return window.axios({url:"/SysEcharts/getEcharts",method:"post",data:t})}function G(t){return window.axios({url:"/SysEcharts/getPersonalEcharts",method:"post",data:t})}function q(t){return window.axios({url:"/SysEcharts/updatePersonalEcharts",method:"post",data:t})}function j(t){return window.axios({url:"/SysEcharts/delPersonalEcharts",method:"get",params:t})}function A(t){return window.axios({url:"/SysSavedQuery/add",method:"post",data:t})}function M(t){return window.axios({url:"/SysSavedQuery/edit",method:"post",data:t})}function Q(t){return window.axios({url:"/SysSavedQuery/delSavedQueries",method:"get",params:t})}function H(t){return window.axios({url:"/SysSavedQuery/getSavedQueries",method:"post",data:t})}function U(t){return window.axios({url:"/SysSavedQuery/setDefaultQuery",method:"get",params:t})}function W(t){return window.axios({url:"/FieldSecurityConfig/getFieldSecurityPermissions",method:"post",data:t})}function c(t){return window.axios({url:"/FieldSecurityConfig/getFieldSecurityMember",method:"post",data:t})}function J(t){return window.axios({url:"/FieldSecurityConfig/editFieldSecurityPermissions",method:"post",data:t})}function X(t){return window.axios({url:"/FieldSecurityConfig/page",method:"post",data:t})}function Y(t){return window.axios({url:"/FieldSecurityConfig/add",method:"post",data:t})}function Z(t){return window.axios({url:"/FieldSecurityConfig/edit",method:"post",data:t})}function ee(t){return window.axios({url:"/FieldSecurityConfig/del",method:"get",params:t})}function u(t){return window.axios({url:"/FieldSecurityMember/batchAdd",method:"post",data:t})}function f(t){return window.axios({url:"/FieldSecurityMember/del",method:"get",params:t})}function h(t){return window.axios({url:"/sysRole/page",method:"get",params:t})}function te(t){return window.axios({url:"/sysRole/v2/add",method:"post",data:t})}function se(t){return window.axios({url:"/sysRole/edit",method:"post",data:t})}function ie(t){return window.axios({url:"/sysRole/delete",method:"post",data:t})}function ne(t){return window.axios({url:"/sysRole/ownMenu",method:"get",params:t})}function oe(t){return window.axios({url:"/sysRole/grantMenu",method:"post",data:t})}function ae(t){return window.axios({url:"/role/ViewOnBtnList",method:"get",params:t})}function re(t){return window.axios({url:"/role/RoleBindViewOnBtn",method:"post",data:t})}function le(t){return window.axios({url:"/sysRole/copyRole",method:"post",data:t})}const de={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.fieldSecurity.name",prop:"name",label:"\u540D\u79F0",width:"240",type:"slot",slotType:"name",align:"left"},{transKey:"gd.fieldSecurity.createdTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"left"},{transKey:"gd.fieldSecurity.description",prop:"description",label:"\u8BF4\u660E",align:"left"}],formColumns:[{transKey:"gd.fieldSecurity.name",effectType:"input",prop:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.fieldSecurity.description",effectType:"textarea",prop:"description",label:"\u8BF4\u660E",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!1,rules:[]}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"fieldSecurity:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"fieldSecurity:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"fieldSecurity:del"}],formButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}]}}};const ce={props:{tableButtons:{type:Array,default:()=>{}},record:{type:Object,default:()=>({})},height:{type:Number,default:0}},data(){return{}},computed:{style(){return`max-height: calc(${this.height}px - 60px);`},...o.mapGetters(["tableSize"])},methods:{doEvent(t){this.$emit("functionName",t)}}};var ue=function(){var e=this,s=e._self._c;return s("div",{staticClass:"page-descriptions-item"},[s("div",{staticClass:"descriptionst"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1),s("div",{staticClass:"descriptionsb",style:e.style},[s("el-descriptions",{attrs:{column:1,size:e.tableSize,border:"",direction:"vertical"}},[s("el-descriptions-item",[s("template",{slot:"label"},[e._v(" "+e._s(e.$i18nt("gd.fieldSecurity.name","\u540D\u79F0"))+" ")]),e._v(" "+e._s(e.record.name)+" ")],2),s("el-descriptions-item",[s("template",{slot:"label"},[e._v(" "+e._s(e.$i18nt("gd.fieldSecurity.createdTime","\u521B\u5EFA\u65F6\u95F4"))+" ")]),e._v(" "+e._s(e.record.createdtime)+" ")],2),s("el-descriptions-item",[s("template",{slot:"label"},[e._v(" "+e._s(e.$i18nt("gd.fieldSecurity.description","\u8BF4\u660E"))+" ")]),e._v(" "+e._s(e.record.description?e.record.description:"--")+" ")],2)],1)],1)])},fe=[],he=o.normalizeComponent(ce,ue,fe,!1,null,"1fa4c435",null,null);const me=he.exports,ge={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.field.describe",prop:"name",label:"\u63CF\u8FF0",width:"200",type:"slot",slotType:"name",align:"left"},{transKey:"gd.field.field",prop:"syscodegenconfigid",width:"180",label:"\u5B57\u6BB5\u540D",align:"left",type:"slot",slotType:"syscodegenconfigid",showOverflowTooltip:!0},{transKey:"gd.field.effectType",prop:"effecttype",width:"140",type:"slot",slotType:"effecttype",label:"\u7C7B\u578B",align:"left"},{transKey:"gd.fieldSecurity.table",prop:"syscodegenid",width:"180",type:"slot",slotType:"syscodegenid",label:"\u8868",align:"left"},{transKey:"gd.fieldSecurity.read",prop:"isquery",width:"90",type:"slot",slotType:"isquery",label:"\u8BFB\u53D6",align:"center",fixed:"right"},{transKey:"gd.fieldSecurity.update",prop:"isedit",width:"90",type:"slot",slotType:"isedit",label:"\u66F4\u65B0",align:"center",fixed:"right"},{transKey:"gd.fieldSecurity.create",prop:"isadd",width:"90",type:"slot",slotType:"isadd",label:"\u521B\u5EFA",align:"center",fixed:"right"}],tableButtons:[{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"fieldSecurity:dispose"}]}}};const ye={name:"GdDataAssign",props:{id:{type:[String,Number],default:0}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],record:{},visible:!1,confirmLoading:!1,fullscreen:!1,width:"600px",ruleFormData:{ownerId:""}}},computed:{message(){return`${this.$i18nt("gd.fieldSecurity.editFieldTip","\u66F4\u6539\u9009\u5B9A\u5B57\u6BB5\u7684\u6743\u9650\u3002")}`},...o.mapGetters(["screenHeight"])},methods:{handleSubmit(){this.confirmLoading=!0,J(Object.assign(this.record,{sysfieldsecurityconfigid:this.id})).then(t=>{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})},open(t){this.record=Object.assign({...t},{isquery:String(t.isquery),isedit:String(t.isedit),isadd:String(t.isadd)}),this.visible=!0},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},getDictionary(t){return this.$options.filters.dictData(t)},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var pe=function(){var e=this,s=e._self._c;return s("div",[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,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:e.$i18nt("gd.fieldSecurity.editField","\u7F16\u8F91\u5B57\u6BB5\u5B89\u5168\u6027"),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"}]},[s("el-alert",{attrs:{title:e.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),type:"warning",description:e.message,"show-icon":"",closable:!1}}),s("div",{staticClass:"cofig"},[s("div",{staticClass:"l"},[s("div",{staticClass:"title"},[e._v(e._s(e.$i18nt("gd.fieldSecurity.allowReading","\u5141\u8BB8\u8BFB\u53D6")))]),s("div",[e._v(e._s(e.$i18nt("gd.fieldSecurity.allowReadingTip","\u7528\u6237\u53EF\u4EE5\u67E5\u770B\u6B64\u5B57\u6BB5")))])]),s("div",{staticClass:"r"},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.record.isquery,callback:function(i){e.$set(e.record,"isquery",i)},expression:"record.isquery"}},[e._l(e.getDictionary("yes_or_no"),function(i){return[s("el-option",{attrs:{value:i.code,label:e.$i18nt(i.transKey,i.name)}})]})],2)],1)]),s("el-divider"),s("div",{staticClass:"cofig"},[s("div",{staticClass:"l"},[s("div",{staticClass:"title"},[e._v(e._s(e.$i18nt("gd.fieldSecurity.allowUpdate","\u5141\u8BB8\u66F4\u65B0")))]),s("div",[e._v(e._s(e.$i18nt("gd.fieldSecurity.allowUpdateTip","\u7528\u6237\u53EF\u4EE5\u66F4\u6539\u6B64\u5B57\u6BB5\u4E2D\u7684\u4FE1\u606F")))])]),s("div",{staticClass:"r"},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.record.isedit,callback:function(i){e.$set(e.record,"isedit",i)},expression:"record.isedit"}},[e._l(e.getDictionary("yes_or_no"),function(i){return[s("el-option",{attrs:{value:i.code,label:e.$i18nt(i.transKey,i.name)}})]})],2)],1)]),s("el-divider"),s("div",{staticClass:"cofig"},[s("div",{staticClass:"l"},[s("div",{staticClass:"title"},[e._v(e._s(e.$i18nt("gd.fieldSecurity.allowCreate","\u5141\u8BB8\u521B\u5EFA")))]),s("div",[e._v(e._s(e.$i18nt("gd.fieldSecurity.allowCreateTip","\u7528\u6237\u53EF\u4EE5\u5728\u521B\u5EFA\u8BB0\u5F55\u65F6\u5411\u6B64\u5B57\u6BB5\u4E2D\u6DFB\u52A0\u4FE1\u606F")))])]),s("div",{staticClass:"r"},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.record.isadd,callback:function(i){e.$set(e.record,"isadd",i)},expression:"record.isadd"}},[e._l(e.getDictionary("yes_or_no"),function(i){return[s("el-option",{attrs:{value:i.code,label:e.$i18nt(i.transKey,i.name)}})]})],2)],1)])],1)],2)],1)},we=[],be=o.normalizeComponent(ye,pe,we,!1,null,"f8a4f4a0",null,null);const _e=be.exports;const ve={props:{height:{type:Number,default:100},record:{type:Object,default:()=>({})}},mixins:[ge],components:{EditForm:_e},data(){return{loading:!0,selectedRowKeys:[],selectedRows:[],queryParam:{},loadData:t=>this.record.id===void 0?new Promise((e,s)=>{e({pageNo:1,pageSize:40,totalRows:0,rows:[]})}):W(Object.assign(t,this.queryParam,{sysFieldSecurityConfigId:this.record.id})).then(e=>e.data)}},computed:{...o.mapGetters(["tablePageSize","tableSize","screenHeight","tableLists"])},methods:{edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},editForm(t){this.$refs.editForm.open(t)},refresh(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var Se=function(){var e=this,s=e._self._c;return s("div",[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"260px"}},[s("el-select",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.fieldSecurity.table","\u8868"),"reserve-keyword":"",filterable:"",remote:"",clearable:""},model:{value:e.queryParam.sysCodeGenId,callback:function(i){e.$set(e.queryParam,"sysCodeGenId",i)},expression:"queryParam.sysCodeGenId"}},e._l(e.tableLists,function(i){return s("el-option",{key:i.id,attrs:{label:e.$i18nt(`Dynamics.${i.transKey}`,i.busname),value:i.id}},[s("span",[e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.busname))+" "+e._s(i.tablename))])])}),1),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"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"name",fn:function({column:i,row:n}){return[n.syscodegenconfig?s("span",{staticClass:"active-color",staticStyle:{cursor:"pointer"},on:{click:function(a){return e.editForm(n)}}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.syscodegenconfig.transKey}`,n.syscodegenconfig.columncomment))+" ")]):e._e()]}},{key:"syscodegenconfigid",fn:function({column:i,row:n}){return[n.syscodegenconfig?s("span",[e._v(" "+e._s(n.syscodegenconfig.columnname)+" ")]):e._e()]}},{key:"effecttype",fn:function({column:i,row:n}){return[n.syscodegenconfig?s("span",[e._v(" "+e._s(e._f("dictType")("code_gen_effect_type",n.syscodegenconfig.effecttype))+" ")]):e._e()]}},{key:"syscodegenid",fn:function({column:i,row:n}){return[n.syscodegen?s("span",[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.syscodegen.transkey}`,n.syscodegen.busname))+" ")]):e._e()]}},{key:"isquery",fn:function({column:i,row:n}){return[n.isquery===1?s("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):s("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})]}},{key:"isedit",fn:function({column:i,row:n}){return[n.isedit===1?s("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):s("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})]}},{key:"isadd",fn:function({column:i,row:n}){return[n.isadd===1?s("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):s("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})]}}])}),s("EditForm",{ref:"editForm",attrs:{ok:"refresh",id:e.record.id},on:{ok:e.refresh}})],1)},$e=[],Ce=o.normalizeComponent(ve,Se,$e,!1,null,"faee3814",null,null);const Re=Ce.exports,xe={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.roleName",prop:"name",label:"\u89D2\u8272\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.roleType",prop:"roletype",label:"\u89D2\u8272\u7C7B\u578B",align:"left",type:"slot",slotType:"roletype",showOverflowTooltip:!0},{transKey:"gd.user.code",prop:"code",label:"\u552F\u4E00\u7F16\u7801",align:"left",type:"slot",slotType:"code",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",label:"\u6392\u5E8F",align:"left",type:"slot",slotType:"sort",showOverflowTooltip:!0}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"fieldSecurity:memberadd"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"fieldSecurity:memberdel"}]}}};const ke={props:{record:{type:Object,default:()=>({})},columns:{type:Array,default:()=>[]},disabledRowId:{type:Array,default:()=>[]}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],selectedRowKeys:[],selectedRows:[],visible:!1,confirmLoading:!1,fullscreen:!1,width:"90%",queryParam:{},loadData:t=>h(Object.assign(t,this.queryParam,{sysAppsId:window.$systemInfo.id})).then(e=>(this.changeData(e.data),e.data)),dataList:[]}},computed:{height(){return this.screenHeight-(this.fullscreen?160:320)},...o.mapGetters(["screenHeight","tablePageSize","tableSize"])},methods:{changeData(t){let e=[];this.dataList.forEach(i=>{e.push(i.id)});const s=t.rows.filter(i=>!e.includes(i.id));this.dataList=this.dataList.concat(s)},handleSubmit(t){let e=[];this.dataList.filter(i=>this.selectedRowKeys.includes(i.id)).forEach(i=>{e.push({sysFieldSecurityConfigId:this.record.id,member_AboutId:i.id,member_AboutTable:"sys_role"})});let s={data:this.selectedRowKeys,fkData:e};e.length===0?this.closed():this.$emit("lookupSeled",s)},open(t){this.visible=!0,this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)})},closed(){this.fullscreen=!1,this.visible=!1,this.onSelectChange([],[])},toggleFullscreen(){this.fullscreen=!this.fullscreen},refresh(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var Te=function(){var e=this,s=e._self._c;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,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:e.$i18nt("gd.menu.advancedFind","\u67E5\u627E"),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("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1,selectedKeep:!0,disabledRowId:e.disabledRowId},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){},proxy:!0},{key:"name",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.name)+" ")]}},{key:"code",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.code)+" ")]}},{key:"sort",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.sort)+" ")]}},{key:"roleType",fn:function({column:i,row:n}){return[e._v(" "+e._s(e._f("dictType")("role_type",n.roleType))+" ")]}}],null,!1,3083467277)}):e._e()],1)],2)},Be=[],Ke=o.normalizeComponent(ke,Te,Be,!1,null,"a2bced86",null,null);const Ne=Ke.exports;const Fe={props:{height:{type:Number,default:100},record:{type:Object,default:()=>({})}},mixins:[xe],data(){return{loading:!0,selectedRowKeys:[],selectedRows:[],queryParam:{sysCodeGenName:"sys_role"},disabledRowId:[],loadData:t=>this.record.id===void 0?new Promise((e,s)=>{e({pageNo:1,pageSize:40,totalRows:0,rows:[]})}):c(Object.assign(t,this.queryParam,{sysFieldSecurityConfigId:this.record.id})).then(e=>(this.getRowId(e.data),e.data))}},components:{RoleSearch:Ne},computed:{...o.mapGetters(["tablePageSize","tableSize","screenHeight"])},methods:{getRowId(t){let e=[];t.rows.filter(s=>!this.disabledRowId.includes(s.sysrole.id)).forEach(s=>{e.push(s.sysrole.id)}),this.disabledRowId=this.disabledRowId.concat(e)},lookupSeled(t){this.$refs.roleSearch.confirmLoading=!0,u(t.fkData).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$refs.roleSearch.closed(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message),this.$refs.roleSearch.confirmLoading=!1})},add(){this.$refs.roleSearch.open()},del(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,i)=>{if(e!=="confirm"){i();return}s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,f({ids:t.selectedRowKeys.join(",")}).then(n=>{n.success?(t.$message.success(t.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),t.disabledRowId=t.disabledRowId.filter(a=>!t.selectedRows.filter(l=>l.sysrole.id===a)[0]),t.refresh(),s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,i()):t.$message.error(t.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n.message)})}})},refresh(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var Le=function(){var e=this,s=e._self._c;return s("div",[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){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)])]},proxy:!0},{key:"name",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(n.sysrole?n.sysrole.name:"")+" ")])]}},{key:"code",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.sysrole?n.sysrole.code:"")+" ")]}},{key:"sort",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.sysrole?n.sysrole.sort:"")+" ")]}},{key:"roletype",fn:function({column:i,row:n}){return[n.sysrole?s("span",[e._v(e._s(e._f("dictType")("role_type",n.sysrole.roletype)))]):e._e()]}}])}),s("RoleSearch",{ref:"roleSearch",attrs:{record:e.record,columns:e.tableColumns,disabledRowId:e.disabledRowId},on:{lookupSeled:e.lookupSeled}})],1)},De=[],Ee=o.normalizeComponent(Fe,Le,De,!1,null,"067995ba",null,null);const ze=Ee.exports,Ie={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.fieldSecurity.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.teamType",prop:"teamType",label:"\u56E2\u961F\u7C7B\u578B",align:"left",type:"slot",slotType:"teamType",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.description",prop:"description",label:"\u8BF4\u660E",type:"slot",slotType:"description",align:"left"}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"fieldSecurity:memberadd"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"fieldSecurity:memberdel"}]}}};const Pe={props:{height:{type:Number,default:100},record:{type:Object,default:()=>({})}},mixins:[Ie],data(){return{loading:!0,selectedRowKeys:[],selectedRows:[],disabledRowId:[],queryParam:{sysCodeGenName:"sys_team"},loadData:t=>this.record.id===void 0?new Promise((e,s)=>{e({pageNo:1,pageSize:40,totalRows:0,rows:[]})}):c(Object.assign(t,this.queryParam,{sysFieldSecurityConfigId:this.record.id})).then(e=>(this.getRowId(e.data),e.data))}},computed:{...o.mapGetters(["tablePageSize","tableSize","screenHeight"])},methods:{getRowId(t){let e=[];t.rows.filter(s=>!this.disabledRowId.includes(s.systeam.id)).forEach(s=>{e.push(s.systeam.id)}),this.disabledRowId=this.disabledRowId.concat(e)},lookupSeled(t){if(t.fkData.length===0){this.$refs.engineSearch.closed();return}let e=[];t.fkData.forEach(s=>{e.push({sysFieldSecurityConfigId:this.record.id,member_AboutId:s.id,member_AboutTable:s.tableName})}),this.$refs.engineSearch.confirmLoading=!0,u(e).then(s=>{s.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")+s.message),this.$refs.engineSearch.confirmLoading=!1})},add(){this.$refs.engineSearch.open({fkEntityName:this.queryParam.sysCodeGenName,val:[],effectType:"participants",isRelevance:!0})},del(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,i)=>{if(e!=="confirm"){i();return}s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,f({ids:t.selectedRowKeys.join(",")}).then(n=>{n.success?(t.$message.success(t.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),t.disabledRowId=t.disabledRowId.filter(a=>!t.selectedRows.filter(l=>l.systeam.id===a)[0]),t.refresh(),s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,i()):t.$message.error(t.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n.message)})}})},refresh(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var Oe=function(){var e=this,s=e._self._c;return s("div",[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){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)])]},proxy:!0},{key:"name",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(n.systeam?n.systeam.name:"")+" ")])]}},{key:"teamType",fn:function({column:i,row:n}){return[n.systeam?s("span",[e._v(" "+e._s(e._f("dictType")("TeamType",n.systeam.teamtype))+" ")]):e._e()]}},{key:"description",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.systeam?n.systeam.description:"")+" ")]}}])}),s("gd-search",{ref:"engineSearch",attrs:{appendToBody:!0,disabledRowId:e.disabledRowId},on:{lookupSeled:e.lookupSeled}})],1)},Ve=[],Ge=o.normalizeComponent(Pe,Oe,Ve,!1,null,"04a23570",null,null);const qe=Ge.exports,je={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.name",prop:"name",label:"\u59D3\u540D",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.nickname",prop:"nickname",label:"\u6635\u79F0",align:"left",type:"slot",slotType:"nickname",showOverflowTooltip:!0},{transKey:"gd.user.sex",prop:"sex",label:"\u6027\u522B",align:"left",type:"slot",slotType:"sex",showOverflowTooltip:!0},{transKey:"gd.user.organization",prop:"orgname",label:"\u6240\u5C5E\u673A\u6784",align:"left",type:"slot",slotType:"orgname",showOverflowTooltip:!0},{transKey:"gd.user.status",prop:"status",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status",showOverflowTooltip:!0}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"fieldSecurity:memberadd"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"fieldSecurity:memberdel"}]}}};const Ae={props:{height:{type:Number,default:100},record:{type:Object,default:()=>({})}},mixins:[je],data(){return{loading:!0,selectedRowKeys:[],selectedRows:[],queryParam:{sysCodeGenName:"sys_user"},disabledRowId:[],loadData:t=>this.record.id===void 0?new Promise((e,s)=>{e({pageNo:1,pageSize:40,totalRows:0,rows:[]})}):c(Object.assign(t,this.queryParam,{sysFieldSecurityConfigId:this.record.id})).then(e=>(this.getRowId(e.data),e.data))}},computed:{...o.mapGetters(["tablePageSize","tableSize","screenHeight"])},methods:{getRowId(t){let e=[];t.rows.filter(s=>!this.disabledRowId.includes(s.sysuser.id)).forEach(s=>{e.push(s.sysuser.id)}),this.disabledRowId=this.disabledRowId.concat(e)},lookupSeled(t){if(t.fkData.length===0){this.$refs.engineSearch.closed();return}let e=[];t.fkData.forEach(s=>{e.push({sysFieldSecurityConfigId:this.record.id,member_AboutId:s.id,member_AboutTable:s.tableName})}),this.$refs.engineSearch.confirmLoading=!0,u(e).then(s=>{s.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")+s.message),this.$refs.engineSearch.confirmLoading=!1})},add(){this.$refs.engineSearch.open({fkEntityName:this.queryParam.sysCodeGenName,val:[],effectType:"participants",isRelevance:!0})},del(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,i)=>{if(e!=="confirm"){i();return}s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,f({ids:t.selectedRowKeys.join(",")}).then(n=>{n.success?(t.$message.success(t.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),t.disabledRowId=t.disabledRowId.filter(a=>!t.selectedRows.filter(l=>l.sysuser.id===a)[0]),t.refresh(),s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,i()):t.$message.error(t.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n.message)})}})},refresh(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var Me=function(){var e=this,s=e._self._c;return s("div",[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){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)])]},proxy:!0},{key:"name",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(n.sysuser?n.sysuser.name:"")+" ")])]}},{key:"nickname",fn:function({column:i,row:n}){return[s("span",{staticStyle:{cursor:"pointer"}},[e._v(" "+e._s(n.sysuser?n.sysuser.nickname:"")+" ")])]}},{key:"orgname",fn:function({column:i,row:n}){return[s("span",{staticStyle:{cursor:"pointer"}},[e._v(" "+e._s(n.sysuser?n.sysuser.orgname:"")+" ")])]}},{key:"sex",fn:function({column:i,row:n}){return[n.sysuser?s("span",[e._v(" "+e._s(e._f("dictType")("gender",n.sysuser.gender))+" ")]):e._e()]}},{key:"status",fn:function({column:i,row:n}){return[n.sysuser?s("span",[e._v(" "+e._s(e._f("dictType")("state_code",n.sysuser.statecodes))+" ")]):e._e()]}}])}),s("gd-search",{ref:"engineSearch",attrs:{appendToBody:!0,disabledRowId:e.disabledRowId},on:{lookupSeled:e.lookupSeled}})],1)},Qe=[],He=o.normalizeComponent(Ae,Me,Qe,!1,null,"bff3a640",null,null);const Ue=He.exports;const We={props:{height:{type:Number,default:0}},components:{FieldDescriptions:me,FieldConfig:Re,RoleConfig:ze,TeamConfig:qe,UserConfig:Ue},data(){return{tableButtons:[{displayName:"\u8FD4\u56DE",functionName:"back",show:!0,transKey:"gd.btn.back",icon:"el-icon-arrow-left"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysTableField:edit"}],activeName:"field",record:{},loading:!1,formLoading:!1}},computed:{getHeight(){return this.height-56},stylep(){return""}},methods:{tabChange(t){this.$nextTick(()=>{setTimeout(()=>{this.$refs[this.activeName+"Config"].refresh()},0)})},init(t){this.activeName="field",this.record=t,this.$nextTick(()=>{setTimeout(()=>{this.$refs[this.activeName+"Config"].refresh()},0)})},functionName(t){t.item.functionName==="back"&&(this.activeName=""),this.$emit("functionName",t)}}};var Je=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view",staticStyle:{position:"absolute",top:"0","z-index":"8",left:"0",right:"0",bottom:"0",background:"#fff"},style:e.stylep},[s("div",{staticStyle:{display:"flex",background:"#f5f5f5"}},[s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"page-view-descriptions",attrs:{"element-loading-spinner":"el-icon-loading active-color"}},[s("FieldDescriptions",{attrs:{record:e.record,tableButtons:e.tableButtons,height:e.height},on:{functionName:e.functionName}})],1),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.formLoading,expression:"formLoading"}],staticClass:"page-view-list",attrs:{"element-loading-spinner":"el-icon-loading"}},[s("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.tabChange},model:{value:e.activeName,callback:function(i){e.activeName=i},expression:"activeName"}},[s("el-tab-pane",{attrs:{label:e.$i18nt("gd.fieldSecurity.field","\u5B57\u6BB5\u6743\u9650"),name:"field",lazy:!0}},[e.activeName==="field"?s("FieldConfig",{ref:"fieldConfig",attrs:{height:e.getHeight,record:e.record}}):e._e()],1),s("el-tab-pane",{attrs:{label:e.$i18nt("gd.fieldSecurity.team","\u56E2\u961F"),name:"team",lazy:!0}},[e.activeName==="team"?s("TeamConfig",{ref:"teamConfig",attrs:{height:e.getHeight,record:e.record}}):e._e()],1),s("el-tab-pane",{attrs:{label:e.$i18nt("gd.fieldSecurity.user","\u7528\u6237"),name:"user",lazy:!0}},[e.activeName==="user"?s("UserConfig",{ref:"userConfig",attrs:{height:e.getHeight,record:e.record}}):e._e()],1),s("el-tab-pane",{attrs:{label:e.$i18nt("gd.fieldSecurity.role","\u89D2\u8272"),name:"role",lazy:!0}},[e.activeName==="role"?s("RoleConfig",{ref:"roleConfig",attrs:{height:e.getHeight,record:e.record}}):e._e()],1)],1)],1)])])},Xe=[],Ye=o.normalizeComponent(We,Je,Xe,!1,null,"5ca5605b",null,null);const Ze=Ye.exports;const et={name:"GdFieldSecurity",props:{height:{type:Number,default:0}},mixins:[de],data(){return{transKey:"gd.btn.add",formLoading:!1,loading:!0,selectedRowKeys:[],selectedRows:[],queryParam:{},loadData:t=>X(Object.assign(t,this.queryParam)).then(e=>e.data),selItemData:{},openManage:!1}},computed:{getFormColumns(){return this.formColumns},styled(){return this.openManage?"z-index:7;padding: 0px 0px 0px 0px;":"padding: 0px 0px 0px 0px;"},getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},components:{ListConfig:Ze},methods:{del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,ee({ids:this.selectedRowKeys.join(",")}).then(i=>{s(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,i.success?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+i.message),this.handleOk()})},editForm(t){this.openManage=!0,this.selItemData=t,this.$nextTick(()=>{setTimeout(()=>{this.$refs.listConfig.init(t)},0)})},add(){this.selItemData={},this.transKey="gd.btn.add",this.$refs.editForm.open(null)},edit(t){if(t){this.selItemData=t,this.transKey="gd.btn.edit",this.$refs.editForm.open(t);return}if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.selItemData=this.selectedRows[0],this.transKey="gd.btn.edit",this.$refs.editForm.open(this.selectedRows[0])},sbumit({data:t,record:e,btn:s},i,n){this.formLoading=!0,(e?Z:Y)(t).then(r=>{r.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),n(),Object.assign(this.selItemData,t),this.handleOk()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+r.message),this.formLoading=!1})},handleOk(){this.$refs.table.refresh(),this.openManage&&this.$refs.listConfig.init(this.selItemData)},refresh(){this.$refs.table.refresh()},back(){this.openManage=!1},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},functionNameFk(t){let e=t.item.functionName;this[e]&&this[e](this.selItemData)}}};var tt=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",style:e.styled},[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:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})]},proxy:!0},{key:"name",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,highlight:""},on:{click:e.editForm}})]}}])})],1),s("ListConfig",{ref:"listConfig",attrs:{height:e.height},on:{functionName:e.functionNameFk}}),s("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:!1,width:"700px"},on:{sbumit:e.sbumit}})],1)},st=[],it=o.normalizeComponent(et,tt,st,!1,null,"beb59471",null,null);const d=it.exports;d.install=function(t){t.component(d.name,d)};exports.GDpackage=d;exports.codeGenerateForm=N;exports.codeGenerateView=K;exports.getRolePage=h;exports.sysButtonAdd=S;exports.sysButtonDelete=v;exports.sysButtonDetails=$;exports.sysButtonEdit=C;exports.sysButtonList=_;exports.sysButtonSet=F;exports.sysEchartsAdd=I;exports.sysEchartsDel=O;exports.sysEchartsEdit=P;exports.sysEchartsPage=V;exports.sysEchartsPersonalDel=j;exports.sysEchartsPersonalEdit=q;exports.sysEchartsPersonalPage=G;exports.sysFormAdd=x;exports.sysFormDelete=T;exports.sysFormDetails=B;exports.sysFormEdit=k;exports.sysFormList=R;exports.sysRelationshipDetails=E;exports.sysRelationshipEdit=z;exports.sysRelationshipList=L;exports.sysRelationshipList2=D;exports.sysRoleAddV2=te;exports.sysRoleCopyRole=le;exports.sysRoleDelete=ie;exports.sysRoleEdit=se;exports.sysRoleGrantMenu=oe;exports.sysRoleOwnMenu=ne;exports.sysRoleRoleBindViewOnBtn=re;exports.sysRoleViewOnBtnList=ae;exports.sysSavedQueryAdd=A;exports.sysSavedQueryDefault=U;exports.sysSavedQueryDelQueries=Q;exports.sysSavedQueryEdit=M;exports.sysSavedQueryPage=H;exports.sysViewAdd=m;exports.sysViewDelete=p;exports.sysViewDetails=w;exports.sysViewEdit=y;exports.sysViewList=g;exports.sysWebResourceGetList=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as d, n as f } from "./chartbi.cdd1e365.mjs";
|
|
2
|
-
import { a as c, t as p, i as g, j as h, k as m, l as y } from "./messages.
|
|
2
|
+
import { a as c, t as p, i as g, j as h, k as m, l as y } from "./messages.d8abe18d.mjs";
|
|
3
3
|
const b = {
|
|
4
4
|
data() {
|
|
5
5
|
return {
|
|
@@ -10,7 +10,7 @@ const b = {
|
|
|
10
10
|
fixed: !0
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
transKey: "gd.file.
|
|
13
|
+
transKey: "gd.file.fileOriginName",
|
|
14
14
|
prop: "fileOriginName",
|
|
15
15
|
label: "\u6587\u4EF6\u540D\u79F0",
|
|
16
16
|
type: "slot",
|
|
@@ -46,7 +46,7 @@ const b = {
|
|
|
46
46
|
slotType: "fileSuffix"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
transKey: "gd.file.
|
|
49
|
+
transKey: "gd.file.fileSizeInfo",
|
|
50
50
|
prop: "filesizekb",
|
|
51
51
|
label: "\u6587\u4EF6\u5927\u5C0F",
|
|
52
52
|
align: "left",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("./chartbi.06e48153.js"),a=require("./messages.2fff74f3.js"),u={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.file.fileOriginName",prop:"fileOriginName",label:"\u6587\u4EF6\u540D\u79F0",type:"slot",slotType:"fileOriginName",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.file.fileLocation",prop:"fileLocation",label:"\u5B58\u50A8\u4F4D\u7F6E",align:"left",type:"slot",slotType:"fileLocation",align:"center"},{transKey:"gd.file.fileBucket",prop:"filebucket",label:"\u6587\u4EF6\u4ED3\u5E93",align:"left"},{transKey:"gd.file.fileSuffix",prop:"fileSuffix",label:"\u6587\u4EF6\u540E\u7F00",align:"left",type:"slot",slotType:"fileSuffix"},{transKey:"gd.file.fileSizeInfo",prop:"filesizekb",label:"\u6587\u4EF6\u5927\u5C0F",align:"left",type:"slot",slotType:"filesizekb"},{transKey:"gd.file.fileObjectName",prop:"fileobjectname",label:"\u552F\u4E00\u6807\u8BC6id",align:"left"}],formColumns:[{transKey:"gd.file.fileOriginName",effectType:"input",prop:"fileoriginname",label:"\u6587\u4EF6\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileLocation",effectType:"input",prop:"filelocation",label:"\u5B58\u50A8\u4F4D\u7F6E",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",dictTypeCode:"file_storage_location",disabled:!0,rules:[]},{transKey:"gd.file.fileBucket",effectType:"input",prop:"filebucket",label:"\u6587\u4EF6\u4ED3\u5E93",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileSuffix",effectType:"input",prop:"filesuffix",label:"\u6587\u4EF6\u540E\u7F00",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileSizeKb",effectType:"input",prop:"filesizekb",label:"\u6587\u4EF6\u5927\u5C0F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.fileObjectName",effectType:"input",prop:"fileobjectname",label:"\u552F\u4E00\u6807\u8BC6",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]},{transKey:"gd.file.filePath",effectType:"input",prop:"filepath",label:"\u5B58\u50A8\u8DEF\u5F84",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",disabled:!0,rules:[]}],tableButtons:[{displayName:"\u4E0A\u4F20\u6587\u4EF6",functionName:"add",show:!0,transKey:"gd.btn.upload",icon:"el-icon-upload",name:"sysFileInfo:upload"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysFileInfo:delete"},{displayName:"\u4E0B\u8F7D",functionName:"sysFileInfoDownload",show:!0,transKey:"gd.btn.download",icon:"el-icon-download",name:"sysFileInfo:download"},{displayName:"\u9884\u89C8",functionName:"preview",show:!0,transKey:"gd.btn.preview",icon:"gd-icon-yanjing-kai",name:"sysFileInfo:preview"}],tableQueries:[{transKey:"gd.file.fileOriginName",prop:"fileOriginName",label:"\u6587\u4EF6\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.file.fileLocation",prop:"fileLocation",label:"\u552F\u4E00\u7F16\u7801",effectType:"select",dictTypeCode:"file_storage_location",rules:[]},{transKey:"gd.file.fileBucket",prop:"fileBucket",label:"\u6587\u4EF6\u4ED3\u5E93",effectType:"input",rules:[]}]}}};const p={data(){return{transKey:"gd.btn.edit",fullscreen:!1,visible:!1,width:"900",confirmLoading:!1,src:"",isShowValue:!1,imgList:[]}},computed:{height(){return this.screenHeight-24-40-36},headTitle(){return this.$i18nt(this.transKey,this.title)},...d.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{toggleFullscreen(){this.fullscreen=!this.fullscreen},open(t){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysFileInfoPreview(t)},sysFileInfoPreview(t){a.sysFileInfoPreview({id:t.id}).then(e=>{this.confirmLoading=!1,this.downloadfile(e)}).catch(e=>{this.confirmLoading=!1,this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A"+e.message)})},downloadfile(t){const e=new Blob([t]),i=window.URL.createObjectURL(e);this.src=i,this.imgList[i],this.$refs.imgPreview.open()},closed(){this.fullscreen=!1,this.visible=!1}}};var g=function(){var e=this,i=e._self._c;return i("div",[i("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.src}})],1)},h=[],m=d.normalizeComponent(p,g,h,!1,null,"70df1ecb",null,null);const y=m.exports;const b={name:"GdFile",props:{height:{type:Number,default:100}},mixins:[a.tablesFilter,u],components:{previewFrom:y},data(){return{transKey:"gd.btn.edit",loadData:t=>a.sysFileInfoPage(Object.assign(t,this.queryParam)).then(e=>e.data),selectedRows:[],selectedRowKeys:[],queryParam:{},fileList:[],options:{},currentImg:"",imgList:[]}},computed:{getHeight(){return this.height},...d.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},created(){},mounted(){},methods:{editForm(t){this.transKey="gd.file.detail",this.$refs.editForm.open(Object.assign({...t}))},onSelectChange(t,e){if(this.selectedRows=e,this.selectedRowKeys=t,e.length==0){this.baseHideBtns([],2);return}if(e.length>1){this.baseHideBtns(["\u9884\u89C8"],2);return}let i=["\u9884\u89C8"],s=e[0];["png","jpeg","jpg","gif","tif","bmp","doc","docx","xls","xlsx","pdf","pptx"].includes(s.filesuffix)&&(i=[]),this.baseHideBtns(i,2)},baseHideBtns(t,e=1){let i=[...this.tableButtons];i.map(s=>(e===1?s.show=!t.includes(s.id):s.show=!t.includes(s.displayName),s)),this.tableButtons=[...i]},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},add(){document.querySelector(".upload-demo").click()},handleFileUpload(t){const e=this.$message({message:this.$i18nt("gd.https.uploading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"}),i=new FormData;i.append("file",t.file),a.sysFileInfoUpload(i).then(s=>{s.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")+s.message),this.$nextTick(()=>{setTimeout(()=>{e.close()},200)})})},sysFileInfoDownload(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.downTip","\u8BF7\u9009\u62E9\u9700\u8981\u4E0B\u8F7D\u7684\u6587\u4EF6!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.downTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u4E0B\u8F7D"));return}const t=this.$message({message:this.$i18nt("gd.https.downloading","\u6B63\u5728\u4E0B\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});a.sysFileInfoDownload({id:this.selectedRows[0].id}).then(e=>{this.downloadfile(e),this.$nextTick(()=>{setTimeout(()=>{t.close()},200)})}).catch(e=>{this.$nextTick(()=>{setTimeout(()=>{t.close()},200)}),this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25"))})},downloadfile(t){var e=new Blob([t.data],{type:"application/octet-stream;charset=UTF-8"}),i=t.headers["content-disposition"],s=new RegExp("filename=([^;]+\\.[^\\.;]+);*"),l=s.exec(i),r=l[1],n=document.createElement("a"),f=window.URL.createObjectURL(e),c=/^["](.*)["]$/g;n.style.display="none",n.href=f,n.download=decodeURI(r.replace(c,"$1")),document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(f)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,i)=>{this.delHand(t,e,i)}})},delHand(t,e,i){if(t!=="confirm"){i();return}let s=[];this.selectedRows.forEach(l=>{let r=a.sysFileInfoDelete(l).then(n=>n);s.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(s).then(l=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,i(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0;const r=l.filter(n=>!n.success);r.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")+r[0].message),this.refresh()})},preview(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("Locals.common.https.editTip"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("Locals.common.https.editTipOne"));return}let t=this.selectedRows[0];if(["png","jpeg","jpg","gif","tif","bmp"].includes(t.filesuffix)){this.baseFileImg(t);return}if(["doc","docx","xls","xlsx","pdf","pptx"].includes(t.filesuffix)){this.previewMicrosoft(t);return}},previewMicrosoft(t){this.$refs.filePreview.open({name:t.fileoriginname,fileId:t.id})},baseFileImg(t){a.sysFileInfoPreview({id:t.id}).then(e=>{const i=window.URL.createObjectURL(new Blob([e]));this.imgList=[i],this.currentImg=i,this.$nextTick(()=>{setTimeout(()=>{this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open()},0)})})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},beforeDestroy(){}};var w=function(){var e=this,i=e._self._c;return i("div",{staticClass:"gd-page-view"},[i("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[i("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:"fileOriginName",fn:function({column:s,row:l}){return[i("gd-tooltip",{attrs:{rowKey:"fileoriginname",row:l,highlight:""},on:{click:e.editForm}})]}},{key:"fileLocation",fn:function(s){return[i("el-tag",{style:e._f("dictColor")("file_storage_location",s.row.filelocation),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("file_storage_location",s.row.filelocation))+" ")])]}},{key:"fileSuffix",fn:function(s){return[i("el-tag",[e._v(" "+e._s(s.row.filesuffix)+" ")])]}},{key:"fileObjectName",fn:function({column:s,row:l}){return[i("gd-tooltip",{attrs:{rowKey:"fileobjectname",row:l}})]}},{key:"filesizekb",fn:function({column:s,row:l}){return[e._v(e._s(l.filesizekb)+"(kb)")]}},{key:"operator",fn:function(){return[i("div",{staticClass:"gd-table-operator"},[i("div",{staticClass:"gd-table-operatorl"},[i("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.file.fileOriginName","\u6587\u4EF6\u540D"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.fileOriginName,callback:function(s){e.$set(e.queryParam,"fileOriginName",s)},expression:"queryParam.fileOriginName"}}),i("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[i("i",{staticClass:"el-input__icon el-icon-search"})])],1),i("div",{staticClass:"gd-table-operatorr"},[i("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:l}){return[i("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:l},on:{save:e.saveQueries}})]}}])})],1),i("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}}),i("div",{staticStyle:{position:"absolute",left:"-200000px"}},[i("el-upload",{ref:"upload",attrs:{"http-request":e.handleFileUpload,"file-list":e.fileList,action:""}},[i("el-button",{ref:"uploadDemo",staticClass:"upload-demo",attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("\u9009\u53D6\u6587\u4EF6")])],1)],1),i("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}}),i("gd-file-preview",{ref:"filePreview",attrs:{options:e.options}})],1)},v=[],_=d.normalizeComponent(b,w,v,!1,null,"3a9954e8",null,null);const o=_.exports;o.install=function(t){t.component(o.name,o)};exports.GDpackage=o;
|