gds-plus-design-vue 1.0.25 → 1.0.26
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.
|
@@ -630,7 +630,7 @@ const constantRouterMap = [{
|
|
|
630
630
|
{
|
|
631
631
|
path: "login",
|
|
632
632
|
name: "login",
|
|
633
|
-
component: () => import("./main.
|
|
633
|
+
component: () => import("./main.dd12b9ac.mjs"),
|
|
634
634
|
meta: {
|
|
635
635
|
title: "\u767B\u5F55",
|
|
636
636
|
transKey: "gd.login.title"
|
|
@@ -102710,7 +102710,7 @@ const relevanceTree = __component__$24.exports, mixins$e = {
|
|
|
102710
102710
|
return await r(n), a;
|
|
102711
102711
|
}
|
|
102712
102712
|
}
|
|
102713
|
-
},
|
|
102713
|
+
}, main_vue_vue_type_style_index_0_scoped_e4840e37_lang = "", _sfc_main$23 = {
|
|
102714
102714
|
props: {
|
|
102715
102715
|
data: {
|
|
102716
102716
|
type: Object,
|
|
@@ -102783,7 +102783,7 @@ const relevanceTree = __component__$24.exports, mixins$e = {
|
|
|
102783
102783
|
r.push({ item: l, children: [] }), o(l.list, d);
|
|
102784
102784
|
let u = this.getRuleFormData(r[d]);
|
|
102785
102785
|
const f = l.options.tableName;
|
|
102786
|
-
t[d].ruleForm = f === "" ? u.data : Object.assign(u.data, { tableName: f }), t[d].ruleFormKey = f === "" ? [] : u.field;
|
|
102786
|
+
t[d].ruleForm = f === "" ? u.data : Object.assign(u.data, { tableName: f }), t[d].ruleFormKey = f === "" ? [] : u.field, console.log(t[d].ruleForm);
|
|
102787
102787
|
}), this.$nextTick(() => {
|
|
102788
102788
|
setTimeout(() => {
|
|
102789
102789
|
this.state = !1;
|
|
@@ -102793,7 +102793,7 @@ const relevanceTree = __component__$24.exports, mixins$e = {
|
|
|
102793
102793
|
getRuleFormData(n) {
|
|
102794
102794
|
let t = /* @__PURE__ */ new Map(), a = [];
|
|
102795
102795
|
return n.children.forEach((r) => {
|
|
102796
|
-
r.options.initialType && r.options.initialType.length > 0 && a.push({ key: r.key, columnName: r.options.columnName }), ["inputNumber", "select"].includes(r.type) ? t.set(r.options.columnName, r.options.defaultValue !== void 0 ? r.options.defaultValue : void 0) : ["switch"].includes(r.type) ? t.set(r.options.columnName, r.options.defaultValue !== void 0 ? r.options.defaultValue : 0) : ["checkbox"].includes(r.type) ? t.set(r.options.columnName, r.options.defaultValue !== void 0 ? r.options.defaultValue : []) : ["select"].includes(r.type) ? t.set(
|
|
102796
|
+
r.options.initialType && r.options.initialType.length > 0 && a.push({ key: r.key, columnName: r.options.columnName }), ["inputNumber", "select"].includes(r.type) ? t.set(r.options.columnName, r.options.defaultValue !== void 0 ? r.options.defaultValue : void 0) : ["switch"].includes(r.type) ? t.set(r.options.columnName, r.options.defaultValue !== void 0 ? Number(r.options.defaultValue) : 0) : ["checkbox"].includes(r.type) ? t.set(r.options.columnName, r.options.defaultValue !== void 0 ? r.options.defaultValue : []) : ["select"].includes(r.type) ? t.set(
|
|
102797
102797
|
r.options.columnName,
|
|
102798
102798
|
r.options.defaultValue !== void 0 ? r.options.defaultValue : r.options.multiple ? [] : void 0
|
|
102799
102799
|
) : t.set(
|
|
@@ -102821,7 +102821,7 @@ var _sfc_render$23 = function() {
|
|
|
102821
102821
|
_sfc_staticRenderFns$23,
|
|
102822
102822
|
!1,
|
|
102823
102823
|
null,
|
|
102824
|
-
"
|
|
102824
|
+
"e4840e37",
|
|
102825
102825
|
null,
|
|
102826
102826
|
null
|
|
102827
102827
|
);
|
|
@@ -107148,7 +107148,7 @@ const echartsView = __component__$1u.exports, componentArray = {
|
|
|
107148
107148
|
uploadFile,
|
|
107149
107149
|
uploadImg,
|
|
107150
107150
|
echarts: echartsView
|
|
107151
|
-
},
|
|
107151
|
+
}, layoutItem_vue_vue_type_style_index_0_scoped_68862e5c_lang = "", _sfc_main$1t = {
|
|
107152
107152
|
props: {
|
|
107153
107153
|
record: {
|
|
107154
107154
|
type: Object,
|
|
@@ -107411,7 +107411,13 @@ var _sfc_render$1t = function() {
|
|
|
107411
107411
|
t.$set(t.model, t.options.columnName, r);
|
|
107412
107412
|
}, expression: "model[options.columnName]" } }, t._l(t.fkData, function(r) {
|
|
107413
107413
|
return a("el-option", { key: r.id, attrs: { label: r.name, value: r.id } });
|
|
107414
|
-
}), 1), a("div", { staticClass: "cao_setting", class: t.options.disabled ? "cao_setting-disabled" : "", on: { click: t.lookup } }, [a("i", { staticClass: "el-input__icon el-icon-search" })])], 1)]) : a("el-select", { style: t.wstyle, attrs: { disabled: t.options.disabled, "popper-append-to-body": !1, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.options.columnName], callback: function(r) {
|
|
107414
|
+
}), 1), a("div", { staticClass: "cao_setting", class: t.options.disabled ? "cao_setting-disabled" : "", on: { click: t.lookup } }, [a("i", { staticClass: "el-input__icon el-icon-search" })])], 1)]) : ["checkbox"].includes(t.options.effectType) ? a("el-select", { style: t.wstyle, attrs: { multiple: "", "collapse-tags": !0, disabled: t.options.disabled, "popper-append-to-body": !1, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.options.columnName], callback: function(r) {
|
|
107415
|
+
t.$set(t.model, t.options.columnName, r);
|
|
107416
|
+
}, expression: "model[options.columnName]" } }, [t.options.dictTypeCode ? t._l(t.dict, function(r) {
|
|
107417
|
+
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transKey}`, r.name), value: r.code, disabled: r.disabled } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.name)))])]);
|
|
107418
|
+
}) : t._l(t.fkData, function(r) {
|
|
107419
|
+
return a("el-option", { key: r.id, attrs: { label: r.name, value: r.id } });
|
|
107420
|
+
})], 2) : a("el-select", { style: t.wstyle, attrs: { disabled: t.options.disabled, "popper-append-to-body": !1, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.options.columnName], callback: function(r) {
|
|
107415
107421
|
t.$set(t.model, t.options.columnName, r);
|
|
107416
107422
|
}, expression: "model[options.columnName]" } }, [t.options.dictTypeCode ? t._l(t.dict, function(r) {
|
|
107417
107423
|
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transKey}`, r.name), value: r.code, disabled: r.disabled } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.name)))])]);
|
|
@@ -107430,7 +107436,7 @@ var _sfc_render$1t = function() {
|
|
|
107430
107436
|
_sfc_staticRenderFns$1t,
|
|
107431
107437
|
!1,
|
|
107432
107438
|
null,
|
|
107433
|
-
"
|
|
107439
|
+
"68862e5c",
|
|
107434
107440
|
null,
|
|
107435
107441
|
null
|
|
107436
107442
|
);
|
|
@@ -109501,7 +109507,7 @@ var _sfc_render$1c = function() {
|
|
|
109501
109507
|
null,
|
|
109502
109508
|
null
|
|
109503
109509
|
);
|
|
109504
|
-
const generatorTable = __component__$1c.exports,
|
|
109510
|
+
const generatorTable = __component__$1c.exports, propertiesTable_vue_vue_type_style_index_0_scoped_0157eed2_lang = "", _sfc_main$1b = {
|
|
109505
109511
|
props: {
|
|
109506
109512
|
selectItem: {
|
|
109507
109513
|
type: Object,
|
|
@@ -109556,6 +109562,9 @@ const generatorTable = __component__$1c.exports, propertiesTable_vue_vue_type_st
|
|
|
109556
109562
|
},
|
|
109557
109563
|
components: { generatorTable, draggable, iconSelector: GDpackage$N },
|
|
109558
109564
|
methods: {
|
|
109565
|
+
clearForm() {
|
|
109566
|
+
this.sysFormList();
|
|
109567
|
+
},
|
|
109559
109568
|
sysFormList(n) {
|
|
109560
109569
|
this.loading = !0, sysFormList({ sysCodeGenId: this.options.table.id }).then((t) => {
|
|
109561
109570
|
if (t.code === 200) {
|
|
@@ -109623,7 +109632,7 @@ var _sfc_render$1b = function() {
|
|
|
109623
109632
|
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transKey}`, r.name), value: r.code } });
|
|
109624
109633
|
}), 1)], 1), a("el-form-item", { attrs: { label: "\u4EA4\u4E92\u65B9\u5F0F" } }, [a("el-radio-group", { attrs: { size: "mini" }, model: { value: t.options.formMode, callback: function(r) {
|
|
109625
109634
|
t.$set(t.options, "formMode", r);
|
|
109626
|
-
}, expression: "options.formMode" } }, [a("el-radio-button", { attrs: { label: "form" } }, [t._v("\u8868\u5355")]), a("el-radio-button", { attrs: { label: "component" } }, [t._v("\u7EC4\u4EF6")])], 1)], 1), t.options.formMode === "form" ? a("el-form-item", { attrs: { label: "\u4EA4\u4E92\u8868\u5355" } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", "remote-method": t.sysFormList, loading: t.loading, clearable: "" }, model: { value: t.options.form.id, callback: function(r) {
|
|
109635
|
+
}, expression: "options.formMode" } }, [a("el-radio-button", { attrs: { label: "form" } }, [t._v("\u8868\u5355")]), a("el-radio-button", { attrs: { label: "component" } }, [t._v("\u7EC4\u4EF6")])], 1)], 1), t.options.formMode === "form" ? a("el-form-item", { attrs: { label: "\u4EA4\u4E92\u8868\u5355" } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", "remote-method": t.sysFormList, loading: t.loading, clearable: "" }, on: { clear: t.clearForm }, model: { value: t.options.form.id, callback: function(r) {
|
|
109627
109636
|
t.$set(t.options.form, "id", r);
|
|
109628
109637
|
}, expression: "options.form.id" } }, t._l(t.selectItem.formList, function(r) {
|
|
109629
109638
|
return a("el-option", { key: r.id, attrs: { label: t.$i18nt(`Dynamics.${r.transKey}`, r.displayName), value: r.id } });
|
|
@@ -109642,7 +109651,7 @@ var _sfc_render$1b = function() {
|
|
|
109642
109651
|
_sfc_staticRenderFns$1b,
|
|
109643
109652
|
!1,
|
|
109644
109653
|
null,
|
|
109645
|
-
"
|
|
109654
|
+
"0157eed2",
|
|
109646
109655
|
null,
|
|
109647
109656
|
null
|
|
109648
109657
|
);
|
|
@@ -111029,7 +111038,7 @@ var _sfc_render$10 = function() {
|
|
|
111029
111038
|
null,
|
|
111030
111039
|
null
|
|
111031
111040
|
);
|
|
111032
|
-
const propertiesEcharts = __component__$10.exports,
|
|
111041
|
+
const propertiesEcharts = __component__$10.exports, properties_vue_vue_type_style_index_0_scoped_fdb04a23_lang = "", _sfc_main$$ = {
|
|
111033
111042
|
props: {
|
|
111034
111043
|
selectItem: {
|
|
111035
111044
|
type: Object,
|
|
@@ -111174,6 +111183,9 @@ const propertiesEcharts = __component__$10.exports, properties_vue_vue_type_styl
|
|
|
111174
111183
|
propertiesEcharts
|
|
111175
111184
|
},
|
|
111176
111185
|
methods: {
|
|
111186
|
+
changeType() {
|
|
111187
|
+
console.log(this.selectItem.type, this.selectItem);
|
|
111188
|
+
},
|
|
111177
111189
|
changeColumnName(n) {
|
|
111178
111190
|
if (!this.tableName)
|
|
111179
111191
|
return;
|
|
@@ -111283,7 +111295,7 @@ var _sfc_render$$ = function() {
|
|
|
111283
111295
|
t.$set(t.options, "columnName", r);
|
|
111284
111296
|
}, expression: "options.columnName" } }, [a("i", { staticClass: "el-input__icon el-icon-search", staticStyle: { cursor: "pointer", "font-size": "16px" }, attrs: { slot: "suffix" }, on: { click: t.searchColumnName }, slot: "suffix" })]) : a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.options.disabledColumnName && t.disabled }, model: { value: t.options.columnName, callback: function(r) {
|
|
111285
111297
|
t.$set(t.options, "columnName", r);
|
|
111286
|
-
}, expression: "options.columnName" } })], 1) : t._e(), t.isFormItem && t.getTypeof("initialType") && t.options.initialType.length > 0 ? a("el-form-item", { attrs: { label: "\u4F5C\u7528\u7C7B\u578B" } }, [a("el-select", { attrs: { disabled: "" }, model: { value: t.selectItem.type, callback: function(r) {
|
|
111298
|
+
}, expression: "options.columnName" } })], 1) : t._e(), t.isFormItem && t.getTypeof("initialType") && t.options.initialType.length > 0 ? a("el-form-item", { attrs: { label: "\u4F5C\u7528\u7C7B\u578B" } }, [a("el-select", { attrs: { disabled: "" }, on: { change: t.changeType }, model: { value: t.selectItem.type, callback: function(r) {
|
|
111287
111299
|
t.$set(t.selectItem, "type", r);
|
|
111288
111300
|
}, expression: "selectItem.type" } }, t._l(t.inputComponentList, function(r) {
|
|
111289
111301
|
return a("el-option", { key: r.type, attrs: { label: r.label, value: r.type } }, [a("span", [t._v(t._s(r.label))])]);
|
|
@@ -111332,7 +111344,7 @@ var _sfc_render$$ = function() {
|
|
|
111332
111344
|
}), 1) : t.selectItem.type === "checkbox" ? a("el-checkbox-group", { model: { value: t.options.defaultValue, callback: function(r) {
|
|
111333
111345
|
t.$set(t.options, "defaultValue", r);
|
|
111334
111346
|
}, expression: "options.defaultValue" } }, t._l(t.dict, function(r) {
|
|
111335
|
-
return a("el-checkbox", { key: r.code, attrs: { label: r.code } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.name)) + " ")]);
|
|
111347
|
+
return a("el-checkbox", { key: r.code, attrs: { label: r.code } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.name)) + " " + t._s(r.code) + " ")]);
|
|
111336
111348
|
}), 1) : t.selectItem.type === "select" ? a("el-select", { model: { value: t.options.defaultValue, callback: function(r) {
|
|
111337
111349
|
t.$set(t.options, "defaultValue", r);
|
|
111338
111350
|
}, expression: "options.defaultValue" } }, [t.options.dictTypeCode ? t._l(t.dict, function(r) {
|
|
@@ -111456,7 +111468,7 @@ var _sfc_render$$ = function() {
|
|
|
111456
111468
|
_sfc_staticRenderFns$$,
|
|
111457
111469
|
!1,
|
|
111458
111470
|
null,
|
|
111459
|
-
"
|
|
111471
|
+
"fdb04a23",
|
|
111460
111472
|
null,
|
|
111461
111473
|
null
|
|
111462
111474
|
);
|
|
@@ -123307,7 +123319,7 @@ var _sfc_render$l = function() {
|
|
|
123307
123319
|
null,
|
|
123308
123320
|
null
|
|
123309
123321
|
);
|
|
123310
|
-
const ProcessFlow = __component__$l.exports,
|
|
123322
|
+
const ProcessFlow = __component__$l.exports, main_vue_vue_type_style_index_0_scoped_bbeafc0b_lang = "", _sfc_main$k = {
|
|
123311
123323
|
name: "GdFormBuild",
|
|
123312
123324
|
props: {
|
|
123313
123325
|
modeType: {
|
|
@@ -124220,14 +124232,14 @@ var _sfc_render$k = function n() {
|
|
|
124220
124232
|
return t.$emit("ok");
|
|
124221
124233
|
}, lookup: t.lookup, updateFiled: t.changeFlowFiled } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1)] : a("div", [t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline }, nativeOn: { submit: function(r) {
|
|
124222
124234
|
r.preventDefault();
|
|
124223
|
-
} } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("gd-search", { ref: "viewSearch", on: { lookupSeled: t.lookupSeled } })], 2);
|
|
124235
|
+
} } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 2);
|
|
124224
124236
|
}, _sfc_staticRenderFns$k = [], __component__$k = /* @__PURE__ */ normalizeComponent(
|
|
124225
124237
|
_sfc_main$k,
|
|
124226
124238
|
_sfc_render$k,
|
|
124227
124239
|
_sfc_staticRenderFns$k,
|
|
124228
124240
|
!1,
|
|
124229
124241
|
null,
|
|
124230
|
-
"
|
|
124242
|
+
"bbeafc0b",
|
|
124231
124243
|
null,
|
|
124232
124244
|
null
|
|
124233
124245
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "vue";
|
|
2
|
-
import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as A, d as b, e as y, f as R } from "./index.
|
|
2
|
+
import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as A, d as b, e as y, f as R } from "./index.4030a33f.mjs";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "GdVerificationCode",
|
|
5
5
|
props: {
|