gds-plus-design-vue 1.1.45 → 1.1.46
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.mjs +1 -1
- package/lib/gd-initial.umd.js +6 -6
- package/lib/{index.3ebdc524.mjs → index.fdba6772.mjs} +258 -132
- package/lib/{main.387f006d.mjs → main.ad450227.mjs} +1 -1
- package/lib/style.css +2 -2
- package/locale/en_US.js +1 -1
- package/locale/id_ID.js +1 -1
- package/locale/vi_VN.js +1 -1
- package/locale/zh_CN.js +1 -1
- package/package.json +1 -1
|
@@ -646,7 +646,7 @@ const constantRouterMap = [{
|
|
|
646
646
|
{
|
|
647
647
|
path: "login",
|
|
648
648
|
name: "login",
|
|
649
|
-
component: () => import("./main.
|
|
649
|
+
component: () => import("./main.ad450227.mjs"),
|
|
650
650
|
meta: {
|
|
651
651
|
title: "\u767B\u5F55",
|
|
652
652
|
transKey: "gd.login.title"
|
|
@@ -5459,7 +5459,7 @@ var _sfc_render$64 = function() {
|
|
|
5459
5459
|
null,
|
|
5460
5460
|
null
|
|
5461
5461
|
);
|
|
5462
|
-
const FieldMapping = __component__$64.exports,
|
|
5462
|
+
const FieldMapping = __component__$64.exports, main_vue_vue_type_style_index_0_scoped_e2a0f071_lang = "", _sfc_main$63 = {
|
|
5463
5463
|
name: "GdXlsxImport",
|
|
5464
5464
|
props: {
|
|
5465
5465
|
tableData: {
|
|
@@ -5541,7 +5541,8 @@ const FieldMapping = __component__$64.exports, main_vue_vue_type_style_index_0_s
|
|
|
5541
5541
|
label: "\u6620\u5C04\u5B9E\u4F53\u5B57\u6BB5",
|
|
5542
5542
|
align: "left",
|
|
5543
5543
|
type: "slot",
|
|
5544
|
-
slotType: "checkzd"
|
|
5544
|
+
slotType: "checkzd",
|
|
5545
|
+
showTooltip: !1
|
|
5545
5546
|
},
|
|
5546
5547
|
{
|
|
5547
5548
|
transKey: "gd.xlsxImport.foreignField",
|
|
@@ -6060,7 +6061,7 @@ var _sfc_render$63 = function() {
|
|
|
6060
6061
|
_sfc_staticRenderFns$63,
|
|
6061
6062
|
!1,
|
|
6062
6063
|
null,
|
|
6063
|
-
"
|
|
6064
|
+
"e2a0f071",
|
|
6064
6065
|
null,
|
|
6065
6066
|
null
|
|
6066
6067
|
);
|
|
@@ -9461,7 +9462,7 @@ const GDpackage$10 = __component__$5N.exports;
|
|
|
9461
9462
|
GDpackage$10.install = function(s) {
|
|
9462
9463
|
s.component(GDpackage$10.name, GDpackage$10);
|
|
9463
9464
|
};
|
|
9464
|
-
const
|
|
9465
|
+
const composeFilter_vue_vue_type_style_index_0_scoped_03ddf002_lang = "", _sfc_main$5M = {
|
|
9465
9466
|
name: "composeFilter",
|
|
9466
9467
|
props: {
|
|
9467
9468
|
record: {
|
|
@@ -9675,7 +9676,7 @@ var _sfc_render$5M = function() {
|
|
|
9675
9676
|
t.$set(t.record, "operators", r);
|
|
9676
9677
|
}, expression: "record.operators" } }, [t._l(t.record.ruleslist, function(r) {
|
|
9677
9678
|
return [!t.disableContain || r.code != 43 && r.code != 44 ? a("el-option", { attrs: { value: r.code, label: t.$i18nt(`Dynamics.${r.transkey}`, r.name) } }) : t._e()];
|
|
9678
|
-
})], 2)], 1), a("div", { staticClass: "jg" }, [t.record.operators == 5 || t.record.operators == 6 || t.record.operators == 43 || t.record.operators == 44 ? a("div") : a("div", { staticStyle: { width: "100%" } }, [["input", "textarea"].includes(t.record.columntype) ? a("el-input", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
|
|
9679
|
+
})], 2)], 1), a("div", { staticClass: "jg" }, [t.record.operators == 5 || t.record.operators == 6 || t.record.operators == 43 || t.record.operators == 44 || t.record.operators == 45 ? a("div") : a("div", { staticStyle: { width: "100%" } }, [["input", "textarea"].includes(t.record.columntype) ? a("el-input", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
|
|
9679
9680
|
t.$set(t.record, "value", r);
|
|
9680
9681
|
}, expression: "record.value" } }) : ["select", "radio", "checkbox", "switch"].includes(t.record.columntype) ? a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
|
|
9681
9682
|
t.$set(t.record, "value", r);
|
|
@@ -9722,7 +9723,7 @@ var _sfc_render$5M = function() {
|
|
|
9722
9723
|
_sfc_staticRenderFns$5M,
|
|
9723
9724
|
!1,
|
|
9724
9725
|
null,
|
|
9725
|
-
"
|
|
9726
|
+
"03ddf002",
|
|
9726
9727
|
null,
|
|
9727
9728
|
null
|
|
9728
9729
|
);
|
|
@@ -10393,7 +10394,7 @@ var _sfc_render$5K = function() {
|
|
|
10393
10394
|
null,
|
|
10394
10395
|
null
|
|
10395
10396
|
);
|
|
10396
|
-
const ComposeMiddle = __component__$5K.exports,
|
|
10397
|
+
const ComposeMiddle = __component__$5K.exports, main_vue_vue_type_style_index_0_scoped_cf0872f8_lang = "", _sfc_main$5J = {
|
|
10397
10398
|
name: "GdFindFilter",
|
|
10398
10399
|
props: {
|
|
10399
10400
|
table: {
|
|
@@ -10584,7 +10585,7 @@ const ComposeMiddle = __component__$5K.exports, main_vue_vue_type_style_index_0_
|
|
|
10584
10585
|
isChecked(s) {
|
|
10585
10586
|
return s.every((t, a, r) => {
|
|
10586
10587
|
const o = String(t.operators);
|
|
10587
|
-
let l = ["5", "6"].includes(o) ? t.columnid : this.getItemVal(t);
|
|
10588
|
+
let l = ["5", "6", "45"].includes(o) ? t.columnid : this.getItemVal(t);
|
|
10588
10589
|
return ["43", "44"].includes(o) ? l = t.dynamicreferencefiled : (t.columntype == "about" && ["11", "12"].includes(o) || t.columntype == "fk" && ["11", "12"].includes(o) || t.columntype == "user" && ["11", "12"].includes(o) || t.columntype == "participants" && ["41", "42"].includes(o) || t.columntype == "datepicker" && t.operators > 12 && t.operators < 25) && (l = t.columnid), t.columnid !== "" && l !== "" && l !== void 0;
|
|
10589
10590
|
});
|
|
10590
10591
|
},
|
|
@@ -10706,7 +10707,7 @@ var _sfc_render$5J = function() {
|
|
|
10706
10707
|
_sfc_staticRenderFns$5J,
|
|
10707
10708
|
!1,
|
|
10708
10709
|
null,
|
|
10709
|
-
"
|
|
10710
|
+
"cf0872f8",
|
|
10710
10711
|
null,
|
|
10711
10712
|
null
|
|
10712
10713
|
);
|
|
@@ -32182,13 +32183,13 @@ function usageBusinessRules$1({
|
|
|
32182
32183
|
g.list.forEach((w, C) => {
|
|
32183
32184
|
let S = [];
|
|
32184
32185
|
w.condition.list.forEach((x) => {
|
|
32185
|
-
let T = usageRules$
|
|
32186
|
+
let T = usageRules$3({
|
|
32186
32187
|
data: x,
|
|
32187
32188
|
val: h === "form" ? t[x.columnComment] : f,
|
|
32188
32189
|
type: u
|
|
32189
32190
|
});
|
|
32190
32191
|
S.push(T);
|
|
32191
|
-
}), b.push(processingResults$
|
|
32192
|
+
}), b.push(processingResults$3(S, w));
|
|
32192
32193
|
});
|
|
32193
32194
|
let _ = b.indexOf(!0);
|
|
32194
32195
|
if (_ !== -1) {
|
|
@@ -32199,12 +32200,12 @@ function usageBusinessRules$1({
|
|
|
32199
32200
|
}
|
|
32200
32201
|
}), v;
|
|
32201
32202
|
}
|
|
32202
|
-
function usageRules$
|
|
32203
|
+
function usageRules$3(s) {
|
|
32203
32204
|
switch (s.data.rules) {
|
|
32204
32205
|
case "1":
|
|
32205
|
-
return isEqual$
|
|
32206
|
+
return isEqual$3(s);
|
|
32206
32207
|
case "2":
|
|
32207
|
-
return isEqual$
|
|
32208
|
+
return isEqual$3(s);
|
|
32208
32209
|
case "3":
|
|
32209
32210
|
return isContain$2(s);
|
|
32210
32211
|
case "4":
|
|
@@ -32214,16 +32215,16 @@ function usageRules$2(s) {
|
|
|
32214
32215
|
case "6":
|
|
32215
32216
|
return isIncludeData$2(s);
|
|
32216
32217
|
case "7":
|
|
32217
|
-
return isGreaterThan$
|
|
32218
|
+
return isGreaterThan$3(s);
|
|
32218
32219
|
case "8":
|
|
32219
|
-
return isGreaterThan$
|
|
32220
|
+
return isGreaterThan$3(s);
|
|
32220
32221
|
case "9":
|
|
32221
|
-
return isGreaterThan$
|
|
32222
|
+
return isGreaterThan$3(s);
|
|
32222
32223
|
case "10":
|
|
32223
|
-
return isGreaterThan$
|
|
32224
|
+
return isGreaterThan$3(s);
|
|
32224
32225
|
}
|
|
32225
32226
|
}
|
|
32226
|
-
function isEqual$
|
|
32227
|
+
function isEqual$3({
|
|
32227
32228
|
data: s,
|
|
32228
32229
|
val: t,
|
|
32229
32230
|
type: a
|
|
@@ -32247,16 +32248,16 @@ function isIncludeData$2({
|
|
|
32247
32248
|
let a = !0;
|
|
32248
32249
|
return (t === null || t === "" || t === void 0) && (a = !1), s.rules === "5" ? a : !a;
|
|
32249
32250
|
}
|
|
32250
|
-
function isGreaterThan$
|
|
32251
|
+
function isGreaterThan$3({
|
|
32251
32252
|
data: s,
|
|
32252
32253
|
val: t,
|
|
32253
32254
|
type: a
|
|
32254
32255
|
}) {
|
|
32255
32256
|
if (t === "" || t === void 0)
|
|
32256
32257
|
return !1;
|
|
32257
|
-
let r = dataConversion$
|
|
32258
|
+
let r = dataConversion$3(a, {
|
|
32258
32259
|
val: t
|
|
32259
|
-
}), o = dataConversion$
|
|
32260
|
+
}), o = dataConversion$3(a, s);
|
|
32260
32261
|
if (s.rules === "7")
|
|
32261
32262
|
return r > o;
|
|
32262
32263
|
if (s.rules === "8")
|
|
@@ -32266,21 +32267,21 @@ function isGreaterThan$2({
|
|
|
32266
32267
|
if (s.rules === "10")
|
|
32267
32268
|
return r <= o;
|
|
32268
32269
|
}
|
|
32269
|
-
function dataConversion$
|
|
32270
|
+
function dataConversion$3(s, t) {
|
|
32270
32271
|
let a = 0;
|
|
32271
32272
|
return s === "inputnumber" ? a = Number(t.val) : a = new Date(String(t.val)).getTime(), a;
|
|
32272
32273
|
}
|
|
32273
|
-
function processingResults$
|
|
32274
|
+
function processingResults$3(s, t) {
|
|
32274
32275
|
let a = t.condition.list.length;
|
|
32275
32276
|
if (a === 0)
|
|
32276
32277
|
return !0;
|
|
32277
|
-
let r = a === 0 ? "1" : t.condition.list[a - 1].type, o = isSatisfyed$
|
|
32278
|
+
let r = a === 0 ? "1" : t.condition.list[a - 1].type, o = isSatisfyed$3(s, r);
|
|
32278
32279
|
return r === "2" && !o ? !0 : !!(r !== "2" && o);
|
|
32279
32280
|
}
|
|
32280
|
-
function isSatisfyed$
|
|
32281
|
+
function isSatisfyed$3(s, t) {
|
|
32281
32282
|
return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
|
|
32282
32283
|
}
|
|
32283
|
-
const
|
|
32284
|
+
const main_vue_vue_type_style_index_0_scoped_9a8f8049_lang = "", _sfc_main$54 = {
|
|
32284
32285
|
name: "GdTableQueriesField",
|
|
32285
32286
|
props: {
|
|
32286
32287
|
height: {
|
|
@@ -32414,6 +32415,7 @@ const main_vue_vue_type_style_index_0_scoped_7bd49efe_lang = "", _sfc_main$54 =
|
|
|
32414
32415
|
return ["selectMultiple", "selectFkMultiple"].includes(s.effectType) ? [] : ["datepicker"].includes(s.effectType) && s.options.displayStyle !== 1 ? [] : "";
|
|
32415
32416
|
},
|
|
32416
32417
|
init(s = "init") {
|
|
32418
|
+
console.log("init", s);
|
|
32417
32419
|
let t = /* @__PURE__ */ new Map();
|
|
32418
32420
|
this.columns.filter((d) => d.effectType === "checkbox").forEach((d) => {
|
|
32419
32421
|
t.set(d.prop, []);
|
|
@@ -32421,10 +32423,10 @@ const main_vue_vue_type_style_index_0_scoped_7bd49efe_lang = "", _sfc_main$54 =
|
|
|
32421
32423
|
let a = /* @__PURE__ */ new Map();
|
|
32422
32424
|
for (let d in this.queryParam) {
|
|
32423
32425
|
let u = this.columns.filter((f) => f.prop === d)[0];
|
|
32424
|
-
u && ["checkbox", "selectMultiple"].includes(u.effectType) ? a.set(
|
|
32426
|
+
u && ["checkbox", "selectMultiple"].includes(u.effectType) ? (a.set(
|
|
32425
32427
|
d,
|
|
32426
|
-
s === "init" ? Array.isArray(this.queryParam[d]) ? this.queryParam[d] : this.queryParam[d].split(",") :
|
|
32427
|
-
) : Array.isArray(this.queryParam[d]) ? a.set(d, s === "init" ? this.queryParam[d] : []) : a.set(d, s === "init" ? this.queryParam[d] : "");
|
|
32428
|
+
s === "init" ? Array.isArray(this.queryParam[d]) ? this.queryParam[d] : this.queryParam[d].split(",") : []
|
|
32429
|
+
), console.log("1223", this.queryParam[d])) : Array.isArray(this.queryParam[d]) ? a.set(d, s === "init" ? this.queryParam[d] : []) : a.set(d, s === "init" ? this.queryParam[d] : "");
|
|
32428
32430
|
}
|
|
32429
32431
|
if (this.ruleFormData = Object.assign(Object.fromEntries(t), Object.fromEntries(a)), console.log("ruleFormData", this.ruleFormData), setTimeout(() => {
|
|
32430
32432
|
this.oldvalue = {}, this.oldvalue = JSON.stringify(this.ruleFormData);
|
|
@@ -32577,7 +32579,7 @@ var _sfc_render$54 = function() {
|
|
|
32577
32579
|
_sfc_staticRenderFns$54,
|
|
32578
32580
|
!1,
|
|
32579
32581
|
null,
|
|
32580
|
-
"
|
|
32582
|
+
"9a8f8049",
|
|
32581
32583
|
null,
|
|
32582
32584
|
null
|
|
32583
32585
|
);
|
|
@@ -77131,14 +77133,115 @@ const uploadImg = __component__$4N.exports;
|
|
|
77131
77133
|
uploadImg.install = function(s) {
|
|
77132
77134
|
s.component(uploadImg.name, uploadImg);
|
|
77133
77135
|
};
|
|
77134
|
-
function usageBusinessRules(s, t
|
|
77135
|
-
|
|
77136
|
-
|
|
77137
|
-
|
|
77136
|
+
function usageBusinessRules(s, t) {
|
|
77137
|
+
let a = /* @__PURE__ */ new Map();
|
|
77138
|
+
return s.forEach((o, l) => {
|
|
77139
|
+
a.set(o.id, getCss$1(o.operation.list));
|
|
77140
|
+
}), {
|
|
77141
|
+
rich: Object.fromEntries(a),
|
|
77142
|
+
formatter: (o) => formatterData(o, s, t)
|
|
77143
|
+
};
|
|
77144
|
+
}
|
|
77145
|
+
function getCss$1(s) {
|
|
77146
|
+
let t = {};
|
|
77147
|
+
return s.forEach((a) => {
|
|
77148
|
+
a.rules === "1" ? Object.assign(t, {
|
|
77149
|
+
color: a.val ? a.val : "#333"
|
|
77150
|
+
}) : a.rules === "2" ? Object.assign(t, {
|
|
77151
|
+
fontSize: a.val + "px"
|
|
77152
|
+
}) : a.rules === "3" && Object.assign(t, {
|
|
77153
|
+
fontWeight: a.val
|
|
77138
77154
|
});
|
|
77139
|
-
});
|
|
77155
|
+
}), t;
|
|
77156
|
+
}
|
|
77157
|
+
function formatterData(s, t, a) {
|
|
77158
|
+
const r = a.formatter ? a.formatter : "", o = getBei(a), l = a.bei === 0 ? 0 : a.bei === 100 ? o.l - 2 : o.l - 3;
|
|
77159
|
+
let d = "";
|
|
77160
|
+
for (let f = 0; f < t.length; f++) {
|
|
77161
|
+
let h = [];
|
|
77162
|
+
t[f].condition.list.forEach((v) => {
|
|
77163
|
+
const g = (parseInt(Number(v.val) * a.bei * o.n) / o.n).toFixed(l <= 0 ? 0 : l);
|
|
77164
|
+
let y = usageRules$2({
|
|
77165
|
+
data: Object.assign({
|
|
77166
|
+
...v
|
|
77167
|
+
}, {
|
|
77168
|
+
val: g
|
|
77169
|
+
}),
|
|
77170
|
+
val: s.data
|
|
77171
|
+
});
|
|
77172
|
+
h.push(y);
|
|
77173
|
+
}), processingResults$2(h, t[f]) && d === "" && (d = t[f].id);
|
|
77174
|
+
}
|
|
77175
|
+
return d !== "" ? `{${d}|${s.data} ${r}}` : `${s.data} ${r}`;
|
|
77176
|
+
}
|
|
77177
|
+
function usageRules$2(s) {
|
|
77178
|
+
switch (s.data.rules) {
|
|
77179
|
+
case "1":
|
|
77180
|
+
return isEqual$2(s);
|
|
77181
|
+
case "2":
|
|
77182
|
+
return isEqual$2(s);
|
|
77183
|
+
case "7":
|
|
77184
|
+
return isGreaterThan$2(s);
|
|
77185
|
+
case "8":
|
|
77186
|
+
return isGreaterThan$2(s);
|
|
77187
|
+
case "9":
|
|
77188
|
+
return isGreaterThan$2(s);
|
|
77189
|
+
case "10":
|
|
77190
|
+
return isGreaterThan$2(s);
|
|
77191
|
+
}
|
|
77192
|
+
}
|
|
77193
|
+
function isEqual$2({
|
|
77194
|
+
data: s,
|
|
77195
|
+
val: t
|
|
77196
|
+
}) {
|
|
77197
|
+
if (t === "" || t === void 0)
|
|
77198
|
+
return !1;
|
|
77199
|
+
let a = Number(t), r = Number(s.val);
|
|
77200
|
+
return s.rules === "1" ? a === r : a !== r;
|
|
77201
|
+
}
|
|
77202
|
+
function isGreaterThan$2({
|
|
77203
|
+
data: s,
|
|
77204
|
+
val: t
|
|
77205
|
+
}) {
|
|
77206
|
+
if (t === "" || t === void 0)
|
|
77207
|
+
return !1;
|
|
77208
|
+
let a = dataConversion$2("inputnumber", {
|
|
77209
|
+
val: t
|
|
77210
|
+
}), r = dataConversion$2("inputnumber", s);
|
|
77211
|
+
if (s.rules === "7")
|
|
77212
|
+
return a > r;
|
|
77213
|
+
if (s.rules === "8")
|
|
77214
|
+
return a >= r;
|
|
77215
|
+
if (s.rules === "9")
|
|
77216
|
+
return a < r;
|
|
77217
|
+
if (s.rules === "10")
|
|
77218
|
+
return a <= r;
|
|
77219
|
+
}
|
|
77220
|
+
function dataConversion$2(s = "inputnumber", t) {
|
|
77221
|
+
let a = 0;
|
|
77222
|
+
return s === "inputnumber" ? a = Number(t.val) : a = new Date(String(t.val)).getTime(), a;
|
|
77223
|
+
}
|
|
77224
|
+
function processingResults$2(s, t) {
|
|
77225
|
+
let a = t.condition.list.length;
|
|
77226
|
+
if (a === 0)
|
|
77227
|
+
return !0;
|
|
77228
|
+
let r = a === 0 ? "1" : t.condition.list[a - 1].type, o = isSatisfyed$2(s, r);
|
|
77229
|
+
return r === "2" && !o ? !0 : !!(r !== "2" && o);
|
|
77230
|
+
}
|
|
77231
|
+
function isSatisfyed$2(s, t) {
|
|
77232
|
+
return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
|
|
77233
|
+
}
|
|
77234
|
+
function getBei(s) {
|
|
77235
|
+
const t = String(s), a = t.substr(t.lastIndexOf(".") + 1).toLowerCase();
|
|
77236
|
+
let r = 1;
|
|
77237
|
+
for (let o = 0; o < a.length; o++)
|
|
77238
|
+
r *= 10;
|
|
77239
|
+
return {
|
|
77240
|
+
n: r,
|
|
77241
|
+
l: a.length
|
|
77242
|
+
};
|
|
77140
77243
|
}
|
|
77141
|
-
const
|
|
77244
|
+
const columnarChart_vue_vue_type_style_index_0_scoped_ed561d2d_lang = "", _sfc_main$4M = {
|
|
77142
77245
|
props: {
|
|
77143
77246
|
develop: {
|
|
77144
77247
|
type: [Number, String],
|
|
@@ -77162,13 +77265,13 @@ const columnarChart_vue_vue_type_style_index_0_scoped_503f5e20_lang = "", _sfc_m
|
|
|
77162
77265
|
},
|
|
77163
77266
|
methods: {
|
|
77164
77267
|
init(s) {
|
|
77268
|
+
console.log(s, this.ruleList);
|
|
77165
77269
|
let t = init$1(this.$refs.container), a = this.getOption(s);
|
|
77166
77270
|
t.clear(), t.dispose(), t = init$1(this.$refs.container), t.setOption(a), t.on("click", (r) => {
|
|
77167
77271
|
this.$emit("change", r);
|
|
77168
77272
|
});
|
|
77169
77273
|
},
|
|
77170
77274
|
getOption(s) {
|
|
77171
|
-
console.log(this.options.labelFontSize);
|
|
77172
77275
|
let t = [], a = [], r = [], o = [];
|
|
77173
77276
|
s.columns.forEach((d) => {
|
|
77174
77277
|
t.push({
|
|
@@ -77214,7 +77317,7 @@ const columnarChart_vue_vue_type_style_index_0_scoped_503f5e20_lang = "", _sfc_m
|
|
|
77214
77317
|
const f = this.$i18nt(d.item.transKey, d.item.name);
|
|
77215
77318
|
let h = {
|
|
77216
77319
|
label: {
|
|
77217
|
-
show:
|
|
77320
|
+
show: this.options.labelShow,
|
|
77218
77321
|
position: "top",
|
|
77219
77322
|
textStyle: {
|
|
77220
77323
|
fontSize: 14
|
|
@@ -77227,7 +77330,9 @@ const columnarChart_vue_vue_type_style_index_0_scoped_503f5e20_lang = "", _sfc_m
|
|
|
77227
77330
|
type: d.type,
|
|
77228
77331
|
name: f,
|
|
77229
77332
|
data: d.data.map((v) => {
|
|
77230
|
-
|
|
77333
|
+
if (d.bei === 1)
|
|
77334
|
+
return v;
|
|
77335
|
+
const g = getBei(v), y = d.bei === 100 ? g.l - 2 : g.l - 3;
|
|
77231
77336
|
return (parseInt(Number(v) * d.bei * g.n) / g.n).toFixed(y <= 0 ? 0 : y);
|
|
77232
77337
|
}),
|
|
77233
77338
|
tooltip: {
|
|
@@ -77263,15 +77368,11 @@ const columnarChart_vue_vue_type_style_index_0_scoped_503f5e20_lang = "", _sfc_m
|
|
|
77263
77368
|
return console.log(l), l;
|
|
77264
77369
|
},
|
|
77265
77370
|
getNormal(s, t) {
|
|
77266
|
-
const a = this.ruleList.filter((
|
|
77267
|
-
|
|
77268
|
-
|
|
77269
|
-
|
|
77270
|
-
|
|
77271
|
-
let r = 1;
|
|
77272
|
-
for (let o = 0; o < a.length; o++)
|
|
77273
|
-
r *= 10;
|
|
77274
|
-
return { n: r, l: a.length };
|
|
77371
|
+
const a = this.ruleList.filter((o) => o.columnName === t.columnName)[0];
|
|
77372
|
+
if (console.log(a), !a)
|
|
77373
|
+
return s;
|
|
77374
|
+
let r = usageBusinessRules(a.ruleSequence, t);
|
|
77375
|
+
return Object.assign({ ...s }, { label: Object.assign({ ...s.label }, r) });
|
|
77275
77376
|
}
|
|
77276
77377
|
}
|
|
77277
77378
|
};
|
|
@@ -77284,7 +77385,7 @@ var _sfc_render$4M = function() {
|
|
|
77284
77385
|
_sfc_staticRenderFns$4M,
|
|
77285
77386
|
!1,
|
|
77286
77387
|
null,
|
|
77287
|
-
"
|
|
77388
|
+
"ed561d2d",
|
|
77288
77389
|
null,
|
|
77289
77390
|
null
|
|
77290
77391
|
);
|
|
@@ -77637,7 +77738,7 @@ var _sfc_render$4I = function() {
|
|
|
77637
77738
|
null,
|
|
77638
77739
|
null
|
|
77639
77740
|
);
|
|
77640
|
-
const AmplifyEchart = __component__$4I.exports,
|
|
77741
|
+
const AmplifyEchart = __component__$4I.exports, main_vue_vue_type_style_index_0_scoped_ccc0064e_lang = "", _sfc_main$4H = {
|
|
77641
77742
|
name: "GdChartBi",
|
|
77642
77743
|
props: {
|
|
77643
77744
|
develop: {
|
|
@@ -77668,7 +77769,7 @@ const AmplifyEchart = __component__$4I.exports, main_vue_vue_type_style_index_0_
|
|
|
77668
77769
|
components: { AmplifyEchart },
|
|
77669
77770
|
computed: {
|
|
77670
77771
|
ruleList() {
|
|
77671
|
-
return
|
|
77772
|
+
return (this.record.config && this.record.config.series ? this.record.config.series : []).filter((t) => t.ruleOpen);
|
|
77672
77773
|
},
|
|
77673
77774
|
options() {
|
|
77674
77775
|
return this.record.options || {};
|
|
@@ -77718,33 +77819,50 @@ const AmplifyEchart = __component__$4I.exports, main_vue_vue_type_style_index_0_
|
|
|
77718
77819
|
let f = [], h = [];
|
|
77719
77820
|
a.forEach((p, v) => {
|
|
77720
77821
|
let g = [], y = [], b = [];
|
|
77721
|
-
t.forEach((
|
|
77722
|
-
const
|
|
77723
|
-
if (g.push(
|
|
77724
|
-
value:
|
|
77725
|
-
name: d ?
|
|
77822
|
+
t.forEach((S) => {
|
|
77823
|
+
const x = S[o], T = u.filter(($) => $.code == x)[0], D = S[p.uuid];
|
|
77824
|
+
if (g.push(D), y.push({
|
|
77825
|
+
value: D,
|
|
77826
|
+
name: d ? T ? this.$i18nt(`Dynamics.${T.transkey}`, T.name) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D") : x === null ? this.$i18nt("gd.echarts.none", "\u7A7A\u767D") : x
|
|
77726
77827
|
}), v === 0) {
|
|
77727
|
-
const
|
|
77728
|
-
b.push(
|
|
77729
|
-
}
|
|
77730
|
-
}), b.length > 0 && f.push({ data: b }),
|
|
77731
|
-
|
|
77732
|
-
|
|
77733
|
-
|
|
77734
|
-
|
|
77735
|
-
|
|
77828
|
+
const $ = this.getVal({ item: r[0], ite: x, data: t, dict: u });
|
|
77829
|
+
b.push($ || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
77830
|
+
}
|
|
77831
|
+
}), b.length > 0 && f.push({ data: b }), console.log(p);
|
|
77832
|
+
let _ = {}, w = "";
|
|
77833
|
+
p.ruleOpen && p.ruleFormatter.formatter !== "none" && (w = p.ruleFormatter.formatter === "percent" ? "%" : "\u2030", Object.assign(_, {
|
|
77834
|
+
formatter: w
|
|
77835
|
+
}));
|
|
77836
|
+
const C = this.getBei(_.formatter);
|
|
77837
|
+
p.ruleOpen && p.ruleFormatter.min !== void 0 && p.ruleFormatter.min !== "" && Object.assign(_, {
|
|
77838
|
+
min: p.ruleFormatter.min * C
|
|
77839
|
+
}), p.ruleOpen && p.ruleFormatter.max !== void 0 && p.ruleFormatter.max !== "" && Object.assign(_, {
|
|
77840
|
+
max: p.ruleFormatter.max * C
|
|
77841
|
+
}), h.push(
|
|
77842
|
+
Object.assign(
|
|
77736
77843
|
{
|
|
77737
|
-
|
|
77738
|
-
|
|
77844
|
+
data: g,
|
|
77845
|
+
dataName: y,
|
|
77846
|
+
type: this.getChartType(p.type),
|
|
77847
|
+
item: Object.assign(
|
|
77848
|
+
{ ...p },
|
|
77849
|
+
{
|
|
77850
|
+
transKey: `Dynamics.${p.transKey}`
|
|
77851
|
+
}
|
|
77852
|
+
),
|
|
77853
|
+
bei: C,
|
|
77854
|
+
tooltip: !0,
|
|
77855
|
+
columnName: p.columnName
|
|
77856
|
+
},
|
|
77857
|
+
_
|
|
77739
77858
|
)
|
|
77740
|
-
|
|
77859
|
+
);
|
|
77741
77860
|
}), this.optionData = { columns: f, data: h, series: h, type: 1 }, this.assembly();
|
|
77742
77861
|
},
|
|
77743
77862
|
handleMultiaxis({ config: s, data: t, categorydata: a }) {
|
|
77744
77863
|
const r = s.series ? s.series : [], o = s.categories ? s.categories : [];
|
|
77745
77864
|
if (r.length === 0 || o.length === 0)
|
|
77746
77865
|
return;
|
|
77747
|
-
console.log(this.ruleList);
|
|
77748
77866
|
let l = [], d = [], u = [], f = { item: { transKey: r[0].transKey, name: r[0].name } };
|
|
77749
77867
|
const h = this.ruleList[0];
|
|
77750
77868
|
let p = "";
|
|
@@ -77814,7 +77932,6 @@ const AmplifyEchart = __component__$4I.exports, main_vue_vue_type_style_index_0_
|
|
|
77814
77932
|
tooltip: !1,
|
|
77815
77933
|
ruleOpen: !1,
|
|
77816
77934
|
columnName: "",
|
|
77817
|
-
bei: 0,
|
|
77818
77935
|
formatter: ""
|
|
77819
77936
|
}
|
|
77820
77937
|
)) : [];
|
|
@@ -77824,7 +77941,7 @@ const AmplifyEchart = __component__$4I.exports, main_vue_vue_type_style_index_0_
|
|
|
77824
77941
|
this.record = s, (s.config && s.config.categories ? s.config.categories : []).length <= 1 ? this.handleUniaxial(s) : this.handleMultiaxis(s);
|
|
77825
77942
|
},
|
|
77826
77943
|
getBei(s) {
|
|
77827
|
-
return s === void 0 ?
|
|
77944
|
+
return s === void 0 ? 1 : s === "%" ? 100 : 1e3;
|
|
77828
77945
|
},
|
|
77829
77946
|
getVal({ item: s, ite: t, data: a, dict: r }) {
|
|
77830
77947
|
let o = t;
|
|
@@ -77877,7 +77994,7 @@ var _sfc_render$4H = function() {
|
|
|
77877
77994
|
_sfc_staticRenderFns$4H,
|
|
77878
77995
|
!1,
|
|
77879
77996
|
null,
|
|
77880
|
-
"
|
|
77997
|
+
"ccc0064e",
|
|
77881
77998
|
null,
|
|
77882
77999
|
null
|
|
77883
78000
|
);
|
|
@@ -79916,7 +80033,7 @@ var _sfc_render$4C = function() {
|
|
|
79916
80033
|
null,
|
|
79917
80034
|
null
|
|
79918
80035
|
);
|
|
79919
|
-
const RoleScope = __component__$4C.exports,
|
|
80036
|
+
const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0_scoped_b55b46c0_lang = "", _sfc_main$4B = {
|
|
79920
80037
|
data() {
|
|
79921
80038
|
return {
|
|
79922
80039
|
buttons: [
|
|
@@ -79946,8 +80063,7 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79946
80063
|
align: "left",
|
|
79947
80064
|
type: "slot",
|
|
79948
80065
|
slotType: "sysCodeGenName",
|
|
79949
|
-
width: 120
|
|
79950
|
-
showOverflowTooltip: !0
|
|
80066
|
+
width: 120
|
|
79951
80067
|
},
|
|
79952
80068
|
{
|
|
79953
80069
|
transKey: "gd.btn.query",
|
|
@@ -79956,7 +80072,8 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79956
80072
|
align: "left",
|
|
79957
80073
|
type: "slot",
|
|
79958
80074
|
slotType: "getgrantd",
|
|
79959
|
-
width: 270
|
|
80075
|
+
width: 270,
|
|
80076
|
+
showTooltip: !1
|
|
79960
80077
|
},
|
|
79961
80078
|
{
|
|
79962
80079
|
transKey: "gd.btn.add",
|
|
@@ -79965,7 +80082,8 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79965
80082
|
align: "left",
|
|
79966
80083
|
type: "slot",
|
|
79967
80084
|
slotType: "addgrantd",
|
|
79968
|
-
width: 270
|
|
80085
|
+
width: 270,
|
|
80086
|
+
showTooltip: !1
|
|
79969
80087
|
},
|
|
79970
80088
|
{
|
|
79971
80089
|
transKey: "gd.btn.edit",
|
|
@@ -79974,7 +80092,8 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79974
80092
|
align: "left",
|
|
79975
80093
|
type: "slot",
|
|
79976
80094
|
slotType: "editgrantd",
|
|
79977
|
-
width: 270
|
|
80095
|
+
width: 270,
|
|
80096
|
+
showTooltip: !1
|
|
79978
80097
|
},
|
|
79979
80098
|
{
|
|
79980
80099
|
transKey: "gd.btn.del",
|
|
@@ -79983,7 +80102,8 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79983
80102
|
align: "left",
|
|
79984
80103
|
type: "slot",
|
|
79985
80104
|
slotType: "delgrantd",
|
|
79986
|
-
width: 270
|
|
80105
|
+
width: 270,
|
|
80106
|
+
showTooltip: !1
|
|
79987
80107
|
},
|
|
79988
80108
|
{
|
|
79989
80109
|
transKey: "gd.relation.assignment",
|
|
@@ -79992,7 +80112,8 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79992
80112
|
align: "left",
|
|
79993
80113
|
type: "slot",
|
|
79994
80114
|
slotType: "allocationgrantd",
|
|
79995
|
-
width: 270
|
|
80115
|
+
width: 270,
|
|
80116
|
+
showTooltip: !1
|
|
79996
80117
|
},
|
|
79997
80118
|
{
|
|
79998
80119
|
transKey: "gd.btn.share",
|
|
@@ -80001,7 +80122,8 @@ const RoleScope = __component__$4C.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
80001
80122
|
align: "left",
|
|
80002
80123
|
type: "slot",
|
|
80003
80124
|
slotType: "sharegrantd",
|
|
80004
|
-
width: 270
|
|
80125
|
+
width: 270,
|
|
80126
|
+
showTooltip: !1
|
|
80005
80127
|
}
|
|
80006
80128
|
],
|
|
80007
80129
|
currentList: {}
|
|
@@ -80091,7 +80213,7 @@ var _sfc_render$4B = function() {
|
|
|
80091
80213
|
_sfc_staticRenderFns$4B,
|
|
80092
80214
|
!1,
|
|
80093
80215
|
null,
|
|
80094
|
-
"
|
|
80216
|
+
"b55b46c0",
|
|
80095
80217
|
null,
|
|
80096
80218
|
null
|
|
80097
80219
|
);
|
|
@@ -125915,7 +126037,7 @@ var _sfc_render$16 = function s() {
|
|
|
125915
126037
|
null,
|
|
125916
126038
|
null
|
|
125917
126039
|
);
|
|
125918
|
-
const propertiesInterac = __component__$16.exports,
|
|
126040
|
+
const propertiesInterac = __component__$16.exports, chartDisplayRules_vue_vue_type_style_index_0_scoped_525b2d3a_lang = "", _sfc_main$15 = {
|
|
125919
126041
|
props: {
|
|
125920
126042
|
fieldData: {
|
|
125921
126043
|
type: Array,
|
|
@@ -126007,7 +126129,8 @@ const propertiesInterac = __component__$16.exports, chartDisplayRules_vue_vue_ty
|
|
|
126007
126129
|
operation: {
|
|
126008
126130
|
open: !0,
|
|
126009
126131
|
list: []
|
|
126010
|
-
}
|
|
126132
|
+
},
|
|
126133
|
+
id: uuid$1()
|
|
126011
126134
|
};
|
|
126012
126135
|
s.push(t), this.list = [...s];
|
|
126013
126136
|
},
|
|
@@ -126060,7 +126183,7 @@ const propertiesInterac = __component__$16.exports, chartDisplayRules_vue_vue_ty
|
|
|
126060
126183
|
this.list[s].operation.list.push(r);
|
|
126061
126184
|
},
|
|
126062
126185
|
addOperationMore(s) {
|
|
126063
|
-
this.list[s].operation.list.length
|
|
126186
|
+
this.list[s].operation.list.length === 0 && (this.addOperation(s, "1", "#333"), this.addOperation(s, "2", 14), this.addOperation(s, "3", "normal"));
|
|
126064
126187
|
},
|
|
126065
126188
|
openItem(s, t) {
|
|
126066
126189
|
if (s == 1) {
|
|
@@ -126170,7 +126293,7 @@ var _sfc_render$15 = function s() {
|
|
|
126170
126293
|
return t.openItem(3, o);
|
|
126171
126294
|
} } }, [a("i", { class: r.operation.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.handle")) + " "), o === t.list.length - 1 && r.operation.list.length > 0 && r.condition.list.length === 0 ? a("div", { staticClass: "title-sc" }, [a("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(l) {
|
|
126172
126295
|
return l.stopPropagation(), t.delOperation(o);
|
|
126173
|
-
} } })]) : t._e()]), r.operation && r.operation.open ? a("div", { staticClass: "list" }, t._l(r.operation.list, function(l, d) {
|
|
126296
|
+
} } })]) : t._e()]), r.operation && r.operation.open ? a("div", { staticClass: "list" }, [t._l(r.operation.list, function(l, d) {
|
|
126174
126297
|
return a("div", { staticClass: "lists" }, [a("div", { staticClass: "zd" }, [a("el-select", { staticStyle: { width: "100%" }, model: { value: l.rules, callback: function(u) {
|
|
126175
126298
|
t.$set(l, "rules", u);
|
|
126176
126299
|
}, expression: "ite.rules" } }, [t._l(t.operationList, function(u) {
|
|
@@ -126186,7 +126309,9 @@ var _sfc_render$15 = function s() {
|
|
|
126186
126309
|
}), 1) : l.rules === "3" ? a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), size: "mini" }, model: { value: l.val, callback: function(u) {
|
|
126187
126310
|
t.$set(l, "val", u);
|
|
126188
126311
|
}, expression: "ite.val" } }, [a("el-option", { attrs: { value: "lighter", label: t.$i18nt("gd.page.lighter", "\u7EC6") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.fontNormal", "\u9ED8\u8BA4") } }), a("el-option", { attrs: { value: "bolder", label: t.$i18nt("gd.page.bolder", "\u7C97") } })], 1) : t._e()], 1)]);
|
|
126189
|
-
}), 0
|
|
126312
|
+
}), r.operation.list.length === 0 ? a("div", { staticClass: "add active-color" }, [a("span", { on: { click: function(l) {
|
|
126313
|
+
return t.addOperationMore(o);
|
|
126314
|
+
} } }, [a("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addHandle", "\u6DFB\u52A0\u64CD\u4F5C")) + " ")])]) : t._e()], 2) : t._e()])]) : t._e()]);
|
|
126190
126315
|
}), t.showAdd ? a("div", { staticClass: "rules-el" }, [a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.addList } }, [a("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addElse", "\u6DFB\u52A0 ELSE")) + " ")])]) : t._e()], 2)])], 2);
|
|
126191
126316
|
}, _sfc_staticRenderFns$15 = [], __component__$15 = /* @__PURE__ */ normalizeComponent(
|
|
126192
126317
|
_sfc_main$15,
|
|
@@ -126194,11 +126319,11 @@ var _sfc_render$15 = function s() {
|
|
|
126194
126319
|
_sfc_staticRenderFns$15,
|
|
126195
126320
|
!1,
|
|
126196
126321
|
null,
|
|
126197
|
-
"
|
|
126322
|
+
"525b2d3a",
|
|
126198
126323
|
null,
|
|
126199
126324
|
null
|
|
126200
126325
|
);
|
|
126201
|
-
const ChartDisplayRules = __component__$15.exports,
|
|
126326
|
+
const ChartDisplayRules = __component__$15.exports, editBI_vue_vue_type_style_index_0_scoped_d364c227_lang = "";
|
|
126202
126327
|
var timeOut = null;
|
|
126203
126328
|
const _sfc_main$14 = {
|
|
126204
126329
|
props: {
|
|
@@ -126515,17 +126640,20 @@ const _sfc_main$14 = {
|
|
|
126515
126640
|
let s = [...this.sequence];
|
|
126516
126641
|
s.forEach((t, a) => {
|
|
126517
126642
|
const r = this.ruleList.filter((o) => o.columnName === t.columnName)[0];
|
|
126518
|
-
r && (s[a] = Object.assign(
|
|
126519
|
-
|
|
126520
|
-
|
|
126521
|
-
|
|
126522
|
-
|
|
126523
|
-
|
|
126524
|
-
|
|
126525
|
-
|
|
126526
|
-
|
|
126643
|
+
r && (s[a] = Object.assign(
|
|
126644
|
+
{ ...t },
|
|
126645
|
+
{
|
|
126646
|
+
ruleOpen: !0,
|
|
126647
|
+
ruleSequence: r.ruleSequence,
|
|
126648
|
+
ruleFormatter: {
|
|
126649
|
+
min: r.min,
|
|
126650
|
+
max: r.max,
|
|
126651
|
+
formatter: r.formatter,
|
|
126652
|
+
mode: r.mode,
|
|
126653
|
+
effectType: r.effectType
|
|
126654
|
+
}
|
|
126527
126655
|
}
|
|
126528
|
-
|
|
126656
|
+
));
|
|
126529
126657
|
}), this.$emit("ok", {
|
|
126530
126658
|
tableName: this.ruleFormData.tableName,
|
|
126531
126659
|
colourList: this.ruleFormData.colorList.join(","),
|
|
@@ -126541,7 +126669,7 @@ const _sfc_main$14 = {
|
|
|
126541
126669
|
labelRotate: this.ruleFormData.labelRotate,
|
|
126542
126670
|
labelFontSize: this.ruleFormData.labelFontSize,
|
|
126543
126671
|
overlayLineChart: this.ruleFormData.overlayLineChart
|
|
126544
|
-
});
|
|
126672
|
+
}), this.closed();
|
|
126545
126673
|
},
|
|
126546
126674
|
handleSubmit() {
|
|
126547
126675
|
this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
|
|
@@ -126610,7 +126738,7 @@ const _sfc_main$14 = {
|
|
|
126610
126738
|
a.ruleOpen && t.push({
|
|
126611
126739
|
mode: a.ruleFormatter.mode,
|
|
126612
126740
|
effectType: a.ruleFormatter.effectType,
|
|
126613
|
-
columnName: a.
|
|
126741
|
+
columnName: a.columnName,
|
|
126614
126742
|
min: a.ruleFormatter.min,
|
|
126615
126743
|
max: a.ruleFormatter.max,
|
|
126616
126744
|
formatter: a.ruleFormatter.formatter,
|
|
@@ -126756,7 +126884,7 @@ var _sfc_render$14 = function s() {
|
|
|
126756
126884
|
_sfc_staticRenderFns$14,
|
|
126757
126885
|
!1,
|
|
126758
126886
|
null,
|
|
126759
|
-
"
|
|
126887
|
+
"d364c227",
|
|
126760
126888
|
null,
|
|
126761
126889
|
null
|
|
126762
126890
|
);
|
|
@@ -130664,7 +130792,7 @@ var _sfc_render$Q = function s() {
|
|
|
130664
130792
|
null,
|
|
130665
130793
|
null
|
|
130666
130794
|
);
|
|
130667
|
-
const tableDescriptions = __component__$Q.exports,
|
|
130795
|
+
const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index_0_scoped_c224acc9_lang = "", _sfc_main$P = {
|
|
130668
130796
|
mixins: [tablesFilter, mixins$i],
|
|
130669
130797
|
props: {
|
|
130670
130798
|
mode: {
|
|
@@ -130687,7 +130815,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
130687
130815
|
queryParam: {},
|
|
130688
130816
|
loadData: (s) => this.record.id === void 0 ? new Promise((t, a) => {
|
|
130689
130817
|
t({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
|
|
130690
|
-
}) :
|
|
130818
|
+
}) : this.initAll(s),
|
|
130691
130819
|
tableNameData: [],
|
|
130692
130820
|
numberRulesData: [],
|
|
130693
130821
|
numberNoRulesData: [],
|
|
@@ -130763,14 +130891,9 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
130763
130891
|
const a = t.$el.querySelector(".el-table__body-wrapper");
|
|
130764
130892
|
if (!a)
|
|
130765
130893
|
return;
|
|
130766
|
-
const
|
|
130767
|
-
if (r.length <= s)
|
|
130768
|
-
return;
|
|
130769
|
-
const o = r[s], l = o.offsetTop;
|
|
130770
|
-
o.offsetHeight, a.clientHeight;
|
|
130771
|
-
const d = l;
|
|
130894
|
+
const o = s * 56;
|
|
130772
130895
|
a.scrollTo({
|
|
130773
|
-
top:
|
|
130896
|
+
top: o,
|
|
130774
130897
|
behavior: "smooth"
|
|
130775
130898
|
});
|
|
130776
130899
|
});
|
|
@@ -130822,34 +130945,36 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
130822
130945
|
}
|
|
130823
130946
|
this.formLoading = !0;
|
|
130824
130947
|
let t = /* @__PURE__ */ new Map(), a = [], r = [];
|
|
130825
|
-
if (s.forEach((
|
|
130826
|
-
!t.has(
|
|
130948
|
+
if (s.forEach((u) => {
|
|
130949
|
+
!t.has(u.columnname) && u.filedstatic != 2 ? t.set(u.columnname.trim(), 1) : t.has(u.columnname) && u.filedstatic != 2 && a.push(u.columnname);
|
|
130827
130950
|
}), a.length > 0) {
|
|
130828
130951
|
this.$message.warning(this.$i18nt("gd.field.duplicateRemoval", "\u8BF7\u53BB\u9664\u91CD\u590D\u5B57\u6BB5: ") + a.join(",")), this.formLoading = !1;
|
|
130829
130952
|
return;
|
|
130830
130953
|
}
|
|
130831
130954
|
let o = [];
|
|
130832
|
-
o = this.compareAndUpdateArrays(this.oldValue, s);
|
|
130833
|
-
for (let
|
|
130834
|
-
let
|
|
130835
|
-
(
|
|
130836
|
-
for (const
|
|
130837
|
-
|
|
130838
|
-
["about", "participants"].includes(
|
|
130839
|
-
Object.assign({ ...
|
|
130955
|
+
o = this.compareAndUpdateArrays(this.oldValue, JSON.parse(JSON.stringify(s)));
|
|
130956
|
+
for (let u in o) {
|
|
130957
|
+
let f = /* @__PURE__ */ new Map(), h = o[u];
|
|
130958
|
+
(h.id ? String(h.id).split("u") : []).length > 1 && f.set("id", 0);
|
|
130959
|
+
for (const v in h)
|
|
130960
|
+
h[v] === !0 && f.set(v, "Y"), h[v] === !1 && f.set(v, "N");
|
|
130961
|
+
["about", "participants"].includes(h.effecttype) && f.set("fkentityname", h.fkentitynamed.join(",")), ["inputnumber"].includes(h.effecttype) && f.set("nettype", h.filedsize == 32 ? "int" : "long"), r.push(
|
|
130962
|
+
Object.assign({ ...h }, Object.fromEntries(f), {
|
|
130840
130963
|
tableNameData: void 0,
|
|
130841
130964
|
numberRulesData: void 0,
|
|
130842
|
-
isprimarykey:
|
|
130965
|
+
isprimarykey: h.isprimarykey ? 1 : 0
|
|
130843
130966
|
})
|
|
130844
130967
|
);
|
|
130845
130968
|
}
|
|
130846
|
-
const l =
|
|
130969
|
+
const l = r.filter(
|
|
130970
|
+
(u) => u.id === 0 && u.filedstatic === 0 || u.id !== 0 && (u.filedstatic === 1 || u.filedstatic === 2)
|
|
130971
|
+
), d = this.$message({
|
|
130847
130972
|
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
130848
130973
|
duration: 0,
|
|
130849
130974
|
iconClass: "el-icon-loading"
|
|
130850
130975
|
});
|
|
130851
|
-
sysCodeGenerateConfigEditOnline(
|
|
130852
|
-
|
|
130976
|
+
sysCodeGenerateConfigEditOnline(l).then((u) => {
|
|
130977
|
+
d.close(), u.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.init(this.record)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + u.message), this.formLoading = !1;
|
|
130853
130978
|
});
|
|
130854
130979
|
},
|
|
130855
130980
|
handleAdd() {
|
|
@@ -131176,7 +131301,7 @@ var _sfc_render$P = function s() {
|
|
|
131176
131301
|
_sfc_staticRenderFns$P,
|
|
131177
131302
|
!1,
|
|
131178
131303
|
null,
|
|
131179
|
-
"
|
|
131304
|
+
"c224acc9",
|
|
131180
131305
|
null,
|
|
131181
131306
|
null
|
|
131182
131307
|
);
|
|
@@ -140660,7 +140785,7 @@ var _sfc_render$n = function s() {
|
|
|
140660
140785
|
null,
|
|
140661
140786
|
null
|
|
140662
140787
|
);
|
|
140663
|
-
const ProcessFlow = __component__$n.exports,
|
|
140788
|
+
const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_39cccea5_lang = "", _sfc_main$m = {
|
|
140664
140789
|
name: "GdFormBuild",
|
|
140665
140790
|
props: {
|
|
140666
140791
|
modeType: {
|
|
@@ -140856,6 +140981,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
140856
140981
|
return;
|
|
140857
140982
|
}
|
|
140858
140983
|
if (String(this.openMode) === "3" && o !== "" && l) {
|
|
140984
|
+
console.log("4");
|
|
140859
140985
|
let f = r.updateFiled_GD.split(","), h = this.recordRelation.options.foreign, p = this.fieldData.filter((y) => y.columnname === h)[0], v = f.filter((y) => y !== p.id);
|
|
140860
140986
|
v.push(p.id);
|
|
140861
140987
|
let g = /* @__PURE__ */ new Map();
|
|
@@ -140884,7 +141010,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
140884
141010
|
refreshHost: d,
|
|
140885
141011
|
t: s,
|
|
140886
141012
|
statu: u
|
|
140887
|
-
});
|
|
141013
|
+
}), this.oldvalue = {}, this.oldvalue = JSON.stringify(this.parameterData);
|
|
140888
141014
|
}).catch((r) => {
|
|
140889
141015
|
this.confirmLoading = !1;
|
|
140890
141016
|
});
|
|
@@ -140927,7 +141053,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
140927
141053
|
saved: l,
|
|
140928
141054
|
refreshHost: d,
|
|
140929
141055
|
t: s
|
|
140930
|
-
});
|
|
141056
|
+
}), this.oldvalue = {}, this.oldvalue = JSON.stringify(this.parameterData);
|
|
140931
141057
|
}).catch((r) => {
|
|
140932
141058
|
this.confirmLoading = !1;
|
|
140933
141059
|
});
|
|
@@ -141827,7 +141953,7 @@ var _sfc_render$m = function s() {
|
|
|
141827
141953
|
_sfc_staticRenderFns$m,
|
|
141828
141954
|
!1,
|
|
141829
141955
|
null,
|
|
141830
|
-
"
|
|
141956
|
+
"39cccea5",
|
|
141831
141957
|
null,
|
|
141832
141958
|
null
|
|
141833
141959
|
);
|