form-custom-test 3.0.64 → 3.0.65
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 +15 -6
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +15 -6
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -25907,13 +25907,13 @@ function registerIcon(app) {
|
|
|
25907
25907
|
if (typeof window !== "undefined") {
|
|
25908
25908
|
let loadSvg = function() {
|
|
25909
25909
|
var body = document.body;
|
|
25910
|
-
var svgDom = document.getElementById("
|
|
25910
|
+
var svgDom = document.getElementById("__svg__icons__dom__1773917622390__");
|
|
25911
25911
|
if (!svgDom) {
|
|
25912
25912
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25913
25913
|
svgDom.style.position = "absolute";
|
|
25914
25914
|
svgDom.style.width = "0";
|
|
25915
25915
|
svgDom.style.height = "0";
|
|
25916
|
-
svgDom.id = "
|
|
25916
|
+
svgDom.id = "__svg__icons__dom__1773917622390__";
|
|
25917
25917
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25918
25918
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25919
25919
|
}
|
|
@@ -61343,6 +61343,15 @@ const _sfc_main = {
|
|
|
61343
61343
|
};
|
|
61344
61344
|
},
|
|
61345
61345
|
computed: {
|
|
61346
|
+
displayModel() {
|
|
61347
|
+
if (this.currentUserType === "username") {
|
|
61348
|
+
return this.fieldModel ? this.fieldModel.username : "";
|
|
61349
|
+
} else if (this.currentUserType === "deptName") {
|
|
61350
|
+
return this.fieldModel ? this.fieldModel.deptName : "";
|
|
61351
|
+
} else {
|
|
61352
|
+
return JSON.stringify(this.fieldModel);
|
|
61353
|
+
}
|
|
61354
|
+
},
|
|
61346
61355
|
widgetStyle() {
|
|
61347
61356
|
return {
|
|
61348
61357
|
width: this.field.options.columnWidth || "auto"
|
|
@@ -61365,9 +61374,9 @@ const _sfc_main = {
|
|
|
61365
61374
|
url: "unified-system/employee/loginInfo?accessType=0"
|
|
61366
61375
|
});
|
|
61367
61376
|
if (this.currentUserType === "username") {
|
|
61368
|
-
this.fieldModel = data2
|
|
61377
|
+
this.fieldModel = data2;
|
|
61369
61378
|
} else if (this.currentUserType === "deptName") {
|
|
61370
|
-
this.fieldModel = data2
|
|
61379
|
+
this.fieldModel = data2;
|
|
61371
61380
|
}
|
|
61372
61381
|
this.syncUpdateFormModel(this.fieldModel);
|
|
61373
61382
|
this.emitFieldDataChange(this.fieldModel, this.oldFieldValue);
|
|
@@ -61422,8 +61431,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61422
61431
|
}, {
|
|
61423
61432
|
default: withCtx(() => [
|
|
61424
61433
|
createVNode(_component_el_input, {
|
|
61425
|
-
modelValue: $
|
|
61426
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $
|
|
61434
|
+
modelValue: $options.displayModel,
|
|
61435
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
61427
61436
|
disabled: true
|
|
61428
61437
|
}, null, 8, ["modelValue"])
|
|
61429
61438
|
]),
|