form-custom-test 3.0.34 → 3.0.36
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 +99 -80
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +60 -60
- package/dist/render.es.js +89 -71
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +9 -9
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -1931,6 +1931,7 @@ var enLocale_extension = {
|
|
|
1931
1931
|
effect: "Effect",
|
|
1932
1932
|
personTreeButtonText: "Button Text",
|
|
1933
1933
|
personTreeDialogTitle: "Dialog Title",
|
|
1934
|
+
personTreeTreeParams: "Tree Params",
|
|
1934
1935
|
personTreeDialogWidth: "Dialog Width",
|
|
1935
1936
|
personTreeConfirmText: "Confirm Button Text",
|
|
1936
1937
|
personTreeCancelText: "Cancel Button Text",
|
|
@@ -1969,6 +1970,7 @@ var zhLocale_extension = {
|
|
|
1969
1970
|
effect: "\u663E\u793A\u6548\u679C",
|
|
1970
1971
|
personTreeButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
1971
1972
|
personTreeDialogTitle: "\u5F39\u7A97\u6807\u9898",
|
|
1973
|
+
personTreeTreeParams: "\u8BF7\u6C42\u53C2\u6570",
|
|
1972
1974
|
personTreeDialogWidth: "\u5F39\u7A97\u5BBD\u5EA6",
|
|
1973
1975
|
personTreeConfirmText: "\u786E\u5B9A\u6309\u94AE\u6587\u5B57",
|
|
1974
1976
|
personTreeCancelText: "\u53D6\u6D88\u6309\u94AE\u6587\u5B57",
|
|
@@ -8953,7 +8955,8 @@ var fieldMixin = {
|
|
|
8953
8955
|
this.field.options.optionItems = deepClone(options || []);
|
|
8954
8956
|
}
|
|
8955
8957
|
} else {
|
|
8956
|
-
this.field.options.optionItems =
|
|
8958
|
+
this.field.options.optionItems = options;
|
|
8959
|
+
console.log(this.field, "this.field.options.optionItems");
|
|
8957
8960
|
}
|
|
8958
8961
|
this.clearSelectedOptions();
|
|
8959
8962
|
},
|
|
@@ -23219,12 +23222,12 @@ const _sfc_main$C = {
|
|
|
23219
23222
|
getOptionItems() {
|
|
23220
23223
|
if (this.subFormRowId) {
|
|
23221
23224
|
const optionItems = this.refList[this.field.options.name + "@row" + this.subFormRowId].field.options.optionItems;
|
|
23222
|
-
console.log(optionItems, "optionItems");
|
|
23223
23225
|
return optionItems;
|
|
23224
23226
|
}
|
|
23225
23227
|
if (this.field.options.optionItems) {
|
|
23226
23228
|
return this.field.options.optionItems;
|
|
23227
23229
|
}
|
|
23230
|
+
console.log(this.field.options.optionItems);
|
|
23228
23231
|
return [];
|
|
23229
23232
|
}
|
|
23230
23233
|
}
|
|
@@ -23268,7 +23271,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23268
23271
|
onChange: _ctx.handleChangeEvent
|
|
23269
23272
|
}, {
|
|
23270
23273
|
default: withCtx(() => [
|
|
23271
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($
|
|
23274
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.field.options.optionItems, (item) => {
|
|
23272
23275
|
return openBlock(), createBlock(_component_el_option, {
|
|
23273
23276
|
key: item.value,
|
|
23274
23277
|
label: item.label,
|
|
@@ -23283,7 +23286,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23283
23286
|
_: 1
|
|
23284
23287
|
}, 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"]);
|
|
23285
23288
|
}
|
|
23286
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-
|
|
23289
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-332fe05c"]]);
|
|
23287
23290
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23288
23291
|
__proto__: null,
|
|
23289
23292
|
"default": selectWidget
|
|
@@ -25367,7 +25370,10 @@ const _sfc_main$o = {
|
|
|
25367
25370
|
}
|
|
25368
25371
|
},
|
|
25369
25372
|
getFormJson() {
|
|
25370
|
-
return
|
|
25373
|
+
return {
|
|
25374
|
+
widgetList: deepClone(this.designer.widgetList),
|
|
25375
|
+
formConfig: deepClone(this.designer.formConfig)
|
|
25376
|
+
};
|
|
25371
25377
|
},
|
|
25372
25378
|
reloadOptionData(widgetNames) {
|
|
25373
25379
|
let eventParams = [];
|
|
@@ -25620,7 +25626,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25620
25626
|
_: 3
|
|
25621
25627
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
25622
25628
|
}
|
|
25623
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
25629
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-79423a3c"]]);
|
|
25624
25630
|
function registerIcon(app) {
|
|
25625
25631
|
app.component("el-icon-edit", edit);
|
|
25626
25632
|
app.component("el-icon-minus", minus);
|
|
@@ -25635,13 +25641,13 @@ function registerIcon(app) {
|
|
|
25635
25641
|
if (typeof window !== "undefined") {
|
|
25636
25642
|
let loadSvg = function() {
|
|
25637
25643
|
var body = document.body;
|
|
25638
|
-
var svgDom = document.getElementById("
|
|
25644
|
+
var svgDom = document.getElementById("__svg__icons__dom__1771987796619__");
|
|
25639
25645
|
if (!svgDom) {
|
|
25640
25646
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25641
25647
|
svgDom.style.position = "absolute";
|
|
25642
25648
|
svgDom.style.width = "0";
|
|
25643
25649
|
svgDom.style.height = "0";
|
|
25644
|
-
svgDom.id = "
|
|
25650
|
+
svgDom.id = "__svg__icons__dom__1771987796619__";
|
|
25645
25651
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25646
25652
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25647
25653
|
}
|
|
@@ -25686,6 +25692,26 @@ const createInputTextEditor = function(propName, propLabelKey) {
|
|
|
25686
25692
|
}
|
|
25687
25693
|
};
|
|
25688
25694
|
};
|
|
25695
|
+
const createTextareaEditor = function(propName, propLabelKey, configs = {}) {
|
|
25696
|
+
return {
|
|
25697
|
+
props: {
|
|
25698
|
+
optionModel: Object
|
|
25699
|
+
},
|
|
25700
|
+
render(h) {
|
|
25701
|
+
return createVNode(resolveComponent("el-form-item"), {
|
|
25702
|
+
"label": translate(propLabelKey)
|
|
25703
|
+
}, {
|
|
25704
|
+
default: () => [createVNode(resolveComponent("el-input"), {
|
|
25705
|
+
"type": "textarea",
|
|
25706
|
+
"modelValue": this.optionModel[propName],
|
|
25707
|
+
"onUpdate:modelValue": ($event) => this.optionModel[propName] = $event,
|
|
25708
|
+
"rows": configs.rows || 4,
|
|
25709
|
+
"autosize": configs.autosize || false
|
|
25710
|
+
}, null)]
|
|
25711
|
+
});
|
|
25712
|
+
}
|
|
25713
|
+
};
|
|
25714
|
+
};
|
|
25689
25715
|
const createBooleanEditor = function(propName, propLabelKey) {
|
|
25690
25716
|
return {
|
|
25691
25717
|
props: {
|
|
@@ -31519,7 +31545,6 @@ var blowfish = { exports: {} };
|
|
|
31519
31545
|
useCookies();
|
|
31520
31546
|
const getToken = () => {
|
|
31521
31547
|
const accessToken = sessionStorage.getItem("Authorization");
|
|
31522
|
-
console.log(accessToken, "accessToken");
|
|
31523
31548
|
return accessToken;
|
|
31524
31549
|
};
|
|
31525
31550
|
useCookies();
|
|
@@ -31652,7 +31677,8 @@ const _sfc_main$j = {
|
|
|
31652
31677
|
label: "name"
|
|
31653
31678
|
},
|
|
31654
31679
|
checkedNodes: [],
|
|
31655
|
-
treeRef: null
|
|
31680
|
+
treeRef: null,
|
|
31681
|
+
defaultExpandedKeys: []
|
|
31656
31682
|
};
|
|
31657
31683
|
},
|
|
31658
31684
|
computed: {
|
|
@@ -31700,22 +31726,22 @@ const _sfc_main$j = {
|
|
|
31700
31726
|
});
|
|
31701
31727
|
},
|
|
31702
31728
|
getTreeData() {
|
|
31703
|
-
const
|
|
31729
|
+
const data2 = this.field.options.treeParams ? JSON.parse(this.field.options.treeParams) : {};
|
|
31704
31730
|
service({
|
|
31705
31731
|
method: "post",
|
|
31706
31732
|
url: "/unified-system/sysCompany/fullTree",
|
|
31707
|
-
data: { companyId:
|
|
31708
|
-
}).then(({ data:
|
|
31709
|
-
this.treeData = renderData(
|
|
31710
|
-
function renderData(
|
|
31733
|
+
data: __spreadValues({ companyId: sessionStorage.getItem("companyId") }, data2)
|
|
31734
|
+
}).then(({ data: data3 }) => {
|
|
31735
|
+
this.treeData = renderData(data3);
|
|
31736
|
+
function renderData(data4) {
|
|
31711
31737
|
var _a;
|
|
31712
|
-
for (const element of
|
|
31738
|
+
for (const element of data4) {
|
|
31713
31739
|
element.nodeKey = element.joinUserId || element.id;
|
|
31714
31740
|
if (element.children && ((_a = element.children) == null ? void 0 : _a.length)) {
|
|
31715
31741
|
renderData(element.children);
|
|
31716
31742
|
}
|
|
31717
31743
|
}
|
|
31718
|
-
return
|
|
31744
|
+
return data4;
|
|
31719
31745
|
}
|
|
31720
31746
|
});
|
|
31721
31747
|
},
|
|
@@ -31732,13 +31758,31 @@ const _sfc_main$j = {
|
|
|
31732
31758
|
backgroundImage: `url(${data2.avatarUrl || personIcon})`
|
|
31733
31759
|
}
|
|
31734
31760
|
}),
|
|
31735
|
-
h("div", {
|
|
31761
|
+
h("div", {
|
|
31762
|
+
class: node.level === 1 ? "text-#1D2129" : "text-#4E5969 ",
|
|
31763
|
+
style: {
|
|
31764
|
+
overflow: "hidden",
|
|
31765
|
+
textOverflow: "ellipsis",
|
|
31766
|
+
whiteSpace: "nowrap",
|
|
31767
|
+
minWidth: 0,
|
|
31768
|
+
width: "80%"
|
|
31769
|
+
}
|
|
31770
|
+
}, data2.postName ? `${node.label}\uFF08${data2.postName}\uFF09` : node.label)
|
|
31736
31771
|
]);
|
|
31737
31772
|
},
|
|
31738
31773
|
handleClick() {
|
|
31739
31774
|
this.getTreeData();
|
|
31740
31775
|
this.dialogVisible = true;
|
|
31741
31776
|
this.triggerEvent("onOpen");
|
|
31777
|
+
this.$nextTick(() => {
|
|
31778
|
+
if (this.fieldModel && this.fieldModel.length > 0) {
|
|
31779
|
+
this.$refs.treeRef.setCheckedKeys(this.fieldModel.map((item) => item.nodeKey));
|
|
31780
|
+
this.defaultExpandedKeys = this.fieldModel.map((item) => item.nodeKey);
|
|
31781
|
+
} else {
|
|
31782
|
+
this.$refs.treeRef.setCheckedKeys([]);
|
|
31783
|
+
this.defaultExpandedKeys = [];
|
|
31784
|
+
}
|
|
31785
|
+
});
|
|
31742
31786
|
},
|
|
31743
31787
|
handleConfirm() {
|
|
31744
31788
|
var _a;
|
|
@@ -31873,9 +31917,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31873
31917
|
"render-content": $options.renderContent,
|
|
31874
31918
|
"node-key": "nodeKey",
|
|
31875
31919
|
ref: "treeRef",
|
|
31920
|
+
"default-expanded-keys": $data.defaultExpandedKeys,
|
|
31876
31921
|
"filter-node-method": _ctx.filterNode,
|
|
31877
31922
|
"highlight-current": ""
|
|
31878
|
-
}, null, 8, ["data", "props", "render-content", "filter-node-method"])
|
|
31923
|
+
}, null, 8, ["data", "props", "render-content", "default-expanded-keys", "filter-node-method"])
|
|
31879
31924
|
]),
|
|
31880
31925
|
_: 1
|
|
31881
31926
|
})
|
|
@@ -31915,7 +31960,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31915
31960
|
_: 1
|
|
31916
31961
|
}, 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"]);
|
|
31917
31962
|
}
|
|
31918
|
-
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
31963
|
+
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-41336b69"]]);
|
|
31919
31964
|
const _sfc_main$i = {
|
|
31920
31965
|
name: "radio-other-widget",
|
|
31921
31966
|
componentName: "FieldWidget",
|
|
@@ -33814,7 +33859,6 @@ const _sfc_main$9 = {
|
|
|
33814
33859
|
fieldSchemas.push(this.cloneFieldSchema(swItem));
|
|
33815
33860
|
});
|
|
33816
33861
|
if (rowIndex === void 0) {
|
|
33817
|
-
console.log(fieldSchemas, "fieldSchemas");
|
|
33818
33862
|
this.fieldSchemaData.push(fieldSchemas);
|
|
33819
33863
|
} else {
|
|
33820
33864
|
this.fieldSchemaData.splice(rowIndex, 0, fieldSchemas);
|
|
@@ -33824,30 +33868,8 @@ const _sfc_main$9 = {
|
|
|
33824
33868
|
this.fieldSchemaData.splice(rowIndex, 1);
|
|
33825
33869
|
},
|
|
33826
33870
|
cloneFieldSchema(fieldWidget) {
|
|
33827
|
-
let newFieldSchema =
|
|
33871
|
+
let newFieldSchema = deepClone(fieldWidget);
|
|
33828
33872
|
newFieldSchema.id = fieldWidget.type + generateId();
|
|
33829
|
-
if (fieldWidget.category === "container" && fieldWidget.widgetList) {
|
|
33830
|
-
newFieldSchema.widgetList = fieldWidget.widgetList.map((subItem) => {
|
|
33831
|
-
if (subItem.formItemFlag) {
|
|
33832
|
-
return this.cloneFieldSchema(subItem);
|
|
33833
|
-
} else if (subItem.category === "container") {
|
|
33834
|
-
return this.cloneFieldSchema(subItem);
|
|
33835
|
-
}
|
|
33836
|
-
return JSON.parse(JSON.stringify(subItem));
|
|
33837
|
-
});
|
|
33838
|
-
}
|
|
33839
|
-
if (newFieldSchema.options) {
|
|
33840
|
-
const optionFieldTypes = ["select", "radio", "checkbox", "cascader", "select-other", "radio-other"];
|
|
33841
|
-
if (newFieldSchema.type === "select" || newFieldSchema.type === "select-other") {
|
|
33842
|
-
newFieldSchema.options.optionItems = [];
|
|
33843
|
-
} else if (optionFieldTypes.includes(newFieldSchema.type)) {
|
|
33844
|
-
if (newFieldSchema.options.optionItems && Array.isArray(newFieldSchema.options.optionItems)) {
|
|
33845
|
-
newFieldSchema.options.optionItems = JSON.parse(JSON.stringify(newFieldSchema.options.optionItems));
|
|
33846
|
-
} else {
|
|
33847
|
-
newFieldSchema.options.optionItems = [];
|
|
33848
|
-
}
|
|
33849
|
-
}
|
|
33850
|
-
}
|
|
33851
33873
|
return newFieldSchema;
|
|
33852
33874
|
},
|
|
33853
33875
|
initEventHandler() {
|
|
@@ -34015,36 +34037,34 @@ const _sfc_main$9 = {
|
|
|
34015
34037
|
}
|
|
34016
34038
|
}
|
|
34017
34039
|
};
|
|
34018
|
-
const _hoisted_1$8 = { class: "
|
|
34019
|
-
const _hoisted_2$6 = { class: "
|
|
34020
|
-
const _hoisted_3$5 = {
|
|
34021
|
-
const _hoisted_4$4 = { class: "group-title" };
|
|
34022
|
-
const _hoisted_5$2 = {
|
|
34040
|
+
const _hoisted_1$8 = { class: "group-header" };
|
|
34041
|
+
const _hoisted_2$6 = { class: "group-title" };
|
|
34042
|
+
const _hoisted_3$5 = {
|
|
34023
34043
|
key: 0,
|
|
34024
34044
|
class: "row-number-span"
|
|
34025
34045
|
};
|
|
34026
|
-
const
|
|
34046
|
+
const _hoisted_4$4 = {
|
|
34027
34047
|
key: 1,
|
|
34028
34048
|
class: "row-number-span"
|
|
34029
34049
|
};
|
|
34030
|
-
const
|
|
34031
|
-
const
|
|
34032
|
-
const
|
|
34050
|
+
const _hoisted_5$2 = { class: "group-actions" };
|
|
34051
|
+
const _hoisted_6$2 = { class: "group-content" };
|
|
34052
|
+
const _hoisted_7$1 = {
|
|
34033
34053
|
key: 1,
|
|
34034
34054
|
class: "field-loading",
|
|
34035
34055
|
style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
|
|
34036
34056
|
};
|
|
34037
|
-
const
|
|
34057
|
+
const _hoisted_8$1 = {
|
|
34038
34058
|
key: 1,
|
|
34039
34059
|
class: "empty-hint"
|
|
34040
34060
|
};
|
|
34041
|
-
const
|
|
34042
|
-
const
|
|
34043
|
-
const
|
|
34061
|
+
const _hoisted_9 = { key: 0 };
|
|
34062
|
+
const _hoisted_10 = { key: 1 };
|
|
34063
|
+
const _hoisted_11 = {
|
|
34044
34064
|
key: 0,
|
|
34045
34065
|
class: "empty-hint"
|
|
34046
34066
|
};
|
|
34047
|
-
const
|
|
34067
|
+
const _hoisted_12 = {
|
|
34048
34068
|
key: 1,
|
|
34049
34069
|
class: "empty-hint"
|
|
34050
34070
|
};
|
|
@@ -34058,19 +34078,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34058
34078
|
key: $props.widget.id,
|
|
34059
34079
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
34060
34080
|
}, [
|
|
34061
|
-
createElementVNode("div", _hoisted_1$8, [
|
|
34062
|
-
createElementVNode("span", _hoisted_2$6, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34063
|
-
]),
|
|
34064
34081
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
34065
34082
|
return openBlock(), createElementBlock("div", {
|
|
34066
34083
|
class: "form-group-row",
|
|
34067
34084
|
key: subFormRowId
|
|
34068
34085
|
}, [
|
|
34069
|
-
createElementVNode("div",
|
|
34070
|
-
createElementVNode("div",
|
|
34071
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span",
|
|
34086
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
34087
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
34088
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_3$5, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$4, "\u8868\u5355\u7EC4"))
|
|
34072
34089
|
]),
|
|
34073
|
-
createElementVNode("div",
|
|
34090
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
34074
34091
|
sfrIdx > 0 ? (openBlock(), createBlock(_component_el_button, {
|
|
34075
34092
|
key: 0,
|
|
34076
34093
|
size: "small",
|
|
@@ -34086,7 +34103,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34086
34103
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
34087
34104
|
])
|
|
34088
34105
|
]),
|
|
34089
|
-
createElementVNode("div",
|
|
34106
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
34090
34107
|
$props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
34091
34108
|
return openBlock(), createElementBlock(Fragment, {
|
|
34092
34109
|
key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
|
|
@@ -34111,16 +34128,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34111
34128
|
"sub-form-row-id": subFormRowId,
|
|
34112
34129
|
"sub-form-row-index": sfrIdx,
|
|
34113
34130
|
"sub-form-col-index": swIdx
|
|
34114
|
-
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"])) : (openBlock(), createElementBlock("div",
|
|
34131
|
+
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"])) : (openBlock(), createElementBlock("div", _hoisted_7$1, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
34115
34132
|
], 64)) : createCommentVNode("", true)
|
|
34116
34133
|
], 64);
|
|
34117
|
-
}), 128)) : (openBlock(), createElementBlock("div",
|
|
34118
|
-
!$props.widget ? (openBlock(), createElementBlock("div",
|
|
34134
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
34135
|
+
!$props.widget ? (openBlock(), createElementBlock("div", _hoisted_9, "\u7EC4\u4EF6\u672A\u521D\u59CB\u5316")) : !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_10, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : createCommentVNode("", true)
|
|
34119
34136
|
]))
|
|
34120
34137
|
])
|
|
34121
34138
|
]);
|
|
34122
34139
|
}), 128)),
|
|
34123
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div",
|
|
34140
|
+
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_11, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : $data.rowIdData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12, ' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')) : createCommentVNode("", true),
|
|
34124
34141
|
createVNode(_component_el_button, {
|
|
34125
34142
|
disabled: $data.actionDisabled,
|
|
34126
34143
|
type: "primary",
|
|
@@ -34141,7 +34158,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34141
34158
|
_: 1
|
|
34142
34159
|
}, 8, ["widget"]);
|
|
34143
34160
|
}
|
|
34144
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
34161
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1c47559c"]]);
|
|
34145
34162
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34146
34163
|
const _sfc_main$8 = {
|
|
34147
34164
|
name: "custom-table-cell-widget",
|
|
@@ -61038,6 +61055,7 @@ const loadExtension = function(app) {
|
|
|
61038
61055
|
app.component(PersonTreeWidget.name, PersonTreeWidget);
|
|
61039
61056
|
registerCPEditor(app, "person-tree-buttonText", "person-tree-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.personTreeButtonText"));
|
|
61040
61057
|
registerCPEditor(app, "person-tree-dialogTitle", "person-tree-dialogTitle-editor", createInputTextEditor("dialogTitle", "extension.setting.personTreeDialogTitle"));
|
|
61058
|
+
registerCPEditor(app, "person-tree-treeParams", "person-tree-treeParams-editor", createTextareaEditor("treeParams", "extension.setting.personTreeTreeParams", { rows: 4 }));
|
|
61041
61059
|
registerAPEditor(app, "person-tree-dialogWidth", "person-tree-dialogWidth-editor", createInputTextEditor("dialogWidth", "extension.setting.personTreeDialogWidth"));
|
|
61042
61060
|
registerCPEditor(app, "person-tree-confirmText", "person-tree-confirmText-editor", createInputTextEditor("confirmText", "extension.setting.personTreeConfirmText"));
|
|
61043
61061
|
registerCPEditor(app, "person-tree-cancelText", "person-tree-cancelText-editor", createInputTextEditor("cancelText", "extension.setting.personTreeCancelText"));
|