form-custom-test 3.0.38 → 3.0.39
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/dist/designer.es.js +10 -9
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +6 -4
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -55528,12 +55528,11 @@ const _sfc_main$27 = {
|
|
|
55528
55528
|
let dictManager = null;
|
|
55529
55529
|
if (typeof window !== "undefined" && window.getDictData) {
|
|
55530
55530
|
const dictItems = window.getDictData(dictCode);
|
|
55531
|
-
console.log(dictItems, "dictItems");
|
|
55532
55531
|
if (dictItems && Array.isArray(dictItems) && dictItems.length > 0) {
|
|
55533
55532
|
this.optionModel.optionItems = dictItems.map((item) => ({
|
|
55534
55533
|
id: generateId(),
|
|
55535
55534
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
55536
|
-
value: item.dictValue || item.value || item.code || "",
|
|
55535
|
+
value: item.dictValue || item.value || item.code || item.value || "",
|
|
55537
55536
|
disabled: item.disabled || false
|
|
55538
55537
|
}));
|
|
55539
55538
|
this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F");
|
|
@@ -55547,7 +55546,7 @@ const _sfc_main$27 = {
|
|
|
55547
55546
|
this.optionModel.optionItems = dictItems.map((item) => ({
|
|
55548
55547
|
id: generateId(),
|
|
55549
55548
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
55550
|
-
value: item.dictValue || item.value || item.code || "",
|
|
55549
|
+
value: item.dictValue || item.value || item.code || item.value || "",
|
|
55551
55550
|
disabled: item.disabled || false
|
|
55552
55551
|
}));
|
|
55553
55552
|
this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F");
|
|
@@ -55569,7 +55568,7 @@ const _sfc_main$27 = {
|
|
|
55569
55568
|
this.optionModel.optionItems = dictItems.map((item) => ({
|
|
55570
55569
|
id: generateId(),
|
|
55571
55570
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
55572
|
-
value: item.dictValue || item.value || item.code || "",
|
|
55571
|
+
value: item.dictValue || item.value || item.code || item.value || "",
|
|
55573
55572
|
disabled: item.disabled || false
|
|
55574
55573
|
}));
|
|
55575
55574
|
this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F");
|
|
@@ -56061,7 +56060,7 @@ function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
56061
56060
|
]) : createCommentVNode("", true)
|
|
56062
56061
|
]);
|
|
56063
56062
|
}
|
|
56064
|
-
var OptionItemsSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$27, [["render", _sfc_render$27], ["__scopeId", "data-v-
|
|
56063
|
+
var OptionItemsSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$27, [["render", _sfc_render$27], ["__scopeId", "data-v-8874312a"]]);
|
|
56065
56064
|
const _sfc_main$26 = {
|
|
56066
56065
|
name: "optionItems-editor",
|
|
56067
56066
|
mixins: [i18n$1],
|
|
@@ -67621,13 +67620,13 @@ function registerIcon(app) {
|
|
|
67621
67620
|
if (typeof window !== "undefined") {
|
|
67622
67621
|
let loadSvg = function() {
|
|
67623
67622
|
var body = document.body;
|
|
67624
|
-
var svgDom = document.getElementById("
|
|
67623
|
+
var svgDom = document.getElementById("__svg__icons__dom__1772152578604__");
|
|
67625
67624
|
if (!svgDom) {
|
|
67626
67625
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
67627
67626
|
svgDom.style.position = "absolute";
|
|
67628
67627
|
svgDom.style.width = "0";
|
|
67629
67628
|
svgDom.style.height = "0";
|
|
67630
|
-
svgDom.id = "
|
|
67629
|
+
svgDom.id = "__svg__icons__dom__1772152578604__";
|
|
67631
67630
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
67632
67631
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
67633
67632
|
}
|
|
@@ -76801,7 +76800,6 @@ const _sfc_main$1 = {
|
|
|
76801
76800
|
this.designer.saveCurrentHistoryStep();
|
|
76802
76801
|
},
|
|
76803
76802
|
loadDictOptionsForColumn(col) {
|
|
76804
|
-
console.log(col, "col");
|
|
76805
76803
|
if (!col.dictCode || !col.dictCode.trim()) {
|
|
76806
76804
|
return;
|
|
76807
76805
|
}
|
|
@@ -76811,6 +76809,7 @@ const _sfc_main$1 = {
|
|
|
76811
76809
|
let dictManager = null;
|
|
76812
76810
|
if (typeof window !== "undefined" && window.getDictData) {
|
|
76813
76811
|
const dictItems = window.getDictData(dictCode);
|
|
76812
|
+
console.log(dictItems, "dictItems");
|
|
76814
76813
|
if (dictItems && Array.isArray(dictItems) && dictItems.length > 0) {
|
|
76815
76814
|
col.options = dictItems.map((item) => ({
|
|
76816
76815
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
@@ -76826,6 +76825,7 @@ const _sfc_main$1 = {
|
|
|
76826
76825
|
}
|
|
76827
76826
|
if (typeof window !== "undefined" && window.dictCache && window.dictCache[dictCode]) {
|
|
76828
76827
|
const dictItems = window.dictCache[dictCode];
|
|
76828
|
+
console.log(dictItems, "dictItems");
|
|
76829
76829
|
if (Array.isArray(dictItems) && dictItems.length > 0) {
|
|
76830
76830
|
col.options = dictItems.map((item) => ({
|
|
76831
76831
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
@@ -76840,6 +76840,7 @@ const _sfc_main$1 = {
|
|
|
76840
76840
|
}
|
|
76841
76841
|
}
|
|
76842
76842
|
if (typeof window !== "undefined" && window.service) {
|
|
76843
|
+
console.log(window.service, "window.service");
|
|
76843
76844
|
window.service.post("/unified-dict/sysItemDict/page", {
|
|
76844
76845
|
current: 1,
|
|
76845
76846
|
size: 1e4,
|
|
@@ -77346,7 +77347,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
77346
77347
|
}, 8, ["modelValue", "title"])
|
|
77347
77348
|
], 64);
|
|
77348
77349
|
}
|
|
77349
|
-
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
77350
|
+
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-5930cc9c"]]);
|
|
77350
77351
|
const _sfc_main = {
|
|
77351
77352
|
name: "current-user-widget",
|
|
77352
77353
|
componentName: "FieldWidget",
|