form-custom-test 3.0.187 → 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 +31 -7
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +31 -7
- 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,6 +80989,25 @@ const _sfc_main$4 = {
|
|
|
80987
80989
|
getlabel(row) {
|
|
80988
80990
|
return (dictManager == null ? void 0 : dictManager.getDictLabel("project_stage", row.projectStage)) || "-";
|
|
80989
80991
|
},
|
|
80992
|
+
getDictItem(dictCode) {
|
|
80993
|
+
if (!dictCode)
|
|
80994
|
+
return "-";
|
|
80995
|
+
service({
|
|
80996
|
+
method: "post",
|
|
80997
|
+
url: "/unified-dict/sysItemDict/page",
|
|
80998
|
+
data: {
|
|
80999
|
+
current: 1,
|
|
81000
|
+
size: 1e4,
|
|
81001
|
+
dictType: dictCode
|
|
81002
|
+
}
|
|
81003
|
+
}).then(({ data: { records } }) => {
|
|
81004
|
+
const options = records.map((item) => ({
|
|
81005
|
+
label: item.label,
|
|
81006
|
+
value: item.itemValue
|
|
81007
|
+
}));
|
|
81008
|
+
this.dictOptions = [...this.dictOptions, ...options];
|
|
81009
|
+
});
|
|
81010
|
+
},
|
|
80990
81011
|
getSameCompanyRows(currentIndex) {
|
|
80991
81012
|
const currentCompany = this.fieldModel[currentIndex].enterpriseName;
|
|
80992
81013
|
const sameRows = [currentIndex];
|
|
@@ -81171,9 +81192,12 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81171
81192
|
label: "\u9879\u76EE\u9636\u6BB5",
|
|
81172
81193
|
width: "90"
|
|
81173
81194
|
}, {
|
|
81174
|
-
default: withCtx(({ row }) =>
|
|
81175
|
-
|
|
81176
|
-
|
|
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
|
+
}),
|
|
81177
81201
|
_: 1
|
|
81178
81202
|
}),
|
|
81179
81203
|
createVNode(_component_el_table_column, {
|
|
@@ -81244,7 +81268,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81244
81268
|
_: 1
|
|
81245
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"]);
|
|
81246
81270
|
}
|
|
81247
|
-
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"]]);
|
|
81248
81272
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
81249
81273
|
const _sfc_main$3 = {
|
|
81250
81274
|
name: "equity-table-widget",
|