cloud-web-corejs 1.0.54-dev.35 → 1.0.54-dev.351
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 +8 -3
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +218 -120
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/baseInputExport/mixins.js +386 -1
- package/src/components/errorMsg/mixins.js +94 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +7 -5
- package/src/components/excelExport/index.vue +64 -8
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +750 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +23 -24
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +335 -212
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +69 -26
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +18 -0
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +333 -1
- package/src/components/langImport/mixins.js +500 -16
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +9 -6
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +833 -362
- package/src/components/wf/mixins/addOpinionButton.js +3 -0
- package/src/components/wf/mixins/setCandidateButton.js +6 -0
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +95 -0
- package/src/components/wf/wf.js +2117 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +70 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1649 -3
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +289 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1331 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1615 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +652 -379
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +10 -8
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +107 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +185 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +108 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +259 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +725 -0
- package/src/components/xform/form-designer/indexMixin.js +825 -2
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +927 -159
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +376 -302
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1196 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1160 -511
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +32 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +8 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +91 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +62 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +52 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +30 -11
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1576 -874
- package/src/components/xform/form-render/container-item/containerItemMixin.js +359 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +89 -42
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/index.vue +4 -1
- package/src/components/xform/form-render/indexMixin.js +13 -26
- package/src/components/xform/lang/zh-CN.js +20 -3
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +175 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util.js +669 -0
- package/src/components/xform/utils/util.js +1451 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/index.js +2 -2
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +50 -6
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/tableTree/index.js +1 -1
- package/src/router/modules/customer.js +61 -8
- package/src/store/config/index.js +1 -532
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -1
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +359 -1
- package/src/utils/vab.js +1113 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +66 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +5 -5
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +689 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +140 -75
- package/src/views/bd/setting/form_template/{list2.vue → wf_list.vue} +25 -35
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +122 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +358 -0
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +311 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +440 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/area/dialog.vue +21 -9
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -154
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/form/vform/designer.vue +775 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +8 -4
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +68 -15
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/login/default.vue +32 -3
- package/src/views/user/login/indexMixin.js +117 -3
- package/src/views/user/notify_message/dialog.vue +39 -18
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +17 -0
- package/src/views/user/outLink/view.vue +28 -23
- package/src/views/user/position/edit.vue +116 -83
- package/src/views/user/position/list.vue +118 -86
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_edit.vue +9 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/wf/wfReport/index.vue +448 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +371 -249
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +114 -9
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
- package/src/views/user/wf/wf_transfer_setting/edit.vue +229 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +308 -0
- package/src/views/bd/setting/form_template/mixins/list2.js +0 -12
@@ -0,0 +1,190 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="containt">
|
3
|
+
<el-tabs v-model="activeName" class="tab-box">
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
5
|
+
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
|
6
|
+
@reload="$reloadHandle"></editView>
|
7
|
+
</el-tab-pane>
|
8
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
9
|
+
<div class="grid-height">
|
10
|
+
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
11
|
+
@custom="$vxeTableUtil.customHandle">
|
12
|
+
<template #form>
|
13
|
+
<div class="clearfix screen-btns">
|
14
|
+
<div class="fl">
|
15
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
16
|
+
{{ $t1('新增') }}
|
17
|
+
</vxe-button>
|
18
|
+
<base-table-export :option="{ title: $t1('邮件模板导出'), targetRef: 'table-m1'}"
|
19
|
+
:parent-target="_self"/>
|
20
|
+
</div>
|
21
|
+
<div class="fr">
|
22
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
23
|
+
plain>{{ $t1('重置') }}
|
24
|
+
</vxe-button>
|
25
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
26
|
+
{{ $t1('搜索') }}
|
27
|
+
</vxe-button>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
31
|
+
@submit="searchEvent" @reset="searchEvent">
|
32
|
+
<vxe-form-item :title="$t1('邮件模板编码')+':'" field="ntCode">
|
33
|
+
<template v-slot>
|
34
|
+
<el-input v-model="formData.notifyType" size="small" clearable/>
|
35
|
+
</template>
|
36
|
+
</vxe-form-item>
|
37
|
+
<vxe-form-item :title="$t1('主题')+':'" field="ntName">
|
38
|
+
<template v-slot>
|
39
|
+
<el-input v-model="formData.ntName" size="small" clearable/>
|
40
|
+
</template>
|
41
|
+
</vxe-form-item>
|
42
|
+
<vxe-form-item :title="$t1('是否启用')+':'">
|
43
|
+
<template v-slot>
|
44
|
+
<el-select v-model="formData.enabled" clearable>
|
45
|
+
<el-option :value="true" :label="$t1('启用')"></el-option>
|
46
|
+
<el-option :value="false" :label="$t1('禁用')"></el-option>
|
47
|
+
</el-select>
|
48
|
+
</template>
|
49
|
+
</vxe-form-item>
|
50
|
+
</vxe-form>
|
51
|
+
</template>
|
52
|
+
</vxe-grid>
|
53
|
+
</div>
|
54
|
+
</el-tab-pane>
|
55
|
+
</el-tabs>
|
56
|
+
</div>
|
57
|
+
</template>
|
58
|
+
|
59
|
+
<script>
|
60
|
+
import editView from './edit2.vue';
|
61
|
+
|
62
|
+
export default {
|
63
|
+
name: 'notify_template:list2',
|
64
|
+
components: {editView},
|
65
|
+
data() {
|
66
|
+
return {
|
67
|
+
activeName: 'second',
|
68
|
+
dataId: 0,
|
69
|
+
showEdit: false,
|
70
|
+
vxeOption: {},
|
71
|
+
formData: {}
|
72
|
+
};
|
73
|
+
},
|
74
|
+
mounted() {
|
75
|
+
this.initTableList();
|
76
|
+
},
|
77
|
+
methods: {
|
78
|
+
searchEvent() {
|
79
|
+
this.$refs['table-m1'].commitProxy('reload');
|
80
|
+
},
|
81
|
+
resetEvent() {
|
82
|
+
this.formData = {};
|
83
|
+
this.$refs['table-m1'].commitProxy('reload');
|
84
|
+
},
|
85
|
+
openEditDialog(id) {
|
86
|
+
this.dataId = !id || typeof id == 'object' ? 0 : id;
|
87
|
+
this.activeName = 'first';
|
88
|
+
this.$openEditView('showEdit');
|
89
|
+
},
|
90
|
+
initTableList() {
|
91
|
+
let that = this;
|
92
|
+
let tableOption = {
|
93
|
+
vue: this,
|
94
|
+
tableRef: 'table-m1',
|
95
|
+
tableName: 'basic_notifyTemplate_list-m2',
|
96
|
+
path: USER_PREFIX + '/notify_template/listPage',
|
97
|
+
param: () => {
|
98
|
+
return {
|
99
|
+
...this.formData,
|
100
|
+
ntType: 1
|
101
|
+
};
|
102
|
+
},
|
103
|
+
columns: [
|
104
|
+
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
105
|
+
{
|
106
|
+
title: this.$t1('邮件模板编码'),
|
107
|
+
field: 'notifyType',
|
108
|
+
width: 250,
|
109
|
+
fixed: 'left'
|
110
|
+
},
|
111
|
+
{
|
112
|
+
title: this.$t1('主题'),
|
113
|
+
field: 'ntName',
|
114
|
+
width: 150
|
115
|
+
},
|
116
|
+
{
|
117
|
+
title: this.$t1('是否启用'),
|
118
|
+
field: 'enabled',
|
119
|
+
width: 150,
|
120
|
+
slots: {
|
121
|
+
default: ({row}) => {
|
122
|
+
if (row.enabled) {
|
123
|
+
return [
|
124
|
+
<div class="txt-status">
|
125
|
+
<span>{this.$t1('启用')}</span>
|
126
|
+
</div>
|
127
|
+
];
|
128
|
+
} else {
|
129
|
+
return [
|
130
|
+
<div class="txt-status disable">
|
131
|
+
<span>{this.$t1('禁用')}</span>
|
132
|
+
</div>
|
133
|
+
];
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
},
|
138
|
+
{title: this.$t1('备注'), field: 'remark', width: 150},
|
139
|
+
{
|
140
|
+
title: this.$t1('创建时间'),
|
141
|
+
field: 'createDate',
|
142
|
+
width: 150
|
143
|
+
},
|
144
|
+
{
|
145
|
+
width: 47,
|
146
|
+
fixed: 'right',
|
147
|
+
title: '',
|
148
|
+
sortable: false,
|
149
|
+
slots: {
|
150
|
+
default: ({row}) => {
|
151
|
+
return [
|
152
|
+
<div>
|
153
|
+
<a
|
154
|
+
href="javascript:void(0);"
|
155
|
+
class="a-link"
|
156
|
+
onclick={() => {
|
157
|
+
this.openEditDialog(row.id);
|
158
|
+
}}
|
159
|
+
>
|
160
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
161
|
+
popper-class="tooltip-skin">
|
162
|
+
<i class="el-icon-edit"/>
|
163
|
+
</el-tooltip>
|
164
|
+
</a>
|
165
|
+
</div>
|
166
|
+
];
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
]
|
171
|
+
};
|
172
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
173
|
+
this.vxeOption = opts;
|
174
|
+
});
|
175
|
+
},
|
176
|
+
importExcel() {
|
177
|
+
let that = this;
|
178
|
+
that.$excelImport({
|
179
|
+
prefix: USER_PREFIX,
|
180
|
+
excel: USER_PREFIX + '/excelTemplate/notify_template/notifyTemplate.xlsx',
|
181
|
+
multi: false,
|
182
|
+
saveUrl: USER_PREFIX + '/notify_template/save',
|
183
|
+
callback: () => {
|
184
|
+
that.searchEvent();
|
185
|
+
}
|
186
|
+
});
|
187
|
+
}
|
188
|
+
}
|
189
|
+
};
|
190
|
+
</script>
|
@@ -1,184 +1,211 @@
|
|
1
|
-
<template>
|
2
|
-
<div :id="$route.query.isMobile!=='true'?'containt':''">
|
3
|
-
<component v-if="showWfContent && wfContent" :is="wfContent" visible-key="showWfContent" :outParam.sync="outParam"
|
4
|
-
:_dataId.sync="dataId" :defaultShowWfContent="defaultShowWfContent" :_isOutLink="true"
|
5
|
-
:parent-target="_self"
|
6
|
-
@reload="$reloadHandle" v-bind="queryParam"></component>
|
7
|
-
</div>
|
8
|
-
</template>
|
9
|
-
|
10
|
-
<script>
|
11
|
-
import indexUtil from "@base/utils/index.js"
|
12
|
-
import {
|
13
|
-
setReportGlobalParam
|
14
|
-
} from "@base/components/xform/utils/util";
|
15
|
-
|
16
|
-
export default {
|
17
|
-
data() {
|
18
|
-
return {
|
19
|
-
reportCode: null,
|
20
|
-
showWfContent: true,
|
21
|
-
wfContent: null,
|
22
|
-
outParam: null,
|
23
|
-
dataId: null,
|
24
|
-
defaultShowWfContent: null,
|
25
|
-
queryParam: {}
|
26
|
-
};
|
27
|
-
},
|
28
|
-
created() {
|
29
|
-
this.login();
|
30
|
-
},
|
31
|
-
mounted() {
|
32
|
-
history.pushState(null, null, document.URL);
|
33
|
-
window.addEventListener('popstate', this.handlePopState); // 在Vue组件的mounted钩子中添加事件监听
|
34
|
-
},
|
35
|
-
beforeDestroy() {
|
36
|
-
window.removeEventListener('popstate', this.handlePopState); // 在beforeDestroy钩子中移除事件监听
|
37
|
-
},
|
38
|
-
methods: {
|
39
|
-
initGlobalReqData() {
|
40
|
-
let fd = this.$route.query.fd;
|
41
|
-
if (fd) {
|
42
|
-
setReportGlobalParam(fd);
|
43
|
-
}
|
44
|
-
},
|
45
|
-
async initData() {
|
46
|
-
const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
|
47
|
-
let queryParam = this.$baseLodash.cloneDeep(this.$route.query);
|
48
|
-
let murl = this.$route.query.urlmobile;
|
49
|
-
let purl = murl && isMobile ? murl : this.$route.query.url;
|
50
|
-
let dataId = this.$route.query.dataId;
|
51
|
-
if (purl == '/index') {
|
52
|
-
location.hash = '/home';
|
53
|
-
location.reload();
|
54
|
-
return;
|
55
|
-
}
|
56
|
-
/*let param = this.$route.query.param;
|
57
|
-
if (param) {
|
58
|
-
this.outParam = JSON.parse(param)
|
59
|
-
}*/
|
60
|
-
this.dataId = dataId;
|
61
|
-
if (this.$route.query.showWfContent == 'true') {
|
62
|
-
this.defaultShowWfContent = true;
|
63
|
-
}
|
64
|
-
|
65
|
-
delete queryParam.urlmobile;
|
66
|
-
delete queryParam.url;
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
let
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
tp
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
}
|
184
|
-
|
1
|
+
<template>
|
2
|
+
<div :id="$route.query.isMobile!=='true'?'containt':''">
|
3
|
+
<component v-if="showWfContent && wfContent" :is="wfContent" visible-key="showWfContent" :outParam.sync="outParam"
|
4
|
+
:_dataId.sync="dataId" :defaultShowWfContent="defaultShowWfContent" :_isOutLink="true"
|
5
|
+
:parent-target="_self"
|
6
|
+
@reload="$reloadHandle" v-bind="queryParam"></component>
|
7
|
+
</div>
|
8
|
+
</template>
|
9
|
+
|
10
|
+
<script>
|
11
|
+
import indexUtil from "@base/utils/index.js"
|
12
|
+
import {
|
13
|
+
setReportGlobalParam
|
14
|
+
} from "@base/components/xform/utils/util";
|
15
|
+
|
16
|
+
export default {
|
17
|
+
data() {
|
18
|
+
return {
|
19
|
+
reportCode: null,
|
20
|
+
showWfContent: true,
|
21
|
+
wfContent: null,
|
22
|
+
outParam: null,
|
23
|
+
dataId: null,
|
24
|
+
defaultShowWfContent: null,
|
25
|
+
queryParam: {}
|
26
|
+
};
|
27
|
+
},
|
28
|
+
created() {
|
29
|
+
this.login();
|
30
|
+
},
|
31
|
+
mounted() {
|
32
|
+
history.pushState(null, null, document.URL);
|
33
|
+
window.addEventListener('popstate', this.handlePopState); // 在Vue组件的mounted钩子中添加事件监听
|
34
|
+
},
|
35
|
+
beforeDestroy() {
|
36
|
+
window.removeEventListener('popstate', this.handlePopState); // 在beforeDestroy钩子中移除事件监听
|
37
|
+
},
|
38
|
+
methods: {
|
39
|
+
initGlobalReqData() {
|
40
|
+
let fd = this.$route.query.fd;
|
41
|
+
if (fd) {
|
42
|
+
setReportGlobalParam(fd);
|
43
|
+
}
|
44
|
+
},
|
45
|
+
async initData() {
|
46
|
+
const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
|
47
|
+
let queryParam = this.$baseLodash.cloneDeep(this.$route.query);
|
48
|
+
let murl = this.$route.query.urlmobile;
|
49
|
+
let purl = murl && isMobile ? murl : this.$route.query.url;
|
50
|
+
let dataId = this.$route.query.dataId;
|
51
|
+
if (purl == '/index') {
|
52
|
+
location.hash = '/home';
|
53
|
+
location.reload();
|
54
|
+
return;
|
55
|
+
}
|
56
|
+
/*let param = this.$route.query.param;
|
57
|
+
if (param) {
|
58
|
+
this.outParam = JSON.parse(param)
|
59
|
+
}*/
|
60
|
+
this.dataId = dataId;
|
61
|
+
if (this.$route.query.showWfContent == 'true') {
|
62
|
+
this.defaultShowWfContent = true;
|
63
|
+
}
|
64
|
+
|
65
|
+
delete queryParam.urlmobile;
|
66
|
+
delete queryParam.url;
|
67
|
+
|
68
|
+
if (purl.indexOf('.html') >= 0) {
|
69
|
+
let eUrl = purl;
|
70
|
+
let pstr = Object.keys(queryParam).map(key => {
|
71
|
+
return key + "=" + queryParam[key]
|
72
|
+
}).join("&")
|
73
|
+
|
74
|
+
if (pstr) {
|
75
|
+
if (purl.indexOf('.html?') >= 0) {
|
76
|
+
eUrl = eUrl + '&' + pstr
|
77
|
+
} else {
|
78
|
+
eUrl = eUrl + '?' + pstr
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
location.href = eUrl;
|
83
|
+
return
|
84
|
+
}
|
85
|
+
|
86
|
+
delete queryParam.dataId;
|
87
|
+
delete queryParam.showWfContent;
|
88
|
+
delete queryParam.access_token;
|
89
|
+
delete queryParam.tp;
|
90
|
+
delete queryParam.thirdparty_info;
|
91
|
+
delete queryParam.i18nLang;
|
92
|
+
|
93
|
+
let url = purl + '.vue';
|
94
|
+
this.queryParam = queryParam;
|
95
|
+
this.showWfContent = true;
|
96
|
+
// this.wfContent = require('@/views' + url).default;
|
97
|
+
let t = "@base/views";
|
98
|
+
let urlArr = [
|
99
|
+
'/user/bill_setting/h5_view.vue',
|
100
|
+
'/user/form/view/list.vue',
|
101
|
+
'/user/form/view/edit.vue'
|
102
|
+
]
|
103
|
+
this.initUserInfo(() => {
|
104
|
+
this.initI18n();
|
105
|
+
if (urlArr.includes(url)) {
|
106
|
+
this.wfContent = require('@base/views' + url).default;
|
107
|
+
} else if (url.startsWith(t)) {
|
108
|
+
let path = url.slice(t.length);
|
109
|
+
this.wfContent = require('@base/views' + path).default;
|
110
|
+
} else {
|
111
|
+
this.wfContent = require('@/views' + url).default;
|
112
|
+
}
|
113
|
+
})
|
114
|
+
},
|
115
|
+
initUserInfo(callback) {
|
116
|
+
this.$store
|
117
|
+
.dispatch('user/getInfo2')
|
118
|
+
.then(() => {
|
119
|
+
callback && callback();
|
120
|
+
});
|
121
|
+
},
|
122
|
+
getI18nLang() {
|
123
|
+
let i18nLang = this.$route.query.i18nLang || "zh";
|
124
|
+
return i18nLang;
|
125
|
+
},
|
126
|
+
async initI18n() {
|
127
|
+
let lang = this.getI18nLang();
|
128
|
+
this.$i18n.locale = lang // 设置给本地的i18n插件
|
129
|
+
localStorage.setItem("i18n-lang", lang);
|
130
|
+
await indexUtil.initI18nMessage("business", lang, true);
|
131
|
+
},
|
132
|
+
login() {
|
133
|
+
let token = this.$route.query.access_token;
|
134
|
+
let url = this.$route.query.url;
|
135
|
+
let hasToken = this.$route.query.hasToken;
|
136
|
+
let tp = this.$route.query.tp || this.$route.query.thirdparty_info;
|
137
|
+
if (url) {
|
138
|
+
if (token) {
|
139
|
+
this.initByToken(token);
|
140
|
+
} else if (tp) {
|
141
|
+
this.thirdpartyLogin(tp);
|
142
|
+
} else if (hasToken == "true") {
|
143
|
+
this.$nextTick(() => {
|
144
|
+
this.initData();
|
145
|
+
});
|
146
|
+
}
|
147
|
+
this.initGlobalReqData();
|
148
|
+
}
|
149
|
+
},
|
150
|
+
initByToken(token) {
|
151
|
+
if (!token) return;
|
152
|
+
this.$store
|
153
|
+
.dispatch('user/addToken', {
|
154
|
+
token
|
155
|
+
})
|
156
|
+
.then(() => {
|
157
|
+
this.$nextTick(() => {
|
158
|
+
this.initData();
|
159
|
+
});
|
160
|
+
});
|
161
|
+
},
|
162
|
+
thirdpartyLogin(tp) {
|
163
|
+
let lang = this.getI18nLang();
|
164
|
+
this.$http({
|
165
|
+
url: USER_PREFIX + `/thirdparty_auth/login`,
|
166
|
+
method: `post`,
|
167
|
+
data: {
|
168
|
+
tp: tp,
|
169
|
+
language: lang
|
170
|
+
},
|
171
|
+
isLoading: true,
|
172
|
+
modalStrictly: true,
|
173
|
+
useToken: false,
|
174
|
+
success: res => {
|
175
|
+
let thirdpartyToken = res.objx;
|
176
|
+
this.initByToken(thirdpartyToken);
|
177
|
+
}
|
178
|
+
});
|
179
|
+
},
|
180
|
+
handlePopState(event) {
|
181
|
+
// 阻止回退
|
182
|
+
history.go(1);
|
183
|
+
}
|
184
|
+
}
|
185
|
+
};
|
186
|
+
</script>
|
187
|
+
|
188
|
+
<style lang="scss" scoped>
|
189
|
+
::v-deep .tab-box > .el-tabs__content {
|
190
|
+
|
191
|
+
.designer-view {
|
192
|
+
height: calc(100vh - 33px)
|
193
|
+
}
|
194
|
+
|
195
|
+
.grid-height,
|
196
|
+
.designer-view .el-form.render-form {
|
197
|
+
height: calc(100vh - 41px)
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
::v-deep #containt .detail-wrap {
|
202
|
+
.d-header {
|
203
|
+
margin: -8px -12px 0;
|
204
|
+
}
|
205
|
+
|
206
|
+
.d-cont {
|
207
|
+
margin: 0 -12px;
|
208
|
+
height: calc(100vh - 73px)
|
209
|
+
}
|
210
|
+
}
|
211
|
+
</style>
|
@@ -8,6 +8,8 @@
|
|
8
8
|
</template>
|
9
9
|
|
10
10
|
<script>
|
11
|
+
import {getToken} from "@base/utils/auth";
|
12
|
+
|
11
13
|
export default {
|
12
14
|
name: 'outLink',
|
13
15
|
data() {
|
@@ -36,6 +38,21 @@ export default {
|
|
36
38
|
this.type = 1;
|
37
39
|
}
|
38
40
|
});
|
41
|
+
}else if (url.indexOf('token=platform_token') >= 0) {
|
42
|
+
this.$http({
|
43
|
+
url: YX_PREFIX + `/fundPlatform/getToken`,
|
44
|
+
method: `post`,
|
45
|
+
data: {},
|
46
|
+
isLoading: true,
|
47
|
+
success: res => {
|
48
|
+
this.url = url.replace('token=platform_token', 'token=' + res.objx);
|
49
|
+
this.type = 1;
|
50
|
+
}
|
51
|
+
});
|
52
|
+
} else if (url.indexOf('token=true') >= 0) {
|
53
|
+
let token = getToken();
|
54
|
+
this.url = url.replace('token=true', ('token=' + token))
|
55
|
+
this.type = 1;
|
39
56
|
} else {
|
40
57
|
this.url = url;
|
41
58
|
this.type = 1;
|