gds-plus-design-vue 1.1.86 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chartbi.78c30dce.js +60 -0
- package/lib/chartbi.ba6fe7fa.mjs +27588 -0
- package/lib/gd-initial.js +14 -14
- package/lib/gd-initial.mjs +12682 -11084
- package/lib/{main.85fa6307.mjs → main.141f0215.mjs} +3 -3
- package/lib/{main.1da3b284.js → main.30314690.js} +1 -1
- package/lib/main.543481f4.js +1 -0
- package/lib/{main.4a1b145d.mjs → main.7db485a4.mjs} +39 -29
- package/lib/{main.b283cf8f.mjs → main.cd0be45d.mjs} +5 -5
- package/lib/main.cf1290f5.js +1 -0
- package/lib/{messages.dc95e9ca.js → messages.2d31a14f.js} +4 -4
- package/lib/{messages.ae101ecd.mjs → messages.3363d67f.mjs} +16 -16
- package/lib/style.css +10 -2
- package/lib/{system.account.13fcfd13.js → system.account.5ecb976a.js} +2 -2
- package/lib/{system.account.80e9070c.mjs → system.account.abd13073.mjs} +229 -229
- package/lib/{system.config.373fe9dd.js → system.config.8b2c2452.js} +1 -1
- package/lib/{system.config.00e549b8.mjs → system.config.c17d97d1.mjs} +3 -3
- package/lib/{system.datasource.e47ba035.mjs → system.datasource.8afcb605.mjs} +2 -2
- package/lib/{system.datasource.8bc7b3c5.js → system.datasource.bde1c190.js} +1 -1
- package/lib/{system.dict.d904a4c1.mjs → system.dict.41525bfb.mjs} +111 -85
- package/lib/system.dict.edd60192.js +1 -0
- package/lib/{system.duplicatechecking.fa81b9ee.mjs → system.duplicatechecking.0833c9b6.mjs} +30 -22
- package/lib/{system.duplicatechecking.77a40e04.js → system.duplicatechecking.aa0b0f09.js} +1 -1
- package/lib/{system.email.ccea99a3.mjs → system.email.9436ae5a.mjs} +3 -3
- package/lib/{system.email.aa3a3964.js → system.email.b5c2ca73.js} +2 -2
- package/lib/{system.fieldsecurity.14445e20.js → system.fieldsecurity.167c9243.js} +1 -1
- package/lib/{system.fieldsecurity.0b85487c.mjs → system.fieldsecurity.e5714acf.mjs} +22 -22
- package/lib/{system.file.d5e18ffc.js → system.file.1372dca9.js} +1 -1
- package/lib/{system.file.e706cecf.mjs → system.file.9394e98a.mjs} +4 -4
- package/lib/{system.log.4ddc4031.js → system.log.959eeaa7.js} +1 -1
- package/lib/{system.log.cc844d4f.mjs → system.log.9d4eed4c.mjs} +2 -2
- package/lib/{system.machine.15cb8251.js → system.machine.b41c8d9b.js} +1 -1
- package/lib/{system.machine.4c9db2b1.mjs → system.machine.bcf7148f.mjs} +2 -2
- package/lib/{system.notice.c3b65e57.mjs → system.notice.40c505bb.mjs} +18 -13
- package/lib/system.notice.c4456add.js +1 -0
- package/lib/{system.noticereceived.a3af9de9.mjs → system.noticereceived.003de2d0.mjs} +4 -4
- package/lib/{system.noticereceived.5f2ff5b8.js → system.noticereceived.45e2bc6c.js} +1 -1
- package/lib/{system.onlineuser.99bd4e86.mjs → system.onlineuser.a0f94427.mjs} +2 -2
- package/lib/{system.onlineuser.6f9d9ab8.js → system.onlineuser.be89a865.js} +1 -1
- package/lib/{system.org.37d1d503.js → system.org.01eab98f.js} +1 -1
- package/lib/{system.org.b76023b7.mjs → system.org.33de59c9.mjs} +3 -3
- package/lib/{system.permissions.70965fc6.mjs → system.permissions.9bcb9602.mjs} +11 -11
- package/lib/{system.permissions.e350ba73.js → system.permissions.a313d4a1.js} +2 -2
- package/lib/{system.plugin.2afed6da.js → system.plugin.6b0e3fe5.js} +1 -1
- package/lib/{system.plugin.8ab6d913.mjs → system.plugin.f119b583.mjs} +3 -3
- package/lib/{system.pos.db7cc8b1.mjs → system.pos.2e6e2a5f.mjs} +3 -3
- package/lib/{system.pos.ef817301.js → system.pos.ec6ea8d0.js} +1 -1
- package/lib/{system.promptmanagement.ea39e6d1.mjs → system.promptmanagement.86052658.mjs} +20 -12
- package/lib/system.promptmanagement.f47498f6.js +1 -0
- package/lib/{system.role.c9313c04.js → system.role.ba18ffe0.js} +1 -1
- package/lib/{system.role.0bba7e75.mjs → system.role.c812ad72.mjs} +10 -10
- package/lib/{system.sumberrules.70378ac3.mjs → system.sumberrules.09e3efaa.mjs} +4 -4
- package/lib/system.sumberrules.3da249c2.js +1 -0
- package/lib/system.team.62bd9cc2.js +1 -0
- package/lib/system.team.c665e5a8.mjs +926 -0
- package/lib/system.teammembers.376a248a.mjs +398 -0
- package/lib/system.teammembers.8273b71b.js +1 -0
- package/lib/{system.timers.2b286d7f.js → system.timers.0984adcd.js} +2 -2
- package/lib/{system.timers.d0f4b3d9.mjs → system.timers.a98c5800.mjs} +7 -7
- package/lib/{system.translation.2e43f7a2.js → system.translation.1e0c0eba.js} +1 -1
- package/lib/{system.translation.bb67cd46.mjs → system.translation.f371225d.mjs} +13 -13
- package/lib/{system.user.12324280.mjs → system.user.20f0e3fa.mjs} +184 -181
- package/lib/{system.user.ffdbb3f9.js → system.user.8123edea.js} +6 -6
- package/lib/{system.useraffiliation.761f4b55.mjs → system.useraffiliation.7424aa9d.mjs} +6 -6
- package/lib/{system.useraffiliation.4fc3c0aa.js → system.useraffiliation.9dba06f7.js} +1 -1
- package/lib/{system.webresource.a5ea3b96.js → system.webresource.3ce3eb71.js} +1 -1
- package/lib/{system.webresource.16b9b302.mjs → system.webresource.e270251b.mjs} +3 -3
- package/lib/{system.welcome.14985d84.js → system.welcome.84bde03d.js} +1 -1
- package/lib/{system.welcome.90e60cc9.mjs → system.welcome.c2aaf120.mjs} +1 -1
- package/locale/el/en_US.js +122 -122
- package/locale/el/id_ID.js +122 -122
- package/locale/el/vi_VN.js +122 -122
- package/locale/el/zh_CN.js +122 -122
- package/locale/en_US.js +56 -3
- package/locale/id_ID.js +55 -2
- package/locale/vi_VN.js +55 -2
- package/locale/zh_CN.js +54 -1
- package/package.json +1 -1
- package/lib/chartbi.57f44d3e.mjs +0 -44076
- package/lib/chartbi.94deb957.js +0 -80
- package/lib/main.1b00a4e3.js +0 -1
- package/lib/main.2a2d1dba.js +0 -1
- package/lib/system.dict.5ffc0729.js +0 -1
- package/lib/system.notice.29eda0a6.js +0 -1
- package/lib/system.promptmanagement.db48f9a4.js +0 -1
- package/lib/system.sumberrules.5e052247.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as C } from "./system.org.
|
|
2
|
-
import { f as O, a as N, h as P, c as B, i as
|
|
3
|
-
import { m as
|
|
4
|
-
import { t as G } from "./messages.
|
|
5
|
-
import { G as Q } from "./system.role.
|
|
1
|
+
import { g as C } from "./system.org.33de59c9.mjs";
|
|
2
|
+
import { f as O, a as N, h as P, c as B, i as D, j as E, k as U, l as I, m as A, n as M, e as q, o as H, q as j, r as z, t as S } from "./system.account.abd13073.mjs";
|
|
3
|
+
import { m as R, n as T } from "./chartbi.ba6fe7fa.mjs";
|
|
4
|
+
import { t as G } from "./messages.3363d67f.mjs";
|
|
5
|
+
import { G as Q } from "./system.role.c812ad72.mjs";
|
|
6
6
|
const V = {
|
|
7
7
|
data() {
|
|
8
8
|
return {
|
|
@@ -29,22 +29,22 @@ const V = {
|
|
|
29
29
|
height() {
|
|
30
30
|
return this.screenHeight - (this.fullscreen ? 160 : 340);
|
|
31
31
|
},
|
|
32
|
-
...
|
|
32
|
+
...R(["screenHeight"])
|
|
33
33
|
},
|
|
34
34
|
methods: {
|
|
35
35
|
handleSubmit() {
|
|
36
36
|
this.confirmLoading = !0;
|
|
37
|
-
let
|
|
38
|
-
|
|
37
|
+
let i = [];
|
|
38
|
+
i = this.allRowData.filter(
|
|
39
39
|
(t) => !this.selectedRowKeys.some((r) => r === t.id)
|
|
40
40
|
);
|
|
41
|
-
const e =
|
|
41
|
+
const e = i.map((t) => t.id);
|
|
42
42
|
O({ id: this.record.id, addRoleIdList: this.selectedRowKeys, removeRoleIdList: e }).then((t) => {
|
|
43
43
|
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
|
|
44
44
|
});
|
|
45
45
|
},
|
|
46
|
-
open(
|
|
47
|
-
this.confirmLoading = !0, this.record =
|
|
46
|
+
open(i) {
|
|
47
|
+
this.confirmLoading = !0, this.record = i, this.visible = !0, N({ id: i.id }).then((e) => {
|
|
48
48
|
e.code === 200 && (this.selectedRowKeys = e.data), this.$nextTick(() => {
|
|
49
49
|
setTimeout(() => {
|
|
50
50
|
this.$refs.roleForm.refresh();
|
|
@@ -58,11 +58,11 @@ const V = {
|
|
|
58
58
|
toggleFullscreen() {
|
|
59
59
|
this.fullscreen = !this.fullscreen;
|
|
60
60
|
},
|
|
61
|
-
onSelectChange(
|
|
62
|
-
this.selectedRowKeys =
|
|
61
|
+
onSelectChange(i, e, t) {
|
|
62
|
+
this.selectedRowKeys = i, this.allRowData = t.rows;
|
|
63
63
|
},
|
|
64
|
-
doEvent(
|
|
65
|
-
const e =
|
|
64
|
+
doEvent(i) {
|
|
65
|
+
const e = i.item.functionName;
|
|
66
66
|
this[e] && this[e]();
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -78,7 +78,7 @@ var Y = function() {
|
|
|
78
78
|
J,
|
|
79
79
|
!1,
|
|
80
80
|
null,
|
|
81
|
-
"
|
|
81
|
+
"117b9c7a",
|
|
82
82
|
null,
|
|
83
83
|
null
|
|
84
84
|
);
|
|
@@ -119,7 +119,7 @@ const Z = {
|
|
|
119
119
|
},
|
|
120
120
|
methods: {
|
|
121
121
|
save() {
|
|
122
|
-
let
|
|
122
|
+
let i = this;
|
|
123
123
|
this.$confirm(
|
|
124
124
|
this.$i18nt("gd.https.orgOldNameTip", "\u7528\u6237\u6240\u5C5E\u5386\u53F2\u6570\u636E\u673A\u6784\u4F1A\u66F4\u65B0,\u662F\u5426\u786E\u8BA4\u4FEE\u6539\u7528\u6237\u6240\u5C5E\u673A\u6784?"),
|
|
125
125
|
this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"),
|
|
@@ -140,23 +140,23 @@ const Z = {
|
|
|
140
140
|
r();
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
|
-
r(), P({ userId:
|
|
144
|
-
|
|
143
|
+
r(), P({ userId: i.record.id, newBusiUnitId: this.ruleFormData.orgId }).then((n) => {
|
|
144
|
+
n.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
},
|
|
150
150
|
handleSubmit() {
|
|
151
|
-
this.confirmLoading = !0, this.$refs.ruleForm.validate((
|
|
152
|
-
|
|
151
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((i) => {
|
|
152
|
+
i ? (this.confirmLoading = !1, this.save()) : this.confirmLoading = !1;
|
|
153
153
|
});
|
|
154
154
|
},
|
|
155
|
-
open(
|
|
156
|
-
this.confirmLoading = !0, this.record =
|
|
157
|
-
const t = (r) => (r = r.filter((
|
|
155
|
+
open(i) {
|
|
156
|
+
this.confirmLoading = !0, this.record = i, this.visible = !0, this.showForm = !1, C().then((e) => {
|
|
157
|
+
const t = (r) => (r = r.filter((n, s) => (n.id === i.orgid && (n.disabled = !0), n.children && (n.children = t(n.children)), !0)), r);
|
|
158
158
|
this.orgTree = t(e.data), this.ruleFormData = {
|
|
159
|
-
orgIded:
|
|
159
|
+
orgIded: i.orgid,
|
|
160
160
|
orgId: ""
|
|
161
161
|
}, this.showForm = !0, this.confirmLoading = !1, this.$nextTick(() => {
|
|
162
162
|
setTimeout(() => {
|
|
@@ -171,8 +171,8 @@ const Z = {
|
|
|
171
171
|
toggleFullscreen() {
|
|
172
172
|
this.fullscreen = !this.fullscreen;
|
|
173
173
|
},
|
|
174
|
-
doEvent(
|
|
175
|
-
const e =
|
|
174
|
+
doEvent(i) {
|
|
175
|
+
const e = i.item.functionName;
|
|
176
176
|
this[e] && this[e]();
|
|
177
177
|
}
|
|
178
178
|
}
|
|
@@ -260,7 +260,7 @@ const ie = se.exports, ne = {
|
|
|
260
260
|
slotType: "statecodes",
|
|
261
261
|
align: "center",
|
|
262
262
|
dictTypeCode: "state_code",
|
|
263
|
-
renderHeader: (
|
|
263
|
+
renderHeader: (i, ...e) => this.renderHeader(i, ...e, {
|
|
264
264
|
effectType: "checkbox",
|
|
265
265
|
dictTypeCode: "state_code"
|
|
266
266
|
})
|
|
@@ -481,20 +481,20 @@ const ie = se.exports, ne = {
|
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
};
|
|
484
|
-
var
|
|
484
|
+
var L = { exports: {} };
|
|
485
485
|
/*!
|
|
486
486
|
* clipboard.js v2.0.4
|
|
487
487
|
* https://zenorocha.github.io/clipboard.js
|
|
488
488
|
*
|
|
489
489
|
* Licensed MIT © Zeno Rocha
|
|
490
490
|
*/
|
|
491
|
-
(function(
|
|
492
|
-
(function(r,
|
|
493
|
-
|
|
491
|
+
(function(i, e) {
|
|
492
|
+
(function(r, n) {
|
|
493
|
+
i.exports = n();
|
|
494
494
|
})(B, function() {
|
|
495
495
|
return function(t) {
|
|
496
496
|
var r = {};
|
|
497
|
-
function
|
|
497
|
+
function n(s) {
|
|
498
498
|
if (r[s])
|
|
499
499
|
return r[s].exports;
|
|
500
500
|
var o = r[s] = {
|
|
@@ -502,34 +502,34 @@ var R = { exports: {} };
|
|
|
502
502
|
l: !1,
|
|
503
503
|
exports: {}
|
|
504
504
|
};
|
|
505
|
-
return t[s].call(o.exports, o, o.exports,
|
|
505
|
+
return t[s].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
|
|
506
506
|
}
|
|
507
|
-
return
|
|
508
|
-
|
|
509
|
-
},
|
|
507
|
+
return n.m = t, n.c = r, n.d = function(s, o, a) {
|
|
508
|
+
n.o(s, o) || Object.defineProperty(s, o, { enumerable: !0, get: a });
|
|
509
|
+
}, n.r = function(s) {
|
|
510
510
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
|
|
511
|
-
},
|
|
512
|
-
if (o & 1 && (s =
|
|
511
|
+
}, n.t = function(s, o) {
|
|
512
|
+
if (o & 1 && (s = n(s)), o & 8 || o & 4 && typeof s == "object" && s && s.__esModule)
|
|
513
513
|
return s;
|
|
514
514
|
var a = /* @__PURE__ */ Object.create(null);
|
|
515
|
-
if (
|
|
515
|
+
if (n.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: s }), o & 2 && typeof s != "string")
|
|
516
516
|
for (var c in s)
|
|
517
|
-
|
|
517
|
+
n.d(a, c, function(h) {
|
|
518
518
|
return s[h];
|
|
519
519
|
}.bind(null, c));
|
|
520
520
|
return a;
|
|
521
|
-
},
|
|
521
|
+
}, n.n = function(s) {
|
|
522
522
|
var o = s && s.__esModule ? function() {
|
|
523
523
|
return s.default;
|
|
524
524
|
} : function() {
|
|
525
525
|
return s;
|
|
526
526
|
};
|
|
527
|
-
return
|
|
528
|
-
},
|
|
527
|
+
return n.d(o, "a", o), o;
|
|
528
|
+
}, n.o = function(s, o) {
|
|
529
529
|
return Object.prototype.hasOwnProperty.call(s, o);
|
|
530
|
-
},
|
|
530
|
+
}, n.p = "", n(n.s = 0);
|
|
531
531
|
}([
|
|
532
|
-
function(t, r,
|
|
532
|
+
function(t, r, n) {
|
|
533
533
|
var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
|
|
534
534
|
return typeof m;
|
|
535
535
|
} : function(m) {
|
|
@@ -544,7 +544,7 @@ var R = { exports: {} };
|
|
|
544
544
|
return function(g, v, f) {
|
|
545
545
|
return v && m(g.prototype, v), f && m(g, f), g;
|
|
546
546
|
};
|
|
547
|
-
}(), a =
|
|
547
|
+
}(), a = n(1), c = l(a), h = n(3), b = l(h), p = n(4), u = l(p);
|
|
548
548
|
function l(m) {
|
|
549
549
|
return m && m.__esModule ? m : { default: m };
|
|
550
550
|
}
|
|
@@ -635,7 +635,7 @@ var R = { exports: {} };
|
|
|
635
635
|
}
|
|
636
636
|
t.exports = K;
|
|
637
637
|
},
|
|
638
|
-
function(t, r,
|
|
638
|
+
function(t, r, n) {
|
|
639
639
|
var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
|
|
640
640
|
return typeof u;
|
|
641
641
|
} : function(u) {
|
|
@@ -650,7 +650,7 @@ var R = { exports: {} };
|
|
|
650
650
|
return function(l, d, w) {
|
|
651
651
|
return d && u(l.prototype, d), w && u(l, w), l;
|
|
652
652
|
};
|
|
653
|
-
}(), a =
|
|
653
|
+
}(), a = n(2), c = h(a);
|
|
654
654
|
function h(u) {
|
|
655
655
|
return u && u.__esModule ? u : { default: u };
|
|
656
656
|
}
|
|
@@ -755,7 +755,7 @@ var R = { exports: {} };
|
|
|
755
755
|
t.exports = p;
|
|
756
756
|
},
|
|
757
757
|
function(t, r) {
|
|
758
|
-
function
|
|
758
|
+
function n(s) {
|
|
759
759
|
var o;
|
|
760
760
|
if (s.nodeName === "SELECT")
|
|
761
761
|
s.focus(), o = s.value;
|
|
@@ -769,12 +769,12 @@ var R = { exports: {} };
|
|
|
769
769
|
}
|
|
770
770
|
return o;
|
|
771
771
|
}
|
|
772
|
-
t.exports =
|
|
772
|
+
t.exports = n;
|
|
773
773
|
},
|
|
774
774
|
function(t, r) {
|
|
775
|
-
function
|
|
775
|
+
function n() {
|
|
776
776
|
}
|
|
777
|
-
|
|
777
|
+
n.prototype = {
|
|
778
778
|
on: function(s, o, a) {
|
|
779
779
|
var c = this.e || (this.e = {});
|
|
780
780
|
return (c[s] || (c[s] = [])).push({
|
|
@@ -802,10 +802,10 @@ var R = { exports: {} };
|
|
|
802
802
|
c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
|
|
803
803
|
return h.length ? a[s] = h : delete a[s], this;
|
|
804
804
|
}
|
|
805
|
-
}, t.exports =
|
|
805
|
+
}, t.exports = n;
|
|
806
806
|
},
|
|
807
|
-
function(t, r,
|
|
808
|
-
var s =
|
|
807
|
+
function(t, r, n) {
|
|
808
|
+
var s = n(5), o = n(6);
|
|
809
809
|
function a(p, u, l) {
|
|
810
810
|
if (!p && !u && !l)
|
|
811
811
|
throw new Error("Missing required arguments");
|
|
@@ -845,20 +845,20 @@ var R = { exports: {} };
|
|
|
845
845
|
t.exports = a;
|
|
846
846
|
},
|
|
847
847
|
function(t, r) {
|
|
848
|
-
r.node = function(
|
|
849
|
-
return
|
|
850
|
-
}, r.nodeList = function(
|
|
851
|
-
var s = Object.prototype.toString.call(
|
|
852
|
-
return
|
|
853
|
-
}, r.string = function(
|
|
854
|
-
return typeof
|
|
855
|
-
}, r.fn = function(
|
|
856
|
-
var s = Object.prototype.toString.call(
|
|
848
|
+
r.node = function(n) {
|
|
849
|
+
return n !== void 0 && n instanceof HTMLElement && n.nodeType === 1;
|
|
850
|
+
}, r.nodeList = function(n) {
|
|
851
|
+
var s = Object.prototype.toString.call(n);
|
|
852
|
+
return n !== void 0 && (s === "[object NodeList]" || s === "[object HTMLCollection]") && "length" in n && (n.length === 0 || r.node(n[0]));
|
|
853
|
+
}, r.string = function(n) {
|
|
854
|
+
return typeof n == "string" || n instanceof String;
|
|
855
|
+
}, r.fn = function(n) {
|
|
856
|
+
var s = Object.prototype.toString.call(n);
|
|
857
857
|
return s === "[object Function]";
|
|
858
858
|
};
|
|
859
859
|
},
|
|
860
|
-
function(t, r,
|
|
861
|
-
var s =
|
|
860
|
+
function(t, r, n) {
|
|
861
|
+
var s = n(7);
|
|
862
862
|
function o(h, b, p, u, l) {
|
|
863
863
|
var d = c.apply(this, arguments);
|
|
864
864
|
return h.addEventListener(p, d, l), {
|
|
@@ -880,13 +880,13 @@ var R = { exports: {} };
|
|
|
880
880
|
t.exports = a;
|
|
881
881
|
},
|
|
882
882
|
function(t, r) {
|
|
883
|
-
var
|
|
883
|
+
var n = 9;
|
|
884
884
|
if (typeof Element < "u" && !Element.prototype.matches) {
|
|
885
885
|
var s = Element.prototype;
|
|
886
886
|
s.matches = s.matchesSelector || s.mozMatchesSelector || s.msMatchesSelector || s.oMatchesSelector || s.webkitMatchesSelector;
|
|
887
887
|
}
|
|
888
888
|
function o(a, c) {
|
|
889
|
-
for (; a && a.nodeType !==
|
|
889
|
+
for (; a && a.nodeType !== n; ) {
|
|
890
890
|
if (typeof a.matches == "function" && a.matches(c))
|
|
891
891
|
return a;
|
|
892
892
|
a = a.parentNode;
|
|
@@ -896,8 +896,8 @@ var R = { exports: {} };
|
|
|
896
896
|
}
|
|
897
897
|
]);
|
|
898
898
|
});
|
|
899
|
-
})(
|
|
900
|
-
const re = /* @__PURE__ */
|
|
899
|
+
})(L);
|
|
900
|
+
const re = /* @__PURE__ */ D(L.exports);
|
|
901
901
|
const oe = {
|
|
902
902
|
props: {
|
|
903
903
|
infoData: {
|
|
@@ -929,39 +929,39 @@ ${this.$i18nt("gd.user.phone", "\u624B\u673A\u53F7")}: ${this.infoData.phone}
|
|
|
929
929
|
}
|
|
930
930
|
},
|
|
931
931
|
methods: {
|
|
932
|
-
open(
|
|
933
|
-
this.visible = !0, this.isSendEmailList =
|
|
932
|
+
open(i) {
|
|
933
|
+
this.visible = !0, this.isSendEmailList = i;
|
|
934
934
|
},
|
|
935
935
|
colseCancel() {
|
|
936
936
|
this.visible = !1;
|
|
937
937
|
},
|
|
938
938
|
cmpleteUpgrade() {
|
|
939
|
-
const
|
|
940
|
-
|
|
939
|
+
const i = new re(".copy-btn");
|
|
940
|
+
i.on("success", () => {
|
|
941
941
|
this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.isSendEmailList != 1 && (this.visible = !1, this.$emit("sending"));
|
|
942
|
-
}),
|
|
942
|
+
}), i.on("error", () => {
|
|
943
943
|
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25")), this.visible = !1;
|
|
944
944
|
}), setTimeout(() => {
|
|
945
|
-
|
|
945
|
+
i.destroy();
|
|
946
946
|
}, 122);
|
|
947
947
|
},
|
|
948
948
|
sendingEailm() {
|
|
949
|
-
let
|
|
950
|
-
|
|
949
|
+
let i = this;
|
|
950
|
+
i.sending = !0;
|
|
951
951
|
let e = {
|
|
952
|
-
accountName:
|
|
953
|
-
emailAddress:
|
|
952
|
+
accountName: i.infoData.account,
|
|
953
|
+
emailAddress: i.infoData.email,
|
|
954
954
|
pcR_Type: 5
|
|
955
955
|
};
|
|
956
956
|
E(e).then((t) => {
|
|
957
|
-
t.success ? (
|
|
957
|
+
t.success ? (i.sending = !1, i.visible = !1, i.$notify({
|
|
958
958
|
duration: 8e3,
|
|
959
959
|
type: "success",
|
|
960
960
|
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
961
961
|
dangerouslyUseHTMLString: !0,
|
|
962
962
|
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
963
963
|
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
964
|
-
}),
|
|
964
|
+
}), i.$emit("sending")) : i.$message.error(i.$i18nt("gd.https.sendingErr", "\u53D1\u9001\u5931\u8D25") + t.message);
|
|
965
965
|
});
|
|
966
966
|
}
|
|
967
967
|
}
|
|
@@ -1007,7 +1007,7 @@ const ue = {
|
|
|
1007
1007
|
value: "value"
|
|
1008
1008
|
},
|
|
1009
1009
|
defaultExpandedKeys: "",
|
|
1010
|
-
loadData: (
|
|
1010
|
+
loadData: (i) => U(Object.assign(i, this.getQueryParam)).then((e) => e.data),
|
|
1011
1011
|
disableBtn: ["\u542F\u7528", "\u505C\u7528"],
|
|
1012
1012
|
fileList: [],
|
|
1013
1013
|
needLoad: !1,
|
|
@@ -1024,16 +1024,16 @@ const ue = {
|
|
|
1024
1024
|
},
|
|
1025
1025
|
computed: {
|
|
1026
1026
|
getQueryParam() {
|
|
1027
|
-
let
|
|
1027
|
+
let i = /* @__PURE__ */ new Map();
|
|
1028
1028
|
for (let e in this.queryParam)
|
|
1029
|
-
|
|
1030
|
-
return Object.fromEntries(
|
|
1029
|
+
i.set(e === "statecodes" ? "searchctatus" : e, this.queryParam[e]);
|
|
1030
|
+
return Object.fromEntries(i);
|
|
1031
1031
|
},
|
|
1032
1032
|
getFormColumns() {
|
|
1033
1033
|
return this.formColumns.filter((e) => (e.prop === "orgid" && (e.treeOptions = [...this.orgTree]), !0));
|
|
1034
1034
|
},
|
|
1035
1035
|
getTableButtons() {
|
|
1036
|
-
return this.tableButtons.filter((
|
|
1036
|
+
return this.tableButtons.filter((i) => (i.show = !this.disableBtn.includes(i.displayName), !0));
|
|
1037
1037
|
},
|
|
1038
1038
|
getHeight() {
|
|
1039
1039
|
return this.height;
|
|
@@ -1041,7 +1041,7 @@ const ue = {
|
|
|
1041
1041
|
styled() {
|
|
1042
1042
|
return `height:${this.height + 76}px`;
|
|
1043
1043
|
},
|
|
1044
|
-
...
|
|
1044
|
+
...R(["tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
1045
1045
|
},
|
|
1046
1046
|
methods: {
|
|
1047
1047
|
updateInstitutions() {
|
|
@@ -1070,18 +1070,18 @@ const ue = {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
this.$refs.userRoleForm.open(this.selectedRows[0]);
|
|
1072
1072
|
},
|
|
1073
|
-
saveQueries(
|
|
1073
|
+
saveQueries(i) {
|
|
1074
1074
|
this.queryParam = {
|
|
1075
|
-
...
|
|
1075
|
+
...i
|
|
1076
1076
|
}, this.refresh();
|
|
1077
1077
|
},
|
|
1078
|
-
handleFileUpload(
|
|
1078
|
+
handleFileUpload(i) {
|
|
1079
1079
|
const e = this.$message({
|
|
1080
1080
|
message: this.$i18nt("gd.https.uploading", "\u52A0\u8F7D\u4E2D..."),
|
|
1081
1081
|
duration: 0,
|
|
1082
1082
|
iconClass: "el-icon-loading"
|
|
1083
1083
|
}), t = new FormData();
|
|
1084
|
-
t.append("file",
|
|
1084
|
+
t.append("file", i.file), I(t).then((r) => {
|
|
1085
1085
|
r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
|
|
1086
1086
|
setTimeout(() => {
|
|
1087
1087
|
e.close();
|
|
@@ -1093,21 +1093,21 @@ const ue = {
|
|
|
1093
1093
|
this.fileList = [], document.querySelector(".upload-demo").click();
|
|
1094
1094
|
},
|
|
1095
1095
|
exportUser() {
|
|
1096
|
-
const
|
|
1096
|
+
const i = this.$message({
|
|
1097
1097
|
message: this.$i18nt("gd.https.exporting", "\u6B63\u5728\u5BFC\u51FA\u4E2D..."),
|
|
1098
1098
|
duration: 0,
|
|
1099
1099
|
iconClass: "el-icon-loading"
|
|
1100
1100
|
});
|
|
1101
|
-
|
|
1101
|
+
A().then((e) => {
|
|
1102
1102
|
this.downloadfile(e), this.$nextTick(() => {
|
|
1103
1103
|
setTimeout(() => {
|
|
1104
|
-
|
|
1104
|
+
i.close();
|
|
1105
1105
|
}, 200);
|
|
1106
1106
|
});
|
|
1107
1107
|
}).catch((e) => {
|
|
1108
1108
|
this.$nextTick(() => {
|
|
1109
1109
|
setTimeout(() => {
|
|
1110
|
-
|
|
1110
|
+
i.close();
|
|
1111
1111
|
}, 200);
|
|
1112
1112
|
});
|
|
1113
1113
|
});
|
|
@@ -1122,7 +1122,7 @@ const ue = {
|
|
|
1122
1122
|
row: this.selectedRows[0]
|
|
1123
1123
|
});
|
|
1124
1124
|
},
|
|
1125
|
-
editStateCodes({ column:
|
|
1125
|
+
editStateCodes({ column: i, row: e }) {
|
|
1126
1126
|
const t = e.statecodes != 1 ? this.$i18nt("gd.https.enableContent", "\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?") : this.$i18nt("gd.https.deactivateContent", "\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"), r = e.statecodes != 1 ? this.$i18nt("gd.https.enableOk", "\u786E\u8BA4\u505C\u7528") : this.$i18nt("gd.https.deactivateOk", "\u786E\u8BA4\u542F\u7528");
|
|
1127
1127
|
this.$confirm(t, this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
|
|
1128
1128
|
confirmButtonText: r,
|
|
@@ -1136,12 +1136,12 @@ const ue = {
|
|
|
1136
1136
|
customClass: "custom-alert",
|
|
1137
1137
|
callback: () => {
|
|
1138
1138
|
},
|
|
1139
|
-
beforeClose: (
|
|
1140
|
-
if (
|
|
1139
|
+
beforeClose: (n, s, o) => {
|
|
1140
|
+
if (n !== "confirm") {
|
|
1141
1141
|
o();
|
|
1142
1142
|
return;
|
|
1143
1143
|
}
|
|
1144
|
-
s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1,
|
|
1144
|
+
s.confirmButtonLoading = !0, s.cancelButtonLoading = !0, s.showCancelButton = !1, M({
|
|
1145
1145
|
id: e.id,
|
|
1146
1146
|
stateCodes: e.statecodes == 1 ? 0 : 1
|
|
1147
1147
|
}).then((a) => {
|
|
@@ -1153,30 +1153,30 @@ const ue = {
|
|
|
1153
1153
|
refresh() {
|
|
1154
1154
|
this.$refs.table.refresh();
|
|
1155
1155
|
},
|
|
1156
|
-
editForm(
|
|
1156
|
+
editForm(i) {
|
|
1157
1157
|
this.transKey = "gd.btn.edit", this.$refs.editForm.open(
|
|
1158
1158
|
Object.assign(
|
|
1159
1159
|
{
|
|
1160
|
-
...
|
|
1160
|
+
...i
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
|
-
gender: String(
|
|
1164
|
-
orgid: String(
|
|
1163
|
+
gender: String(i.gender),
|
|
1164
|
+
orgid: String(i.orgid)
|
|
1165
1165
|
}
|
|
1166
1166
|
)
|
|
1167
1167
|
);
|
|
1168
1168
|
},
|
|
1169
1169
|
getOrgTree() {
|
|
1170
|
-
C({}).then((
|
|
1171
|
-
if (
|
|
1172
|
-
const e = (t) => (t = t.filter((r,
|
|
1173
|
-
this.orgTree = e(
|
|
1170
|
+
C({}).then((i) => {
|
|
1171
|
+
if (i.code === 200) {
|
|
1172
|
+
const e = (t) => (t = t.filter((r, n) => (r.value = String(r.value), r.children && r.children.length > 0 && (r.children = e(r.children)), !0)), t);
|
|
1173
|
+
this.orgTree = e(i.data);
|
|
1174
1174
|
}
|
|
1175
1175
|
this.loading = !1;
|
|
1176
1176
|
});
|
|
1177
1177
|
},
|
|
1178
|
-
handleNodeClick(
|
|
1179
|
-
this.queryParam.orgId ===
|
|
1178
|
+
handleNodeClick(i) {
|
|
1179
|
+
this.queryParam.orgId === i.id ? (delete this.queryParam.orgId, this.$nextTick(() => {
|
|
1180
1180
|
setTimeout(() => {
|
|
1181
1181
|
this.$refs.tree.setCurrentKey(null);
|
|
1182
1182
|
}, 0);
|
|
@@ -1185,7 +1185,7 @@ const ue = {
|
|
|
1185
1185
|
...this.queryParam
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
|
-
orgId:
|
|
1188
|
+
orgId: i.id
|
|
1189
1189
|
}
|
|
1190
1190
|
), this.refresh();
|
|
1191
1191
|
},
|
|
@@ -1206,23 +1206,23 @@ const ue = {
|
|
|
1206
1206
|
customClass: "custom-alert",
|
|
1207
1207
|
callback: () => {
|
|
1208
1208
|
},
|
|
1209
|
-
beforeClose: (
|
|
1210
|
-
this.delHand(
|
|
1209
|
+
beforeClose: (i, e, t) => {
|
|
1210
|
+
this.delHand(i, e, t);
|
|
1211
1211
|
}
|
|
1212
1212
|
});
|
|
1213
1213
|
},
|
|
1214
|
-
delHand(
|
|
1215
|
-
if (
|
|
1214
|
+
delHand(i, e, t) {
|
|
1215
|
+
if (i !== "confirm") {
|
|
1216
1216
|
t();
|
|
1217
1217
|
return;
|
|
1218
1218
|
}
|
|
1219
1219
|
let r = [];
|
|
1220
|
-
this.selectedRows.forEach((
|
|
1221
|
-
let s = sysOrgDelete(
|
|
1220
|
+
this.selectedRows.forEach((n) => {
|
|
1221
|
+
let s = sysOrgDelete(n).then((o) => o);
|
|
1222
1222
|
r.push(s);
|
|
1223
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((
|
|
1223
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(r).then((n) => {
|
|
1224
1224
|
t();
|
|
1225
|
-
const s =
|
|
1225
|
+
const s = n.filter((o) => !o.success);
|
|
1226
1226
|
s.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + s[0].message), this.handleOk(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
1227
1227
|
});
|
|
1228
1228
|
},
|
|
@@ -1240,22 +1240,22 @@ const ue = {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
this.editForm(this.selectedRows[0]);
|
|
1242
1242
|
},
|
|
1243
|
-
async sbumit({ data:
|
|
1243
|
+
async sbumit({ data: i, record: e, btn: t }, r, n) {
|
|
1244
1244
|
this.formLoading = !0;
|
|
1245
1245
|
let s = e ? j : z;
|
|
1246
1246
|
if (!e) {
|
|
1247
1247
|
let o = await this.getUsrePassword();
|
|
1248
|
-
Object.assign(
|
|
1248
|
+
Object.assign(i, {
|
|
1249
1249
|
password: o,
|
|
1250
1250
|
confirm: o
|
|
1251
1251
|
});
|
|
1252
1252
|
}
|
|
1253
|
-
s(
|
|
1254
|
-
this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")),
|
|
1253
|
+
s(i).then((o) => {
|
|
1254
|
+
this.isSendEmailed = "", o.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.handleOk(), this.infoData = i, this.sendEmail(e, i)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1;
|
|
1255
1255
|
});
|
|
1256
1256
|
},
|
|
1257
|
-
sendEmail(
|
|
1258
|
-
|
|
1257
|
+
sendEmail(i, e) {
|
|
1258
|
+
i || (this.isSendEmail == 1 && this.$notify({
|
|
1259
1259
|
type: "success",
|
|
1260
1260
|
title: this.$i18nt("gd.https.sendingSucc", "\u53D1\u9001\u6210\u529F"),
|
|
1261
1261
|
dangerouslyUseHTMLString: !0,
|
|
@@ -1270,8 +1270,8 @@ const ue = {
|
|
|
1270
1270
|
handleOk() {
|
|
1271
1271
|
this.getOrgTree(), this.$refs.table.refresh();
|
|
1272
1272
|
},
|
|
1273
|
-
onSelectChange(
|
|
1274
|
-
if (this.selectedRowKeys =
|
|
1273
|
+
onSelectChange(i, e) {
|
|
1274
|
+
if (this.selectedRowKeys = i, this.selectedRows = e, i.length === 0) {
|
|
1275
1275
|
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
1276
1276
|
return;
|
|
1277
1277
|
}
|
|
@@ -1279,37 +1279,40 @@ const ue = {
|
|
|
1279
1279
|
this.disableBtn = ["\u542F\u7528", "\u505C\u7528"];
|
|
1280
1280
|
return;
|
|
1281
1281
|
}
|
|
1282
|
-
let t = [], r = e.filter((s) => s.statecodes == 1),
|
|
1283
|
-
r.length == e.length ? t = ["\u542F\u7528"] :
|
|
1282
|
+
let t = [], r = e.filter((s) => s.statecodes == 1), n = e.filter((s) => s.statecodes == 0);
|
|
1283
|
+
r.length == e.length ? t = ["\u542F\u7528"] : n.length == e.length && (t = ["\u505C\u7528"]), this.disableBtn = t;
|
|
1284
1284
|
},
|
|
1285
|
-
downloadfile(
|
|
1286
|
-
var e = new Blob([
|
|
1285
|
+
downloadfile(i) {
|
|
1286
|
+
var e = new Blob([i.data], {
|
|
1287
1287
|
type: "application/octet-stream;charset=UTF-8"
|
|
1288
|
-
}), t =
|
|
1288
|
+
}), t = i.headers["content-disposition"];
|
|
1289
1289
|
const s = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t)[1].replace(/['"]/g, "");
|
|
1290
1290
|
var o = document.createElement("a"), a = window.URL.createObjectURL(e), c = /^["](.*)["]$/g;
|
|
1291
1291
|
o.style.display = "none", o.href = a, o.download = decodeURI(s.replace(c, "$1")), document.body.appendChild(o), o.click(), document.body.removeChild(o), window.URL.revokeObjectURL(a);
|
|
1292
1292
|
},
|
|
1293
1293
|
getUsrePassword() {
|
|
1294
|
-
return H({}).then((
|
|
1295
|
-
if (
|
|
1296
|
-
return this.combinationRule =
|
|
1294
|
+
return H({}).then((i) => {
|
|
1295
|
+
if (i.success)
|
|
1296
|
+
return this.combinationRule = i.data.combinationrule.value, this.copyRule = i.data.copyrule.value, this.lengthRule = i.data.lengthrule.value, this.isSendEmail = i.data.issendemail.value, this.mathPasword(this.lengthRule, this.combinationRule);
|
|
1297
1297
|
});
|
|
1298
1298
|
},
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1299
|
+
getRandomChar(i) {
|
|
1300
|
+
return i ? i[Math.floor(Math.random() * i.length)] : "";
|
|
1301
|
+
},
|
|
1302
|
+
mathPasword(i, e) {
|
|
1303
|
+
let t = (e.includes("AL"), "abcdefghijklmnopqrstuvwxyz"), r = (e.includes("AL"), "ABCDEFGHIJKLMNOPQRSTUVWXYZ"), n = (e.includes("NU"), "0123456789"), s = (e.includes("SC"), "!@#$%&*^"), o = "", a = [];
|
|
1304
|
+
if (s && (a.push(this.getRandomChar(s)), a.push(this.getRandomChar(s))), r && (a.push(this.getRandomChar(r)), a.push(this.getRandomChar(r))), t && (a.push(this.getRandomChar(t)), a.push(this.getRandomChar(t))), n && (a.push(this.getRandomChar(n)), a.push(this.getRandomChar(n))), a.length === 0)
|
|
1305
|
+
return console.error("\u6CA1\u6709\u53EF\u7528\u7684\u5B57\u7B26\u96C6\u6765\u751F\u6210\u5BC6\u7801\uFF0C\u8BF7\u68C0\u67E5 combinationRule \u53C2\u6570"), "";
|
|
1306
|
+
a = a.sort(() => Math.random() - 0.5);
|
|
1302
1307
|
let c = a.join("");
|
|
1303
|
-
for (; c.length <
|
|
1304
|
-
const h =
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
}[h];
|
|
1310
|
-
c += b[Math.floor(Math.random() * b.length)];
|
|
1308
|
+
for (; c.length < i; ) {
|
|
1309
|
+
const h = [s, r, t, n].filter((p) => p);
|
|
1310
|
+
if (h.length === 0)
|
|
1311
|
+
break;
|
|
1312
|
+
const b = h[Math.floor(Math.random() * h.length)];
|
|
1313
|
+
c += this.getRandomChar(b);
|
|
1311
1314
|
}
|
|
1312
|
-
return o = c.substring(0,
|
|
1315
|
+
return o = c.substring(0, i), o;
|
|
1313
1316
|
},
|
|
1314
1317
|
resetPwd() {
|
|
1315
1318
|
if (this.selectedRowKeys.length === 0) {
|
|
@@ -1332,59 +1335,59 @@ const ue = {
|
|
|
1332
1335
|
customClass: "custom-alert",
|
|
1333
1336
|
callback: () => {
|
|
1334
1337
|
},
|
|
1335
|
-
beforeClose: (
|
|
1336
|
-
this.resetPwdHand(
|
|
1338
|
+
beforeClose: (i, e, t) => {
|
|
1339
|
+
this.resetPwdHand(i, e, t);
|
|
1337
1340
|
}
|
|
1338
1341
|
});
|
|
1339
1342
|
},
|
|
1340
|
-
async resetPwdHand(
|
|
1343
|
+
async resetPwdHand(i, e, t) {
|
|
1341
1344
|
const r = await this.getUsrePassword();
|
|
1342
|
-
let
|
|
1343
|
-
if (
|
|
1345
|
+
let n = this;
|
|
1346
|
+
if (i !== "confirm") {
|
|
1344
1347
|
t();
|
|
1345
1348
|
return;
|
|
1346
1349
|
}
|
|
1347
1350
|
e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
|
|
1348
1351
|
let s, o = {};
|
|
1349
|
-
|
|
1350
|
-
id:
|
|
1352
|
+
n.isSendEmail == 1 && n.copyRule == 1 ? (o = {
|
|
1353
|
+
id: n.selectedRows[0].id,
|
|
1351
1354
|
newPassword: r
|
|
1352
|
-
}, s = S) :
|
|
1353
|
-
accountName:
|
|
1354
|
-
emailAddress:
|
|
1355
|
+
}, s = S) : n.isSendEmail == 1 ? (o = {
|
|
1356
|
+
accountName: n.selectedRows[0].account,
|
|
1357
|
+
emailAddress: n.selectedRows[0].email,
|
|
1355
1358
|
pcR_Type: 5
|
|
1356
|
-
}, s = E) :
|
|
1357
|
-
id:
|
|
1359
|
+
}, s = E) : n.copyRule == 1 && (o = {
|
|
1360
|
+
id: n.selectedRows[0].id,
|
|
1358
1361
|
newPassword: r
|
|
1359
1362
|
}, s = S), s(o).then((a) => {
|
|
1360
|
-
if (
|
|
1363
|
+
if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
|
|
1361
1364
|
let c = {
|
|
1362
|
-
account:
|
|
1365
|
+
account: n.selectedRows[0].account,
|
|
1363
1366
|
password: r,
|
|
1364
|
-
name:
|
|
1365
|
-
email:
|
|
1366
|
-
phone:
|
|
1367
|
+
name: n.selectedRows[0].name,
|
|
1368
|
+
email: n.selectedRows[0].email,
|
|
1369
|
+
phone: n.selectedRows[0].phone
|
|
1367
1370
|
};
|
|
1368
|
-
|
|
1371
|
+
n.isSendEmail == 1 && n.copyRule == 0 ? n.$notify({
|
|
1369
1372
|
duration: 8e3,
|
|
1370
1373
|
type: "success",
|
|
1371
1374
|
title: this.$i18nt("gd.https.resetTipSucc", "\u91CD\u7F6E\u6210\u529F"),
|
|
1372
1375
|
dangerouslyUseHTMLString: !0,
|
|
1373
1376
|
message: `<p>${this.$i18nt("gd.https.addTip", "\u5DF2\u5411\u6B64\u7528\u6237\u7684\u90AE\u7BB1\u53D1\u9001\u4E86\u4E00\u5C01\u5305\u542B\u5BC6\u7801\u91CD\u7F6E\u94FE\u63A5\u7684\u90AE\u4EF6\u3002")}</p>
|
|
1374
1377
|
<p>${this.$i18nt("gd.https.addTipp", "\u5982\u679C\u7528\u6237\u6CA1\u6709\u6536\u5230\u90AE\u4EF6\uFF0C\u5C1D\u8BD5\u901A\u8FC7\u3010\u91CD\u7F6E\u5BC6\u7801\u3011\u53D1\u9001\u5BC6\u7801\u91CD\u7F6E\u8BF7\u6C42\u3002")}</p>`
|
|
1375
|
-
}) :
|
|
1376
|
-
|
|
1377
|
-
}, 500)) :
|
|
1378
|
+
}) : n.$message.success(n.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n.copyRule == 1 ? (n.infoData = c, setTimeout(() => {
|
|
1379
|
+
n.$refs.copyInfo.open(n.isSendEmail);
|
|
1380
|
+
}, 500)) : n.refresh();
|
|
1378
1381
|
} else
|
|
1379
|
-
|
|
1382
|
+
n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message);
|
|
1380
1383
|
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
|
|
1381
1384
|
});
|
|
1382
1385
|
},
|
|
1383
1386
|
sending() {
|
|
1384
1387
|
this.refresh();
|
|
1385
1388
|
},
|
|
1386
|
-
doEvent(
|
|
1387
|
-
let e =
|
|
1389
|
+
doEvent(i) {
|
|
1390
|
+
let e = i.item.functionName;
|
|
1388
1391
|
this[e] && this[e]();
|
|
1389
1392
|
}
|
|
1390
1393
|
},
|
|
@@ -1394,13 +1397,13 @@ const ue = {
|
|
|
1394
1397
|
};
|
|
1395
1398
|
var he = function() {
|
|
1396
1399
|
var e = this, t = e._self._c;
|
|
1397
|
-
return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [t("el-tree", { ref: "tree", attrs: { data: e.orgTree, props: e.defaultProps, "node-key": "id", "current-node-key": e.defaultExpandedKeys, "default-expand-all": "", "highlight-current": "", "expand-on-click-node": !1 }, on: { "node-click": e.handleNodeClick } })], 1), t("div", { staticClass: "page-view-list" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: r, row:
|
|
1398
|
-
return [t("gd-tooltip", { attrs: { rowKey: "account", row:
|
|
1400
|
+
return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "page-view-tree", style: e.styled }, [t("el-tree", { ref: "tree", attrs: { data: e.orgTree, props: e.defaultProps, "node-key": "id", "current-node-key": e.defaultExpandedKeys, "default-expand-all": "", "highlight-current": "", "expand-on-click-node": !1 }, on: { "node-click": e.handleNodeClick } })], 1), t("div", { staticClass: "page-view-list" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: r, row: n }) {
|
|
1401
|
+
return [t("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" }, on: { click: e.editForm } })];
|
|
1399
1402
|
} }, { key: "gender", fn: function(r) {
|
|
1400
1403
|
return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("gender", r.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", r.row.gender)) + " ")])], 1)];
|
|
1401
1404
|
} }, { key: "statecodes", fn: function(r) {
|
|
1402
|
-
return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(
|
|
1403
|
-
return
|
|
1405
|
+
return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
|
|
1406
|
+
return n.stopPropagation(), e.editStateCodes(r);
|
|
1404
1407
|
} } }, [r.row.statecodes == 1 ? t("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : t("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
|
|
1405
1408
|
} }, { key: "operator", fn: function() {
|
|
1406
1409
|
return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.keywordTip", "\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"), clearable: "" }, nativeOn: { keyup: function(r) {
|
|
@@ -1408,8 +1411,8 @@ var he = function() {
|
|
|
1408
1411
|
} }, model: { value: e.queryParam.searchValue, callback: function(r) {
|
|
1409
1412
|
e.$set(e.queryParam, "searchValue", r);
|
|
1410
1413
|
}, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
1411
|
-
}, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible:
|
|
1412
|
-
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible:
|
|
1414
|
+
}, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: n }) {
|
|
1415
|
+
return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.height, queryParam: e.queryParam, colse: r, visible: n }, on: { save: e.saveQueries } })];
|
|
1413
1416
|
} }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
|
|
1414
1417
|
e.institutionsShow = !1;
|
|
1415
1418
|
} } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
|
|
@@ -1419,13 +1422,13 @@ var he = function() {
|
|
|
1419
1422
|
fe,
|
|
1420
1423
|
!1,
|
|
1421
1424
|
null,
|
|
1422
|
-
"
|
|
1425
|
+
"d1d24d5d",
|
|
1423
1426
|
null,
|
|
1424
1427
|
null
|
|
1425
1428
|
);
|
|
1426
1429
|
const x = ge.exports;
|
|
1427
|
-
x.install = function(
|
|
1428
|
-
|
|
1430
|
+
x.install = function(i) {
|
|
1431
|
+
i.component(x.name, x);
|
|
1429
1432
|
};
|
|
1430
1433
|
export {
|
|
1431
1434
|
x as G
|