form-custom-test 3.0.188 → 3.0.190
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 +22 -12
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +22 -12
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -26510,13 +26510,13 @@ function registerIcon(app) {
|
|
|
26510
26510
|
if (typeof window !== "undefined") {
|
|
26511
26511
|
let loadSvg = function() {
|
|
26512
26512
|
var body = document.body;
|
|
26513
|
-
var svgDom = document.getElementById("
|
|
26513
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780553828064__");
|
|
26514
26514
|
if (!svgDom) {
|
|
26515
26515
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26516
26516
|
svgDom.style.position = "absolute";
|
|
26517
26517
|
svgDom.style.width = "0";
|
|
26518
26518
|
svgDom.style.height = "0";
|
|
26519
|
-
svgDom.id = "
|
|
26519
|
+
svgDom.id = "__svg__icons__dom__1780553828064__";
|
|
26520
26520
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26521
26521
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26522
26522
|
}
|
|
@@ -63245,7 +63245,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63245
63245
|
return openBlock(), createBlock(_component_el_dialog, {
|
|
63246
63246
|
modelValue: $options.dialogVisible,
|
|
63247
63247
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.dialogVisible = $event),
|
|
63248
|
-
title: "\
|
|
63248
|
+
title: "\u67E5\u770B\u8BE6\u60C5",
|
|
63249
63249
|
width: "1200px",
|
|
63250
63250
|
onClose: $options.handleClose,
|
|
63251
63251
|
"close-on-click-modal": false,
|
|
@@ -63285,7 +63285,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63285
63285
|
_: 1
|
|
63286
63286
|
}, 8, ["modelValue", "onClose"]);
|
|
63287
63287
|
}
|
|
63288
|
-
var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
63288
|
+
var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-8cc99418"]]);
|
|
63289
63289
|
var index_vue_vue_type_style_index_0_lang = "";
|
|
63290
63290
|
const _sfc_main$6 = {
|
|
63291
63291
|
name: "asset-table-widget",
|
|
@@ -63948,7 +63948,8 @@ const _sfc_main$4 = {
|
|
|
63948
63948
|
oldFieldValue: null,
|
|
63949
63949
|
rules: [],
|
|
63950
63950
|
detailDialogVisible: false,
|
|
63951
|
-
detailDialogData: null
|
|
63951
|
+
detailDialogData: null,
|
|
63952
|
+
dictOptions: []
|
|
63952
63953
|
};
|
|
63953
63954
|
},
|
|
63954
63955
|
computed: {},
|
|
@@ -63980,6 +63981,7 @@ const _sfc_main$4 = {
|
|
|
63980
63981
|
},
|
|
63981
63982
|
mounted() {
|
|
63982
63983
|
this.handleOnMounted();
|
|
63984
|
+
this.getDictItem("project_stage");
|
|
63983
63985
|
},
|
|
63984
63986
|
beforeUnmount() {
|
|
63985
63987
|
this.unregisterFromRefList();
|
|
@@ -64006,7 +64008,9 @@ const _sfc_main$4 = {
|
|
|
64006
64008
|
getlabel(row) {
|
|
64007
64009
|
return (dictManager == null ? void 0 : dictManager.getDictLabel("project_stage", row.projectStage)) || "-";
|
|
64008
64010
|
},
|
|
64009
|
-
getDictItem(dictCode
|
|
64011
|
+
getDictItem(dictCode) {
|
|
64012
|
+
if (!dictCode)
|
|
64013
|
+
return "-";
|
|
64010
64014
|
service({
|
|
64011
64015
|
method: "post",
|
|
64012
64016
|
url: "/unified-dict/sysItemDict/page",
|
|
@@ -64016,8 +64020,11 @@ const _sfc_main$4 = {
|
|
|
64016
64020
|
dictType: dictCode
|
|
64017
64021
|
}
|
|
64018
64022
|
}).then(({ data: { records } }) => {
|
|
64019
|
-
|
|
64020
|
-
|
|
64023
|
+
const options = records.map((item) => ({
|
|
64024
|
+
label: item.label,
|
|
64025
|
+
value: item.itemValue
|
|
64026
|
+
}));
|
|
64027
|
+
this.dictOptions = [...this.dictOptions, ...options];
|
|
64021
64028
|
});
|
|
64022
64029
|
},
|
|
64023
64030
|
getSameCompanyRows(currentIndex) {
|
|
@@ -64204,9 +64211,12 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64204
64211
|
label: "\u9879\u76EE\u9636\u6BB5",
|
|
64205
64212
|
width: "90"
|
|
64206
64213
|
}, {
|
|
64207
|
-
default: withCtx(({ row }) =>
|
|
64208
|
-
|
|
64209
|
-
|
|
64214
|
+
default: withCtx(({ row }) => {
|
|
64215
|
+
var _a;
|
|
64216
|
+
return [
|
|
64217
|
+
createTextVNode(toDisplayString(((_a = $data.dictOptions.find((item) => item.value === row.projectStage)) == null ? void 0 : _a.label) || "-"), 1)
|
|
64218
|
+
];
|
|
64219
|
+
}),
|
|
64210
64220
|
_: 1
|
|
64211
64221
|
}),
|
|
64212
64222
|
createVNode(_component_el_table_column, {
|
|
@@ -64277,7 +64287,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64277
64287
|
_: 1
|
|
64278
64288
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
64279
64289
|
}
|
|
64280
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
64290
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-34e9ca5d"]]);
|
|
64281
64291
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
64282
64292
|
const _sfc_main$3 = {
|
|
64283
64293
|
name: "equity-table-widget",
|