cloud-web-corejs 1.0.54-dev.735 → 1.0.54-dev.736
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/package.json +1 -1
- package/src/components/excelExport/exportFieldDialog.vue +40 -18
- package/src/components/excelExport/index.js +17 -3
- package/src/components/excelExport/index.vue +2 -1
- package/src/components/excelExport/mixins.js +113 -32
- package/src/components/fileLibrary/mixins/indexMixins.js +10 -0
- package/src/components/table/config.js +74 -1
- package/src/components/table/index.js +7 -22
- package/src/components/table/tableFormMixin.js +285 -1
- package/src/components/table/util/index.js +38 -40
- package/src/components/table/vxeFilter/index.js +153 -2
- package/src/components/table/vxeFilter/mixin.js +305 -3
- package/src/components/xform/docs/2026-07 table/344/270/216excelExport/344/277/256/345/244/215/345/217/212/345/257/274/345/207/272/344/274/230/345/214/226.md" +57 -0
- package/src/components/xform/docs/2026-07 /346/216/222/346/237/245/344/277/256/345/244/215/350/256/260/345/275/225.md" +73 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +108 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +288 -6
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +0 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +0 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +0 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +0 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +3 -12
- package/src/components/xform/form-designer/form-widget/indexMixin.js +184 -2
- package/src/components/xform/form-designer/indexMixin.js +0 -1
- package/src/components/xform/form-designer/refMixinDesign.js +27 -1
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +357 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/showViewButton-editor.vue +29 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +639 -15
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +282 -1115
- package/src/components/xform/form-render/container-item/data-table-mixin.js +29 -7
- package/src/components/xform/form-render/dynamicDialogRender.js +238 -3
- package/src/components/xform/form-render/dynamicDrawerRender.js +229 -0
- package/src/components/xform/form-render/indexMixin.js +21 -431
- package/src/components/xform/form-render/refMixin.js +32 -1
- package/src/components/xform/mixins/defaultHandle.js +2 -2
- package/src/components/xform/utils/dynamicSchemaUtil.js +46 -0
- package/src/components/xform/utils/validators.js +186 -2
- package/src/utils/componentDialog.js +322 -0
- package/src/views/user/form/vform/render.vue +4 -21
- package/src/views/user/form/view/list.vue +13 -9
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +0 -971
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +0 -408
- package/src/components/xform/utils/formHttp.js +0 -162
|
@@ -185,7 +185,7 @@ function handleToolbar($grid, option) {
|
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
|
|
188
|
+
$grid.$nextTick(() => {
|
|
189
189
|
loopDo($grid.$children);
|
|
190
190
|
});
|
|
191
191
|
}
|
|
@@ -301,17 +301,16 @@ function columnDrop(t, tableName, tableRef) {
|
|
|
301
301
|
let oldIndex = dragStartIndex;
|
|
302
302
|
let newIndex = dragEndIndex;
|
|
303
303
|
|
|
304
|
+
// Sortable 原地放下时可能不触发 onMove,索引需从 dropParam 兜底
|
|
305
|
+
if (oldIndex < 0) oldIndex = dropParam.oldIndex;
|
|
304
306
|
if (newIndex < 0) newIndex = dropParam.newIndex;
|
|
305
307
|
const { fullColumn, tableColumn, collectColumn } =
|
|
306
308
|
$table.getTableColumn();
|
|
307
309
|
const targetThElem = item;
|
|
308
310
|
const wrapperElem = targetThElem.parentNode;
|
|
309
311
|
let oldColumn = tableColumn[oldIndex];
|
|
310
|
-
let oldTitle = oldColumn.title;
|
|
311
|
-
|
|
312
312
|
const newColumn = tableColumn[newIndex];
|
|
313
|
-
if (!newColumn) return;
|
|
314
|
-
let newTitle = newColumn.title;
|
|
313
|
+
if (!oldColumn || !newColumn) return;
|
|
315
314
|
if (newColumn.fixed) {
|
|
316
315
|
// 错误的移动
|
|
317
316
|
if (newIndex > oldIndex) {
|
|
@@ -340,8 +339,6 @@ function columnDrop(t, tableName, tableRef) {
|
|
|
340
339
|
);
|
|
341
340
|
const oldLeafColumn = fullColumn[oldColumnIndex];
|
|
342
341
|
const newLeafColumn = fullColumn[newColumnIndex];
|
|
343
|
-
let oldLeafTitle = oldLeafColumn.title;
|
|
344
|
-
let newLeafTitle = newLeafColumn.title;
|
|
345
342
|
if (oldColumnIndex === newColumnIndex) {
|
|
346
343
|
return;
|
|
347
344
|
}
|
|
@@ -351,10 +348,6 @@ function columnDrop(t, tableName, tableRef) {
|
|
|
351
348
|
return;
|
|
352
349
|
}
|
|
353
350
|
if (oldTopIdx !== newTopIdx) {
|
|
354
|
-
let oldTopColumn = collectColumn[oldTopIdx];
|
|
355
|
-
let newTopColumn = collectColumn[newTopIdx];
|
|
356
|
-
let oldTopTitle = oldTopColumn.title;
|
|
357
|
-
let newTopTitle = newTopColumn.title;
|
|
358
351
|
const currRow = collectColumn.splice(oldTopIdx, 1)[0];
|
|
359
352
|
collectColumn.splice(newTopIdx, 0, currRow);
|
|
360
353
|
$table.loadColumn(collectColumn);
|
|
@@ -581,8 +574,8 @@ function initOption(opts) {
|
|
|
581
574
|
type: "xlsx",
|
|
582
575
|
// 局部自定义类型
|
|
583
576
|
types: ["xlsx", "csv", "html", "xml", "txt"],
|
|
584
|
-
//
|
|
585
|
-
modes: ["current"
|
|
577
|
+
// 仅保留当前页:mode=all 依赖的 queryAll 无鉴权实现,从未可用;全量导出请走 $excelExport
|
|
578
|
+
modes: ["current"],
|
|
586
579
|
},
|
|
587
580
|
radioConfig: {
|
|
588
581
|
labelField: "id",
|
|
@@ -758,8 +751,6 @@ function initOption(opts) {
|
|
|
758
751
|
loopHandle();
|
|
759
752
|
});
|
|
760
753
|
},
|
|
761
|
-
// 被某些特殊功能所触发,例如:导出数据 mode=all 时,会触发该方法并对返回的数据进行导出
|
|
762
|
-
queryAll: () => fetch(path || "").then((response) => response.json()),
|
|
763
754
|
},
|
|
764
755
|
};
|
|
765
756
|
/*defaultOptions.scrollX = {
|
|
@@ -877,8 +868,6 @@ function getTableJson(tableName, that, success) {
|
|
|
877
868
|
});
|
|
878
869
|
}
|
|
879
870
|
|
|
880
|
-
function addTableExportJson() {}
|
|
881
|
-
|
|
882
871
|
function addTableJson(that, $grid, tableName, columns, success) {
|
|
883
872
|
if (
|
|
884
873
|
configUtil.tableConfig.disableTableName ||
|
|
@@ -938,7 +927,6 @@ function addTableJson(that, $grid, tableName, columns, success) {
|
|
|
938
927
|
if ($grid.exportItemColumns && $grid.exportItemColumns.length) {
|
|
939
928
|
jsonData.exportItemColumns = $grid.exportItemColumns;
|
|
940
929
|
}
|
|
941
|
-
console.log("jsonData", jsonData);
|
|
942
930
|
let json = encodeURIComponent(JSON.stringify(jsonData));
|
|
943
931
|
|
|
944
932
|
let url = USER_PREFIX + "/table_column/addTableJson";
|
|
@@ -1088,7 +1076,6 @@ function restoreColumnPosition(currentColumns) {
|
|
|
1088
1076
|
let indexB = b.params?._index ?? 0;
|
|
1089
1077
|
return indexA - indexB;
|
|
1090
1078
|
});
|
|
1091
|
-
console.log("sortedColumns", sortedColumns);
|
|
1092
1079
|
|
|
1093
1080
|
// 递归处理 children
|
|
1094
1081
|
sortedColumns.forEach((column) => {
|
|
@@ -1120,7 +1107,6 @@ function customHandle(option) {
|
|
|
1120
1107
|
let oldColumns = originOption.columns || [];
|
|
1121
1108
|
if (oldColumns.length > 0) {
|
|
1122
1109
|
const restoredColumns = restoreColumnPosition(collectColumn);
|
|
1123
|
-
console.log("restoredColumns", restoredColumns);
|
|
1124
1110
|
$grid.loadColumn(restoredColumns);
|
|
1125
1111
|
} else {
|
|
1126
1112
|
$grid.loadColumn(collectColumn);
|
|
@@ -1158,7 +1144,6 @@ function getTableData(that, tableRef, type, success) {
|
|
|
1158
1144
|
};
|
|
1159
1145
|
let data = null;
|
|
1160
1146
|
return that.$http({
|
|
1161
|
-
async: false,
|
|
1162
1147
|
url: url,
|
|
1163
1148
|
method: "post",
|
|
1164
1149
|
data: param,
|
|
@@ -1182,8 +1167,8 @@ function addTableData(that, tableRef, value, success) {
|
|
|
1182
1167
|
tableName: tableName,
|
|
1183
1168
|
type: "isQueryAllPage",
|
|
1184
1169
|
data: value,
|
|
1185
|
-
success: success,
|
|
1186
1170
|
},
|
|
1171
|
+
success: success,
|
|
1187
1172
|
});
|
|
1188
1173
|
}
|
|
1189
1174
|
}
|
|
@@ -2,5 +2,289 @@ import Sortable from "sortablejs";
|
|
|
2
2
|
import tableUtil from "../../components/table/index.js";
|
|
3
3
|
|
|
4
4
|
let modules = {};
|
|
5
|
-
function _0x50a8a3(_0x353638,_0x482365,_0x59bf39,_0x41d561,_0x5c5397){return _0x65cc(_0x41d561-0x224,_0x59bf39);}function _0x65cc(_0x48fb83,_0x3bfcfb){const _0x222935=_0x3bfc();_0x65cc=function(_0x1ee9bb,_0x162ade){_0x1ee9bb=_0x1ee9bb-0x0;let _0x35984a=_0x222935[_0x1ee9bb];if(_0x65cc["\u0063\u0065\u0074\u0075\u004e\u006a"]===undefined){var _0x4ec90a=function(_0x4a9f91){const _0x59ef71="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x513df0='';let _0x2ad97c='';for(let _0x5b2ab3=0x0,_0x1785ad,_0x184ea8,_0x433cbc=0x0;_0x184ea8=_0x4a9f91["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x433cbc++);~_0x184ea8&&(_0x1785ad=_0x5b2ab3%0x4?_0x1785ad*0x40+_0x184ea8:_0x184ea8,_0x5b2ab3++%0x4)?_0x513df0+=String['fromCharCode'](0xff&_0x1785ad>>(-0x2*_0x5b2ab3&0x6)):0x0){_0x184ea8=_0x59ef71["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x184ea8);}for(let _0x3ee1fb=0x0,_0x551b3d=_0x513df0["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x3ee1fb<_0x551b3d;_0x3ee1fb++){_0x2ad97c+="\u0025"+("\u0030\u0030"+_0x513df0["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x3ee1fb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2ad97c);};const _0x181ddd=function(_0x2eb51a,_0x3a3a1c){let _0x4cd650=[],_0xfd147c=0x0,_0x3d64c7,_0x304c15='';_0x2eb51a=_0x4ec90a(_0x2eb51a);let _0x248bc4;for(_0x248bc4=0x0;_0x248bc4<0x100;_0x248bc4++){_0x4cd650[_0x248bc4]=_0x248bc4;}for(_0x248bc4=0x0;_0x248bc4<0x100;_0x248bc4++){_0xfd147c=(_0xfd147c+_0x4cd650[_0x248bc4]+_0x3a3a1c["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x248bc4%_0x3a3a1c['length']))%0x100;_0x3d64c7=_0x4cd650[_0x248bc4];_0x4cd650[_0x248bc4]=_0x4cd650[_0xfd147c];_0x4cd650[_0xfd147c]=_0x3d64c7;}_0x248bc4=0x0;_0xfd147c=0x0;for(let _0x4703ef=0x0;_0x4703ef<_0x2eb51a["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x4703ef++){_0x248bc4=(_0x248bc4+0x1)%0x100;_0xfd147c=(_0xfd147c+_0x4cd650[_0x248bc4])%0x100;_0x3d64c7=_0x4cd650[_0x248bc4];_0x4cd650[_0x248bc4]=_0x4cd650[_0xfd147c];_0x4cd650[_0xfd147c]=_0x3d64c7;_0x304c15+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x2eb51a["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x4703ef)^_0x4cd650[(_0x4cd650[_0x248bc4]+_0x4cd650[_0xfd147c])%0x100]);}return _0x304c15;};_0x65cc['OvoHgl']=_0x181ddd;_0x48fb83=arguments;_0x65cc['cetuNj']=!![];}const _0x2cb3fa=_0x222935[0x0];const _0x1fe7bf=_0x1ee9bb+_0x2cb3fa;const _0x65cc01=_0x48fb83[_0x1fe7bf];if(!_0x65cc01){if(_0x65cc['lzVFqE']===undefined){_0x65cc["\u006c\u007a\u0056\u0046\u0071\u0045"]=!![];}_0x35984a=_0x65cc["\u004f\u0076\u006f\u0048\u0067\u006c"](_0x35984a,_0x162ade);_0x48fb83[_0x1fe7bf]=_0x35984a;}else{_0x35984a=_0x65cc01;}return _0x35984a;};return _0x65cc(_0x48fb83,_0x3bfcfb);}function nOXSxX(_0x3903b9,_0x9df5da){if(!![]!=![])return;nOXSxX=function(_0x7bacd1,_0x539326){_0x7bacd1=_0x7bacd1-(0x973c9^0x973c9);var _0x53d2da=_0x5e50e6[_0x7bacd1];return _0x53d2da;};return nOXSxX(_0x3903b9,_0x9df5da);}nOXSxX();function _0x3bfc(){const _0x234cc7=["8f7WcywLcNRWYomA".split("").reverse().join(""),"GCHvgBdrwzJ5wy2rwy".split("").reverse().join(""),"\u0073\u0065\u0031\u0071\u0076\u0031\u0043","\u007a\u0067\u0066\u0030\u007a\u0078\u006d","\u0041\u0077\u0035\u0050\u0044\u0061","\u0041\u0077\u0035\u0057\u0044\u0078\u0072\u0063\u0079\u0078\u0072\u004a\u0041\u0061","\u0045\u0077\u0076\u0048\u0043\u004e\u006d","\u007a\u0032\u0076\u0030\u0074\u004e\u0076\u0053\u0042\u0066\u007a\u0048\u0042\u0068\u0076\u004c","adMdFKrY8QWbo8DmzNIcp4W".split("").reverse().join(""),"\u0041\u0077\u0035\u004a\u0042\u0068\u0076\u004b\u007a\u0078\u006d","\u007a\u0067\u0066\u0030\u007a\u0078\u006a\u0048\u0042\u004d\u0044\u004c","\u0079\u0032\u0058\u0056\u0042\u004d\u0076\u0065\u007a\u0077\u0076\u0057","\u0042\u0033\u006a\u0050\u007a\u0032\u004c\u0055\u0074\u0033\u0062\u0030\u0041\u0077\u0039\u0055","ad0kCJcR6WJ9rkJoSNdBcavkCj".split("").reverse().join(""),"\u0079\u0033\u006a\u004c\u0079\u0078\u0072\u004c","\u0043\u0032\u0039\u0059\u0044\u0067\u0066\u0049\u0042\u0067\u0075","NLMzU92q0v2zKL2D".split("").reverse().join(""),"doCchPwrM0rRd7wE".split("").reverse().join(""),"\u0044\u0067\u004c\u0054\u007a\u0071","\u0057\u0034\u0079\u005a\u0057\u0050\u006d","\u007a\u0067\u0066\u0030\u007a\u0078\u0072\u0050\u0042\u0077\u0076\u0059\u0079\u0077\u0035\u004e\u007a\u0071","Z5wB1X2BdvgBIfgD".split("").reverse().join(""),"\u0061\u004d\u0048\u004b\u0064\u0038\u006f\u007a\u0057\u0050\u0052\u0063\u004c\u0053\u006f\u0079\u0057\u0052\u005a\u0063\u0051\u006d\u006f\u007a\u0057\u0035\u002f\u0063\u0056\u0061","\u0057\u0052\u004c\u0079\u0073\u0030\u0043\u0032","\u0043\u0032\u0076\u0048\u0043\u004d\u006e\u004f\u0071\u0032\u0039\u0053\u0044\u0077\u0031\u0055\u0043\u0057","\u006c\u0058\u0076\u0070\u0057\u0052\u005a\u0063\u0053\u004a\u0065\u0048\u006e\u004a\u0033\u0063\u0053\u0047","\u0069\u0038\u006b\u006a\u0057\u0052\u0074\u0064\u0054\u005a\u0052\u0064\u0054\u004e\u0064\u0064\u0051\u0053\u006b\u0044\u0057\u0037\u0069\u0066\u0057\u0035\u0056\u0063\u004e\u0057","qgBLLMz".split("").reverse().join(""),"\u0073\u0030\u0054\u006d\u0057\u0037\u0050\u0059\u0057\u0051\u0071","7SgfMvQWHomi".split("").reverse().join(""),"\u0062\u0053\u006f\u005a\u0057\u0037\u0061\u005a\u0057\u0035\u0064\u0064\u0053\u005a\u0047","ugBIfgvLX2zUL2C".split("").reverse().join(""),"\u0073\u0043\u006f\u0058\u0057\u0034\u0072\u006f\u0057\u004f\u0068\u0063\u0048\u0057","\u007a\u0068\u006a\u0048\u007a\u0031\u006e\u0056\u0043\u004e\u0071","\u0057\u0052\u0033\u0064\u0050\u0077\u006c\u0063\u004d\u0064\u0038\u0046\u0057\u0035\u0070\u0064\u0047\u0063\u0044\u0066\u0075\u0076\u0072\u0058","\u0061\u0030\u0054\u0070\u0057\u0037\u0072\u0059","\u0057\u0050\u0046\u0064\u004e\u0053\u006b\u006c\u006e\u004b\u004e\u0063\u004f\u006d\u006b\u004c\u007a\u0053\u006f\u006c\u0057\u0034\u0071","qw2nxz0rhn5iZm3etm".split("").reverse().join(""),"\u0043\u0032\u0076\u0048\u0043\u004d\u006e\u004f\u0072\u0078\u007a\u004c\u0042\u004e\u0071","\u007a\u004d\u004c\u0053\u0044\u0067\u0076\u0059","eoCKcxqsKfOW".split("").reverse().join(""),"\u0057\u0034\u0076\u0078\u0057\u0036\u0079\u0063\u0057\u0051\u0056\u0063\u0048\u0043\u006b\u006a\u0078\u0059\u0057","IKPWqkmvgkms".split("").reverse().join(""),"\u006a\u0077\u004b\u0032\u0062\u0038\u006f\u0056\u0057\u004f\u004e\u0063\u004a\u0043\u006f\u006c\u0057\u0035\u002f\u0063\u0051\u0038\u006f\u0076\u0057\u0035\u006c\u0063\u0052\u006d\u006f\u0050\u0064\u0033\u0039\u005a\u0057\u0037\u0030","ooCkcvvh".split("").reverse().join(""),"qz0fgz".split("").reverse().join(""),"WOdZ5Wxa7W9ome".split("").reverse().join(""),"\u0070\u0038\u006f\u0067\u0062\u0074\u0075\u0067\u006d\u0043\u006b\u0039\u0061\u0053\u006b\u007a","K6WEkmRdFKRdBbQddRWykCo".split("").reverse().join(""),"qlCjPWZoSu".split("").reverse().join(""),"\u006d\u005a\u0071\u0033\u006e\u004a\u0069\u0035\u006d\u0065\u007a\u0068\u0043\u0031\u0066\u0034\u0079\u0071","\u0057\u0035\u0076\u0045\u0057\u0036\u0047\u0045\u0057\u0051\u0033\u0063\u0051\u0043\u006b\u0050\u0074\u0064\u004b\u0045\u0057\u0037\u0069","azULMz".split("").reverse().join(""),"\u007a\u004d\u0039\u0059\u0072\u0077\u0066\u004a\u0041\u0061","\u0074\u004c\u0031\u004a\u0057\u0036\u0039\u0030\u0057\u0051\u0031\u0078","GxzK5wsKX2B".split("").reverse().join(""),"itADkmLcd7W".split("").reverse().join(""),"3oSId77WvSOWCWrwOa6W".split("").reverse().join(""),"\u006e\u004a\u0069\u0031\u006d\u004a\u004b\u0035\u006d\u0031\u0066\u0049\u0045\u0068\u006a\u0031\u0045\u0061","\u0057\u0052\u004b\u006c\u0057\u0037\u0076\u0074\u0057\u0050\u0056\u0064\u0053\u0071","\u006c\u006d\u006f\u004e\u0057\u0052\u0039\u0078\u006c\u0061","\u0075\u0038\u006b\u0052\u0057\u0052\u0072\u0065\u0057\u004f\u0070\u0063\u0051\u0071\u0052\u0064\u0055\u0065\u0034\u0070\u0043\u0049\u0057","\u0057\u0036\u004f\u005a\u0075\u0072\u0057\u0038\u0057\u0050\u0075","\u0072\u0043\u006f\u0053\u006f\u0053\u006b\u0070\u0074\u0059\u0074\u0063\u004a\u0047","RnwAurhEL5gj".split("").reverse().join(""),"\u0042\u0077\u0039\u0055\u0044\u0067\u0048\u005a","io8GdJMPcJ1TdpRWEkSLcVrtOrPW".split("").reverse().join(""),"WUdxbQclQWtkSq".split("").reverse().join(""),"L1wyovgBIfgD".split("").reverse().join(""),"\u0057\u0051\u0066\u0051\u0057\u0050\u004f\u0056\u0057\u0051\u0052\u0063\u004f\u0047","\u0057\u0034\u0079\u0043\u0057\u0051\u0050\u0052\u0057\u0035\u004e\u0064\u004f\u0068\u0056\u0063\u004f\u004e\u0070\u0064\u0051\u0053\u006b\u0056","GB1z0yUL3uLXgzUfgA".split("").reverse().join(""),"\u0057\u0050\u0070\u0063\u0056\u006d\u006f\u006b\u006d\u0030\u0050\u0033\u0057\u0052\u0047","\u0046\u0053\u006f\u0038\u0057\u0052\u004e\u0063\u004d\u0075\u0038\u0071","u7WuaZxfk8HcZ7WbS7Wub4W".split("").reverse().join(""),"KQWLr7Wo5fv".split("").reverse().join(""),"qzWLhD".split("").reverse().join(""),"\u0041\u0067\u0066\u005a\u0074\u0033\u0044\u0055\u0075\u0068\u006a\u0056\u0043\u0067\u0076\u0059\u0044\u0068\u004b","\u0064\u0043\u006b\u0072\u0057\u0037\u005a\u0064\u004c\u0043\u006b\u0031","\u0075\u0053\u006b\u0051\u0041\u0043\u006f\u006a\u0065\u0033\u005a\u0064\u004a\u0068\u0057\u004a\u006f\u006d\u006f\u0061\u0057\u0050\u0061\u006d","y0vhLvr".split("").reverse().join(""),"\u0041\u0078\u006e\u0062\u0043\u004e\u006a\u0048\u0045\u0071","mhzSvwAgftBY9Mz".split("").reverse().join(""),"\u006b\u0063\u0037\u0063\u004f\u0038\u006f\u006c\u0043\u0053\u006f\u0049","GBLHgD".split("").reverse().join(""),"\u0070\u0038\u006f\u006b\u0067\u006d\u006f\u0057\u0057\u0052\u0052\u0063\u0054\u004c\u0079\u002b\u0057\u004f\u0030","\u0067\u006d\u006b\u0069\u0057\u0037\u0078\u0064\u004b\u006d\u006b\u0059\u0057\u0052\u0030","JkSRctfaMkmOdJ5W".split("").reverse().join(""),"qzSrMBHH0yUL3C".split("").reverse().join(""),"\u0057\u0036\u0037\u0064\u0049\u0072\u007a\u0052\u0075\u004a\u0053\u0051\u0072\u0057","\u0043\u0032\u0076\u0030\u0044\u0067\u004c\u0055\u007a\u0030\u006e\u0056\u0042\u004d\u007a\u0050\u0043\u004d\u0030","q7WAk8OdlRWFv7Wf8QW".split("").reverse().join(""),"wORWhkScZ9cx".split("").reverse().join(""),"\u0057\u0050\u0047\u0059\u0045\u0078\u006d","WUcpPW1qPW".split("").reverse().join(""),"\u0057\u0035\u0066\u0057\u006d\u0038\u006f\u0033\u0043\u004b\u006c\u0064\u004e\u0053\u006f\u005a\u0057\u0034\u002f\u0064\u0055\u0043\u006b\u0043\u0071\u0059\u006c\u0064\u004c\u0071","\u006b\u006d\u006f\u006c\u0063\u0064\u0043\u0067\u006d\u0038\u006b\u0033\u0066\u0043\u006b\u0065\u0057\u0035\u0052\u0063\u004d\u006d\u006f\u006f\u0057\u0050\u006d","y6WK15W/P7W".split("").reverse().join(""),"ahFz5WQKRWjoSl".split("").reverse().join(""),"qzN5wyYHgDU9wB".split("").reverse().join(""),"U92CkvgBIfgvKrwy".split("").reverse().join(""),"\u006f\u0053\u006f\u0064\u0064\u005a\u0043\u0068","yfRWIkCVcJPWb9OWJf7Wa90u".split("").reverse().join(""),"\u0057\u0052\u0044\u0030\u0057\u0035\u004c\u0035","\u006d\u005a\u0043\u0032\u006d\u004a\u0069\u0035\u0077\u004e\u0072\u0030\u007a\u0065\u0035\u0059","\u0043\u0078\u0076\u004c\u0043\u004e\u004c\u0074\u007a\u0077\u0058\u004c\u0079\u0033\u0072\u0056\u0043\u004b\u0066\u0053\u0042\u0061","aDVX2C".split("").reverse().join(""),"mhzSvwAgjtBY9Mz".split("").reverse().join(""),"\u0079\u0032\u0039\u0054\u0042\u0077\u0039\u0055","\u0057\u004f\u0070\u0064\u004d\u0038\u006b\u0061\u0070\u0030\u004e\u0063\u004b\u006d\u006b\u0075\u0045\u0053\u006f\u006c","u6WokSban4W78QWJrQW5kCIcRQW".split("").reverse().join(""),"aSdtccvkmm".split("").reverse().join(""),"\u0063\u0033\u0076\u002f\u0062\u0043\u006f\u0030\u0057\u0050\u0078\u0063\u0052\u0043\u006f\u006a\u0057\u004f\u0056\u0063\u0052\u0043\u006f\u007a\u0057\u0035\u0038","\u007a\u0067\u004c\u0048\u0042\u0067\u0039\u004e\u0076\u004d\u004c\u005a\u0041\u0077\u006a\u0053\u007a\u0071","OQWKomgnoCF".split("").reverse().join(""),"4JzmkmNcx7W".split("").reverse().join(""),"\u006b\u0053\u006f\u0054\u0057\u0051\u0052\u0063\u0049\u004b\u0043\u006e\u0057\u0037\u0065","\u0057\u0034\u0062\u0073\u0057\u0036\u0075\u0079\u0057\u0051\u0056\u0063\u0053\u0057","\u0043\u0067\u0066\u0059\u0079\u0077\u0031\u005a","qEYfwBPjhuN9gBHLgz".split("").reverse().join(""),"\u0057\u0051\u0031\u002f\u0057\u0035\u0066\u002f\u0057\u0037\u0068\u0064\u0055\u0038\u006b\u0050\u0057\u0036\u005a\u0063\u0047\u0043\u006b\u006f\u0057\u0037\u0079\u004f\u0062\u0057","\u0067\u006d\u006b\u0071\u0057\u0037\u0042\u0064\u004a\u0053\u006b\u0071\u0057\u0052\u005a\u0063\u0054\u0072\u0031\u006c\u006b\u006d\u006b\u0077\u0057\u0035\u006c\u0063\u004d\u0075\u005a\u0063\u0052\u004d\u0052\u0064\u0047\u005a\u0043","\u006a\u0068\u0062\u0048\u0043\u004d\u0076\u0055\u0044\u0061","egDHruBY9Mz".split("").reverse().join(""),"qPcVXHdFbPdxJs".split("").reverse().join(""),"\u006f\u0074\u0075\u0032\u006f\u0074\u0061\u0031\u0072\u004d\u0054\u0049\u0043\u0076\u004c\u0036","GLcxPW4ome3Dhq".split("").reverse().join(""),"\u0057\u0034\u0071\u004e\u0057\u0050\u0074\u0063\u004f\u0030\u0070\u0063\u0047\u0074\u004c\u0030\u0057\u0037\u0042\u0063\u004f\u0043\u006b\u0049\u0041\u004a\u0065","Svgj".split("").reverse().join(""),"YqgBLLMz".split("").reverse().join(""),"hCgGd3ds7ORW".split("").reverse().join(""),"\u006a\u0067\u006a\u0048\u0043\u0032\u0076\u006d\u0042\u0032\u0072\u0048\u0043\u0032\u0047","\u0041\u0043\u006f\u007a\u0057\u0036\u0070\u0063\u0056\u0067\u004e\u0063\u0051\u0033\u0078\u0064\u0052\u0053\u006b\u0074\u0057\u0037\u0079\u0058\u0057\u0034\u0038","\u0057\u0052\u004f\u0070\u0057\u0036\u007a\u0061\u0057\u0050\u0078\u0064\u0051\u0053\u006b\u0054\u0057\u0037\u0050\u004f\u0057\u004f\u0074\u0063\u004b\u006d\u006f\u0039\u0075\u0057","\u0042\u0067\u0076\u0055\u007a\u0033\u0072\u004f","\u0043\u0053\u006f\u0047\u0057\u0051\u0044\u0034\u0068\u0071","\u007a\u0067\u0076\u004d\u0079\u0078\u0076\u0053\u0044\u0066\u007a\u0048\u0042\u0068\u0076\u004c\u0072\u0077\u0035\u0048\u0079\u004d\u0058\u004c\u007a\u0061","\u0076\u0067\u0076\u0034\u0044\u0061","\u0057\u0035\u006d\u0036\u0067\u0031\u0052\u0064\u004a\u006d\u006f\u0065\u0057\u0034\u0070\u0064\u004c\u0076\u004e\u0063\u004e\u004d\u004a\u0064\u0051\u0053\u006f\u0050","qELoSJctPWWf6WAo8Uct4WbaRWBH7W".split("").reverse().join(""),"\u007a\u0067\u0076\u004d\u0079\u0078\u0076\u0053\u0044\u0066\u007a\u0048\u0042\u0068\u0076\u004c","\u0068\u0059\u004c\u006f\u0062\u0053\u006b\u0038\u0057\u004f\u004f","Gmr0eIdNrAzk8y".split("").reverse().join(""),"0tQddRWfkSn".split("").reverse().join(""),"yesYrMr".split("").reverse().join(""),"\u0061\u0038\u006f\u0057\u0057\u0036\u0030\u0079\u0057\u0035\u0074\u0064\u004c\u0064\u0078\u0064\u0051\u0075\u004f","\u0057\u0050\u0064\u0064\u0047\u0053\u006b\u0043\u006f\u0071","m7Wvk8buL7WGaOWZLQW9kCJcRRW".split("").reverse().join(""),"mqxIc/KIcdRWgzId70Xv".split("").reverse().join(""),"\u0069\u0038\u006f\u0071\u0057\u0034\u0064\u0064\u0056\u0038\u006f\u0064","\u0073\u0038\u006f\u0053\u0057\u004f\u006c\u0063\u0054\u0032\u0061","\u0057\u0034\u007a\u0030\u006e\u0043\u006f\u0046\u0042\u0068\u0075","\u0057\u0052\u0033\u0063\u0048\u006d\u006b\u0030\u0057\u0051\u007a\u004a\u0057\u0051\u0047\u0058\u0057\u0034\u0050\u0066","uLq2ivdoPPW3oSp".split("").reverse().join(""),"q3CVH2zTugBIfgDY92C".split("").reverse().join(""),"\u007a\u004d\u0039\u0059\u0042\u0075\u0072\u0048\u0044\u0067\u0066\u0064\u0042\u0067\u0039\u0055\u007a\u0071","asY1MCNHgn".split("").reverse().join(""),"\u0057\u0050\u0075\u0070\u0057\u0052\u0035\u0041\u0057\u0037\u005a\u0064\u0055\u006d\u006f\u0043\u0046\u0062\u0053\u0064\u0057\u0035\u0046\u0063\u0047\u0065\u004b","\u0057\u0051\u0037\u0064\u0049\u0071\u0030\u0070\u0073\u0064\u0034\u0054\u0075\u0038\u006b\u006b\u0057\u0052\u0061\u0046\u0057\u0036\u0069\u0036\u0065\u006d\u006b\u0075\u0057\u0051\u004a\u0064\u0048\u006d\u006f\u0036\u0057\u004f\u0056\u0064\u0054\u0038\u006b\u0036\u0057\u0052\u004f\u0031\u0057\u0036\u0047\u0063\u0057\u004f\u0037\u0063\u004f\u0043\u006f\u0062\u0057\u0035\u004e\u0063\u0049\u0043\u006f\u0038\u0057\u0034\u0058\u006c\u0057\u0034\u0042\u0064\u0049\u0038\u006b\u0041\u0057\u004f\u0064\u0063\u004b\u0043\u006b\u006c","KvTct4W".split("").reverse().join(""),"\u0042\u0053\u006f\u004c\u0057\u0050\u0031\u0077","\u0070\u0063\u004a\u0063\u0051\u0053\u006f\u0062\u0045\u006d\u006f\u0034\u0067\u006d\u006b\u0048\u0057\u0050\u0046\u0064\u0054\u006d\u006b\u004f\u0057\u0051\u0061","\u006f\u0043\u006b\u0063\u0057\u0052\u005a\u0064\u0053\u0071","\u0043\u0032\u0048\u0056\u0044\u0030\u0066\u004b\u0044\u004d\u0066\u0055\u0079\u0032\u0076\u004b\u0071\u0032\u0039\u0055\u0044\u0067\u0076\u0055\u0044\u0061","\u006e\u0064\u0043\u0033\u006d\u005a\u004b\u0059\u006d\u0030\u0031\u0054\u0074\u0077\u0031\u0068\u0075\u0047","\u0073\u0038\u006b\u0063\u0072\u0038\u006b\u0064\u0057\u0050\u0043\u0035\u0073\u0038\u006f\u0070\u0057\u0050\u0072\u006a\u0057\u004f\u0079","\u0043\u0032\u0076\u0030\u0072\u0067\u0066\u0030\u0079\u0071","\u0044\u0032\u004c\u004b\u007a\u0032\u0076\u0030\u0076\u0068\u004c\u0057\u007a\u0071","\u0079\u0077\u0072\u0032\u0079\u0077\u0035\u004a\u007a\u0077\u0072\u0067\u0042\u0033\u006a\u0054\u0072\u0067\u0066\u0030\u0079\u0071","\u0057\u0035\u0068\u0063\u0050\u0043\u006f\u0068\u006e\u0075\u0050\u0052","ucSdxRWKkSOdBPW8k8cIoSAPoCVcdYi".split("").reverse().join(""),"\u0041\u0078\u006e\u0073\u0079\u0077\u0035\u004e\u007a\u0071","aDLnhj".split("").reverse().join(""),"StshSLMdtcVdt4Wxq6W5omb".split("").reverse().join(""),"KcLdZOW9jhLdxtVcRQW".split("").reverse().join(""),"\u006a\u0067\u0076\u0054\u0041\u0078\u0071","\u0046\u0038\u006b\u004b\u0073\u0038\u006b\u0079\u0057\u0050\u0038"];_0x3bfc=function(){return _0x234cc7;};return _0x3bfc();}function _0x2229(_0x48fb83,_0x3bfcfb){const _0x222935=_0x3bfc();_0x2229=function(_0x1ee9bb,_0x162ade){_0x1ee9bb=_0x1ee9bb-0x0;let _0x35984a=_0x222935[_0x1ee9bb];if(_0x2229['TALHBg']===undefined){var _0x4ec90a=function(_0x181ddd){const _0x4a9f91="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x59ef71='';let _0x513df0='';for(let _0x2ad97c=0x0,_0x5b2ab3,_0x1785ad,_0x184ea8=0x0;_0x1785ad=_0x181ddd['charAt'](_0x184ea8++);~_0x1785ad&&(_0x5b2ab3=_0x2ad97c%0x4?_0x5b2ab3*0x40+_0x1785ad:_0x1785ad,_0x2ad97c++%0x4)?_0x59ef71+=String['fromCharCode'](0xff&_0x5b2ab3>>(-0x2*_0x2ad97c&0x6)):0x0){_0x1785ad=_0x4a9f91["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x1785ad);}for(let _0x433cbc=0x0,_0x3ee1fb=_0x59ef71["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x433cbc<_0x3ee1fb;_0x433cbc++){_0x513df0+="\u0025"+("00".split("").reverse().join("")+_0x59ef71["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x433cbc)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x513df0);};_0x2229["\u0065\u0050\u0066\u004b\u0042\u004e"]=_0x4ec90a;_0x48fb83=arguments;_0x2229['TALHBg']=!![];}const _0x2cb3fa=_0x222935[0x0];const _0x1fe7bf=_0x1ee9bb+_0x2cb3fa;const _0x65cc01=_0x48fb83[_0x1fe7bf];if(!_0x65cc01){_0x35984a=_0x2229["\u0065\u0050\u0066\u004b\u0042\u004e"](_0x35984a);_0x48fb83[_0x1fe7bf]=_0x35984a;}else{_0x35984a=_0x65cc01;}return _0x35984a;};return _0x2229(_0x48fb83,_0x3bfcfb);}function qmDQyr(_0x551b3d,_0x2eb51a){if(!![]!=![])return;qmDQyr=function(_0x3a3a1c,_0x4cd650){_0x3a3a1c=_0x3a3a1c-(0x973c9^0x973c9);var _0xfd147c=_0x5e50e6[_0x3a3a1c];return _0xfd147c;};return qmDQyr(_0x551b3d,_0x2eb51a);}qmDQyr();(function(_0x21007a,_0x434372){function _0x31ff0d(_0x5982ef,_0x1513b1,_0x480e9e,_0x1d5fef,_0x3ed0b0){return _0x65cc(_0x1513b1-0x3e1,_0x3ed0b0);}function _0x3dd99d(_0x38175e,_0x3a0dad,_0x4136b1,_0x2b9fdb,_0x3d1544){return _0x65cc(_0x3a0dad-0x182,_0x38175e);}function _0xd8d818(_0x19a9d4,_0x31ecac,_0x28fda9,_0x4c3f56,_0x2feaf3){return _0x2229(_0x19a9d4-0x5,_0x4c3f56);}function _0x1bcee2(_0x29c1ae,_0xfd8e42,_0x5e8547,_0x14c0e1,_0x1bcd4a){return _0x2229(_0x1bcd4a-0x12b,_0xfd8e42);}const _0x181ced=_0x21007a();function _0x1c96b1(_0x26c09f,_0x49638d,_0x1c8df7,_0x206842,_0x40e4dd){return _0x2229(_0x26c09f- -0x2a1,_0x49638d);}function _0x16fa7b(_0x366ceb,_0x242ec2,_0x32e8ab,_0x3fbb71,_0x52e9e5){return _0x65cc(_0x52e9e5-0x2e6,_0x242ec2);}function _0xd931b0(_0x4b8070,_0x7087c9,_0xbe90a0,_0x26b1b2,_0x40a9ac){return _0x2229(_0x40a9ac-0x238,_0x26b1b2);}function _0x41aeba(_0x2c8d2a,_0x15453f,_0x34a8b6,_0x410d54,_0x27861e){return _0x65cc(_0x27861e-0xdd,_0x410d54);}function _0x19f8a1(_0x28a0f7,_0x63eea3,_0x4b1b5d,_0x1cac46,_0x53b5a5){return _0x65cc(_0x53b5a5- -0x1d7,_0x63eea3);}do{try{const _0x761582=-parseInt(_0x31ff0d(0x3e7,0x423,0x441,0x438,"]txh".split("").reverse().join("")))/0x1+parseInt(_0xd8d818(0x2f,0x0,0x29,0x40,0x1f))/0x2*(-parseInt(_0x41aeba(0x122,0x187,0x11c,"3PmO".split("").reverse().join(""),0x15e))/0x3)+-parseInt(_0x1bcee2(0x1fa,0x1ca,0x19b,0x1ca,0x1cc))/0x4*(-parseInt(_0x31ff0d(0x435,0x46a,0x41c,0x4a7,"\u0041\u0024\u0050\u006e"))/0x5)+-parseInt(_0x16fa7b(0x36a,"\u0028\u0066\u0026\u0057",0x37e,0x2f2,0x33a))/0x6+parseInt(_0x19f8a1(-0x154,"\u0043\u0068\u0045\u0066",-0x169,-0x12d,-0x148))/0x7+-parseInt(_0x41aeba(0x12c,0x156,0x19b,"\u004b\u0073\u006a\u005d",0x144))/0x8*(-parseInt(_0x1bcee2(0x1ac,0x120,0x12a,0x1b8,0x16a))/0x9)+parseInt(_0xd8d818(0x3c,0x4b,0x70,-0x11,-0x7))/0xa;if(_0x761582===_0x434372){break;}else{_0x181ced["\u0070\u0075\u0073\u0068"](_0x181ced['shift']());}}catch(_0x132fe5){_0x181ced['push'](_0x181ced["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x3bfc,0x55243);modules={"\u006e\u0061\u006d\u0065":_0x50a8a3(0x2d5,0x2c3,"\u0068\u0028\u004d\u006c",0x2c2,0x2fd),'props':{'formData':{"\u0074\u0079\u0070\u0065":Object}},"\u0064\u0061\u0074\u0061"(){return{'showAdvancedSearch':![],'form1Fields':[],'form2Fields':[],'tableColumns':[],"\u0064\u0069\u0061\u006c\u006f\u0067\u0056\u0069\u0073\u0069\u0062\u006c\u0065":![],'advancedFormData':{},"\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061\u0043\u006c\u006f\u006e\u0065":{},"\u0073\u0068\u006f\u0077\u0041\u0064\u0076\u0061\u006e\u0063\u0065\u0064\u0043\u006f\u006e\u0074\u0065\u006e\u0074":!![]};},"\u0077\u0061\u0074\u0063\u0068":{},"\u0063\u0072\u0065\u0061\u0074\u0065\u0064"(){},"\u006d\u006f\u0075\u006e\u0074\u0065\u0064"(){const _0x4e4947={'fqGuD':function(_0xaaddf1,_0x4d8af2){return _0xaaddf1^_0x4d8af2;}};let _0x1a52cd=this["\u0024\u0070\u0061\u0072\u0065\u006e\u0074"];_0x1a52cd['tableFormStop']=!![];this["\u0069\u006e\u0069\u0074"](_0x4e4947["\u0066\u0071\u0047\u0075\u0044"](0xe2e89,0xe2e83));},"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u006f\u0070\u0065\u006e\u0041\u0064\u0076\u0061\u006e\u0063\u0065\u0064\u0053\u0065\u0061\u0072\u0063\u0068\u0044\u0069\u0061\u006c\u006f\u0067"(){let _0x5765a9=this["\u0024\u0070\u0061\u0072\u0065\u006e\u0074"];let _0x2d7650=this['formData'];let _0x7a8b5c=this["\u0024\u0062\u0061\u0073\u0065\u004c\u006f\u0064\u0061\u0073\u0068"]["\u0063\u006c\u006f\u006e\u0065\u0044\u0065\u0065\u0070"](this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"]);let _0x9b6ea6={};_0x5765a9['params']["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0xccb747=>{let _0x4f8f21=this['getNullValue'](_0xccb747);if(!_0xccb747['common']){let _0x50b807=_0x7a8b5c[_0xccb747["\u0066\u0069\u0065\u006c\u0064"]];if(_0x50b807!==null&&_0x50b807!==undefined){_0x9b6ea6[_0xccb747["\u0066\u0069\u0065\u006c\u0064"]]=_0x50b807;}else{_0x9b6ea6[_0xccb747["\u0066\u0069\u0065\u006c\u0064"]]=_0x4f8f21;}}});this["\u0061\u0064\u0076\u0061\u006e\u0063\u0065\u0064\u0046\u006f\u0072\u006d\u0044\u0061\u0074\u0061"]=_0x9b6ea6;this['formDataClone']=this["\u0024\u0062\u0061\u0073\u0065\u004c\u006f\u0064\u0061\u0073\u0068"]['cloneDeep'](this['formData']);this['showAdvancedSearch']=!![];},'confirmAdvancedSearchDialog'(){const _0x3456b2={"\u0045\u0059\u0047\u0057\u0046":function(_0x3b90d7,_0x3a8e2b){return _0x3b90d7!==_0x3a8e2b;}};let _0x5cb310=this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061\u0043\u006c\u006f\u006e\u0065"];let _0x26ca45=this['$parent'];let _0x47fead=this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"];let _0x12503b=this['advancedFormData'];_0x26ca45['params']["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0xc2727c=>{let _0x57ff2b=_0xc2727c["\u0066\u0069\u0065\u006c\u0064"];let _0x5831c2=this['getNullValue'](_0xc2727c);if(!_0xc2727c['common']){let _0x41140f=_0x12503b[_0x57ff2b];if(!!_0xc2727c['slot']&&_0x47fead[_0x57ff2b]!==_0x5cb310[_0x57ff2b]){}else if(_0x3456b2['EYGWF'](_0x41140f,null)&&_0x41140f!==undefined){_0x47fead[_0x57ff2b]=_0x41140f;}else{_0x47fead[_0x57ff2b]=_0x5831c2;}}});this['searchEvent']();},"\u0063\u006c\u0065\u0061\u0072\u0041\u0064\u0076\u0061\u006e\u0063\u0065\u0064\u0053\u0065\u0061\u0072\u0063\u0068\u0044\u0069\u0061\u006c\u006f\u0067"(){function _0x45b16f(_0x52d6d1,_0x257ba8,_0x5e59e1,_0x2164a8,_0x509af2){return _0x2229(_0x52d6d1-0x29c,_0x2164a8);}const _0x1f7dad={'FzPHT':function(_0x28c7d7,_0x444d43){return _0x28c7d7^_0x444d43;}};let _0x22de72=this['$parent'];let _0x447fd9=this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"];let _0x4fa53d=this['advancedFormData'];_0x22de72["\u0070\u0061\u0072\u0061\u006d\u0073"]['searchColumns']["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x5f3c54=>{let _0x481c34=this['getNullValue'](_0x5f3c54);if(!_0x5f3c54['common']){if(_0x447fd9[_0x5f3c54['field']]&&Array["\u0069\u0073\u0041\u0072\u0072\u0061\u0079"](_0x447fd9[_0x5f3c54["\u0066\u0069\u0065\u006c\u0064"]])){_0x447fd9[_0x5f3c54['field']]['length']=_0x1f7dad["\u0046\u007a\u0050\u0048\u0054"](0xebf7c,0xebf7c);}else{_0x447fd9[_0x5f3c54['field']]=_0x481c34;}if(_0x4fa53d[_0x5f3c54['field']]&&Array['isArray'](_0x4fa53d[_0x5f3c54['field']])){_0x4fa53d[_0x5f3c54["\u0066\u0069\u0065\u006c\u0064"]]["\u006c\u0065\u006e\u0067\u0074\u0068"]=0xa7f0c^0xa7f0c;}else{_0x4fa53d[_0x5f3c54["\u0066\u0069\u0065\u006c\u0064"]]=_0x481c34;}}});this["\u0024\u0065\u006d\u0069\u0074"](_0x45b16f(0x2a2,0x2f8,0x26b,0x2be,0x2c6),_0x447fd9);this['showAdvancedContent']=![];this["\u0024\u006e\u0065\u0078\u0074\u0054\u0069\u0063\u006b"](()=>{this["\u0073\u0068\u006f\u0077\u0041\u0064\u0076\u0061\u006e\u0063\u0065\u0064\u0043\u006f\u006e\u0074\u0065\u006e\u0074"]=!![];});},"\u0073\u0065\u0061\u0072\u0063\u0068\u0045\u0076\u0065\u006e\u0074"(){function _0xc5303d(_0x3164b2,_0x22ec31,_0xa9790f,_0x14d094,_0x153c8a){return _0x65cc(_0x153c8a-0x35c,_0x14d094);}this["\u0024\u0065\u006d\u0069\u0074"](_0xc5303d(0x3aa,0x39a,0x37d,"\u0035\u0037\u0054\u0053",0x394));},"\u0072\u0065\u0073\u0065\u0074\u0045\u0076\u0065\u006e\u0074"(){function _0x5e5e85(_0x5d897c,_0x72fde,_0x4b18d9,_0x5e1a6e,_0x554154){return _0x65cc(_0x554154-0x1b8,_0x4b18d9);}this["\u0024\u0065\u006d\u0069\u0074"](_0x5e5e85(0x21c,0x18b,"g3fn".split("").reverse().join(""),0x1d4,0x1d6));},"\u0069\u006e\u0069\u0074"(_0x5878f3){const _0x46774a={'feipM':function(_0xbda231,_0x3ca794){return _0xbda231^_0x3ca794;}};setTimeout(()=>{let _0xd4543b=this["\u0024\u0070\u0061\u0072\u0065\u006e\u0074"];if(!_0xd4543b["\u0070\u0061\u0072\u0061\u006d\u0073"]){this['init'](0x4cda7^0x4cdad);return;}let _0x61bb3d=_0xd4543b["\u0070\u0061\u0072\u0061\u006d\u0073"]["\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e"];if(!_0x61bb3d||!_0xd4543b['params']["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]){this['init'](_0x46774a['feipM'](0x9d288,0x9d282));return;}this["\u0068\u0061\u006e\u0064\u006c\u0065\u0053\u0079\u006e\u0063\u0046\u0075\u006e"]();},_0x5878f3);},"\u0067\u0065\u0074\u0049\u0073\u0044\u0061\u0074\u0065\u0052\u0061\u006e\u0067\u0065"(_0x1ee6d4){const _0x1f21f4={'HMPWW':_0x419430(0x19b,0x17e,0x1d6,0x1b5,0x1af),"\u0047\u0043\u006d\u0069\u006b":function(_0x4b91fd,_0x53ac83){return _0x4b91fd===_0x53ac83;},"\u0079\u0052\u0054\u004b\u0053":_0x42f172(0x133,0x142,0x103,0x117,0x127)};let _0xeabc21=_0x1ee6d4["\u0074\u0079\u0070\u0065"];function _0x36c9a1(_0x12f616,_0x31c71e,_0x21692e,_0x41cc01,_0x558584){return _0x2229(_0x12f616-0xf2,_0x558584);}function _0xb2bc73(_0x2fd5ea,_0x1e1443,_0xd9c2d5,_0x4414bb,_0x5232c0){return _0x2229(_0xd9c2d5-0x107,_0x4414bb);}let _0x42a6d7=_0x1ee6d4["\u0077\u0069\u0064\u0067\u0065\u0074\u0054\u0079\u0070\u0065"];let _0x5af032=_0x1ee6d4["\u0077\u0069\u0064\u0067\u0065\u0074\u0043\u006f\u006e\u0066\u0069\u0067"]||{};let _0x422f29=![];function _0x42f172(_0x4eabe2,_0x29c36e,_0x2a6986,_0x2839b1,_0x5b4303){return _0x2229(_0x4eabe2-0x12b,_0x29c36e);}if(_0xeabc21===_0x1f21f4['HMPWW']&&_0x5af032["\u0069\u0073\u0052\u0061\u006e\u0067\u0065"]){_0x422f29=!![];}else if(_0x1f21f4["\u0047\u0043\u006d\u0069\u006b"](_0xeabc21,_0x42f172(0x15d,0x158,0x177,0x19c,0x10b))){if(_0x5af032["\u0069\u0073\u0052\u0061\u006e\u0067\u0065"]){_0x422f29=!![];}else if([_0x1f21f4["\u0079\u0052\u0054\u004b\u0053"],_0x36c9a1(0x138,0x126,0x181,0x142,0x112),_0x4cb827(-0x49,-0x37,-0x5e,-0xc1,-0x6d),_0x42f172(0x144,0x148,0x15e,0x15a,0x16c),_0x419430(0x16e,0x1b6,0x1a8,0x1ad,0x173),_0x42f172(0x193,0x17c,0x15c,0x163,0x19e)]['includes'](_0x42a6d7)){_0x422f29=!![];}}function _0x419430(_0x4b96cc,_0x38c1e9,_0xcffe6e,_0x43b0e4,_0x3dcc61){return _0x2229(_0x43b0e4-0x19e,_0x3dcc61);}function _0x4cb827(_0x36f659,_0x21d6ef,_0x965f85,_0x5d2137,_0x2f75d0){return _0x2229(_0x2f75d0- -0x78,_0x965f85);}return _0x422f29;},"\u0067\u0065\u0074\u004e\u0075\u006c\u006c\u0056\u0061\u006c\u0075\u0065"(_0x252d2b){let _0x5ac908=_0x252d2b["\u0074\u0079\u0070\u0065"];let _0xb454f7=_0x252d2b['widgetType'];let _0x3ed4b1=_0x252d2b['widgetConfig']||{};let _0x4c35b8=null;if(_0x5ac908===_0x131401(-0x2ce,-0x2f7,-0x2fc,-0x2b0,-0x34a)){_0x4c35b8=[];}else if(this["\u0067\u0065\u0074\u0049\u0073\u0044\u0061\u0074\u0065\u0052\u0061\u006e\u0067\u0065"](_0x252d2b)){_0x4c35b8=null;}function _0x131401(_0x2d1ab6,_0x5991db,_0x4274ed,_0x578c00,_0x1c1efc){return _0x2229(_0x4274ed- -0x306,_0x5991db);}return _0x4c35b8;},"\u0068\u0061\u006e\u0064\u006c\u0065\u0053\u0079\u006e\u0063\u0046\u0075\u006e"(){let _0x44334c=[];let _0x33143b=this["\u0024\u0070\u0061\u0072\u0065\u006e\u0074"];let _0x26b223=_0x33143b['params']["\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e"];let _0x2696d1=this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"];let _0x136580=this['advancedFormData'];_0x33143b['params']["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]['forEach'](_0x58bd77=>{function _0x35fc19(_0x2bf632,_0x1535cb,_0x5058d7,_0x27bc19,_0x62da3a){return _0x2229(_0x27bc19-0x1d6,_0x1535cb);}function _0x40c8e9(_0x30d945,_0x568ac3,_0x229a7d,_0x52408e,_0x18794f){return _0x2229(_0x18794f- -0x335,_0x30d945);}if(_0x58bd77["\u0064\u0065\u0066\u0061\u0075\u006c\u0074\u0056\u0061\u006c\u0075\u0065\u0045\u006e\u0061\u0062\u006c\u0065\u0064"]!==![]){if(_0x58bd77["\u0063\u006f\u006d\u006d\u006f\u006e"]){if(_0x58bd77['hasOwnProperty'](_0x40c8e9(-0x28e,-0x25d,-0x275,-0x269,-0x2a4))){this['$set'](_0x2696d1,_0x58bd77["\u0066\u0069\u0065\u006c\u0064"],_0x58bd77['defaultValue']);}}else{if(_0x58bd77['hasOwnProperty'](_0x40c8e9(-0x284,-0x290,-0x284,-0x2bb,-0x2a4))){this['$set'](_0x2696d1,_0x58bd77['field'],_0x58bd77["\u0064\u0065\u0066\u0061\u0075\u006c\u0074\u0056\u0061\u006c\u0075\u0065"]);}}}if(_0x58bd77["\u0073\u0079\u006e\u0063\u0048\u0061\u006e\u0064\u006c\u0065"]){_0x44334c["\u0070\u0075\u0073\u0068"](_0x58bd77['syncHandle']()["\u0074\u0068\u0065\u006e"](_0x40932a=>{let _0x453c02=_0x40932a||[];_0x58bd77["\u0069\u0074\u0065\u006d\u004f\u0070\u0074\u0069\u006f\u006e"]=_0x453c02;let _0x529ba4=_0x26b223["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]['find'](_0x34e1f5=>_0x34e1f5['field']===_0x58bd77["\u0066\u0069\u0065\u006c\u0064"]);if(_0x529ba4){_0x529ba4['itemOption']=_0x453c02;}}));}});_0x33143b["\u0074\u0061\u0062\u006c\u0065\u0046\u006f\u0072\u006d\u0053\u0074\u006f\u0070"]=![];if(_0x44334c["\u006c\u0065\u006e\u0067\u0074\u0068"]){Promise["\u0061\u006c\u006c"](_0x44334c)['then'](_0x5ca561=>{let _0x34ca1b=this['$baseLodash']["\u0063\u006c\u006f\u006e\u0065\u0044\u0065\u0065\u0070"](_0x33143b['params']['searchColumns']);this["\u0066\u006f\u0072\u006d\u0031\u0046\u0069\u0065\u006c\u0064\u0073"]=_0x34ca1b["\u0066\u0069\u006c\u0074\u0065\u0072"](_0x1be9db=>_0x1be9db['common']);this["\u0066\u006f\u0072\u006d\u0032\u0046\u0069\u0065\u006c\u0064\u0073"]=_0x34ca1b['filter'](_0x362364=>!_0x362364["\u0063\u006f\u006d\u006d\u006f\u006e"]);})['catch'](_0x2feba6=>{function _0x55bdbb(_0x2661d3,_0x5e38e0,_0x13e81f,_0x5eda08,_0x32b1e4){return _0x65cc(_0x2661d3-0x35d,_0x13e81f);}console["\u0065\u0072\u0072\u006f\u0072"](_0x55bdbb(0x38d,0x377,"\u0059\u0033\u006f\u0043",0x3c0,0x368),_0x2feba6);});}else{let _0x202720=this["\u0024\u0062\u0061\u0073\u0065\u004c\u006f\u0064\u0061\u0073\u0068"]['cloneDeep'](_0x33143b["\u0070\u0061\u0072\u0061\u006d\u0073"]["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]);this['form1Fields']=_0x202720['filter'](_0x18452a=>_0x18452a['common']);this['form2Fields']=_0x202720["\u0066\u0069\u006c\u0074\u0065\u0072"](_0x303598=>!_0x303598['common']);}},"\u006f\u0070\u0065\u006e\u0054\u0061\u0062\u006c\u0065\u0043\u006f\u006c\u0075\u006d\u006e\u0073\u0044\u0069\u0061\u006c\u006f\u0067"(){let _0x1961bb=this["\u0024\u0070\u0061\u0072\u0065\u006e\u0074"];let _0xee79b8=_0xee79b8=this["\u0024\u0062\u0061\u0073\u0065\u004c\u006f\u0064\u0061\u0073\u0068"]["\u0063\u006c\u006f\u006e\u0065\u0044\u0065\u0065\u0070"](_0x1961bb['params']['searchColumns']||[]);_0xee79b8["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x51783b=>{if(!_0x51783b['widgetConfig'])_0x51783b["\u0077\u0069\u0064\u0067\u0065\u0074\u0043\u006f\u006e\u0066\u0069\u0067"]={};});this['tableColumns']=_0xee79b8;this['dialogVisible']=!![];this["\u0024\u006e\u0065\u0078\u0074\u0054\u0069\u0063\u006b"](()=>{this["\u0024\u006e\u0065\u0078\u0074\u0054\u0069\u0063\u006b"](()=>{this["\u0064\u0072\u0061\u0067\u0053\u006f\u0072\u0074"]();});});},"\u0064\u0072\u0061\u0067\u0053\u006f\u0072\u0074":function(){const _0x27f856={"\u0046\u0064\u0072\u0048\u0046":function(_0x2c5851,_0xf3412e){return _0x2c5851^_0xf3412e;}};function _0x2ace2f(_0x353150,_0x1c2ef8,_0x119b6b,_0x346ed7,_0x4cb1e3){return _0x65cc(_0x346ed7-0x392,_0x1c2ef8);}function _0xdaa40b(_0x271d9e,_0x5bdccc,_0x19e389,_0x2b5764,_0x5e93a0){return _0x2229(_0x271d9e-0x2ad,_0x19e389);}let _0x44d1d5=this['$refs']["\u0073\u0069\u006e\u0067\u006c\u0065\u0054\u0061\u0062\u006c\u0065"]["\u0024\u0065\u006c"]['querySelectorAll'](_0x2ace2f(0x485,"\u0064\u0024\u004b\u0047",0x476,0x435,0x42b))[0xa189e^0xa189e],_0x1fca43=this["\u0074\u0061\u0062\u006c\u0065\u0043\u006f\u006c\u0075\u006d\u006e\u0073"];this['sortable']=Sortable["\u0063\u0072\u0065\u0061\u0074\u0065"](_0x44d1d5,{'ghostClass':_0xdaa40b(0x34c,0x336,0x36b,0x315,0x332),"\u0073\u0065\u0074\u0044\u0061\u0074\u0061":function(_0x957ae1){function _0x1b5ca5(_0x478286,_0x31ad83,_0x5dcf78,_0x2a8d2c,_0xf8e5b2){return _0x2229(_0x31ad83- -0x6a,_0x478286);}_0x957ae1["\u0073\u0065\u0074\u0044\u0061\u0074\u0061"](_0x1b5ca5(0x15,0x24,0x70,0x25,-0x9),'');},'onEnd':function(_0x5a7754){let _0x348adf=_0x1fca43["\u0073\u0070\u006c\u0069\u0063\u0065"](_0x5a7754['oldIndex'],0x7ba57^0x7ba56)[0x1ab24^0x1ab24];_0x1fca43["\u0073\u0070\u006c\u0069\u0063\u0065"](_0x5a7754["\u006e\u0065\u0077\u0049\u006e\u0064\u0065\u0078"],_0x27f856["\u0046\u0064\u0072\u0048\u0046"](0xc7631,0xc7631),_0x348adf);}});},"\u0064\u0069\u0061\u006c\u006f\u0067\u0050\u0072\u0069\u006d\u0061\u0072\u0079"(_0x159063){const _0xf1eda2={"\u0045\u0071\u0049\u004f\u0042":function(_0x14e3ae,_0x197465){return _0x14e3ae!==_0x197465;}};let _0x25a50d=this["\u0024\u0062\u0061\u0073\u0065\u004c\u006f\u0064\u0061\u0073\u0068"]['cloneDeep'](_0x159063||this["\u0074\u0061\u0062\u006c\u0065\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]);this["\u0066\u006f\u0072\u006d\u0031\u0046\u0069\u0065\u006c\u0064\u0073"]=_0x25a50d["\u0066\u0069\u006c\u0074\u0065\u0072"](_0xe73c4c=>_0xe73c4c['common']);this["\u0066\u006f\u0072\u006d\u0032\u0046\u0069\u0065\u006c\u0064\u0073"]=_0x25a50d["\u0066\u0069\u006c\u0074\u0065\u0072"](_0xb73366=>!_0xb73366["\u0063\u006f\u006d\u006d\u006f\u006e"]);let _0x38d30f=this['$parent'];_0x38d30f["\u0070\u0061\u0072\u0061\u006d\u0073"]["\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073"]=_0x25a50d;function _0x15838a(_0x441694,_0x5cc2fd,_0x32e5bc,_0x2416bb,_0x2dfc67){return _0x2229(_0x441694-0x6c,_0x32e5bc);}let _0x138812=_0x38d30f['params']["\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e"];let _0x39ca8a=_0x138812['tableName'];tableUtil['addTableJson'](_0x138812["\u0076\u0075\u0065"],_0x38d30f,_0x39ca8a);this["\u0064\u0069\u0061\u006c\u006f\u0067\u0056\u0069\u0073\u0069\u0062\u006c\u0065"]=![];let _0x244794=this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"];let _0x3ec309=this['advancedFormData'];_0x25a50d["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x513baf=>{let _0x44e27b=this["\u0067\u0065\u0074\u004e\u0075\u006c\u006c\u0056\u0061\u006c\u0075\u0065"](_0x513baf);let _0x162f19=_0x44e27b;if(_0xf1eda2['EqIOB'](_0x513baf["\u0064\u0065\u0066\u0061\u0075\u006c\u0074\u0056\u0061\u006c\u0075\u0065\u0045\u006e\u0061\u0062\u006c\u0065\u0064"],![])){_0x162f19=_0x513baf["\u0064\u0065\u0066\u0061\u0075\u006c\u0074\u0056\u0061\u006c\u0075\u0065"]??_0x44e27b;}let _0x4bf263=_0x244794;this['$set'](_0x4bf263,_0x513baf["\u0066\u0069\u0065\u006c\u0064"],_0x162f19);if(_0x513baf["\u0066\u0069\u0065\u006c\u0064\u0032"]){this['$set'](_0x4bf263,_0x513baf['field2'],_0x162f19);}});this['searchEvent']();this["\u0024\u0065\u006d\u0069\u0074"](_0x15838a(0xcb,0x79,0x11c,0xee,0xa5));},"\u0064\u0069\u0061\u006c\u006f\u0067\u0052\u0065\u0073\u0065\u0074"(){let _0x3b308c=this["\u0024\u0070\u0061\u0072\u0065\u006e\u0074"];let _0x167f61=_0x3b308c["\u0070\u0061\u0072\u0061\u006d\u0073"]["\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e"];this['dialogPrimary'](_0x167f61['searchColumns']);}}};
|
|
5
|
+
modules = {
|
|
6
|
+
name: "tableForm",
|
|
7
|
+
props: {
|
|
8
|
+
formData: {
|
|
9
|
+
type: Object,
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
showAdvancedSearch: false,
|
|
16
|
+
form1Fields: [],
|
|
17
|
+
form2Fields: [],
|
|
18
|
+
tableColumns: [],
|
|
19
|
+
dialogVisible: false,
|
|
20
|
+
advancedFormData: {},
|
|
21
|
+
formDataClone: {},
|
|
22
|
+
showAdvancedContent: true
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
watch: {},
|
|
26
|
+
created() {},
|
|
27
|
+
mounted() {
|
|
28
|
+
let $grid = this.$parent;
|
|
29
|
+
$grid.tableFormStop = true; //阻塞列表查询
|
|
30
|
+
this.init(10);
|
|
31
|
+
},
|
|
32
|
+
methods: {
|
|
33
|
+
openAdvancedSearchDialog() {
|
|
34
|
+
let $grid = this.$parent;
|
|
35
|
+
let formData = this.formData;
|
|
36
|
+
let formData2 = this.$baseLodash.cloneDeep(this.formData);
|
|
37
|
+
let advancedFormData = {};
|
|
38
|
+
$grid.params.searchColumns.forEach((form1Field) => {
|
|
39
|
+
let nullValue = this.getNullValue(form1Field);
|
|
40
|
+
if (!form1Field.common) {
|
|
41
|
+
let value = formData2[form1Field.field];
|
|
42
|
+
if (value !== null && value !== undefined) {
|
|
43
|
+
advancedFormData[form1Field.field] = value;
|
|
44
|
+
} else {
|
|
45
|
+
advancedFormData[form1Field.field] = nullValue;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
this.advancedFormData = advancedFormData;
|
|
50
|
+
this.formDataClone = this.$baseLodash.cloneDeep(this.formData);
|
|
51
|
+
this.showAdvancedSearch = true;
|
|
52
|
+
},
|
|
53
|
+
confirmAdvancedSearchDialog() {
|
|
54
|
+
let formDataClone = this.formDataClone;
|
|
55
|
+
let $grid = this.$parent;
|
|
56
|
+
let formData = this.formData;
|
|
57
|
+
let advancedFormData = this.advancedFormData;
|
|
58
|
+
$grid.params.searchColumns.forEach((form1Field) => {
|
|
59
|
+
let field = form1Field.field;
|
|
60
|
+
let nullValue = this.getNullValue(form1Field);
|
|
61
|
+
if (!form1Field.common) {
|
|
62
|
+
let value = advancedFormData[field];
|
|
63
|
+
if (!!form1Field.slot && formData[field] !== formDataClone[field]) {
|
|
64
|
+
} else if (value !== null && value !== undefined) {
|
|
65
|
+
formData[field] = value;
|
|
66
|
+
} else {
|
|
67
|
+
formData[field] = nullValue;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
this.searchEvent();
|
|
72
|
+
},
|
|
73
|
+
clearAdvancedSearchDialog() {
|
|
74
|
+
let $grid = this.$parent;
|
|
75
|
+
let formData = this.formData;
|
|
76
|
+
let advancedFormData = this.advancedFormData;
|
|
77
|
+
$grid.params.searchColumns.forEach((form1Field) => {
|
|
78
|
+
let nullValue = this.getNullValue(form1Field);
|
|
79
|
+
if (!form1Field.common) {
|
|
80
|
+
|
|
81
|
+
// formData[form1Field.field] = nullValue;
|
|
82
|
+
if(formData[form1Field.field] && Array.isArray(formData[form1Field.field]) ){
|
|
83
|
+
formData[form1Field.field].length = 0;
|
|
84
|
+
}else{
|
|
85
|
+
formData[form1Field.field] = nullValue;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if(advancedFormData[form1Field.field] && Array.isArray(advancedFormData[form1Field.field]) ){
|
|
89
|
+
advancedFormData[form1Field.field].length = 0;
|
|
90
|
+
}else{
|
|
91
|
+
advancedFormData[form1Field.field] = nullValue;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
this.$emit("advancedClear",formData);
|
|
96
|
+
this.showAdvancedContent = false;
|
|
97
|
+
this.$nextTick(() => {
|
|
98
|
+
this.showAdvancedContent = true;
|
|
99
|
+
})
|
|
100
|
+
},
|
|
101
|
+
searchEvent() {
|
|
102
|
+
this.$emit("searchEvent");
|
|
103
|
+
},
|
|
104
|
+
resetEvent() {
|
|
105
|
+
this.$emit("resetEvent");
|
|
106
|
+
},
|
|
107
|
+
init(s) {
|
|
108
|
+
setTimeout(() => {
|
|
109
|
+
let $grid = this.$parent;
|
|
110
|
+
if (!$grid.params) {
|
|
111
|
+
this.init(10);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
let originOption = $grid.params.originOption;
|
|
115
|
+
if (!originOption || !$grid.params.searchColumns) {
|
|
116
|
+
this.init(10);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
this.handleSyncFun();
|
|
120
|
+
}, s);
|
|
121
|
+
},
|
|
122
|
+
getIsDateRange(item) {
|
|
123
|
+
let type = item.type;
|
|
124
|
+
let widgetType = item.widgetType;
|
|
125
|
+
let widgetConfig = item.widgetConfig || {};
|
|
126
|
+
let isDateRange = false;
|
|
127
|
+
if (type === "time" && widgetConfig.isRange) {
|
|
128
|
+
isDateRange = true;
|
|
129
|
+
} else if (type === "date") {
|
|
130
|
+
if (widgetConfig.isRange) {
|
|
131
|
+
isDateRange = true;
|
|
132
|
+
} else if (
|
|
133
|
+
[
|
|
134
|
+
"dates",
|
|
135
|
+
"months",
|
|
136
|
+
"years",
|
|
137
|
+
"datetimerange",
|
|
138
|
+
"daterange",
|
|
139
|
+
"monthrange",
|
|
140
|
+
].includes(widgetType)
|
|
141
|
+
) {
|
|
142
|
+
isDateRange = true;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return isDateRange;
|
|
147
|
+
},
|
|
148
|
+
getNullValue(item) {
|
|
149
|
+
let type = item.type;
|
|
150
|
+
let widgetType = item.widgetType;
|
|
151
|
+
let widgetConfig = item.widgetConfig || {};
|
|
152
|
+
let value = null;
|
|
153
|
+
if (type === "inputBatch") {
|
|
154
|
+
value = [];
|
|
155
|
+
} else if (this.getIsDateRange(item)) {
|
|
156
|
+
// value = [];
|
|
157
|
+
value = null;
|
|
158
|
+
}
|
|
159
|
+
return value;
|
|
160
|
+
},
|
|
161
|
+
handleSyncFun() {
|
|
162
|
+
let requests = [];
|
|
163
|
+
let $grid = this.$parent;
|
|
164
|
+
let originOption = $grid.params.originOption;
|
|
165
|
+
let formData = this.formData;
|
|
166
|
+
let advancedFormData = this.advancedFormData;
|
|
167
|
+
$grid.params.searchColumns.forEach((form1Field) => {
|
|
168
|
+
if (form1Field.defaultValueEnabled !== false) {
|
|
169
|
+
if (form1Field.common) {
|
|
170
|
+
if (form1Field.hasOwnProperty("defaultValue")) {
|
|
171
|
+
this.$set(formData, form1Field.field, form1Field.defaultValue);
|
|
172
|
+
}
|
|
173
|
+
} else {
|
|
174
|
+
if (form1Field.hasOwnProperty("defaultValue")) {
|
|
175
|
+
// this.$set(advancedFormData, form1Field.field, form1Field.defaultValue);
|
|
176
|
+
this.$set(formData, form1Field.field, form1Field.defaultValue);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
if (form1Field.syncHandle) {
|
|
182
|
+
requests.push(
|
|
183
|
+
form1Field.syncHandle().then((rows) => {
|
|
184
|
+
let itemOption = rows || [];
|
|
185
|
+
form1Field.itemOption = itemOption;
|
|
186
|
+
let nColumn = originOption.searchColumns.find(
|
|
187
|
+
(item) => item.field === form1Field.field
|
|
188
|
+
);
|
|
189
|
+
if (nColumn) {
|
|
190
|
+
nColumn.itemOption = itemOption;
|
|
191
|
+
}
|
|
192
|
+
})
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
$grid.tableFormStop = false; //释放列表查询
|
|
197
|
+
if (requests.length) {
|
|
198
|
+
Promise.all(requests)
|
|
199
|
+
.then((responses) => {
|
|
200
|
+
let searchColumns = this.$baseLodash.cloneDeep($grid.params.searchColumns);
|
|
201
|
+
this.form1Fields = searchColumns.filter((item) => item.common);
|
|
202
|
+
this.form2Fields = searchColumns.filter((item) => !item.common);
|
|
203
|
+
})
|
|
204
|
+
.catch((error) => {
|
|
205
|
+
// 至少一个请求失败了
|
|
206
|
+
console.error("An error occurred:", error);
|
|
207
|
+
});
|
|
208
|
+
} else {
|
|
209
|
+
let searchColumns = this.$baseLodash.cloneDeep($grid.params.searchColumns);
|
|
210
|
+
this.form1Fields = searchColumns.filter((item) => item.common);
|
|
211
|
+
this.form2Fields = searchColumns.filter((item) => !item.common);
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
openTableColumnsDialog() {
|
|
215
|
+
let $grid = this.$parent;
|
|
216
|
+
let tableColumns = (tableColumns = this.$baseLodash.cloneDeep(
|
|
217
|
+
$grid.params.searchColumns || []
|
|
218
|
+
));
|
|
219
|
+
tableColumns.forEach((item) => {
|
|
220
|
+
if (!item.widgetConfig) item.widgetConfig = {};
|
|
221
|
+
});
|
|
222
|
+
this.tableColumns = tableColumns;
|
|
223
|
+
this.dialogVisible = true;
|
|
224
|
+
this.$nextTick(() => {
|
|
225
|
+
this.$nextTick(() => {
|
|
226
|
+
this.dragSort();
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
},
|
|
230
|
+
dragSort: function () {
|
|
231
|
+
let e = this.$refs.singleTable.$el.querySelectorAll(
|
|
232
|
+
".el-table__body-wrapper > table > tbody"
|
|
233
|
+
)[0],
|
|
234
|
+
t = this.tableColumns;
|
|
235
|
+
this.sortable = Sortable.create(e, {
|
|
236
|
+
ghostClass: "sortable-ghost",
|
|
237
|
+
setData: function (e) {
|
|
238
|
+
e.setData("Text", "");
|
|
239
|
+
},
|
|
240
|
+
onEnd: function (e) {
|
|
241
|
+
let i = t.splice(e.oldIndex, 1)[0];
|
|
242
|
+
t.splice(e.newIndex, 0, i);
|
|
243
|
+
/*t[e.newIndex].value;
|
|
244
|
+
t[e.newIndex - 1] && t[e.newIndex - 1].value, t[e.newIndex + 1] && t[e.newIndex + 1].value;*/
|
|
245
|
+
},
|
|
246
|
+
});
|
|
247
|
+
},
|
|
248
|
+
dialogPrimary(newTableColumns) {
|
|
249
|
+
let searchColumns = this.$baseLodash.cloneDeep(
|
|
250
|
+
newTableColumns || this.tableColumns
|
|
251
|
+
);
|
|
252
|
+
this.form1Fields = searchColumns.filter((item) => item.common);
|
|
253
|
+
this.form2Fields = searchColumns.filter((item) => !item.common);
|
|
254
|
+
let $grid = this.$parent;
|
|
255
|
+
$grid.params.searchColumns = searchColumns;
|
|
256
|
+
|
|
257
|
+
let originOption = $grid.params.originOption;
|
|
258
|
+
let tableName = originOption.tableName;
|
|
259
|
+
tableUtil.addTableJson(originOption.vue, $grid, tableName);
|
|
260
|
+
this.dialogVisible = false;
|
|
261
|
+
|
|
262
|
+
let formData = this.formData;
|
|
263
|
+
let advancedFormData = this.advancedFormData;
|
|
264
|
+
/*formData = {};
|
|
265
|
+
advancedFormData = {};*/
|
|
266
|
+
// this.$set(this, "formData", {});
|
|
267
|
+
// this.$set(this, "advancedFormData", {});
|
|
268
|
+
searchColumns.forEach((form1Field) => {
|
|
269
|
+
let nullValue = this.getNullValue(form1Field);
|
|
270
|
+
let defaultValue = nullValue;
|
|
271
|
+
if (form1Field.defaultValueEnabled !== false) {
|
|
272
|
+
defaultValue = form1Field.defaultValue ?? nullValue;
|
|
273
|
+
}
|
|
274
|
+
let currentData = formData;
|
|
275
|
+
this.$set(currentData, form1Field.field, defaultValue);
|
|
276
|
+
if (form1Field.field2) {
|
|
277
|
+
this.$set(currentData, form1Field.field2, defaultValue);
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
this.searchEvent();
|
|
281
|
+
this.$emit("settingConfirm");
|
|
282
|
+
},
|
|
283
|
+
dialogReset() {
|
|
284
|
+
let $grid = this.$parent;
|
|
285
|
+
let originOption = $grid.params.originOption;
|
|
286
|
+
this.dialogPrimary(originOption.searchColumns);
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
};
|
|
6
290
|
export default modules;
|
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
2
|
import CellSlot from "@base/components/table/CellSlot.vue";
|
|
3
3
|
|
|
4
|
-
let instance = null;
|
|
5
|
-
|
|
6
4
|
let TempSoltConstructor = Vue.extend(CellSlot);
|
|
7
5
|
|
|
8
|
-
function initTempSoltConstructorInstance() {
|
|
9
|
-
if (!instance) {
|
|
10
|
-
instance = new TempSoltConstructor();
|
|
11
|
-
}
|
|
12
|
-
return instance;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function destroyTempSoltConstructorInstance() {
|
|
16
|
-
if (instance) {
|
|
17
|
-
instance.$destroy();
|
|
18
|
-
instance = null;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
6
|
export function getFilterValue(obj){
|
|
23
7
|
return getCellValue(obj);
|
|
24
8
|
}
|
|
@@ -36,8 +20,14 @@ export function getCellValue(obj) {
|
|
|
36
20
|
let result = column.renderCell(h, params);
|
|
37
21
|
cellValue = vNodeRender(result);
|
|
38
22
|
}else{
|
|
39
|
-
|
|
40
|
-
|
|
23
|
+
let slotDefault = column.slots?.default;
|
|
24
|
+
if (typeof slotDefault === "string") {
|
|
25
|
+
// 字符串具名插槽(如 xform 的 "widget"):从 grid 的作用域插槽解析出插槽函数再渲染,
|
|
26
|
+
// 否则回退原始字段(此前直接当函数调用会崩溃)
|
|
27
|
+
let slotFn = $table.$xegrid?.$scopedSlots?.[slotDefault];
|
|
28
|
+
cellValue = slotFn ? vNodeRender(slotFn(params)) : obj.row[column.field];
|
|
29
|
+
} else if (slotDefault) {
|
|
30
|
+
let result = slotDefault(obj, h);
|
|
41
31
|
cellValue = vNodeRender(result);
|
|
42
32
|
}else{
|
|
43
33
|
cellValue = obj.row[column.field];
|
|
@@ -159,6 +149,33 @@ export function createParams(obj) {
|
|
|
159
149
|
return params;
|
|
160
150
|
}
|
|
161
151
|
|
|
152
|
+
// 复用实例连续挂载时,无 key 的同类型组件 vNode 会被 patch 复用旧实例,
|
|
153
|
+
// props 更新是异步的,同步读 DOM 拿到的是上一个单元格的内容(实测第 2 个起全部错值)。
|
|
154
|
+
// 给每个待挂载 vNode 补唯一 key,强制走全新挂载,保证同步渲染出正确内容。
|
|
155
|
+
let vnodeKeySeq = 0;
|
|
156
|
+
function ensureVNodeKey(vNode) {
|
|
157
|
+
if (vNode.key === null || vNode.key === undefined) {
|
|
158
|
+
vNode.key = "__cellval_" + ++vnodeKeySeq;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Component VNodes must use an isolated host. Reusing a mounted host makes Vue patch
|
|
163
|
+
// component instances across rows, so synchronous DOM reads can return only the first
|
|
164
|
+
// row (or the previous row). Primitive VNodes still use the inexpensive direct path.
|
|
165
|
+
function renderComponentVNode(vNode) {
|
|
166
|
+
let slotInstance = new TempSoltConstructor();
|
|
167
|
+
ensureVNodeKey(vNode);
|
|
168
|
+
slotInstance.$slots.default = [vNode];
|
|
169
|
+
slotInstance.$mount();
|
|
170
|
+
let cellValue = "";
|
|
171
|
+
if (vNode.componentInstance && vNode.componentInstance.$el) {
|
|
172
|
+
cellValue = domRender(vNode.componentInstance.$el);
|
|
173
|
+
}
|
|
174
|
+
slotInstance.$slots.default = null;
|
|
175
|
+
slotInstance.$destroy();
|
|
176
|
+
return cellValue;
|
|
177
|
+
}
|
|
178
|
+
|
|
162
179
|
function vNodeRender(vNodes) {
|
|
163
180
|
if (vNodes === null || vNodes === undefined) {
|
|
164
181
|
return null;
|
|
@@ -176,15 +193,8 @@ function vNodeRender(vNodes) {
|
|
|
176
193
|
let arr = [];
|
|
177
194
|
item.children.forEach(function (child) {
|
|
178
195
|
if (child.componentOptions) {
|
|
179
|
-
|
|
180
|
-
instance.$slots.default = child;
|
|
181
|
-
instance.$mount();
|
|
182
|
-
cellValue = "";
|
|
183
|
-
if (child.componentInstance && child.componentInstance.$el) {
|
|
184
|
-
cellValue = domRender(child.componentInstance.$el);
|
|
185
|
-
}
|
|
196
|
+
cellValue = renderComponentVNode(child);
|
|
186
197
|
arr.push(cellValue);
|
|
187
|
-
instance.$slots.default = null;
|
|
188
198
|
} else {
|
|
189
199
|
let text = loop(child);
|
|
190
200
|
if (text != null) {
|
|
@@ -203,17 +213,8 @@ function vNodeRender(vNodes) {
|
|
|
203
213
|
vNodes.forEach(function (vNode) {
|
|
204
214
|
if (vNode !== undefined && vNode !== null) {
|
|
205
215
|
if (vNode.componentOptions) {
|
|
206
|
-
|
|
207
|
-
instance.$slots.default = vNode;
|
|
208
|
-
instance.$mount();
|
|
209
|
-
cellValue = "";
|
|
210
|
-
if (vNode.componentInstance && vNode.componentInstance.$el) {
|
|
211
|
-
cellValue = domRender(vNode.componentInstance.$el);
|
|
212
|
-
}
|
|
216
|
+
cellValue = renderComponentVNode(vNode);
|
|
213
217
|
contents.push(cellValue);
|
|
214
|
-
// instance.$destroy();
|
|
215
|
-
instance.$slots.default = null;
|
|
216
|
-
// instance = null;
|
|
217
218
|
} else {
|
|
218
219
|
if (vNode && vNode.children && vNode.children.length > 0) {
|
|
219
220
|
let text = loop(vNode);
|
|
@@ -231,8 +232,6 @@ function vNodeRender(vNodes) {
|
|
|
231
232
|
}
|
|
232
233
|
}
|
|
233
234
|
});
|
|
234
|
-
destroyTempSoltConstructorInstance();
|
|
235
|
-
// instance = null;
|
|
236
235
|
return contents.join("").trim();
|
|
237
236
|
}
|
|
238
237
|
|
|
@@ -251,8 +250,7 @@ function groupDomRender(dom) {
|
|
|
251
250
|
} else {
|
|
252
251
|
var style = window.getComputedStyle(item); //el即DOM元素
|
|
253
252
|
let classList = Array.from(item.classList);
|
|
254
|
-
if (style.display
|
|
255
|
-
} else if (item.nodeName == "INPUT") {
|
|
253
|
+
if (style.display !== "none" && item.nodeName == "INPUT") {
|
|
256
254
|
if (item.type == "radio") {
|
|
257
255
|
if (item.checked && classList.includes("el-radio__original")) {
|
|
258
256
|
let value = item.parentNode.parentNode.innerText || "";
|