form-custom-test 3.0.41 → 3.0.43
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 +268 -132
- package/dist/designer.style.css +2 -2
- package/dist/designer.umd.js +101 -101
- package/dist/render.es.js +211 -113
- package/dist/render.style.css +2 -2
- package/dist/render.umd.js +67 -67
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -301,7 +301,7 @@ var settle$1 = function settle2(resolve, reject, response) {
|
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
var utils$9 = utils$d;
|
|
304
|
-
var cookies$
|
|
304
|
+
var cookies$1 = utils$9.isStandardBrowserEnv() ? function standardBrowserEnv() {
|
|
305
305
|
return {
|
|
306
306
|
write: function write(name, value2, expires, path, domain, secure) {
|
|
307
307
|
var cookie = [];
|
|
@@ -441,7 +441,7 @@ Cancel$3.prototype.__CANCEL__ = true;
|
|
|
441
441
|
var Cancel_1 = Cancel$3;
|
|
442
442
|
var utils$6 = utils$d;
|
|
443
443
|
var settle = settle$1;
|
|
444
|
-
var cookies
|
|
444
|
+
var cookies = cookies$1;
|
|
445
445
|
var buildURL$1 = buildURL$2;
|
|
446
446
|
var buildFullPath = buildFullPath$1;
|
|
447
447
|
var parseHeaders = parseHeaders$1;
|
|
@@ -532,7 +532,7 @@ var xhr = function xhrAdapter(config) {
|
|
|
532
532
|
request2 = null;
|
|
533
533
|
};
|
|
534
534
|
if (utils$6.isStandardBrowserEnv()) {
|
|
535
|
-
var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? cookies
|
|
535
|
+
var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? cookies.read(config.xsrfCookieName) : void 0;
|
|
536
536
|
if (xsrfValue) {
|
|
537
537
|
requestHeaders[config.xsrfHeaderName] = xsrfValue;
|
|
538
538
|
}
|
|
@@ -8843,6 +8843,14 @@ var fieldMixin = {
|
|
|
8843
8843
|
getFormRef() {
|
|
8844
8844
|
return this.refList["v_form_ref"];
|
|
8845
8845
|
},
|
|
8846
|
+
findColByName(colName) {
|
|
8847
|
+
const formRef = this.getFormRef();
|
|
8848
|
+
return formRef && typeof formRef.findColByName === "function" ? formRef.findColByName(null, colName) : null;
|
|
8849
|
+
},
|
|
8850
|
+
setColHidden(colName, hidden) {
|
|
8851
|
+
const formRef = this.getFormRef();
|
|
8852
|
+
return formRef && typeof formRef.setColHidden === "function" ? formRef.setColHidden(colName, hidden) : false;
|
|
8853
|
+
},
|
|
8846
8854
|
getWidgetRef(widgetName, showError, rowId) {
|
|
8847
8855
|
let foundRef = null;
|
|
8848
8856
|
if (this.subFormItemFlag && !this.designState) {
|
|
@@ -8957,8 +8965,7 @@ var fieldMixin = {
|
|
|
8957
8965
|
this.field.options.optionItems = deepClone(options || []);
|
|
8958
8966
|
}
|
|
8959
8967
|
} else {
|
|
8960
|
-
this.field.options.optionItems = options;
|
|
8961
|
-
console.log(this.field, "this.field.options.optionItems");
|
|
8968
|
+
this.field.options.optionItems = deepClone(options || []);
|
|
8962
8969
|
}
|
|
8963
8970
|
this.clearSelectedOptions();
|
|
8964
8971
|
},
|
|
@@ -9246,7 +9253,7 @@ const _hoisted_7$9 = {
|
|
|
9246
9253
|
class: "drag-handler background-opacity"
|
|
9247
9254
|
};
|
|
9248
9255
|
const _hoisted_8$5 = ["title"];
|
|
9249
|
-
const _hoisted_9$
|
|
9256
|
+
const _hoisted_9$4 = { key: 0 };
|
|
9250
9257
|
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9251
9258
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
9252
9259
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
@@ -9355,7 +9362,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9355
9362
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
9356
9363
|
], 8, _hoisted_8$5),
|
|
9357
9364
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
9358
|
-
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$
|
|
9365
|
+
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$4, [
|
|
9359
9366
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
9360
9367
|
])) : createCommentVNode("", true)
|
|
9361
9368
|
])) : createCommentVNode("", true)
|
|
@@ -10330,7 +10337,7 @@ function useCookies() {
|
|
|
10330
10337
|
}
|
|
10331
10338
|
var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABsUlEQVR4AaxSy0ojURA9dTMZZobxA4ZhZhgXLlwo4kLcuRMknU4aIuILFPyP/Ieg4Asx0El3B8GdO3EhogsXLhQV8QMUFTVdnmC6JWkVRIu6fU/XOXW41L0GH4zPM1DLmVDL3lMrb792KM3mHfLU2KOR5vkEvV3LgJxCw2XNZnvQEprL9UJ1EdBjBN5qRMcGUiyGkJDOcoTQ+Dro/IpEmsn8Rk08CA5xmR4XIIy42KBeEN+/ZLNFYRpfw4oWCt/Vsn5AvnjsSUE0K5ulq7o2Wk0G9aKsuydQyQPahdv7eSC1wHonDHLieWdoiYRBnZdqeQsiM8TDXA7xNJu3iRP5okFC9UbhRQPN5Ps58Vn2rXG5xHNq233EiUwY6JDzj8MqA7KPb+kpoDYJ4IBzr9DkD3FTNhnw/ttgwoCKO9yZnJRKNxIE19AHPi5T43B9HSj8JB+niZAWiwZqVjj9dkhoy4Z7EXFSrZ4jpTYUHWi7X1LwThpkbICd/TE2/4WYMb6H3QYfb1Kp7PA2JgD5D8seQSNiAwncRQm8bgnKfDQNtmUTv+ySp8bjSZ/I2ODp9/3fRwAAAP//S/wI2gAAAAZJREFUAwCGXJIhFOitmwAAAABJRU5ErkJggg==";
|
|
10332
10339
|
var fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10333
|
-
|
|
10340
|
+
useCookies();
|
|
10334
10341
|
let selectFileText = "'" + translate("render.hint.selectFile") + "'";
|
|
10335
10342
|
const _sfc_main$M = {
|
|
10336
10343
|
name: "file-upload-widget",
|
|
@@ -10369,7 +10376,9 @@ const _sfc_main$M = {
|
|
|
10369
10376
|
fieldModel: [],
|
|
10370
10377
|
rules: [],
|
|
10371
10378
|
uploadHeaders: {
|
|
10372
|
-
authorization:
|
|
10379
|
+
authorization: sessionStorage.getItem("Authorization"),
|
|
10380
|
+
Company: sessionStorage.getItem("companyId"),
|
|
10381
|
+
Post: sessionStorage.getItem("postId"),
|
|
10373
10382
|
client: "web"
|
|
10374
10383
|
},
|
|
10375
10384
|
uploadData: {},
|
|
@@ -10384,17 +10393,14 @@ const _sfc_main$M = {
|
|
|
10384
10393
|
},
|
|
10385
10394
|
computed: {
|
|
10386
10395
|
realUploadURL() {
|
|
10387
|
-
|
|
10388
|
-
console.log("test uploadURL: ", uploadURL);
|
|
10389
|
-
if (!!uploadURL) {
|
|
10390
|
-
return uploadURL;
|
|
10391
|
-
}
|
|
10396
|
+
const uploadURL = this.field.options.uploadURL;
|
|
10392
10397
|
if (!!uploadURL && (uploadURL.indexOf("DSV.") > -1 || uploadURL.indexOf("DSV[") > -1)) {
|
|
10393
|
-
|
|
10394
|
-
console.log("test DSV: ", DSV);
|
|
10395
|
-
console.log("test uploadURL: ", evalFn(this.field.options.uploadURL, DSV));
|
|
10398
|
+
const DSV = this.getGlobalDsv();
|
|
10396
10399
|
return evalFn(this.field.options.uploadURL, DSV);
|
|
10397
10400
|
}
|
|
10401
|
+
if (!!uploadURL) {
|
|
10402
|
+
return uploadURL;
|
|
10403
|
+
}
|
|
10398
10404
|
return "/api/unified-file/sys-file/upload/?system=WF";
|
|
10399
10405
|
}
|
|
10400
10406
|
},
|
|
@@ -10415,49 +10421,41 @@ const _sfc_main$M = {
|
|
|
10415
10421
|
},
|
|
10416
10422
|
methods: {
|
|
10417
10423
|
handleProgress(event, file, fileList) {
|
|
10418
|
-
|
|
10419
|
-
this.progressPercent = event.percent
|
|
10424
|
+
this.showProgress = true;
|
|
10425
|
+
this.progressPercent = Math.round(event.percent);
|
|
10420
10426
|
},
|
|
10421
10427
|
handleFileExceed() {
|
|
10422
10428
|
let uploadLimit = this.field.options.limit;
|
|
10423
10429
|
this.$message.warning(this.i18nt("render.hint.uploadExceed").replace("${uploadLimit}", uploadLimit));
|
|
10424
10430
|
},
|
|
10425
10431
|
beforeFileUpload(file) {
|
|
10426
|
-
|
|
10432
|
+
var _a, _b, _c;
|
|
10427
10433
|
let fileTypeCheckResult = false;
|
|
10428
|
-
|
|
10429
|
-
if (!!this.field.options
|
|
10430
|
-
|
|
10431
|
-
if (uploadFileTypes.length > 0) {
|
|
10432
|
-
fileTypeCheckResult = uploadFileTypes.some((ft) => {
|
|
10433
|
-
return extFileName.toLowerCase() === ft.toLowerCase();
|
|
10434
|
-
});
|
|
10435
|
-
}
|
|
10434
|
+
const extFileName = file.name.substring(file.name.lastIndexOf(".") + 1);
|
|
10435
|
+
if (!!((_b = (_a = this.field.options) == null ? void 0 : _a.fileTypes) == null ? void 0 : _b.length)) {
|
|
10436
|
+
fileTypeCheckResult = this.field.options.fileTypes.some((ft) => extFileName.toLowerCase() === ft.toLowerCase());
|
|
10436
10437
|
}
|
|
10437
10438
|
if (!fileTypeCheckResult) {
|
|
10438
10439
|
this.$message.error(this.i18nt("render.hint.unsupportedFileType") + extFileName);
|
|
10439
10440
|
return false;
|
|
10440
10441
|
}
|
|
10441
|
-
console.log("fileTypeCheckResult", fileTypeCheckResult);
|
|
10442
|
-
let fileSizeCheckResult = false;
|
|
10443
10442
|
let uploadFileMaxSize = 5;
|
|
10444
|
-
if (!!this.field.options
|
|
10443
|
+
if (!!((_c = this.field.options) == null ? void 0 : _c.fileMaxSize)) {
|
|
10445
10444
|
uploadFileMaxSize = this.field.options.fileMaxSize;
|
|
10446
10445
|
}
|
|
10447
|
-
fileSizeCheckResult = file.size / 1024 / 1024 <= uploadFileMaxSize;
|
|
10448
|
-
console.log("fileSizeCheckResult", fileSizeCheckResult);
|
|
10446
|
+
const fileSizeCheckResult = file.size / 1024 / 1024 <= uploadFileMaxSize;
|
|
10449
10447
|
if (!fileSizeCheckResult) {
|
|
10450
10448
|
this.$message.error(this.i18nt("render.hint.fileSizeExceed") + uploadFileMaxSize + "MB");
|
|
10451
10449
|
return false;
|
|
10452
10450
|
}
|
|
10453
10451
|
this.uploadData.key = file.name;
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10452
|
+
const allowUpload = this.handleOnBeforeUpload(file);
|
|
10453
|
+
if (allowUpload) {
|
|
10454
|
+
this.showProgress = true;
|
|
10455
|
+
}
|
|
10456
|
+
return allowUpload;
|
|
10458
10457
|
},
|
|
10459
10458
|
handleOnBeforeUpload(file) {
|
|
10460
|
-
console.log("handleOnBeforeUpload", !!this.field.options.onBeforeUpload, file);
|
|
10461
10459
|
if (!!this.field.options.onBeforeUpload) {
|
|
10462
10460
|
let bfFunc = new Function("file", this.field.options.onBeforeUpload);
|
|
10463
10461
|
let result = bfFunc.call(this, file);
|
|
@@ -10470,62 +10468,83 @@ const _sfc_main$M = {
|
|
|
10470
10468
|
return true;
|
|
10471
10469
|
}
|
|
10472
10470
|
},
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10471
|
+
buildFieldModelFromFileList(fileList, currentFileCustomResult) {
|
|
10472
|
+
const list = fileList.filter((item) => item.status === "success" && (item.response != null || item.url)).map((item) => {
|
|
10473
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
10474
|
+
const res = item.response;
|
|
10475
|
+
const d = (res == null ? void 0 : res.data) != null ? res.data : res;
|
|
10476
|
+
if (d && (d.fileName != null || d.fileUrl != null || d.url != null)) {
|
|
10477
|
+
return {
|
|
10478
|
+
fileName: (_b = (_a = d.fileName) != null ? _a : d.name) != null ? _b : item.name,
|
|
10479
|
+
fileId: d.fileId,
|
|
10480
|
+
fileUrl: (_e = (_d = (_c = d.fileUrl) != null ? _c : d.url) != null ? _d : item.url) != null ? _e : "",
|
|
10481
|
+
type: d.type,
|
|
10482
|
+
name: (_g = (_f = d.fileName) != null ? _f : d.name) != null ? _g : item.name,
|
|
10483
|
+
url: (_j = (_i = (_h = d.fileUrl) != null ? _h : d.url) != null ? _i : item.url) != null ? _j : ""
|
|
10484
|
+
};
|
|
10485
|
+
}
|
|
10486
|
+
return {
|
|
10487
|
+
fileName: item.name,
|
|
10488
|
+
fileId: item.uid,
|
|
10489
|
+
fileUrl: item.url || "",
|
|
10490
|
+
type: (_k = item.raw) == null ? void 0 : _k.type,
|
|
10491
|
+
name: item.name,
|
|
10492
|
+
url: item.url || ""
|
|
10493
|
+
};
|
|
10494
|
+
});
|
|
10495
|
+
if (currentFileCustomResult && currentFileCustomResult.name && currentFileCustomResult.url) {
|
|
10496
|
+
const idx = list.length - 1;
|
|
10497
|
+
if (idx >= 0) {
|
|
10498
|
+
list[idx] = __spreadProps(__spreadValues({}, list[idx]), {
|
|
10499
|
+
name: currentFileCustomResult.name,
|
|
10500
|
+
url: currentFileCustomResult.url,
|
|
10501
|
+
fileName: currentFileCustomResult.name,
|
|
10502
|
+
fileUrl: currentFileCustomResult.url
|
|
10503
|
+
});
|
|
10504
|
+
} else {
|
|
10505
|
+
list.push({
|
|
10506
|
+
name: currentFileCustomResult.name,
|
|
10507
|
+
url: currentFileCustomResult.url,
|
|
10508
|
+
fileName: currentFileCustomResult.name,
|
|
10509
|
+
fileUrl: currentFileCustomResult.url
|
|
10510
|
+
});
|
|
10511
|
+
}
|
|
10487
10512
|
}
|
|
10488
|
-
|
|
10513
|
+
return list;
|
|
10514
|
+
},
|
|
10515
|
+
updateFieldModelAndEmitDataChangeForUpload(fileList, currentFileCustomResult) {
|
|
10516
|
+
const oldValue = deepClone(this.fieldModel);
|
|
10517
|
+
this.fieldModel = this.buildFieldModelFromFileList(fileList, currentFileCustomResult);
|
|
10489
10518
|
this.syncUpdateFormModel(this.fieldModel);
|
|
10490
10519
|
this.emitFieldDataChange(this.fieldModel, oldValue);
|
|
10491
10520
|
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
10492
10521
|
},
|
|
10493
10522
|
handleFileUpload(res, file, fileList) {
|
|
10494
|
-
|
|
10495
|
-
this.showProgress = false;
|
|
10523
|
+
var _a;
|
|
10496
10524
|
if (file.status === "success") {
|
|
10497
|
-
ElMessage.success("\u4E0A\u4F20\u6210\u529F");
|
|
10498
10525
|
let customResult = null;
|
|
10499
10526
|
if (!!this.field.options.onUploadSuccess) {
|
|
10500
|
-
|
|
10527
|
+
const mountFunc = new Function("result", "file", "fileList", this.field.options.onUploadSuccess);
|
|
10501
10528
|
customResult = mountFunc.call(this, res, file, fileList);
|
|
10502
10529
|
}
|
|
10503
|
-
|
|
10504
|
-
if (item.response) {
|
|
10505
|
-
const { data: data2 } = item.response;
|
|
10506
|
-
return {
|
|
10507
|
-
fileName: data2.fileName,
|
|
10508
|
-
fileId: data2.fileId,
|
|
10509
|
-
fileUrl: data2.fileUrl,
|
|
10510
|
-
type: data2.type
|
|
10511
|
-
};
|
|
10512
|
-
} else {
|
|
10513
|
-
return item;
|
|
10514
|
-
}
|
|
10515
|
-
});
|
|
10516
|
-
this.updateFieldModelAndEmitDataChangeForUpload(list, customResult, res);
|
|
10530
|
+
this.updateFieldModelAndEmitDataChangeForUpload(fileList, customResult);
|
|
10517
10531
|
if (!!customResult && !!customResult.name) {
|
|
10518
10532
|
file.name = customResult.name;
|
|
10519
10533
|
} else {
|
|
10520
|
-
file.name = file.name || res.name || res.fileName || res.filename;
|
|
10534
|
+
file.name = file.name || (res == null ? void 0 : res.name) || (res == null ? void 0 : res.fileName) || (res == null ? void 0 : res.filename);
|
|
10521
10535
|
}
|
|
10522
10536
|
if (!!customResult && !!customResult.url) {
|
|
10523
10537
|
file.url = customResult.url;
|
|
10524
10538
|
} else {
|
|
10525
|
-
file.url = file.url || res.url;
|
|
10539
|
+
file.url = file.url || (res == null ? void 0 : res.url) || ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.fileUrl);
|
|
10526
10540
|
}
|
|
10527
10541
|
this.fileList = deepClone(fileList);
|
|
10528
10542
|
this.uploadBtnHidden = fileList.length >= this.field.options.limit;
|
|
10543
|
+
const allDone = !fileList.some((f) => f.status === "uploading");
|
|
10544
|
+
if (allDone) {
|
|
10545
|
+
this.showProgress = false;
|
|
10546
|
+
ElMessage.success(this.field.options.multipleSelect ? "\u6279\u91CF\u4E0A\u4F20\u6210\u529F" : "\u4E0A\u4F20\u6210\u529F");
|
|
10547
|
+
}
|
|
10529
10548
|
}
|
|
10530
10549
|
},
|
|
10531
10550
|
updateFieldModelAndEmitDataChangeForRemove(deletedFileIdx, fileList) {
|
|
@@ -10678,7 +10697,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10678
10697
|
_: 1
|
|
10679
10698
|
}, 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"]);
|
|
10680
10699
|
}
|
|
10681
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-
|
|
10700
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-4ae90317"]]);
|
|
10682
10701
|
var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10683
10702
|
__proto__: null,
|
|
10684
10703
|
"default": fileUploadWidget
|
|
@@ -23252,7 +23271,6 @@ const _sfc_main$C = {
|
|
|
23252
23271
|
if (this.field.options.optionItems) {
|
|
23253
23272
|
return this.field.options.optionItems;
|
|
23254
23273
|
}
|
|
23255
|
-
console.log(this.field.options.optionItems);
|
|
23256
23274
|
return [];
|
|
23257
23275
|
}
|
|
23258
23276
|
}
|
|
@@ -23311,7 +23329,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23311
23329
|
_: 1
|
|
23312
23330
|
}, 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"]);
|
|
23313
23331
|
}
|
|
23314
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-
|
|
23332
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-70a357a0"]]);
|
|
23315
23333
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23316
23334
|
__proto__: null,
|
|
23317
23335
|
"default": selectWidget
|
|
@@ -24018,6 +24036,9 @@ const _sfc_main$u = {
|
|
|
24018
24036
|
formConfig() {
|
|
24019
24037
|
return this.getFormConfig();
|
|
24020
24038
|
},
|
|
24039
|
+
colVisible() {
|
|
24040
|
+
return !!(this.widget && this.widget.options && !this.widget.options.hidden);
|
|
24041
|
+
},
|
|
24021
24042
|
customClass() {
|
|
24022
24043
|
if (!this.widget || !this.widget.options) {
|
|
24023
24044
|
return "";
|
|
@@ -24032,7 +24053,20 @@ const _sfc_main$u = {
|
|
|
24032
24053
|
this.initLayoutProps();
|
|
24033
24054
|
this.initRefList();
|
|
24034
24055
|
},
|
|
24056
|
+
beforeUnmount() {
|
|
24057
|
+
var _a, _b;
|
|
24058
|
+
if (this.refList != null && ((_b = (_a = this.widget) == null ? void 0 : _a.options) == null ? void 0 : _b.name)) {
|
|
24059
|
+
delete this.refList[this.widget.options.name];
|
|
24060
|
+
}
|
|
24061
|
+
},
|
|
24062
|
+
watch: {},
|
|
24035
24063
|
methods: {
|
|
24064
|
+
setHidden(flag) {
|
|
24065
|
+
if (this.widget && this.widget.options) {
|
|
24066
|
+
this.widget.options.hidden = !!flag;
|
|
24067
|
+
this.$nextTick(() => this.$forceUpdate());
|
|
24068
|
+
}
|
|
24069
|
+
},
|
|
24036
24070
|
initLayoutProps() {
|
|
24037
24071
|
if (!this.widget || !this.widget.options) {
|
|
24038
24072
|
return;
|
|
@@ -24125,10 +24159,10 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24125
24159
|
]),
|
|
24126
24160
|
_: 3
|
|
24127
24161
|
}, 16, ["class", "style"])), [
|
|
24128
|
-
[vShow, $
|
|
24162
|
+
[vShow, $options.colVisible]
|
|
24129
24163
|
]) : createCommentVNode("", true);
|
|
24130
24164
|
}
|
|
24131
|
-
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
24165
|
+
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-76952447"]]);
|
|
24132
24166
|
var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24133
24167
|
__proto__: null,
|
|
24134
24168
|
"default": GridColItem
|
|
@@ -24350,7 +24384,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24350
24384
|
ref: $props.widget.id
|
|
24351
24385
|
}, {
|
|
24352
24386
|
default: withCtx(() => [
|
|
24353
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.cols || [], (colWidget, colIdx) => {
|
|
24387
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.cols.filter((item) => !item.options.hidden) || [], (colWidget, colIdx) => {
|
|
24354
24388
|
return openBlock(), createBlock(_component_grid_col_item, {
|
|
24355
24389
|
key: colIdx,
|
|
24356
24390
|
widget: colWidget,
|
|
@@ -25590,6 +25624,45 @@ const _sfc_main$o = {
|
|
|
25590
25624
|
},
|
|
25591
25625
|
getGlobalDsv() {
|
|
25592
25626
|
return this.globalDsv;
|
|
25627
|
+
},
|
|
25628
|
+
findColByName(list, colName) {
|
|
25629
|
+
const listToSearch = list != null ? list : this.formJsonObj && this.formJsonObj.widgetList;
|
|
25630
|
+
if (!listToSearch || !colName)
|
|
25631
|
+
return null;
|
|
25632
|
+
for (const w of listToSearch) {
|
|
25633
|
+
if (w.type === "grid" && w.cols && w.cols.length) {
|
|
25634
|
+
const col = w.cols.find((c) => c.options && c.options.name === colName);
|
|
25635
|
+
if (col)
|
|
25636
|
+
return col;
|
|
25637
|
+
}
|
|
25638
|
+
if (w.type === "grid-col" && w.options && w.options.name === colName)
|
|
25639
|
+
return w;
|
|
25640
|
+
if (w.widgetList && w.widgetList.length) {
|
|
25641
|
+
const found = this.findColByName(w.widgetList, colName);
|
|
25642
|
+
if (found)
|
|
25643
|
+
return found;
|
|
25644
|
+
}
|
|
25645
|
+
if (w.cols && w.cols.length) {
|
|
25646
|
+
for (const c of w.cols) {
|
|
25647
|
+
if (c.options && c.options.name === colName)
|
|
25648
|
+
return c;
|
|
25649
|
+
if (c.widgetList && c.widgetList.length) {
|
|
25650
|
+
const found = this.findColByName(c.widgetList, colName);
|
|
25651
|
+
if (found)
|
|
25652
|
+
return found;
|
|
25653
|
+
}
|
|
25654
|
+
}
|
|
25655
|
+
}
|
|
25656
|
+
}
|
|
25657
|
+
return null;
|
|
25658
|
+
},
|
|
25659
|
+
setColHidden(colName, hidden) {
|
|
25660
|
+
const col = this.findColByName(null, colName);
|
|
25661
|
+
if (!col || !col.options)
|
|
25662
|
+
return false;
|
|
25663
|
+
col.options.hidden = !!hidden;
|
|
25664
|
+
this.$nextTick(() => this.$forceUpdate());
|
|
25665
|
+
return true;
|
|
25593
25666
|
}
|
|
25594
25667
|
}
|
|
25595
25668
|
};
|
|
@@ -25648,7 +25721,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25648
25721
|
_: 3
|
|
25649
25722
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
25650
25723
|
}
|
|
25651
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
25724
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-32478e29"]]);
|
|
25652
25725
|
function registerIcon(app) {
|
|
25653
25726
|
app.component("el-icon-edit", edit);
|
|
25654
25727
|
app.component("el-icon-minus", minus);
|
|
@@ -25663,13 +25736,13 @@ function registerIcon(app) {
|
|
|
25663
25736
|
if (typeof window !== "undefined") {
|
|
25664
25737
|
let loadSvg = function() {
|
|
25665
25738
|
var body = document.body;
|
|
25666
|
-
var svgDom = document.getElementById("
|
|
25739
|
+
var svgDom = document.getElementById("__svg__icons__dom__1772271196523__");
|
|
25667
25740
|
if (!svgDom) {
|
|
25668
25741
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25669
25742
|
svgDom.style.position = "absolute";
|
|
25670
25743
|
svgDom.style.width = "0";
|
|
25671
25744
|
svgDom.style.height = "0";
|
|
25672
|
-
svgDom.id = "
|
|
25745
|
+
svgDom.id = "__svg__icons__dom__1772271196523__";
|
|
25673
25746
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25674
25747
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25675
25748
|
}
|
|
@@ -25944,7 +26017,7 @@ const _hoisted_5$7 = ["title"];
|
|
|
25944
26017
|
const _hoisted_6$7 = ["title"];
|
|
25945
26018
|
const _hoisted_7$5 = ["title"];
|
|
25946
26019
|
const _hoisted_8$4 = ["title"];
|
|
25947
|
-
const _hoisted_9$
|
|
26020
|
+
const _hoisted_9$3 = {
|
|
25948
26021
|
key: 1,
|
|
25949
26022
|
class: "drag-handler"
|
|
25950
26023
|
};
|
|
@@ -26005,7 +26078,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26005
26078
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
26006
26079
|
], 8, _hoisted_8$4)
|
|
26007
26080
|
])) : createCommentVNode("", true),
|
|
26008
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
26081
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
26009
26082
|
createElementVNode("i", {
|
|
26010
26083
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
26011
26084
|
}, [
|
|
@@ -32626,6 +32699,11 @@ const _sfc_main$f = {
|
|
|
32626
32699
|
}
|
|
32627
32700
|
},
|
|
32628
32701
|
watch: {
|
|
32702
|
+
"widget.options.name": {
|
|
32703
|
+
handler(newVal, oldVal) {
|
|
32704
|
+
this.registerToRefList(oldVal);
|
|
32705
|
+
}
|
|
32706
|
+
},
|
|
32629
32707
|
"designer.formConfig.layoutType": {
|
|
32630
32708
|
handler(val) {
|
|
32631
32709
|
if (!!this.widget.options.responsive) {
|
|
@@ -32697,7 +32775,17 @@ const _sfc_main$f = {
|
|
|
32697
32775
|
this.initRefList();
|
|
32698
32776
|
this.initLayoutProps();
|
|
32699
32777
|
},
|
|
32778
|
+
beforeUnmount() {
|
|
32779
|
+
var _a, _b;
|
|
32780
|
+
if (this.refList != null && ((_b = (_a = this.widget) == null ? void 0 : _a.options) == null ? void 0 : _b.name)) {
|
|
32781
|
+
delete this.refList[this.widget.options.name];
|
|
32782
|
+
}
|
|
32783
|
+
},
|
|
32700
32784
|
methods: {
|
|
32785
|
+
setHidden(flag) {
|
|
32786
|
+
this.widget.options.hidden = !!flag;
|
|
32787
|
+
this.$nextTick(() => this.$forceUpdate());
|
|
32788
|
+
},
|
|
32701
32789
|
initLayoutProps() {
|
|
32702
32790
|
if (!!this.widget.options.responsive) {
|
|
32703
32791
|
let lyType = this.designer.formConfig.layoutType;
|
|
@@ -32782,11 +32870,15 @@ const _hoisted_8$3 = {
|
|
|
32782
32870
|
key: 1,
|
|
32783
32871
|
class: "grid-col-handler"
|
|
32784
32872
|
};
|
|
32873
|
+
const _hoisted_9$2 = {
|
|
32874
|
+
key: 0,
|
|
32875
|
+
class: "col-hidden-tag"
|
|
32876
|
+
};
|
|
32785
32877
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32786
32878
|
const _component_draggable = resolveComponent("draggable");
|
|
32787
32879
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
32788
32880
|
const _component_el_col = resolveComponent("el-col");
|
|
32789
|
-
return $props.widget.type === "grid-col" ? (openBlock(), createBlock(_component_el_col, mergeProps({
|
|
32881
|
+
return $props.widget.type === "grid-col" && (!$props.widget.options.hidden || $props.designer) ? (openBlock(), createBlock(_component_el_col, mergeProps({
|
|
32790
32882
|
key: 0,
|
|
32791
32883
|
class: "grid-cell"
|
|
32792
32884
|
}, $data.layoutProps, {
|
|
@@ -32869,13 +32961,16 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32869
32961
|
], 8, _hoisted_7$3)
|
|
32870
32962
|
])) : createCommentVNode("", true),
|
|
32871
32963
|
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
|
|
32872
|
-
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
32964
|
+
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1),
|
|
32965
|
+
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$2, [
|
|
32966
|
+
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
32967
|
+
])) : createCommentVNode("", true)
|
|
32873
32968
|
])) : createCommentVNode("", true)
|
|
32874
32969
|
]),
|
|
32875
32970
|
_: 1
|
|
32876
32971
|
}, 16, ["class", "style"])) : createCommentVNode("", true);
|
|
32877
32972
|
}
|
|
32878
|
-
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
32973
|
+
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-cb053c20"]]);
|
|
32879
32974
|
var __glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32880
32975
|
__proto__: null,
|
|
32881
32976
|
"default": GridColWidget
|
|
@@ -33881,6 +33976,7 @@ const _sfc_main$9 = {
|
|
|
33881
33976
|
fieldSchemas.push(this.cloneFieldSchema(swItem));
|
|
33882
33977
|
});
|
|
33883
33978
|
if (rowIndex === void 0) {
|
|
33979
|
+
console.log(fieldSchemas, "fieldSchemas");
|
|
33884
33980
|
this.fieldSchemaData.push(fieldSchemas);
|
|
33885
33981
|
} else {
|
|
33886
33982
|
this.fieldSchemaData.splice(rowIndex, 0, fieldSchemas);
|
|
@@ -34059,34 +34155,36 @@ const _sfc_main$9 = {
|
|
|
34059
34155
|
}
|
|
34060
34156
|
}
|
|
34061
34157
|
};
|
|
34062
|
-
const _hoisted_1$8 = { class: "
|
|
34063
|
-
const _hoisted_2$6 = { class: "
|
|
34064
|
-
const _hoisted_3$5 = {
|
|
34158
|
+
const _hoisted_1$8 = { class: "sub-form-header" };
|
|
34159
|
+
const _hoisted_2$6 = { class: "sub-form-label" };
|
|
34160
|
+
const _hoisted_3$5 = { class: "group-header" };
|
|
34161
|
+
const _hoisted_4$4 = { class: "group-title" };
|
|
34162
|
+
const _hoisted_5$2 = {
|
|
34065
34163
|
key: 0,
|
|
34066
34164
|
class: "row-number-span"
|
|
34067
34165
|
};
|
|
34068
|
-
const
|
|
34166
|
+
const _hoisted_6$2 = {
|
|
34069
34167
|
key: 1,
|
|
34070
34168
|
class: "row-number-span"
|
|
34071
34169
|
};
|
|
34072
|
-
const
|
|
34073
|
-
const
|
|
34074
|
-
const
|
|
34170
|
+
const _hoisted_7$1 = { class: "group-actions" };
|
|
34171
|
+
const _hoisted_8$1 = { class: "group-content" };
|
|
34172
|
+
const _hoisted_9 = {
|
|
34075
34173
|
key: 1,
|
|
34076
34174
|
class: "field-loading",
|
|
34077
34175
|
style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
|
|
34078
34176
|
};
|
|
34079
|
-
const
|
|
34177
|
+
const _hoisted_10 = {
|
|
34080
34178
|
key: 1,
|
|
34081
34179
|
class: "empty-hint"
|
|
34082
34180
|
};
|
|
34083
|
-
const
|
|
34084
|
-
const
|
|
34085
|
-
const
|
|
34181
|
+
const _hoisted_11 = { key: 0 };
|
|
34182
|
+
const _hoisted_12 = { key: 1 };
|
|
34183
|
+
const _hoisted_13 = {
|
|
34086
34184
|
key: 0,
|
|
34087
34185
|
class: "empty-hint"
|
|
34088
34186
|
};
|
|
34089
|
-
const
|
|
34187
|
+
const _hoisted_14 = {
|
|
34090
34188
|
key: 1,
|
|
34091
34189
|
class: "empty-hint"
|
|
34092
34190
|
};
|
|
@@ -34100,16 +34198,19 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34100
34198
|
key: $props.widget.id,
|
|
34101
34199
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
34102
34200
|
}, [
|
|
34201
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
34202
|
+
createElementVNode("span", _hoisted_2$6, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34203
|
+
]),
|
|
34103
34204
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
34104
34205
|
return openBlock(), createElementBlock("div", {
|
|
34105
34206
|
class: "form-group-row",
|
|
34106
34207
|
key: subFormRowId
|
|
34107
34208
|
}, [
|
|
34108
|
-
createElementVNode("div",
|
|
34109
|
-
createElementVNode("div",
|
|
34110
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span",
|
|
34209
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
34210
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
34211
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$2, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$2, "\u8868\u5355\u7EC4"))
|
|
34111
34212
|
]),
|
|
34112
|
-
createElementVNode("div",
|
|
34213
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
34113
34214
|
sfrIdx > 0 ? (openBlock(), createBlock(_component_el_button, {
|
|
34114
34215
|
key: 0,
|
|
34115
34216
|
size: "small",
|
|
@@ -34125,7 +34226,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34125
34226
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
34126
34227
|
])
|
|
34127
34228
|
]),
|
|
34128
|
-
createElementVNode("div",
|
|
34229
|
+
createElementVNode("div", _hoisted_8$1, [
|
|
34129
34230
|
$props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
34130
34231
|
return openBlock(), createElementBlock(Fragment, {
|
|
34131
34232
|
key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
|
|
@@ -34150,16 +34251,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34150
34251
|
"sub-form-row-id": subFormRowId,
|
|
34151
34252
|
"sub-form-row-index": sfrIdx,
|
|
34152
34253
|
"sub-form-col-index": swIdx
|
|
34153
|
-
}, 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",
|
|
34254
|
+
}, 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_9, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
34154
34255
|
], 64)) : createCommentVNode("", true)
|
|
34155
34256
|
], 64);
|
|
34156
|
-
}), 128)) : (openBlock(), createElementBlock("div",
|
|
34157
|
-
!$props.widget ? (openBlock(), createElementBlock("div",
|
|
34257
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
34258
|
+
!$props.widget ? (openBlock(), createElementBlock("div", _hoisted_11, "\u7EC4\u4EF6\u672A\u521D\u59CB\u5316")) : !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : createCommentVNode("", true)
|
|
34158
34259
|
]))
|
|
34159
34260
|
])
|
|
34160
34261
|
]);
|
|
34161
34262
|
}), 128)),
|
|
34162
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div",
|
|
34263
|
+
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_13, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : $data.rowIdData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_14, ' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')) : createCommentVNode("", true),
|
|
34163
34264
|
createVNode(_component_el_button, {
|
|
34164
34265
|
disabled: $data.actionDisabled,
|
|
34165
34266
|
type: "primary",
|
|
@@ -34180,7 +34281,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34180
34281
|
_: 1
|
|
34181
34282
|
}, 8, ["widget"]);
|
|
34182
34283
|
}
|
|
34183
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
34284
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-489afa42"]]);
|
|
34184
34285
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34185
34286
|
const _sfc_main$8 = {
|
|
34186
34287
|
name: "custom-table-cell-widget",
|
|
@@ -60378,7 +60479,6 @@ const _sfc_main$1 = {
|
|
|
60378
60479
|
let dictManager = null;
|
|
60379
60480
|
if (typeof window !== "undefined" && window.getDictData) {
|
|
60380
60481
|
const dictItems = window.getDictData(dictCode);
|
|
60381
|
-
console.log(dictItems, "dictItems");
|
|
60382
60482
|
if (dictItems && Array.isArray(dictItems) && dictItems.length > 0) {
|
|
60383
60483
|
col.options = dictItems.map((item) => ({
|
|
60384
60484
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
@@ -60394,7 +60494,6 @@ const _sfc_main$1 = {
|
|
|
60394
60494
|
}
|
|
60395
60495
|
if (typeof window !== "undefined" && window.dictCache && window.dictCache[dictCode]) {
|
|
60396
60496
|
const dictItems = window.dictCache[dictCode];
|
|
60397
|
-
console.log(dictItems, "dictItems");
|
|
60398
60497
|
if (Array.isArray(dictItems) && dictItems.length > 0) {
|
|
60399
60498
|
col.options = dictItems.map((item) => ({
|
|
60400
60499
|
label: item.dictLabel || item.label || item.name || item.text || "",
|
|
@@ -60409,7 +60508,6 @@ const _sfc_main$1 = {
|
|
|
60409
60508
|
}
|
|
60410
60509
|
}
|
|
60411
60510
|
if (typeof window !== "undefined" && window.service) {
|
|
60412
|
-
console.log(window.service, "window.service");
|
|
60413
60511
|
window.service.post("/unified-dict/sysItemDict/page", {
|
|
60414
60512
|
current: 1,
|
|
60415
60513
|
size: 1e4,
|
|
@@ -60916,7 +61014,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
60916
61014
|
}, 8, ["modelValue", "title"])
|
|
60917
61015
|
], 64);
|
|
60918
61016
|
}
|
|
60919
|
-
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
61017
|
+
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-514d67ae"]]);
|
|
60920
61018
|
const _sfc_main = {
|
|
60921
61019
|
name: "current-user-widget",
|
|
60922
61020
|
componentName: "FieldWidget",
|