form-custom-test 3.0.188 → 3.0.189
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 +20 -10
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +20 -10
- 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
|
@@ -69038,13 +69038,13 @@ function registerIcon(app) {
|
|
|
69038
69038
|
if (typeof window !== "undefined") {
|
|
69039
69039
|
let loadSvg = function() {
|
|
69040
69040
|
var body = document.body;
|
|
69041
|
-
var svgDom = document.getElementById("
|
|
69041
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780476131955__");
|
|
69042
69042
|
if (!svgDom) {
|
|
69043
69043
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69044
69044
|
svgDom.style.position = "absolute";
|
|
69045
69045
|
svgDom.style.width = "0";
|
|
69046
69046
|
svgDom.style.height = "0";
|
|
69047
|
-
svgDom.id = "
|
|
69047
|
+
svgDom.id = "__svg__icons__dom__1780476131955__";
|
|
69048
69048
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69049
69049
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69050
69050
|
}
|
|
@@ -80929,7 +80929,8 @@ const _sfc_main$4 = {
|
|
|
80929
80929
|
oldFieldValue: null,
|
|
80930
80930
|
rules: [],
|
|
80931
80931
|
detailDialogVisible: false,
|
|
80932
|
-
detailDialogData: null
|
|
80932
|
+
detailDialogData: null,
|
|
80933
|
+
dictOptions: []
|
|
80933
80934
|
};
|
|
80934
80935
|
},
|
|
80935
80936
|
computed: {},
|
|
@@ -80961,6 +80962,7 @@ const _sfc_main$4 = {
|
|
|
80961
80962
|
},
|
|
80962
80963
|
mounted() {
|
|
80963
80964
|
this.handleOnMounted();
|
|
80965
|
+
this.getDictItem("project_stage");
|
|
80964
80966
|
},
|
|
80965
80967
|
beforeUnmount() {
|
|
80966
80968
|
this.unregisterFromRefList();
|
|
@@ -80987,7 +80989,9 @@ const _sfc_main$4 = {
|
|
|
80987
80989
|
getlabel(row) {
|
|
80988
80990
|
return (dictManager == null ? void 0 : dictManager.getDictLabel("project_stage", row.projectStage)) || "-";
|
|
80989
80991
|
},
|
|
80990
|
-
getDictItem(dictCode
|
|
80992
|
+
getDictItem(dictCode) {
|
|
80993
|
+
if (!dictCode)
|
|
80994
|
+
return "-";
|
|
80991
80995
|
service({
|
|
80992
80996
|
method: "post",
|
|
80993
80997
|
url: "/unified-dict/sysItemDict/page",
|
|
@@ -80997,8 +81001,11 @@ const _sfc_main$4 = {
|
|
|
80997
81001
|
dictType: dictCode
|
|
80998
81002
|
}
|
|
80999
81003
|
}).then(({ data: { records } }) => {
|
|
81000
|
-
|
|
81001
|
-
|
|
81004
|
+
const options = records.map((item) => ({
|
|
81005
|
+
label: item.label,
|
|
81006
|
+
value: item.itemValue
|
|
81007
|
+
}));
|
|
81008
|
+
this.dictOptions = [...this.dictOptions, ...options];
|
|
81002
81009
|
});
|
|
81003
81010
|
},
|
|
81004
81011
|
getSameCompanyRows(currentIndex) {
|
|
@@ -81185,9 +81192,12 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81185
81192
|
label: "\u9879\u76EE\u9636\u6BB5",
|
|
81186
81193
|
width: "90"
|
|
81187
81194
|
}, {
|
|
81188
|
-
default: withCtx(({ row }) =>
|
|
81189
|
-
|
|
81190
|
-
|
|
81195
|
+
default: withCtx(({ row }) => {
|
|
81196
|
+
var _a2;
|
|
81197
|
+
return [
|
|
81198
|
+
createTextVNode(toDisplayString(((_a2 = $data.dictOptions.find((item) => item.value === row.projectStage)) == null ? void 0 : _a2.label) || "-"), 1)
|
|
81199
|
+
];
|
|
81200
|
+
}),
|
|
81191
81201
|
_: 1
|
|
81192
81202
|
}),
|
|
81193
81203
|
createVNode(_component_el_table_column, {
|
|
@@ -81258,7 +81268,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81258
81268
|
_: 1
|
|
81259
81269
|
}, 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"]);
|
|
81260
81270
|
}
|
|
81261
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
81271
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-34e9ca5d"]]);
|
|
81262
81272
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
81263
81273
|
const _sfc_main$3 = {
|
|
81264
81274
|
name: "equity-table-widget",
|