cloud-web-corejs 1.0.258 → 1.0.259
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 +32 -25
- package/src/components/VabUpload/fileLibraryDialog.vue +296 -0
- package/src/components/VabUpload/index.js +22 -2
- package/src/components/VabUpload/index.vue +242 -231
- package/src/components/VabUpload/mixins/fileLibraryDialog.js +1112 -0
- package/src/components/VabUpload/mixins.js +1971 -1829
- package/src/components/VabUpload/privateProfileDialog.vue +2 -2
- package/src/components/baseArea/index.vue +1628 -0
- package/src/components/baseInputExport/mixins.js +48 -31
- package/src/components/baseInputNumber/index.vue +9 -9
- package/src/components/baseTabs/index.vue +16 -8
- package/src/components/code-editor/async.js +29 -0
- package/src/components/code-editor/index.vue +93 -4
- package/src/components/errorMsg/index.js +10 -9
- package/src/components/errorMsg/mixins.js +25 -23
- package/src/components/excelExport/exportFieldDialog.vue +40 -18
- package/src/components/excelExport/index.js +62 -3
- package/src/components/excelExport/index.vue +2 -1
- package/src/components/excelExport/mixins.js +496 -340
- package/src/components/excelImport/index.js +69 -7
- package/src/components/excelImport/mixins.js +841 -9
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
- package/src/components/fileLibrary/fileHistoryDialog.vue +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -298
- package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
- package/src/components/fileLibrary/filterDialog.vue +1 -1
- package/src/components/fileLibrary/index.vue +1109 -1110
- package/src/components/fileLibrary/mixins/indexMixins.js +10 -0
- package/src/components/fileLibrary/propertiesDialog.vue +190 -190
- package/src/components/fileLibrary/recycleBinDialog.vue +237 -236
- package/src/components/formOplog/mixins.js +85 -80
- package/src/components/hiprint/view/design/index.vue +7 -2
- package/src/components/jsonImport/exportUtil.js +106 -0
- package/src/components/jsonImport/index.js +75 -50
- package/src/components/jsonImport/mixins.js +350 -348
- package/src/components/langImport/mixins.js +502 -500
- package/src/components/micro-view-host/contract.js +66 -0
- package/src/components/micro-view-host/index.vue +148 -0
- package/src/components/mobile/file/index.vue +10 -0
- package/src/components/mobile/wf/mixins/wfModifyDialogMixin.js +51 -47
- package/src/components/obsUpload/index.vue +234 -231
- package/src/components/obsUpload/mixins.js +1542 -1476
- package/src/components/onlineTalk/talkUserDialog.vue +1 -1
- package/src/components/table/CellSlot.vue +12 -10
- package/src/components/table/config.js +74 -1
- package/src/components/table/index.js +1208 -1
- 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/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +10 -5
- package/src/components/wf/addTaskUserdialog.vue +1 -1
- package/src/components/wf/mixins/setCandidateDialog.js +217 -217
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
- package/src/components/wf/wf.js +2224 -2203
- package/src/components/wf/wfUtil.js +2 -1
- package/src/components/xform/docs/2026-08 /345/210/227/350/241/250/345/257/274/345/207/272/350/204/261/346/225/217/345/210/227/345/211/224/351/231/244/350/220/275/345/234/260/346/226/207/346/241/243.md" +173 -0
- package/src/components/xform/form-designer/designer.js +1 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +110 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +282 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -0
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +119 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +14 -0
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +18 -73
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/autocomplete-mixin.js +451 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +157 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/utc-transform-mixin.js +75 -0
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +112 -0
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +149 -0
- package/src/components/xform/form-designer/form-widget/indexMixin.js +179 -1
- package/src/components/xform/form-designer/indexMixin.js +823 -1
- package/src/components/xform/form-designer/refMixinDesign.js +27 -1
- package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +241 -0
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +601 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/index.vue +314 -309
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +324 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +8 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +8 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +344 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaDataType-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaMinLevel-editor.vue +50 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaName-editor.vue +20 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +199 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-baseAttachment/baseAttachment-fileTypes-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/showAllLevels-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +157 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +55 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/vabUpload-fileTypes-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesEditorMixin.js +116 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesSelect.vue +176 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +19 -0
- package/src/components/xform/form-designer/setting-panel/widgetPropertyDialogMixin.js +186 -0
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +566 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
- package/src/components/xform/form-render/compareDelList.vue +83 -0
- package/src/components/xform/form-render/compareView.vue +76 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +378 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +35 -0
- package/src/components/xform/form-render/container-item/detail-item.vue +41 -0
- package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +285 -0
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +416 -0
- package/src/components/xform/form-render/container-item/list-h5-item.vue +12 -0
- package/src/components/xform/form-render/dynamicDialogRender.js +195 -1
- package/src/components/xform/form-render/dynamicDrawerRender.js +229 -0
- package/src/components/xform/form-render/formDynamicFieldMixin.js +131 -0
- package/src/components/xform/form-render/refMixin.js +29 -1
- package/src/components/xform/mixins/scriptHttp.js +172 -1
- package/src/components/xform/utils/dynamicSchemaUtil.js +361 -0
- package/src/components/xform/utils/tableCellValidateUtil.js +148 -0
- package/src/components/xform/utils/textMaskUtil.js +179 -0
- package/src/components/xform/utils/treeTableUtil.js +1265 -0
- package/src/components/xform/utils/util.js +1 -0
- package/src/components/xform/utils/validators.js +133 -1
- package/src/directive/LimitNumber/index.js +143 -124
- package/src/microRouter/index.js +447 -0
- package/src/mixins/tableTree/index.js +77 -14
- package/src/permission.js +132 -107
- package/src/public-path.js +38 -0
- package/src/router/index.js +3 -3
- package/src/store/modules/micro.js +57 -0
- package/src/store/modules/permission.js +535 -371
- package/src/store/modules/tagsView.js +38 -21
- package/src/store/modules/user.js +409 -370
- package/src/utils/aes.js +9 -3
- package/src/utils/auth.js +1 -1
- package/src/utils/componentDialog.js +162 -40
- package/src/utils/global.js +35 -34
- package/src/utils/index.js +579 -579
- package/src/utils/keepAlive.js +8 -4
- package/src/utils/lazyPlugin.js +66 -0
- package/src/utils/menuAdapter.js +277 -0
- package/src/utils/repeatOpen.js +48 -0
- package/src/utils/request.js +417 -395
- package/src/utils/resolveViewComponent.js +203 -0
- package/src/utils/vab.js +14 -3
- package/src/utils/validate.js +104 -106
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/list.vue +1 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +1 -1
- package/src/views/bd/setting/bd_company_env/list.vue +1 -1
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +488 -489
- package/src/views/bd/setting/form_import_log/list.vue +1 -1
- package/src/views/bd/setting/form_script/dialog.vue +1 -1
- package/src/views/bd/setting/form_script/form_list.vue +174 -166
- package/src/views/bd/setting/form_script/list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +1 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +330 -322
- package/src/views/bd/setting/form_template/dialog.vue +1 -1
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +172 -171
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
- package/src/views/bd/setting/form_template/itemList.vue +1 -1
- package/src/views/bd/setting/form_template/list.vue +3 -3
- package/src/views/bd/setting/form_template/mixins/edit.js +3 -3
- package/src/views/bd/setting/form_template/mixins/list.js +3 -3
- package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
- package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -3
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -254
- package/src/views/bd/setting/form_template/wf_list.vue +3 -3
- package/src/views/bd/setting/logic_param/edit.vue +20 -20
- package/src/views/bd/setting/logic_param/list.vue +1 -1
- package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +1 -1
- package/src/views/bd/setting/push_data/list.vue +1 -1
- package/src/views/bd/setting/push_data_h/list.vue +1 -1
- package/src/views/bd/setting/request_async_setting/list.vue +1 -1
- package/src/views/bd/setting/request_setting/list.vue +1 -1
- package/src/views/bd/setting/table_model/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/list.vue +1 -1
- package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
- package/src/views/user/access_log/list.vue +1 -1
- package/src/views/user/access_log/list2.vue +1 -1
- package/src/views/user/api_request/list.vue +1 -1
- package/src/views/user/area/dialog.vue +1 -1
- package/src/views/user/area/list.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/bill_setting/userDialog.vue +1 -1
- package/src/views/user/code_rules/list.vue +1 -1
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/list.vue +2 -2
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +1 -1
- package/src/views/user/country/dialog.vue +1 -1
- package/src/views/user/country/list.vue +1 -1
- package/src/views/user/data_type_setting/dialog.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -1
- package/src/views/user/extend_datasource/edit.vue +2 -1
- package/src/views/user/extend_datasource/list.vue +4 -1
- package/src/views/user/fieldTranslation/list.vue +1 -1
- package/src/views/user/field_values_invisible/list.vue +1 -1
- package/src/views/user/file_type/list.vue +1 -1
- package/src/views/user/file_view_area/list.vue +1 -1
- package/src/views/user/file_view_ins/list.vue +22 -1
- package/src/views/user/form/view/list.vue +64 -1
- package/src/views/user/groups/dialog.vue +1 -1
- package/src/views/user/groups/list.vue +1 -1
- package/src/views/user/home/default.vue +2 -2
- package/src/views/user/home/default2.vue +1158 -1148
- package/src/views/user/home/index.vue +3 -10
- package/src/views/user/lang_tag/dialog.vue +1 -1
- package/src/views/user/lang_tag/list.vue +1 -1
- package/src/views/user/language_setting/list.vue +1 -1
- package/src/views/user/login/default.vue +0 -8
- package/src/views/user/login/indexMixin.js +547 -556
- package/src/views/user/menu/list.vue +25 -2
- package/src/views/user/menuFallback/index.vue +123 -0
- package/src/views/user/mobile_menu/list.vue +1 -1
- package/src/views/user/notify_message/dialog.vue +22 -1
- package/src/views/user/notify_message/list.vue +1 -1
- package/src/views/user/notify_template/list.vue +1 -1
- package/src/views/user/notify_template/list2.vue +1 -1
- package/src/views/user/oplog/list.vue +1 -1
- package/src/views/user/outLink/form_view.vue +5 -14
- package/src/views/user/outLink/index.vue +6 -1
- package/src/views/user/outLink/view.vue +5 -13
- package/src/views/user/position/dialog.vue +1 -1
- package/src/views/user/position/list.vue +1 -1
- package/src/views/user/project_tag/dialog.vue +1 -1
- package/src/views/user/project_tag/list.vue +1 -1
- package/src/views/user/push_setting/list.vue +1 -1
- package/src/views/user/request_setting/list.vue +1 -1
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +1 -1
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +1 -1
- package/src/views/user/system_notice/list.vue +1 -1
- package/src/views/user/system_parameter/list.vue +1 -1
- package/src/views/user/user/dialog.vue +1 -1
- package/src/views/user/user/edit.vue +306 -159
- package/src/views/user/user/form_dialog.vue +1 -1
- package/src/views/user/user/form_list.vue +1 -1
- package/src/views/user/user/list.vue +2 -2
- package/src/views/user/user_log_classify/list.vue +1 -1
- package/src/views/user/wf/iframe/index.vue +6 -1
- package/src/views/user/wf/iframe/index2.vue +6 -1
- package/src/views/user/wf/wfReport/index.vue +12 -6
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
- package/src/views/user/wf/wf_manage/list.vue +97 -24
- package/src/views/user/wf/wf_manage/list2.vue +875 -0
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +23 -1
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list_form.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/list.vue +1 -1
- package/src/views/user/workbench_menu/list.vue +1 -1
|
@@ -1,3 +1,31 @@
|
|
|
1
1
|
let modules = {};
|
|
2
|
-
function _0x1424(){const _0x5cf252=["\u0070\u006d\u006f\u0032\u0057\u004f\u002f\u0064\u0049\u0057","\u0077\u0077\u006d\u0047\u0044\u0072\u0074\u0064\u0055\u0066\u0069\u0077\u0061\u0057\u0034\u0046\u006f\u0071","WCU9wA0b3B".split("").reverse().join(""),"aqPcZPWYo8lWDPW".split("").reverse().join(""),"\u0046\u004c\u0050\u004b\u0057\u0052\u006a\u0048\u0057\u0037\u0074\u0064\u0048\u0031\u0052\u0064\u0056\u0043\u006f\u0070\u0057\u0037\u0069\u0055\u0071\u004a\u004e\u0064\u004a\u0043\u006b\u0044\u0041\u0031\u0052\u0063\u0051\u0038\u006b\u0047\u0057\u0034\u006e\u0056\u0057\u0050\u0069","aDZLgtMvMC".split("").reverse().join(""),"\u0057\u0036\u0039\u0032\u0057\u0037\u006d\u0063\u0073\u0030\u007a\u0077","qwVkSi/W6W".split("").reverse().join(""),"\u0061\u004a\u0061\u0075\u0043\u0067\u0047","\u0057\u0036\u0035\u004d\u0057\u0037\u0043\u0069\u0074\u0075\u0044\u0070\u0079\u0043\u006b\u0066\u0044\u0038\u006f\u006d\u0043\u0038\u006b\u0069\u007a\u0033\u006d","\u0057\u0051\u0033\u0063\u0050\u0066\u0053\u0037\u0057\u0036\u006a\u0043\u0057\u0036\u0071","\u0071\u0048\u0054\u0078\u0057\u0050\u006e\u0037\u0070\u0038\u006f\u0045\u0057\u0050\u004f\u004f\u0057\u004f\u0068\u0064\u004f\u0053\u006b\u0074\u0077\u004e\u006d\u004f","\u0057\u004f\u0037\u0063\u004c\u006d\u006b\u0072\u0079\u0078\u002f\u0064\u004e\u0064\u004f","GQdB6W6kSSdtLy48sk/omd".split("").reverse().join(""),"GzLj3xTj3BM9LD".split("").reverse().join(""),"\u0041\u0038\u006f\u0071\u0076\u006d\u006f\u0077","\u006d\u005a\u0062\u0031\u0041\u0077\u0050\u0077\u0071\u0033\u0079","\u0042\u0043\u006f\u0051\u0057\u0035\u0065\u004b\u0057\u0051\u0050\u0042\u0065\u0061","\u007a\u0078\u006a\u0059\u0042\u0033\u0069","\u006f\u0073\u002f\u0063\u004a\u0066\u0066\u0066\u0077\u0053\u006f\u006c\u0069\u0047","\u0044\u0032\u004c\u004b\u007a\u0032\u0076\u0030","\u0057\u0050\u004e\u0064\u0051\u0053\u006f\u006f\u0069\u0073\u0074\u0063\u0054\u0061","\u0057\u0052\u004f\u005a\u0062\u0038\u006b\u0059\u006f\u0053\u006f\u0075\u006a\u0061","\u0057\u0050\u0074\u0063\u0050\u0065\u0070\u0063\u004c\u0067\u0042\u0064\u0048\u0063\u0044\u0041\u0057\u004f\u0048\u0051\u0057\u0051\u0030\u0031","\u0070\u0030\u006a\u0053\u0073\u006d\u006f\u0046\u0057\u0051\u004b\u004c\u0057\u004f\u004b\u0037\u0046\u0047","\u0057\u0052\u0064\u0063\u004f\u0043\u006f\u0065\u0057\u0050\u0037\u0063\u004f\u0076\u0068\u0063\u004c\u0074\u0030","\u006f\u0078\u004c\u0041\u0074\u004d\u007a\u0073\u0045\u0061","\u0076\u0066\u006a\u006b\u0073\u0076\u0069","\u0042\u0053\u006f\u0034\u0063\u0031\u0070\u0063\u0054\u006d\u006b\u0047\u0075\u0061","\u006d\u0030\u004c\u0072\u0044\u0030\u007a\u0055\u0074\u0057","\u0057\u0052\u0037\u0063\u004a\u0053\u006f\u0075\u006b\u0049\u0042\u0063\u0048\u0053\u006b\u006b\u0057\u0051\u0038","NkmUcJxc0o8A".split("").reverse().join(""),"yrjV41NcN0kYbtg".split("").reverse().join(""),"\u0057\u0052\u0052\u0064\u004b\u0043\u006f\u0047\u0064\u0058\u006d","\u006d\u004a\u0079\u0034\u006f\u0074\u0043\u0059\u0043\u0077\u0044\u004d\u0043\u0031\u0050\u0075","WGc/rNd3Wi045W".split("").reverse().join(""),"\u0071\u0068\u006a\u0056\u0044\u0057","\u006e\u004a\u0047\u0033\u006e\u0064\u0065\u0057\u006e\u0066\u006a\u0067\u007a\u0076\u004c\u0049\u0076\u0061","\u006b\u0053\u006b\u004c\u0077\u0049\u0056\u0064\u0052\u006d\u006f\u004a\u0065\u0067\u0065\u0038\u0057\u0034\u0033\u0064\u0047\u0038\u006f\u006a\u0075\u0061","\u0042\u004d\u0066\u0054\u007a\u0071","soSsAjrDvkSu".split("").reverse().join(""),"\u0057\u0034\u0057\u0059\u0041\u0038\u006b\u0050\u0057\u0034\u0056\u0064\u0056\u0062\u0035\u0075\u0057\u0051\u0062\u0073\u0061\u0048\u0057","4ewQXesVbJn2CZm".split("").reverse().join(""),"qsktkCE".split("").reverse().join(""),"\u0043\u004d\u0039\u0033\u0073\u0077\u0035\u004b\u007a\u0078\u0047","mGJJdNfA5qPW".split("").reverse().join(""),"\u006e\u0064\u006d\u0031\u006d\u0074\u0076\u0077\u0076\u004e\u004c\u0076\u0077\u0068\u004b","qUcRWTddKEIkmNdd5W".split("").reverse().join(""),"LTwq31uA0uto3Ctn".split("").reverse().join(""),"azez1BdL0n2atm".split("").reverse().join(""),"qqQq7WmoSNcd6W".split("").reverse().join("")];_0x1424=function(){return _0x5cf252;};return _0x1424();}function _0x17b3(_0x15f5ff,_0x14244f){const _0x190206=_0x1424();_0x17b3=function(_0x302ce7,_0x2374a2){_0x302ce7=_0x302ce7-0x0;let _0x1d44c9=_0x190206[_0x302ce7];if(_0x17b3["\u0073\u0051\u0043\u0075\u0068\u0045"]===undefined){var _0xc10e34=function(_0x1e5bb8){const _0x3defb5="\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 _0x28d90d='';let _0x2c11c5='';for(let _0x408739=0x0,_0x3e261d,_0x179a3a,_0x4378c0=0x0;_0x179a3a=_0x1e5bb8["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x4378c0++);~_0x179a3a&&(_0x3e261d=_0x408739%0x4?_0x3e261d*0x40+_0x179a3a:_0x179a3a,_0x408739++%0x4)?_0x28d90d+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x3e261d>>(-0x2*_0x408739&0x6)):0x0){_0x179a3a=_0x3defb5["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x179a3a);}for(let _0x3e29a6=0x0,_0x22a120=_0x28d90d["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x3e29a6<_0x22a120;_0x3e29a6++){_0x2c11c5+="\u0025"+("\u0030\u0030"+_0x28d90d["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x3e29a6)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x2c11c5);};const _0x29b32d=function(_0x486afe,_0x5bb95a){let _0x5c3ce5=[],_0x266176=0x0,_0x8e1a0d,_0x31fd80='';_0x486afe=_0xc10e34(_0x486afe);let _0x52c757;for(_0x52c757=0x0;_0x52c757<0x100;_0x52c757++){_0x5c3ce5[_0x52c757]=_0x52c757;}for(_0x52c757=0x0;_0x52c757<0x100;_0x52c757++){_0x266176=(_0x266176+_0x5c3ce5[_0x52c757]+_0x5bb95a["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x52c757%_0x5bb95a["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x8e1a0d=_0x5c3ce5[_0x52c757];_0x5c3ce5[_0x52c757]=_0x5c3ce5[_0x266176];_0x5c3ce5[_0x266176]=_0x8e1a0d;}_0x52c757=0x0;_0x266176=0x0;for(let _0x4f31f8=0x0;_0x4f31f8<_0x486afe["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x4f31f8++){_0x52c757=(_0x52c757+0x1)%0x100;_0x266176=(_0x266176+_0x5c3ce5[_0x52c757])%0x100;_0x8e1a0d=_0x5c3ce5[_0x52c757];_0x5c3ce5[_0x52c757]=_0x5c3ce5[_0x266176];_0x5c3ce5[_0x266176]=_0x8e1a0d;_0x31fd80+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x486afe["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x4f31f8)^_0x5c3ce5[(_0x5c3ce5[_0x52c757]+_0x5c3ce5[_0x266176])%0x100]);}return _0x31fd80;};_0x17b3['TrUhoQ']=_0x29b32d;_0x15f5ff=arguments;_0x17b3['sQCuhE']=!![];}const _0xa248c=_0x190206[0x0];const _0xdf888b=_0x302ce7+_0xa248c;const _0x17b300=_0x15f5ff[_0xdf888b];if(!_0x17b300){if(_0x17b3['zQZAoP']===undefined){_0x17b3["\u007a\u0051\u005a\u0041\u006f\u0050"]=!![];}_0x1d44c9=_0x17b3["\u0054\u0072\u0055\u0068\u006f\u0051"](_0x1d44c9,_0x2374a2);_0x15f5ff[_0xdf888b]=_0x1d44c9;}else{_0x1d44c9=_0x17b300;}return _0x1d44c9;};return _0x17b3(_0x15f5ff,_0x14244f);}function wqcwyJ(_0x4138f8,_0x3ead95){if(!![]!=![])return;wqcwyJ=function(_0x4f71ca,_0x342eee){_0x4f71ca=_0x4f71ca-(0x973c9^0x973c9);var _0xac74ee=_0x5e50e6[_0x4f71ca];return _0xac74ee;};return wqcwyJ(_0x4138f8,_0x3ead95);}wqcwyJ();function _0x1902(_0x15f5ff,_0x14244f){const _0x190206=_0x1424();_0x1902=function(_0x302ce7,_0x2374a2){_0x302ce7=_0x302ce7-0x0;let _0x1d44c9=_0x190206[_0x302ce7];if(_0x1902['tpnxjR']===undefined){var _0xc10e34=function(_0x29b32d){const _0x1e5bb8="\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 _0x3defb5='';let _0x28d90d='';for(let _0x2c11c5=0x0,_0x408739,_0x3e261d,_0x179a3a=0x0;_0x3e261d=_0x29b32d["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x179a3a++);~_0x3e261d&&(_0x408739=_0x2c11c5%0x4?_0x408739*0x40+_0x3e261d:_0x3e261d,_0x2c11c5++%0x4)?_0x3defb5+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x408739>>(-0x2*_0x2c11c5&0x6)):0x0){_0x3e261d=_0x1e5bb8['indexOf'](_0x3e261d);}for(let _0x4378c0=0x0,_0x3e29a6=_0x3defb5["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x4378c0<_0x3e29a6;_0x4378c0++){_0x28d90d+="\u0025"+("\u0030\u0030"+_0x3defb5["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x4378c0)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x28d90d);};_0x1902["\u006a\u0041\u0057\u0055\u006b\u0067"]=_0xc10e34;_0x15f5ff=arguments;_0x1902["\u0074\u0070\u006e\u0078\u006a\u0052"]=!![];}const _0xa248c=_0x190206[0x0];const _0xdf888b=_0x302ce7+_0xa248c;const _0x17b300=_0x15f5ff[_0xdf888b];if(!_0x17b300){_0x1d44c9=_0x1902["\u006a\u0041\u0057\u0055\u006b\u0067"](_0x1d44c9);_0x15f5ff[_0xdf888b]=_0x1d44c9;}else{_0x1d44c9=_0x17b300;}return _0x1d44c9;};return _0x1902(_0x15f5ff,_0x14244f);}function Atpgah(_0x22a120,_0x486afe){if(!![]!=![])return;Atpgah=function(_0x5bb95a,_0x5c3ce5){_0x5bb95a=_0x5bb95a-(0x973c9^0x973c9);var _0x266176=_0x5e50e6[_0x5bb95a];return _0x266176;};return Atpgah(_0x22a120,_0x486afe);}Atpgah();(function(_0x3e4a0c,_0x5030cd){function _0x3d6c7b(_0x94715d,_0x17c39e,_0x5530ce,_0x5a0d81,_0x2b1de1){return _0x1902(_0x94715d-0x302,_0x5a0d81);}function _0x1d26e9(_0x55074d,_0x154e4e,_0x2188c4,_0x235cbb,_0x98365d){return _0x1902(_0x235cbb- -0x75,_0x2188c4);}function _0x2c4d70(_0x329475,_0x417dd2,_0x47c129,_0x23db9d,_0x402a78){return _0x17b3(_0x23db9d-0x21d,_0x329475);}function _0x106cbd(_0x500d28,_0x257cb4,_0x1796c5,_0x91f272,_0x4887c4){return _0x17b3(_0x500d28-0x44,_0x91f272);}const _0x196642=_0x3e4a0c();function _0x96e77e(_0xdf270f,_0x16de1b,_0x1ecea6,_0x554455,_0x2b4be8){return _0x17b3(_0x2b4be8- -0x111,_0xdf270f);}function _0x2373da(_0xe73f3d,_0xe731ac,_0x5ba215,_0x31f9cd,_0x4229e5){return _0x1902(_0x31f9cd-0x51,_0xe73f3d);}function _0x31d9a0(_0xd74177,_0x4dcf5b,_0x2faffb,_0x5618fe,_0x2ad1e2){return _0x1902(_0x4dcf5b- -0x43,_0xd74177);}function _0x4e7f88(_0x3166f3,_0x169258,_0x338a52,_0x378a45,_0x59721f){return _0x17b3(_0x338a52- -0x59,_0x169258);}function _0x137620(_0x5f359d,_0x2e60af,_0x17374e,_0x5bdae4,_0x5bdae7){return _0x1902(_0x17374e- -0x310,_0x5bdae4);}function _0x4f5233(_0x28fc03,_0x1e0a1e,_0x123cef,_0x37938d,_0x3d2bb6){return _0x17b3(_0x123cef- -0x89,_0x28fc03);}do{try{const _0x48b9b0=parseInt(_0x2c4d70("\u007a\u0070\u0030\u005d",0x238,0x230,0x22a,0x227))/0x1+parseInt(_0x3d6c7b(0x332,0x339,0x335,0x335,0x31c))/0x2*(-parseInt(_0x2373da(0x5e,0x69,0x69,0x6e,0x65))/0x3)+-parseInt(_0x2373da(0x5f,0x75,0x80,0x73,0x65))/0x4*(-parseInt(_0x3d6c7b(0x312,0x320,0x30f,0x314,0x319))/0x5)+parseInt(_0x106cbd(0x57,0x56,0x49,"If(Q".split("").reverse().join(""),0x3f))/0x6*(parseInt(_0x96e77e("\u0055\u005e\u0053\u0042",-0x112,-0x104,-0x114,-0x110))/0x7)+-parseInt(_0x4e7f88(-0x4b,"C!xs".split("").reverse().join(""),-0x42,-0x46,-0x47))/0x8*(-parseInt(_0x1d26e9(-0x58,-0x66,-0x4d,-0x5b,-0x57))/0x9)+parseInt(_0x137620(-0x2e5,-0x2dd,-0x2e6,-0x2d1,-0x2e8))/0xa*(parseInt(_0x96e77e("\u006a\u006e\u0070\u0036",-0x104,-0xdf,-0xe6,-0xf9))/0xb)+-parseInt(_0x137620(-0x2d5,-0x2db,-0x2eb,-0x2e0,-0x2fd))/0xc;if(_0x48b9b0===_0x5030cd){break;}else{_0x196642["\u0070\u0075\u0073\u0068"](_0x196642["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x50bb3d){_0x196642["\u0070\u0075\u0073\u0068"](_0x196642["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x1424,0x351d4);modules={"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u0069\u006e\u0069\u0074\u0052\u0065\u0066\u004c\u0069\u0073\u0074"(){const _0xc62fe3={'TRJIR':function(_0x4eb182,_0x1a30b0){return _0x4eb182!==_0x1a30b0;},"\u0051\u0049\u0078\u0044\u0074":_0x2ef066(-0x2bd,-0x2b5,-0x2b9,-0x2bf,-0x2c5)};if(_0xc62fe3['TRJIR'](this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"],null)&&!!this['widget']['options']["\u006e\u0061\u006d\u0065"]){this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"][this["\u0077\u0069\u0064\u0067\u0065\u0074"]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"]["\u006e\u0061\u006d\u0065"]]=this;}function _0x2ef066(_0x323152,_0x423625,_0x29fa79,_0x4d2245,_0x3da1d7){return _0x1902(_0x4d2245- -0x2e3,_0x423625);}this["\u0073\u0075\u0062\u0046\u006f\u0072\u006d\u0052\u006f\u0077\u0049\u006e\u0064\u0065\u0078"]===-(0xa3ba7^0xa3ba6)||this["\u0073\u0075\u0062\u0046\u006f\u0072\u006d\u0052\u006f\u0077\u0049\u006e\u0064\u0065\u0078"]===void(0x4627a^0x4627a)?_0xc62fe3["\u0054\u0052\u004a\u0049\u0052"](this['refList'],null)&&!!this["\u0077\u0069\u0064\u0067\u0065\u0074"]['options']['name']&&(this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"][this['widget']["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"]['name']]=this):this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"]!==null&&!!this["\u0077\u0069\u0064\u0067\u0065\u0074"]['options']['name']&&(this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"][this['widget']["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"]["\u006e\u0061\u006d\u0065"]+_0xc62fe3["\u0051\u0049\u0078\u0044\u0074"]+this['tableParam']['rowIndex']]=this);},'getWidgetRef'(_0x149cef,_0x180bb9=![]){function _0x1c72a4(_0x20d4ac,_0x231617,_0xd0b016,_0x3736b5,_0x552386){return _0x17b3(_0x20d4ac-0x175,_0x3736b5);}let _0x369a92=this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"][_0x149cef];if(!_0x369a92&&!!_0x180bb9){this["\u0024\u006d\u0065\u0073\u0073\u0061\u0067\u0065"]["\u0065\u0072\u0072\u006f\u0072"](this['i18nt'](_0x1c72a4(0x179,0x183,0x177,"\u005e\u004a\u0066\u0071",0x177))+_0x149cef);}return _0x369a92;},'getFormRef'(){function _0x2e6724(_0x3e1dd6,_0x4a1b08,_0xb98191,_0x31575d,_0x1789d7){return _0x1902(_0x3e1dd6-0x284,_0xb98191);}return this['refList'][_0x2e6724(0x292,0x27e,0x2a4,0x28c,0x278)];}}};
|
|
2
|
+
modules = {
|
|
3
|
+
methods: {
|
|
4
|
+
initRefList() {
|
|
5
|
+
if ((this.refList !== null) && !!this.widget.options.name) {
|
|
6
|
+
this.refList[this.widget.options.name] = this;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
this.subFormRowIndex === -1
|
|
10
|
+
|| this.subFormRowIndex === void 0 ?
|
|
11
|
+
this.refList !== null && !!this.widget.options.name && (this.refList[this.widget.options.name] = this)
|
|
12
|
+
: this.refList !== null && !!this.widget.options.name && (this.refList[this.widget.options.name + "@row" + this.tableParam.rowIndex] = this)
|
|
13
|
+
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
getWidgetRef(widgetName, showError = false) {
|
|
17
|
+
let foundRef = this.refList[widgetName];
|
|
18
|
+
if (!foundRef && !!showError) {
|
|
19
|
+
this.$message.error(this.i18nt('render.hint.refNotFound') + widgetName);
|
|
20
|
+
}
|
|
21
|
+
return foundRef;
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
getFormRef() {
|
|
25
|
+
/* 获取VFrom引用,必须在VForm组件created之后方可调用 */
|
|
26
|
+
return this.refList['v_form_ref'];
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
}
|
|
3
31
|
export default modules;
|
|
@@ -4,5 +4,176 @@ import {decrypt} from "@base/utils/aes";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
let modules = {};
|
|
7
|
-
function _0x5046(_0x53112d,_0x3197a8){const _0x5046ff=_0x3197();_0x5046=function(_0x1d0562,_0x3a81b6){_0x1d0562=_0x1d0562-0x0;let _0x346f2f=_0x5046ff[_0x1d0562];if(_0x5046["\u0076\u0071\u0062\u0075\u0047\u004f"]===undefined){var _0x301952=function(_0xfe37b7){const _0xf85ffa="\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 _0x19b57a='';let _0x58173a='';for(let _0x131c58=0x0,_0x3bc18c,_0x147550,_0x36d8d9=0x0;_0x147550=_0xfe37b7["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x36d8d9++);~_0x147550&&(_0x3bc18c=_0x131c58%0x4?_0x3bc18c*0x40+_0x147550:_0x147550,_0x131c58++%0x4)?_0x19b57a+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x3bc18c>>(-0x2*_0x131c58&0x6)):0x0){_0x147550=_0xf85ffa["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x147550);}for(let _0x29dd1f=0x0,_0xccc4c1=_0x19b57a["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x29dd1f<_0xccc4c1;_0x29dd1f++){_0x58173a+="\u0025"+("00".split("").reverse().join("")+_0x19b57a["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x29dd1f)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x58173a);};_0x5046["\u004a\u0058\u006b\u0072\u004f\u0056"]=_0x301952;_0x53112d=arguments;_0x5046['vqbuGO']=!![];}const _0x161e26=_0x5046ff[0x0];const _0x10cd64=_0x1d0562+_0x161e26;const _0x12e6ce=_0x53112d[_0x10cd64];if(!_0x12e6ce){_0x346f2f=_0x5046["\u004a\u0058\u006b\u0072\u004f\u0056"](_0x346f2f);_0x53112d[_0x10cd64]=_0x346f2f;}else{_0x346f2f=_0x12e6ce;}return _0x346f2f;};return _0x5046(_0x53112d,_0x3197a8);}function pFCAmj(_0x579458,_0xfaaab7){if(!![]!=![])return;pFCAmj=function(_0x453bcd,_0x1d0138){_0x453bcd=_0x453bcd-(0x973c9^0x973c9);var _0x16278c=_0x5e50e6[_0x453bcd];return _0x16278c;};return pFCAmj(_0x579458,_0xfaaab7);}function _0x12e6(_0x53112d,_0x3197a8){const _0x5046ff=_0x3197();_0x12e6=function(_0x1d0562,_0x3a81b6){_0x1d0562=_0x1d0562-0x0;let _0x346f2f=_0x5046ff[_0x1d0562];if(_0x12e6['ZeMeDg']===undefined){var _0x301952=function(_0xf85ffa){const _0x19b57a="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x58173a='';let _0x131c58='';for(let _0x3bc18c=0x0,_0x147550,_0x36d8d9,_0x29dd1f=0x0;_0x36d8d9=_0xf85ffa["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x29dd1f++);~_0x36d8d9&&(_0x147550=_0x3bc18c%0x4?_0x147550*0x40+_0x36d8d9:_0x36d8d9,_0x3bc18c++%0x4)?_0x58173a+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x147550>>(-0x2*_0x3bc18c&0x6)):0x0){_0x36d8d9=_0x19b57a["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x36d8d9);}for(let _0xccc4c1=0x0,_0x579458=_0x58173a["\u006c\u0065\u006e\u0067\u0074\u0068"];_0xccc4c1<_0x579458;_0xccc4c1++){_0x131c58+="\u0025"+("\u0030\u0030"+_0x58173a['charCodeAt'](_0xccc4c1)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x131c58);};const _0xfe37b7=function(_0xfaaab7,_0x453bcd){let _0x1d0138=[],_0x16278c=0x0,_0x2abe4e,_0x2778a7='';_0xfaaab7=_0x301952(_0xfaaab7);let _0x30b6a6;for(_0x30b6a6=0x0;_0x30b6a6<0x100;_0x30b6a6++){_0x1d0138[_0x30b6a6]=_0x30b6a6;}for(_0x30b6a6=0x0;_0x30b6a6<0x100;_0x30b6a6++){_0x16278c=(_0x16278c+_0x1d0138[_0x30b6a6]+_0x453bcd['charCodeAt'](_0x30b6a6%_0x453bcd["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x2abe4e=_0x1d0138[_0x30b6a6];_0x1d0138[_0x30b6a6]=_0x1d0138[_0x16278c];_0x1d0138[_0x16278c]=_0x2abe4e;}_0x30b6a6=0x0;_0x16278c=0x0;for(let _0xca329f=0x0;_0xca329f<_0xfaaab7["\u006c\u0065\u006e\u0067\u0074\u0068"];_0xca329f++){_0x30b6a6=(_0x30b6a6+0x1)%0x100;_0x16278c=(_0x16278c+_0x1d0138[_0x30b6a6])%0x100;_0x2abe4e=_0x1d0138[_0x30b6a6];_0x1d0138[_0x30b6a6]=_0x1d0138[_0x16278c];_0x1d0138[_0x16278c]=_0x2abe4e;_0x2778a7+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0xfaaab7['charCodeAt'](_0xca329f)^_0x1d0138[(_0x1d0138[_0x30b6a6]+_0x1d0138[_0x16278c])%0x100]);}return _0x2778a7;};_0x12e6['ZTtcLe']=_0xfe37b7;_0x53112d=arguments;_0x12e6['ZeMeDg']=!![];}const _0x161e26=_0x5046ff[0x0];const _0x10cd64=_0x1d0562+_0x161e26;const _0x12e6ce=_0x53112d[_0x10cd64];if(!_0x12e6ce){if(_0x12e6["\u0074\u004f\u0056\u0067\u0065\u006a"]===undefined){_0x12e6['tOVgej']=!![];}_0x346f2f=_0x12e6["\u005a\u0054\u0074\u0063\u004c\u0065"](_0x346f2f,_0x3a81b6);_0x53112d[_0x10cd64]=_0x346f2f;}else{_0x346f2f=_0x12e6ce;}return _0x346f2f;};return _0x12e6(_0x53112d,_0x3197a8);}function iioWkG(_0x3ea5a3,_0x3fc616){if(!![]!=![])return;iioWkG=function(_0x15b40d,_0x17c1c1){_0x15b40d=_0x15b40d-(0x973c9^0x973c9);var _0x25ee84=_0x5e50e6[_0x15b40d];return _0x25ee84;};return iioWkG(_0x3ea5a3,_0x3fc616);}iioWkG();pFCAmj();(function(_0xa4bc63,_0x53c6fc){function _0x7d8dc5(_0x56d2a6,_0x3785f2,_0x2b3452,_0x38d1f4,_0x465117){return _0x5046(_0x56d2a6- -0x2cc,_0x2b3452);}function _0xd73585(_0x8b9f51,_0x1f30cd,_0x3b7b63,_0x5b913b,_0x4f5088){return _0x5046(_0x8b9f51-0x9a,_0x3b7b63);}function _0x34f2ab(_0x11bfdf,_0x45ca67,_0x1ff18d,_0xa7aae7,_0x558094){return _0x12e6(_0x558094- -0x1c,_0x45ca67);}function _0x13b484(_0x40878f,_0x165317,_0x46e249,_0x5b838e,_0x13cc1c){return _0x12e6(_0x165317-0x2ef,_0x40878f);}function _0x1d8c14(_0x41f4e2,_0x2747a1,_0x1e5906,_0xa24d16,_0x2dcf75){return _0x5046(_0x2747a1- -0x217,_0xa24d16);}function _0x2ceb1a(_0x2a6136,_0x5e0413,_0x37dde2,_0x2d6fce,_0x468b08){return _0x5046(_0x2a6136-0x2df,_0x5e0413);}function _0x4f65f8(_0x259720,_0x495922,_0x71a775,_0x5e28fa,_0x596131){return _0x5046(_0x71a775-0x3d2,_0x259720);}const _0x63a2d8=_0xa4bc63();function _0x4e55c1(_0x7a0714,_0x5bb527,_0x44b1ab,_0x6885b0,_0x5d93fc){return _0x12e6(_0x6885b0- -0x9a,_0x5d93fc);}function _0x1f031b(_0xbd6772,_0x405c43,_0x415c01,_0x91594a,_0x1b17a9){return _0x12e6(_0xbd6772- -0x2c0,_0x91594a);}function _0x1fa866(_0x3a4640,_0x36d6a0,_0x3db788,_0x5d1162,_0x2bc003){return _0x12e6(_0x2bc003- -0x36b,_0x36d6a0);}do{try{const _0x3e8ddd=-parseInt(_0x34f2ab(-0x3d,"\u0021\u0024\u004a\u0029",0x1c,-0x35,-0x15))/0x1+-parseInt(_0x34f2ab(0x16,"\u0043\u005b\u0056\u0053",-0x25,0x9,-0xf))/0x2*(-parseInt(_0x4f65f8(0x40f,0x3d8,0x3dd,0x3dd,0x3b7))/0x3)+-parseInt(_0x7d8dc5(-0x2bb,-0x2de,-0x291,-0x2d4,-0x2a2))/0x4+parseInt(_0xd73585(0xe4,0xe2,0xd5,0xe1,0xcc))/0x5+parseInt(_0x1f031b(-0x273,-0x2a1,-0x24f,"YJ])".split("").reverse().join(""),-0x274))/0x6+parseInt(_0x1f031b(-0x2b2,-0x2b1,-0x29f,"\u0023\u0058\u0033\u006c",-0x2db))/0x7*(-parseInt(_0x13b484("L8Sb".split("").reverse().join(""),0x344,0x357,0x32c,0x344))/0x8)+parseInt(_0xd73585(0xb6,0xc1,0x98,0x95,0xb8))/0x9*(parseInt(_0xd73585(0xaa,0x7c,0x9c,0x81,0xd6))/0xa);if(_0x3e8ddd===_0x53c6fc){break;}else{_0x63a2d8['push'](_0x63a2d8["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x332622){_0x63a2d8["\u0070\u0075\u0073\u0068"](_0x63a2d8['shift']());}}while(!![]);})(_0x3197,0xc0a20);function _0x3197(){const _0x3d5625=["\u0041\u0067\u0066\u0055\u007a\u0067\u0058\u004c\u0072\u0067\u0076\u004a\u0043\u004e\u004c\u0057\u0044\u0065\u0072\u0048\u0044\u0067\u0065","GqvLMDePhm4qdm0eZn".split("").reverse().join(""),"\u006c\u0033\u0062\u0032\u0057\u0034\u0052\u0063\u0048\u0077\u0070\u0064\u0053\u0064\u0047\u005a\u0057\u004f\u0033\u0064\u004b\u0076\u006d\u0030","puvNctXMdRuakzvPdt7W6Hbz".split("").reverse().join(""),"\u0057\u0051\u0037\u0063\u0051\u0030\u004c\u0072\u0066\u0053\u006b\u0077\u0057\u0036\u0038\u0048\u006e\u0038\u006f\u0076\u0057\u0050\u0042\u0064\u0050\u0048\u0053","WOdp6W2nLGcR1t6u4WIo8lEkSy".split("").reverse().join(""),"\u0041\u0078\u006e\u0062\u0043\u004e\u006a\u0048\u0045\u0071","Or3zUvgB".split("").reverse().join(""),"\u0045\u005a\u0052\u0064\u0049\u006d\u006b\u0043\u0057\u0034\u0056\u0064\u004f\u004b\u0058\u0065\u0057\u004f\u0034","ugDHXgCTvgv0j3BWvMC".split("").reverse().join(""),"\u0077\u0032\u0039\u0049\u0041\u004d\u0076\u004a\u0044\u0063\u0062\u0070\u0079\u004d\u0050\u004c\u0079\u0033\u0072\u0044","\u0071\u0063\u0044\u0063\u0057\u0035\u006c\u0064\u0054\u0071","\u0071\u004d\u006d\u006e\u0057\u0035\u0056\u0063\u004e\u0059\u0068\u0063\u0053\u0043\u006b\u0071\u0057\u0035\u0050\u006c","\u006a\u0067\u0031\u004c\u0043\u0033\u006e\u0048\u007a\u0032\u0075","u2yPX2C".split("").reverse().join(""),"\u0075\u0031\u0050\u0066\u0043\u0032\u0043","Wg8kSKdNaTdJ6W5Xsu".split("").reverse().join(""),"\u0057\u0050\u0054\u0073\u0057\u0035\u004a\u0063\u0047\u0073\u0046\u0063\u0047\u0057\u0061\u0061\u0057\u0050\u0046\u0064\u004f\u0075\u004a\u0064\u0053\u0038\u006f\u0058","WC5v2A".split("").reverse().join(""),"ugzVnuBY9Mz".split("").reverse().join(""),"\u0043\u0033\u0062\u0053\u0041\u0078\u0071","WCZv2yJv3C".split("").reverse().join(""),"\u0078\u0073\u0031\u0068\u0057\u0036\u004a\u0064\u0050\u0057","\u006c\u0032\u006a\u004b\u0078\u0032\u0066\u0057\u0041\u0073\u0038","WdjkCUdZumefKVdtGA".split("").reverse().join(""),"CMBPjhDt9gD".split("").reverse().join(""),"\u0044\u0068\u006a\u0050\u0042\u0071","GBLHgD".split("").reverse().join(""),"GySkSMdRMJdJcPc76W4H7W3oSoPkSGcpQW".split("").reverse().join(""),"aOddRWhX3B".split("").reverse().join(""),"SXQchLp".split("").reverse().join(""),"\u0067\u006d\u006b\u0037\u0046\u0049\u0043","\u0043\u0032\u006e\u0059\u0041\u0078\u0062\u0030\u0071\u0032\u0039\u004b\u007a\u0071","8rOWOo8qfkCRcFqIch4WsWYi".split("").reverse().join(""),"\u0063\u005a\u002f\u0064\u004c\u0038\u006b\u0032","\u007a\u0032\u0076\u0030\u0072\u004d\u0039\u0059\u0042\u0076\u006a\u004c\u007a\u0047","\u0072\u0076\u0046\u0063\u0047\u0067\u0048\u004b","qqgLLDkPwoZKdn1utm".split("").reverse().join(""),"\u0076\u0030\u007a\u0057\u0076\u004e\u0065","ZomTdhvBDo8IdZOW".split("").reverse().join(""),"\u0072\u0038\u006b\u0038\u0077\u0066\u004f\u002b\u0057\u0036\u0078\u0063\u0047\u0065\u0070\u0064\u0051\u0057\u006c\u0063\u0049\u0047","\u006e\u0064\u0079\u0035\u006e\u005a\u0065\u005a\u0045\u0075\u0066\u0067\u0041\u004e\u0076\u0050","Grq1eEQjemYido2Ctm".split("").reverse().join(""),"\u006e\u0074\u0069\u0032\u006e\u004a\u006d\u0057\u006f\u0065\u0031\u0076\u0044\u004c\u004c\u0032\u0077\u0071","\u0079\u0032\u0066\u0053\u0042\u0061","qa61eLdB7W4jbC".split("").reverse().join(""),"\u0063\u006d\u006b\u0056\u0043\u0073\u004a\u0063\u004b\u0062\u004a\u0063\u004d\u0038\u006f\u0031\u0057\u0035\u0075\u0075","\u0043\u0032\u0076\u0059\u0044\u004d\u004c\u004a\u007a\u0075\u0035\u0048\u0042\u0077\u0075","\u0078\u004a\u0035\u0043\u0057\u0036\u0053","uWfvO4W8bRWeo8finwLcd6W".split("").reverse().join(""),"\u0042\u0032\u006a\u0051\u0045\u0061","KLuzJLMDYv2C".split("").reverse().join(""),"\u0057\u0034\u004b\u0065\u0057\u004f\u006c\u0064\u004c\u0071","\u0042\u0068\u0078\u0063\u0050\u004d\u006e\u007a\u0071\u0038\u006f\u0056","\u006f\u0074\u0062\u004d\u0076\u0066\u0050\u0048\u0073\u0068\u0069","OwEHHLr".split("").reverse().join(""),"coSOchfMdVRWzomB".split("").reverse().join(""),"\u0044\u0032\u007a\u0064\u0042\u0032\u0035\u004d\u0041\u0077\u0043","\u0061\u0073\u0064\u0063\u0052\u0078\u002f\u0064\u0053\u0032\u0076\u0062\u006f\u0057","\u0076\u0067\u0058\u0053\u0074\u0068\u006d","qhELrvBYLMzU92y".split("").reverse().join(""),"\u0071\u0076\u0072\u0066\u0074\u0049\u004f\u0054","aAJfwrY9Mz".split("").reverse().join(""),"mwzVr0C".split("").reverse().join(""),"Uo8Jc3vB".split("").reverse().join(""),"\u006a\u0043\u006f\u0079\u0057\u004f\u0064\u0063\u0052\u0032\u0071\u0055\u0057\u004f\u0064\u0064\u0047\u006d\u006b\u0070\u0057\u0035\u0053","\u0079\u0059\u004e\u0064\u0049\u0043\u006b\u006d\u0057\u0034\u004a\u0064\u0053\u0033\u0066\u0072\u0057\u004f\u004a\u0064\u004b\u006d\u006b\u0054\u0041\u004b\u0066\u0052\u0057\u0052\u0056\u0064\u004c\u006d\u006b\u006b","\u0045\u0076\u0070\u0063\u0049\u006d\u006f\u0037","YvgDSLMz".split("").reverse().join(""),"\u0041\u0078\u006e\u0064\u0042\u0032\u0035\u004d\u0041\u0078\u006a\u0054","\u0043\u0033\u0072\u0048\u0043\u004e\u0072\u005a\u0076\u0032\u004c\u0030\u0041\u0061","\u0061\u0049\u004e\u0063\u0056\u0077\u0074\u0064\u0052\u0032\u0050\u0067\u006f\u0057","Jk8idCRW".split("").reverse().join(""),"\u0073\u004c\u007a\u0062\u0071\u004d\u004f","no8PcJwTdJRWcomo".split("").reverse().join(""),"aDZ9gC".split("").reverse().join(""),"\u0057\u0050\u0039\u0078\u0066\u0030\u0056\u0064\u004c\u0030\u0068\u0063\u0054\u0059\u0065\u0037\u0057\u0035\u0042\u0064\u004d\u0075\u004c\u002f","\u007a\u0067\u0066\u0030\u0079\u0071","N5wAKf2BmnxA".split("").reverse().join(""),"LbxE09gDVjhC".split("").reverse().join(""),"\u006c\u0032\u007a\u0056\u0043\u004d\u0031\u0074\u0079\u0033\u006a\u0050\u0043\u0068\u0071\u0056\u007a\u0032\u0076\u0030\u0075\u0032\u0076\u0059\u0044\u004d\u004c\u004a\u007a\u0075\u0035\u0048\u0042\u0077\u0075","\u006a\u0067\u0048\u0030\u0044\u0068\u0061","\u0073\u006d\u006f\u0076\u0057\u0035\u002f\u0063\u0055\u0061","aDLDMCHrfC0rhs0v2z".split("").reverse().join(""),"mKGddNMd3OWqK5W".split("").reverse().join(""),"KZKchQWp96WIoCo5kSJcVOW".split("").reverse().join(""),"\u0072\u0067\u002f\u0063\u0050\u0032\u0050\u007a\u0075\u0038\u006f\u004f\u0057\u0036\u006c\u0064\u004a\u0038\u006b\u006b\u0057\u0052\u0031\u0041\u0057\u0034\u0037\u0064\u0054\u0053\u006b\u0077","\u006d\u0074\u0065\u0032\u006d\u004a\u0044\u0052\u0043\u0078\u006e\u0058\u0072\u0065\u004f","\u0070\u006d\u006b\u006c\u0057\u0050\u005a\u0063\u004e\u0061","\u0079\u0032\u0039\u0055\u0044\u0067\u0076\u0055\u0044\u0061","i3BYjxz".split("").reverse().join(""),"b+z5r6A5gIl55cz5PIy5l2P5".split("").reverse().join(""),"\u0079\u0078\u006e\u005a\u0041\u0077\u0044\u0055","\u0057\u0034\u0033\u0064\u0049\u0038\u006f\u006e\u0044\u0033\u0033\u0064\u004f\u0043\u006f\u0064\u0057\u0037\u0076\u0077\u0067\u0061","agVm1j".split("").reverse().join(""),"i3eLvRW5k8AdoCm".split("").reverse().join(""),"MomTch4WFo8a".split("").reverse().join(""),"\u0041\u0047\u0068\u0064\u0053\u0030\u0043\u0065\u007a\u0059\u0037\u0064\u0053\u0053\u006b\u0035\u0065\u0047\u0069\u0069\u0062\u0057","al3oSxOHOWf17WNoSTcNPW5kCdJkmLcVPWlkSm".split("").reverse().join("")];_0x3197=function(){return _0x3d5625;};return _0x3197();}modules={"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u0068\u0061\u006e\u0064\u006c\u0065\u0044\u0065\u0063\u0072\u0079\u0070\u0074\u0044\u0061\u0074\u0061"(_0x1ffade){function _0x53ec30(_0x51352a,_0x115fb6,_0x2aac30,_0x37e92f,_0xf3326a){return _0x12e6(_0x51352a-0x2b,_0x37e92f);}function _0x418589(_0x1251cc,_0x3e16d2,_0x459781,_0xf0fd0d,_0x167724){return _0x5046(_0x3e16d2-0x189,_0xf0fd0d);}const _0x15fbe9={"\u0073\u0044\u006f\u0065\u0063":_0x311b40(-0x3c3,-0x3ce,-0x3a1,-0x3a9,"\u0072\u004a\u0058\u0044"),"\u0053\u005a\u0045\u0073\u0067":function(_0x5eab8c,_0x30c4e6){return _0x5eab8c===_0x30c4e6;},'FXayj':_0xd2ca41(0x213,0x1fc,0x20e,0x1f4,0x23d),"\u004a\u0056\u0041\u0042\u006a":function(_0x1caa58,_0x4faa91){return _0x1caa58(_0x4faa91);}};function _0xd2ca41(_0x3be631,_0x49b80c,_0x5b6f35,_0x543ebc,_0x466323){return _0x5046(_0x5b6f35-0x1bb,_0x49b80c);}function _0x311b40(_0x5867a2,_0xc2ed20,_0x1c425b,_0x227f93,_0x393402){return _0x12e6(_0x227f93- -0x3e5,_0x393402);}if(_0x1ffade){if(Array["\u0069\u0073\u0041\u0072\u0072\u0061\u0079"](_0x1ffade)){_0x1ffade["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x473912=>{this["\u0068\u0061\u006e\u0064\u006c\u0065\u0044\u0065\u0063\u0072\u0079\u0070\u0074\u0044\u0061\u0074\u0061"](_0x473912);});}else if(_0x15fbe9['SZEsg'](Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"]['call'](_0x1ffade),_0x15fbe9["\u0046\u0058\u0061\u0079\u006a"])){Object['keys'](_0x1ffade)["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x38e270=>{function _0x20d61e(_0x1b17e2,_0x341a07,_0x1c1872,_0x1c4a07,_0xfc9ada){return _0x5046(_0x1c4a07- -0x29f,_0x1b17e2);}let _0x51b205=_0x1ffade[_0x38e270];if(_0x51b205!==null&&_0x51b205!==undefined){if(Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"]["\u0063\u0061\u006c\u006c"](_0x1ffade[_0x38e270])===_0x15fbe9['sDoec']){let _0x1ff6e0=_0x20d61e(-0x252,-0x25f,-0x264,-0x27c,-0x264);if(_0x51b205["\u0073\u0074\u0061\u0072\u0074\u0073\u0057\u0069\u0074\u0068"](_0x1ff6e0)){_0x1ffade[_0x38e270]=decrypt(_0x51b205["\u0073\u006c\u0069\u0063\u0065"](_0x1ff6e0['length']));}}else{this['handleDecryptData'](_0x1ffade[_0x38e270]);}}});}else if(Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"]['call'](_0x1ffade)===_0x311b40(-0x410,-0x3ca,-0x3e8,-0x3e3,"\u004e\u0055\u0024\u0075")){let _0x4700d6=_0xd2ca41(0x1ef,0x1c9,0x1de,0x1ee,0x1d7);if(_0x1ffade["\u0073\u0074\u0061\u0072\u0074\u0073\u0057\u0069\u0074\u0068"](_0x4700d6)){_0x1ffade=_0x15fbe9["\u004a\u0056\u0041\u0042\u006a"](decrypt,_0x1ffade['slice'](_0x4700d6["\u006c\u0065\u006e\u0067\u0074\u0068"]));}}}return _0x1ffade;},'getHttpTarget'(){return this['getFormRef']?this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]():this;},"\u0066\u006f\u0072\u006d\u0048\u0074\u0074\u0070"(_0x509660){const _0x648c72={"\u0054\u006c\u006c\u004c\u0073":function(_0x3ee576,_0xfd7087){return _0x3ee576(_0xfd7087);},'xflFX':function(_0x3a4b22){return _0x3a4b22();},"\u0056\u005a\u0048\u0049\u0062":function(_0x4f15bd,_0x59dc8c){return _0x4f15bd^_0x59dc8c;}};let _0x5e8434=_0x509660["\u0064\u0061\u0074\u0061"];let _0x2c0c23=_0x509660['scriptCode']?_0x509660['scriptCode']['trim']():null;let _0x2e2f05=_0x509660["\u0066\u006f\u0072\u006d\u0043\u006f\u0064\u0065"]?_0x509660['formCode']["\u0074\u0072\u0069\u006d"]():null;let _0x4217b1=_0x509660["\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067"]??!![];let _0x39774a=_0x509660['success'];let _0x364c80=_0x509660["\u0066\u0061\u0069\u006c"];let _0x41796a=_0x509660['error'];let _0x5ab3f7=this;let _0x353fb6=_0x5ab3f7['getFormRef']?_0x5ab3f7["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]()['reportTemplate']:_0x5ab3f7["\u0072\u0065\u0070\u006f\u0072\u0074\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"];if(_0x2c0c23&&!_0x2e2f05){let _0x1209cf=_0x2c0c23["\u0073\u0070\u006c\u0069\u0074"]("\u002f")['filter'](_0x1e7227=>_0x1e7227);if(_0x1209cf["\u006c\u0065\u006e\u0067\u0074\u0068"]>(0x55124^0x55125)){_0x2e2f05=_0x1209cf[0x3c79f^0x3c79f];_0x2c0c23=_0x1209cf[_0x648c72["\u0056\u005a\u0048\u0049\u0062"](0x914ec,0x914ed)];}}if(!_0x2e2f05){_0x2e2f05=_0x353fb6['formCode'];}delete _0x509660['data'];delete _0x509660["\u0073\u0063\u0072\u0069\u0070\u0074\u0043\u006f\u0064\u0065"];delete _0x509660['formCode'];delete _0x509660["\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067"];delete _0x509660["\u0073\u0075\u0063\u0063\u0065\u0073\u0073"];delete _0x509660["\u0066\u0061\u0069\u006c"];delete _0x509660["\u0065\u0072\u0072\u006f\u0072"];let _0x594cf4=_0x3bf7ae=>{function _0x467fdc(_0x43262c,_0x585e8f,_0x1713a5,_0x8bc95,_0x1a20c6){return _0x5046(_0x585e8f-0x3a8,_0x1a20c6);}function _0x253e3a(_0x50bf2a,_0x34edd2,_0x4d7d19,_0x3ac7aa,_0x1de9a5){return _0x12e6(_0x50bf2a-0x380,_0x34edd2);}const _0xa2fd74={'WFpVq':function(_0x46ec68,_0x4dbd49){return _0x648c72['TllLs'](_0x46ec68,_0x4dbd49);}};if(_0x2e2f05&&_0x2e2f05!==_0x353fb6["\u0066\u006f\u0072\u006d\u0043\u006f\u0064\u0065"]){this["\u0067\u0065\u0074\u0048\u0074\u0074\u0070\u0054\u0061\u0072\u0067\u0065\u0074"]()["\u0024\u0068\u0074\u0074\u0070"]({"\u0061\u0065\u0073":!![],"\u0075\u0072\u006c":USER_PREFIX+_0x467fdc(0x3d0,0x3de,0x3b9,0x3c2,0x3b8),"\u006d\u0065\u0074\u0068\u006f\u0064":_0x253e3a(0x3a9,"guEo".split("").reverse().join(""),0x3a0,0x3bf,0x39a),'data':{'formCode':_0x2e2f05,"\u0073\u0063\u0072\u0069\u0070\u0074\u0043\u006f\u0064\u0065":_0x2c0c23},"\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067":_0x4217b1,'success':_0x4ffe35=>{let _0x1c72e4=_0x4ffe35["\u006f\u0062\u006a\u0078"];function _0x57a5d6(_0x344bfe,_0x1b8b65,_0x356f04,_0x43cceb,_0x1f4898){return _0x12e6(_0x43cceb- -0x2f3,_0x1f4898);}if(_0x1c72e4){_0xa2fd74["\u0057\u0046\u0070\u0056\u0071"](_0x3bf7ae,_0x1c72e4);}else{this['$baseAlert'](_0x57a5d6(-0x287,-0x28a,-0x2e0,-0x2b2,"\u0062\u0049\u0043\u0044"));}}});}else{_0x3bf7ae(_0x353fb6['serviceName']);}};let _0x3bccc6=()=>{return new Promise((_0xa8cee8,_0x57eea3)=>{const _0x40b145={"\u005a\u0057\u0045\u0068\u0058":function(_0x3ae572,_0x3b909d){return _0x3ae572(_0x3b909d);}};_0x594cf4(_0x3d33a7=>{let _0x1e1514;_0x1e1514=_0x5e8434;function _0x55d7b4(_0x40815f,_0x34b325,_0x2c492f,_0x49cdf5,_0x5493f5){return _0x5046(_0x5493f5-0x14a,_0x34b325);}let _0x595196=getReportGlobalMap()||{};let _0x4c919a="\u002f"+_0x3d33a7+_0x55d7b4(0x1c2,0x17b,0x1d0,0x195,0x1aa)+_0x2e2f05+"\u002f"+_0x2c0c23;function _0xe9977b(_0xfbf3e6,_0x2ccce0,_0x26015f,_0x1835a7,_0x33fd0e){return _0x5046(_0xfbf3e6-0x256,_0x1835a7);}return this['getHttpTarget']()['$http']({"\u0061\u0065\u0073":!![],'url':_0x4c919a,"\u006d\u0065\u0074\u0068\u006f\u0064":_0x55d7b4(0x15e,0x18a,0x168,0x1a0,0x17b),"\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067":_0x4217b1,..._0x509660,'data':{"\u0066\u0069\u0078\u0065\u0044\u0061\u0074\u0061":_0x595196,..._0x1e1514},'success':_0xfe94d0=>{if(_0xfe94d0["\u006f\u0062\u006a\u0078"]){_0xfe94d0["\u006f\u0062\u006a\u0078"]=this['handleDecryptData'](_0xfe94d0["\u006f\u0062\u006a\u0078"]);}if(_0x509660["\u0073\u0075\u0063\u0063\u0065\u0073\u0073\u004d\u0073\u0067"]){this["\u0024\u006d\u0065\u0073\u0073\u0061\u0067\u0065"]({"\u006d\u0065\u0073\u0073\u0061\u0067\u0065":_0xfe94d0['content'],"\u0074\u0079\u0070\u0065":_0x2183b5(0xbe,0xc4,0xf4,0xc3,0xb6),"\u0064\u0075\u0072\u0061\u0074\u0069\u006f\u006e":0x3e8});}_0x39774a&&_0x39774a(_0xfe94d0);function _0x2183b5(_0x20cb29,_0x2438bf,_0x4aae53,_0x19db15,_0x549996){return _0x5046(_0x19db15-0x65,_0x2438bf);}if(_0x509660["\u0077\u0066\u0043\u006f\u006e\u0066\u0069\u0067"]){let _0xc12e15=this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]?this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]():this;let _0x1a7d0d=_0x509660["\u0077\u0066\u0043\u006f\u006e\u0066\u0069\u0067"](_0xfe94d0);if(_0x1a7d0d){let _0x11506e=_0x1a7d0d['serviceId']||_0x353fb6?.["emaNecivres".split("").reverse().join("")];let _0x1d2443=Object['assign']({},_0x1a7d0d,{"\u0073\u0065\u0072\u0076\u0069\u0063\u0065\u0049\u0064":_0x11506e});let _0x3b2207=_0xc12e15;initWf["\u0063\u0061\u006c\u006c"](_0x3b2207,_0x1d2443);}}_0xa8cee8(_0xfe94d0);},'fail':_0x53497c=>{_0x364c80&&_0x364c80(_0x53497c);_0x40b145['ZWEhX'](_0xa8cee8,_0x53497c);},'error':_0x122355=>{_0x41796a&&_0x41796a(_0x122355);_0x57eea3(_0x122355);}});});});};if(_0x509660['isConfirm']){this["\u0024\u0062\u0061\u0073\u0065\u0043\u006f\u006e\u0066\u0069\u0072\u006d"](_0x509660["\u0063\u006f\u006e\u0066\u0069\u0072\u006d\u0054\u0065\u0078\u0074"])['then'](()=>{return _0x648c72["\u0078\u0066\u006c\u0046\u0058"](_0x3bccc6);});}else{return _0x3bccc6();}}}};
|
|
7
|
+
modules = {
|
|
8
|
+
methods: {
|
|
9
|
+
/*formScriptHttp(opts){
|
|
10
|
+
return this.formHttp({
|
|
11
|
+
...opts
|
|
12
|
+
});
|
|
13
|
+
},*/
|
|
14
|
+
handleDecryptData(data) {
|
|
15
|
+
if (data) {
|
|
16
|
+
if (Array.isArray(data)) {
|
|
17
|
+
data.forEach(item => {
|
|
18
|
+
this.handleDecryptData(item)
|
|
19
|
+
})
|
|
20
|
+
} else if (Object.prototype.toString.call(data) === "[object Object]") {
|
|
21
|
+
Object.keys(data).forEach(key => {
|
|
22
|
+
|
|
23
|
+
let value = data[key];
|
|
24
|
+
if (value !== null && value !== undefined) {
|
|
25
|
+
if (Object.prototype.toString.call(data[key]) === "[object String]") {
|
|
26
|
+
let str = "ATEN*-";
|
|
27
|
+
if (value.startsWith(str)) {
|
|
28
|
+
data[key] = decrypt(value.slice(str.length));
|
|
29
|
+
}
|
|
30
|
+
} else {
|
|
31
|
+
this.handleDecryptData(data[key])
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
} else if (Object.prototype.toString.call(data) === "[object String]") {
|
|
36
|
+
let str = "ATEN*-";
|
|
37
|
+
if (data.startsWith(str)) {
|
|
38
|
+
data = decrypt(data.slice(str.length));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return data;
|
|
43
|
+
},
|
|
44
|
+
getHttpTarget() {
|
|
45
|
+
return this.getFormRef ? this.getFormRef() : this;
|
|
46
|
+
},
|
|
47
|
+
formHttp(opts) {
|
|
48
|
+
let data = opts.data;
|
|
49
|
+
let scriptCode = opts.scriptCode ? opts.scriptCode.trim() : null;
|
|
50
|
+
let formCode = opts.formCode ? opts.formCode.trim() : null;
|
|
51
|
+
let isLoading = opts.isLoading ?? true;
|
|
52
|
+
let success = opts.success;
|
|
53
|
+
let fail = opts.fail;
|
|
54
|
+
let error = opts.error;
|
|
55
|
+
|
|
56
|
+
let that = this;
|
|
57
|
+
let reportTemplate = that.getFormRef ? that.getFormRef().reportTemplate : that.reportTemplate;
|
|
58
|
+
if (scriptCode && !formCode) {
|
|
59
|
+
let arr = scriptCode.split("/").filter(item => item)
|
|
60
|
+
if (arr.length > 1) {
|
|
61
|
+
formCode = arr[0];
|
|
62
|
+
scriptCode = arr[1];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (!formCode) {
|
|
66
|
+
formCode = reportTemplate.formCode
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
delete opts.data
|
|
70
|
+
delete opts.scriptCode
|
|
71
|
+
delete opts.formCode
|
|
72
|
+
delete opts.isLoading
|
|
73
|
+
delete opts.success
|
|
74
|
+
delete opts.fail
|
|
75
|
+
delete opts.error
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
let getServiceName = (callback) => {
|
|
79
|
+
|
|
80
|
+
if (formCode && formCode !== reportTemplate.formCode) {
|
|
81
|
+
this.getHttpTarget().$http({
|
|
82
|
+
aes: true,
|
|
83
|
+
url: USER_PREFIX + `/formScript/getServiceName`,
|
|
84
|
+
method: `post`,
|
|
85
|
+
data: {
|
|
86
|
+
formCode,
|
|
87
|
+
scriptCode
|
|
88
|
+
},
|
|
89
|
+
isLoading,
|
|
90
|
+
// loadingTarget: this.getLoadingTarget(),
|
|
91
|
+
// modalStrictly: true,
|
|
92
|
+
success: res => {
|
|
93
|
+
let serviceName = res.objx;
|
|
94
|
+
if (serviceName) {
|
|
95
|
+
callback(serviceName)
|
|
96
|
+
} else {
|
|
97
|
+
this.$baseAlert("服务名不存在")
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
callback(reportTemplate.serviceName)
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
let toDo = () => {
|
|
107
|
+
return new Promise((resolve, reject) => {
|
|
108
|
+
getServiceName(searviceName => {
|
|
109
|
+
let reqData;
|
|
110
|
+
reqData = data;
|
|
111
|
+
|
|
112
|
+
let reportGlobalMap = getReportGlobalMap() || {};
|
|
113
|
+
let url = `/${searviceName}/bd_api/${formCode}/${scriptCode}`;
|
|
114
|
+
return this.getHttpTarget().$http({
|
|
115
|
+
aes: true,
|
|
116
|
+
url: url,
|
|
117
|
+
method: `post`,
|
|
118
|
+
// loadingTarget: this.getLoadingTarget(),
|
|
119
|
+
isLoading,
|
|
120
|
+
...opts,
|
|
121
|
+
data: {
|
|
122
|
+
// scriptCode: scriptCode,
|
|
123
|
+
fixeData: reportGlobalMap,
|
|
124
|
+
...reqData
|
|
125
|
+
},
|
|
126
|
+
success: res => {
|
|
127
|
+
if (res.objx) {
|
|
128
|
+
res.objx = this.handleDecryptData(res.objx);
|
|
129
|
+
}
|
|
130
|
+
if (opts.successMsg) {
|
|
131
|
+
this.$message({
|
|
132
|
+
message: res.content,
|
|
133
|
+
type: 'success',
|
|
134
|
+
duration: 1000
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
success && success(res);
|
|
138
|
+
if (opts.wfConfig) {
|
|
139
|
+
let formTarget = this.getFormRef ? this.getFormRef() : this;
|
|
140
|
+
let wfConfig = opts.wfConfig(res);
|
|
141
|
+
if (wfConfig) {
|
|
142
|
+
// let reportTemplate = this.getFormRef ? this.getFormRef().reportTemplate : this.reportTemplate;
|
|
143
|
+
let serviceId = wfConfig.serviceId || reportTemplate?.serviceName;
|
|
144
|
+
let opt2 = Object.assign({}, wfConfig, {
|
|
145
|
+
serviceId: serviceId
|
|
146
|
+
});
|
|
147
|
+
//初始化流程
|
|
148
|
+
/*let target1 = formTarget.$attrs['parent-target'];
|
|
149
|
+
let target2 = target1?.$attrs['parent-target'];
|
|
150
|
+
let target = !target2 ? this : target1;*/
|
|
151
|
+
let target = formTarget;
|
|
152
|
+
initWf.call(target, opt2);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
resolve(res);
|
|
156
|
+
},
|
|
157
|
+
fail: res => {
|
|
158
|
+
fail && fail(res);
|
|
159
|
+
resolve(res);
|
|
160
|
+
},
|
|
161
|
+
error: e => {
|
|
162
|
+
error && error(e);
|
|
163
|
+
reject(e);
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
})
|
|
167
|
+
})
|
|
168
|
+
}
|
|
169
|
+
if (opts.isConfirm) {
|
|
170
|
+
this.$baseConfirm(opts.confirmText).then(() => {
|
|
171
|
+
return toDo();
|
|
172
|
+
});
|
|
173
|
+
} else {
|
|
174
|
+
return toDo();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
8
179
|
export default modules;
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 后台动态定义(表头后台字段 / 数据表格动态列)共用协议。
|
|
3
|
+
*
|
|
4
|
+
* 单条定义顶层字段:
|
|
5
|
+
* - 通用:keyName、type、label、optionItems、required 等字段级属性、options
|
|
6
|
+
* - 表头:colspan
|
|
7
|
+
* - 数据表格:width、formatS(展示列)、children(多级表头)、dropdownItems(dropdown 操作列)
|
|
8
|
+
*
|
|
9
|
+
* 请求体:{ formData, ...extra }
|
|
10
|
+
* 响应体:objx 数组,或 { fields: [] } / { columns: [] }
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/** 顶层字段白名单 */
|
|
14
|
+
export const DYNAMIC_SCHEMA_CORE_KEYS = [
|
|
15
|
+
"keyName",
|
|
16
|
+
"type",
|
|
17
|
+
"label",
|
|
18
|
+
"optionItems",
|
|
19
|
+
"options",
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
/** 字段级属性:写顶层,不写 options(与表头 dynamicFieldMixin 一致) */
|
|
23
|
+
export const DYNAMIC_SCHEMA_WIDGET_FLAG_KEYS = [
|
|
24
|
+
"required",
|
|
25
|
+
"readonly",
|
|
26
|
+
"disabled",
|
|
27
|
+
"hidden",
|
|
28
|
+
"defaultValue",
|
|
29
|
+
"placeholder",
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
export const DYNAMIC_SCHEMA_TABLE_HEADER_KEYS = ["colspan"];
|
|
33
|
+
|
|
34
|
+
export const DYNAMIC_SCHEMA_COLUMN_EXTRA_KEYS = [
|
|
35
|
+
"width",
|
|
36
|
+
"align",
|
|
37
|
+
"sortable",
|
|
38
|
+
"filterable",
|
|
39
|
+
"show",
|
|
40
|
+
"fixed",
|
|
41
|
+
"formatS",
|
|
42
|
+
"render",
|
|
43
|
+
"utcTransformEnabled",
|
|
44
|
+
"children",
|
|
45
|
+
"dropdownItems",
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
export const DYNAMIC_SCHEMA_OPTION_KEYS = {
|
|
49
|
+
scriptCode: ["dynamicSchemaScriptCode", "dynamicColumnScriptCode"],
|
|
50
|
+
scriptParam: ["dynamicSchemaScriptParam", "dynamicColumnScriptParam"],
|
|
51
|
+
convert: ["dynamicSchemaConvert"],
|
|
52
|
+
mode: ["dynamicSchemaMode", "dynamicColumnMode"],
|
|
53
|
+
sourceType: ["dynamicSchemaSourceType", "dynamicColumnSourceType"],
|
|
54
|
+
loadScript: ["dynamicSchemaLoadScript", "dynamicColumnLoadScript"],
|
|
55
|
+
frontendScript: ["dynamicSchemaScript", "dynamicColumnsScript"],
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const widgetTypeToEditFormatMap = {
|
|
59
|
+
input: "editInput",
|
|
60
|
+
number: "editNumber",
|
|
61
|
+
date: "editDate",
|
|
62
|
+
select: "editSelect",
|
|
63
|
+
vabsearch: "editSearch",
|
|
64
|
+
baseAttachment: "editAttachment",
|
|
65
|
+
status: "editStatus",
|
|
66
|
+
text: "text",
|
|
67
|
+
checkbox: "checkbox",
|
|
68
|
+
radio: "radio",
|
|
69
|
+
textarea: "textarea",
|
|
70
|
+
"script-input": "editScriptInput",
|
|
71
|
+
"a-text": "aText",
|
|
72
|
+
"a-link": "aLink",
|
|
73
|
+
button: "button",
|
|
74
|
+
dropdown: "dropdown",
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const ACTION_COLUMN_FORMATS = new Set(["aLink", "button", "dropdown"]);
|
|
78
|
+
|
|
79
|
+
const NON_DATA_EXPORT_COLUMN_FORMATS = new Set([
|
|
80
|
+
"dropdown",
|
|
81
|
+
"button",
|
|
82
|
+
"editDelete",
|
|
83
|
+
"editButton",
|
|
84
|
+
"editTreeButtonGroup",
|
|
85
|
+
"addSiblingEditRow",
|
|
86
|
+
"addChildTreeRow",
|
|
87
|
+
"moveUpRow",
|
|
88
|
+
"moveDownRow",
|
|
89
|
+
"removeTreeRow",
|
|
90
|
+
]);
|
|
91
|
+
|
|
92
|
+
const NON_DATA_EXPORT_WIDGET_TYPES = new Set([
|
|
93
|
+
"button",
|
|
94
|
+
"dropdown",
|
|
95
|
+
"dropdown-item",
|
|
96
|
+
"divider",
|
|
97
|
+
"search_button",
|
|
98
|
+
"save_button",
|
|
99
|
+
"reset_button",
|
|
100
|
+
"table-export-button",
|
|
101
|
+
"select-export-button",
|
|
102
|
+
"select-export-item-button",
|
|
103
|
+
"add_button",
|
|
104
|
+
"import-button",
|
|
105
|
+
"import2-button",
|
|
106
|
+
"print-button",
|
|
107
|
+
"print-detail-button",
|
|
108
|
+
"download-button",
|
|
109
|
+
"save_submit_wf_button",
|
|
110
|
+
"copy_button",
|
|
111
|
+
"compare-change-button",
|
|
112
|
+
"compare-button",
|
|
113
|
+
"compare-close-button",
|
|
114
|
+
"compare-del-button",
|
|
115
|
+
]);
|
|
116
|
+
|
|
117
|
+
export function buildDropdownWidgetFromDef(def, index = 0) {
|
|
118
|
+
const options = def?.options;
|
|
119
|
+
const dropdownItems = def?.dropdownItems;
|
|
120
|
+
if (!Array.isArray(dropdownItems) || !dropdownItems.length) return null;
|
|
121
|
+
|
|
122
|
+
const ts = `${Date.now()}_${index}`;
|
|
123
|
+
const widgetList = dropdownItems.map((entry, i) => ({
|
|
124
|
+
type: "dropdown-item",
|
|
125
|
+
id: `dropdownitem_${ts}_${i}`,
|
|
126
|
+
options: {
|
|
127
|
+
label: entry.label || "",
|
|
128
|
+
onClick: entry.onClick || "",
|
|
129
|
+
disabled: !!entry.disabled,
|
|
130
|
+
hidden: !!entry.hidden,
|
|
131
|
+
},
|
|
132
|
+
}));
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
type: "dropdown",
|
|
136
|
+
id: `dropdown_${ts}`,
|
|
137
|
+
options: {
|
|
138
|
+
label: def.label || "操作",
|
|
139
|
+
dropdownType: options?.dropdownType || "link",
|
|
140
|
+
dropdownTrigger: options?.dropdownTrigger || "hover",
|
|
141
|
+
dropdownFlag: 1,
|
|
142
|
+
},
|
|
143
|
+
widgetList,
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function isActionColumn(item, formatS) {
|
|
148
|
+
return isActionColumnFormat(formatS, item?.type);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function isActionColumnFormat(formatS, type) {
|
|
152
|
+
if (ACTION_COLUMN_FORMATS.has(formatS)) return true;
|
|
153
|
+
return ["a-link", "button", "dropdown"].includes(type);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function isNonDataExportColumn(formatS, type, options) {
|
|
157
|
+
if (NON_DATA_EXPORT_COLUMN_FORMATS.has(formatS)) return true;
|
|
158
|
+
if (NON_DATA_EXPORT_WIDGET_TYPES.has(type)) return true;
|
|
159
|
+
// a-link can either display a bound field or act as a row operation button.
|
|
160
|
+
return (formatS === "aLink" || type === "a-link")
|
|
161
|
+
&& options?.isFormLabel !== true;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
function isActionOrGroupColumn(item, formatS) {
|
|
165
|
+
if (Array.isArray(item.children) && item.children.length) return true;
|
|
166
|
+
return isActionColumn(item, formatS);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function buildWidgetOptions(item, formatS, label) {
|
|
170
|
+
let widgetOptions =
|
|
171
|
+
item.options && typeof item.options === "object"
|
|
172
|
+
? { ...item.options }
|
|
173
|
+
: null;
|
|
174
|
+
|
|
175
|
+
if (widgetOptions) {
|
|
176
|
+
delete widgetOptions.dropdownItems;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
DYNAMIC_SCHEMA_WIDGET_FLAG_KEYS.forEach((key) => {
|
|
180
|
+
if (item[key] !== undefined) {
|
|
181
|
+
widgetOptions = widgetOptions || {};
|
|
182
|
+
widgetOptions[key] = item[key];
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
if (label) {
|
|
187
|
+
widgetOptions = widgetOptions || {};
|
|
188
|
+
if (!widgetOptions.label) {
|
|
189
|
+
widgetOptions.label = label;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (!isActionColumn(item, formatS)) {
|
|
194
|
+
widgetOptions = widgetOptions || {};
|
|
195
|
+
widgetOptions.labelHidden = true;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
return widgetOptions;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export function getDynamicSchemaOption(options, key) {
|
|
202
|
+
if (!options) return null;
|
|
203
|
+
const keys = DYNAMIC_SCHEMA_OPTION_KEYS[key] || [];
|
|
204
|
+
for (let i = 0; i < keys.length; i++) {
|
|
205
|
+
const val = options[keys[i]];
|
|
206
|
+
if (val !== undefined && val !== null && val !== "") {
|
|
207
|
+
return val;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
return null;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export function resolveDynamicSchemaExtra(paramScript, handleCustomEvent) {
|
|
214
|
+
if (!paramScript || !handleCustomEvent) return {};
|
|
215
|
+
const result = handleCustomEvent(paramScript);
|
|
216
|
+
return result && typeof result === "object" && !Array.isArray(result)
|
|
217
|
+
? result
|
|
218
|
+
: {};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export function buildDynamicSchemaRequestData(
|
|
222
|
+
formModel,
|
|
223
|
+
paramScript,
|
|
224
|
+
handleCustomEvent,
|
|
225
|
+
wrapContext
|
|
226
|
+
) {
|
|
227
|
+
const extra = resolveDynamicSchemaExtra(paramScript, handleCustomEvent);
|
|
228
|
+
const payload = {
|
|
229
|
+
formData: formModel || {},
|
|
230
|
+
...extra,
|
|
231
|
+
};
|
|
232
|
+
if (!wrapContext) {
|
|
233
|
+
return payload;
|
|
234
|
+
}
|
|
235
|
+
const { formCode, formVersion, taBm, dataId } = wrapContext;
|
|
236
|
+
return {
|
|
237
|
+
formCode,
|
|
238
|
+
formVersion,
|
|
239
|
+
taBm,
|
|
240
|
+
formData: payload.formData,
|
|
241
|
+
dataId,
|
|
242
|
+
data: {
|
|
243
|
+
dataId,
|
|
244
|
+
...payload,
|
|
245
|
+
},
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/** 从 objx 或转换脚本结果中提取定义数组 */
|
|
250
|
+
export function extractDynamicSchemaItems(source) {
|
|
251
|
+
if (!source) return [];
|
|
252
|
+
if (Array.isArray(source)) return source;
|
|
253
|
+
if (typeof source !== "object") return [];
|
|
254
|
+
if (Array.isArray(source.fields)) return source.fields;
|
|
255
|
+
if (Array.isArray(source.columns)) return source.columns;
|
|
256
|
+
return [];
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export function resolveDynamicSchemaResponse(res, convertScript, handleCustomEvent) {
|
|
260
|
+
if (convertScript && handleCustomEvent) {
|
|
261
|
+
const result = handleCustomEvent(convertScript, ["res"], [res]);
|
|
262
|
+
return extractDynamicSchemaItems(result);
|
|
263
|
+
}
|
|
264
|
+
return extractDynamicSchemaItems(res && res.objx);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export function normalizeDynamicFieldKey(item) {
|
|
268
|
+
if (!item || typeof item !== "object") return undefined;
|
|
269
|
+
return item.keyName;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export function normalizeDynamicColumnItem(item, index) {
|
|
273
|
+
if (!item || typeof item !== "object") {
|
|
274
|
+
return null;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
const keyName = normalizeDynamicFieldKey(item);
|
|
278
|
+
const label = item.label;
|
|
279
|
+
let formatS = item.formatS || null;
|
|
280
|
+
if (!formatS && item.type) {
|
|
281
|
+
formatS = widgetTypeToEditFormatMap[item.type] || item.type;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
let editFormatS = null;
|
|
285
|
+
if (formatS && String(formatS).startsWith("edit")) {
|
|
286
|
+
editFormatS = formatS;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
const widgetOptions = buildWidgetOptions(item, formatS, label);
|
|
290
|
+
|
|
291
|
+
let widget = null;
|
|
292
|
+
let widgetList = null;
|
|
293
|
+
if (
|
|
294
|
+
(item.type === "dropdown" || formatS === "dropdown") &&
|
|
295
|
+
Array.isArray(item.dropdownItems) &&
|
|
296
|
+
item.dropdownItems.length
|
|
297
|
+
) {
|
|
298
|
+
widget = buildDropdownWidgetFromDef(item, index);
|
|
299
|
+
if (widget && label) {
|
|
300
|
+
widget.options.label = label;
|
|
301
|
+
}
|
|
302
|
+
if (widget?.widgetList?.length) {
|
|
303
|
+
widgetList = widget.widgetList;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if (!keyName && !isActionOrGroupColumn(item, formatS)) {
|
|
308
|
+
return null;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
const isAction = isActionColumn(item, formatS);
|
|
312
|
+
|
|
313
|
+
const widgetFlags = {};
|
|
314
|
+
DYNAMIC_SCHEMA_WIDGET_FLAG_KEYS.forEach((key) => {
|
|
315
|
+
if (item[key] !== undefined) {
|
|
316
|
+
widgetFlags[key] = item[key];
|
|
317
|
+
} else if (widgetOptions?.[key] !== undefined) {
|
|
318
|
+
widgetFlags[key] = widgetOptions[key];
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
|
|
322
|
+
const children = Array.isArray(item.children)
|
|
323
|
+
? item.children
|
|
324
|
+
.map((child, childIndex) =>
|
|
325
|
+
normalizeDynamicColumnItem(child, index * 1000 + childIndex)
|
|
326
|
+
)
|
|
327
|
+
.filter(Boolean)
|
|
328
|
+
: item.children;
|
|
329
|
+
|
|
330
|
+
return {
|
|
331
|
+
columnId: item.columnId || `${Date.now()}_${index}`,
|
|
332
|
+
type: item.type,
|
|
333
|
+
prop: keyName || undefined,
|
|
334
|
+
label,
|
|
335
|
+
width: item.width ?? 150,
|
|
336
|
+
show: item.show !== false,
|
|
337
|
+
sortable: isAction ? item.sortable === true : item.sortable !== false,
|
|
338
|
+
filterable: isAction ? item.filterable === true : item.filterable !== false,
|
|
339
|
+
...(item.align ? { align: item.align } : {}),
|
|
340
|
+
fixed: item.fixed,
|
|
341
|
+
formatS,
|
|
342
|
+
editFormatS: editFormatS || undefined,
|
|
343
|
+
optionItems: item.optionItems,
|
|
344
|
+
widget,
|
|
345
|
+
widgetList,
|
|
346
|
+
widgetOptions,
|
|
347
|
+
children: children,
|
|
348
|
+
render: item.render,
|
|
349
|
+
utcTransformEnabled: item.utcTransformEnabled,
|
|
350
|
+
...widgetFlags,
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export function normalizeDynamicColumns(columns) {
|
|
355
|
+
if (!Array.isArray(columns)) {
|
|
356
|
+
return [];
|
|
357
|
+
}
|
|
358
|
+
return columns
|
|
359
|
+
.map((item, index) => normalizeDynamicColumnItem(item, index))
|
|
360
|
+
.filter(Boolean);
|
|
361
|
+
}
|