cloud-web-corejs 1.0.54-dev.78 → 1.0.54-dev.780
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 +200 -183
- package/src/App.vue +73 -75
- package/src/api/user.js +85 -40
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/fileLibraryDialog.vue +296 -0
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +69 -1
- package/src/components/VabUpload/index.vue +9 -1
- package/src/components/VabUpload/mixins/fileLibraryDialog.js +1112 -0
- package/src/components/VabUpload/mixins.js +1881 -2
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +209 -120
- package/src/components/advancedSearchDialog/mixins.js +28 -1
- package/src/components/base-textarea/index.vue +104 -0
- package/src/components/baseAlert/index.js +44 -1
- package/src/components/baseAlert/index.vue +24 -20
- package/src/components/baseAlert/mixins.js +61 -1
- package/src/components/baseArea/index.vue +1628 -0
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/install.js +21 -5
- package/src/components/baseAttachment/mixins.js +310 -1
- package/src/components/baseInputBatch/mixins.js +58 -1
- package/src/components/baseInputExport/index.vue +21 -14
- package/src/components/baseInputExport/mixins.js +391 -1
- package/src/components/baseInputNumber/index.vue +9 -9
- package/src/components/baseTabs/index.vue +16 -8
- package/src/components/baseTabs/mixins.js +177 -1
- package/src/components/cnPrint/index.js +44 -1
- package/src/components/cnPrint/mixins.js +189 -1
- package/src/components/code-editor/index.vue +131 -62
- package/src/components/confirmDialog/index.js +41 -1
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +31 -1
- package/src/components/errorMsg/index.js +47 -3
- package/src/components/errorMsg/index.vue +78 -70
- package/src/components/errorMsg/mixins.js +103 -5
- package/src/components/excelExport/button.vue +86 -24
- package/src/components/excelExport/exportFieldDialog.vue +246 -90
- package/src/components/excelExport/index.js +65 -6
- package/src/components/excelExport/index.vue +109 -26
- package/src/components/excelExport/mixins.js +1132 -8
- package/src/components/excelImport/index.js +13 -13
- package/src/components/excelImport/mixins.js +2 -1
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
- package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -208
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +454 -0
- package/src/components/fileLibrary/index.vue +1109 -687
- 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 +339 -211
- 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 +230 -101
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +62 -3
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
- package/src/components/fileLibrary/propertiesDialog.vue +190 -145
- package/src/components/fileLibrary/recycleBinDialog.vue +237 -236
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formDialog/README.md +241 -0
- package/src/components/formDialog/index.js +35 -0
- package/src/components/formDialog/index.vue +724 -0
- package/src/components/formOplog/mixins.js +85 -4
- package/src/components/hiprint/css/bootstrap.min.css +6 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/components/hiprint/hiprint.bundle.js +15 -3
- package/src/components/hiprint/view/design/index.vue +140 -47
- package/src/components/hiprint/view/design/mixins.js +611 -1
- package/src/components/hiprint/view/design/preview.vue +75 -52
- package/src/components/hiprint/view/json-view.vue +31 -31
- package/src/components/jdPrint/index.js +44 -1
- package/src/components/jdPrint/mixins.js +208 -1
- package/src/components/jsonImport/exportUtil.js +106 -0
- package/src/components/jsonImport/index.js +212 -17
- package/src/components/jsonImport/mixins.js +350 -16
- package/src/components/langImport/index.js +80 -1
- package/src/components/langImport/mixins.js +487 -1
- package/src/components/langTag/mixins/addButton.js +51 -5
- package/src/components/langTag/mixins/deleteButton.js +55 -5
- package/src/components/langTag/mixins/view.js +47 -5
- package/src/components/luckysheet/dialog.vue +159 -0
- package/src/components/luckysheet/export.js +595 -0
- package/src/components/luckysheet/fileUtils.js +147 -0
- package/src/components/luckysheet/index.js +72 -0
- package/src/components/luckysheet/templateJson.js +12078 -0
- package/src/components/luckysheet/view.vue +210 -0
- 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.js +34 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +1476 -0
- package/src/components/onlineTalk/index.vue +1 -1
- package/src/components/onlineTalk/mixins.js +852 -1
- package/src/components/onlineTalk/talkUserDialog.vue +280 -0
- package/src/components/oplogTable/mixins.js +83 -4
- package/src/components/pddPrint/index.js +44 -1
- package/src/components/pddPrint/mixins.js +252 -1
- package/src/components/projectTag/mixins/addButton.js +52 -1
- package/src/components/projectTag/mixins/deleteButton.js +52 -1
- package/src/components/projectTag/mixins/view.js +43 -1
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptDescription/mixins.js +30 -1
- package/src/components/scriptTest/mixins.js +90 -1
- package/src/components/statusTag/mixins.js +66 -1
- package/src/components/table/CellSlot.vue +12 -9
- package/src/components/table/config.js +74 -1
- package/src/components/table/index.js +1215 -11
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +285 -1
- package/src/components/table/util/index.js +337 -0
- package/src/components/table/vxeFilter/index.js +153 -1
- package/src/components/table/vxeFilter/mixin.js +310 -6
- package/src/components/tempStorage/index.vue +76 -55
- package/src/components/tempStorage/tempStorageDialog.vue +179 -54
- package/src/components/vb-tabs/x-tabs.vue +57 -30
- package/src/components/vipPrint/index.js +44 -1
- package/src/components/vipPrint/mixins.js +268 -1
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +834 -362
- package/src/components/wf/mixins/addOpinionButton.js +53 -0
- package/src/components/wf/mixins/setCandidateButton.js +161 -0
- package/src/components/wf/mixins/setCandidateDialog.js +217 -5
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +69 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +105 -0
- package/src/components/wf/wf.js +2224 -30
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +66 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +280 -1
- package/src/components/xform/XFormTabContainer//346/226/260/345/242/236/351/241/265/347/255/276/346/250/241/345/274/217-/346/234/200/347/273/210/345/256/236/347/216/260.md +195 -0
- package/src/components/xform/docs/2026-07 table/344/270/216excelExport/344/277/256/345/244/215/345/217/212/345/257/274/345/207/272/344/274/230/345/214/226.md" +57 -0
- package/src/components/xform/docs/2026-07 /346/216/222/346/237/245/344/277/256/345/244/215/350/256/260/345/275/225.md" +73 -0
- package/src/components/xform/docs/autocomplete /350/207/252/345/212/250/345/256/214/346/210/220/347/273/204/344/273/266/350/257/264/346/230/216.md" +126 -0
- package/src/components/xform/docs//345/220/216/345/217/260/345/255/227/346/256/265/357/274/210/345/212/250/346/200/201/347/224/237/346/210/220/357/274/211JSON /350/257/264/346/230/216.md" +1286 -0
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +986 -0
- package/src/components/xform/docs//346/225/260/346/215/256/350/241/250/346/240/274/345/212/250/346/200/201/345/210/227 JSON /350/257/264/346/230/216.md" +657 -0
- package/src/components/xform/form-designer/designer.js +2027 -29
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +434 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +108 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +291 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +14 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +320 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +85 -49
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -3
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +30 -8
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1774 -19
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +222 -76
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +67 -54
- 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/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/baseAttachment-widget.vue +216 -184
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +76 -66
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +209 -90
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +41 -35
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +95 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -3
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +48 -5
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +170 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1941 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +657 -108
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +964 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- 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/echart-bar-mixin.js +3 -9
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +3 -9
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +3 -9
- 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/mixins/vabsearch-mixin.js +192 -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 +119 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +55 -28
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +119 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +156 -54
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- 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 +146 -0
- 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-export-item-button-widget.vue +92 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- 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 +16 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +93 -49
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +9 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +38 -38
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +111 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +4 -3
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +187 -70
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +231 -0
- package/src/components/xform/form-designer/form-widget/index.vue +6 -1
- package/src/components/xform/form-designer/form-widget/indexMixin.js +184 -2
- package/src/components/xform/form-designer/index.vue +195 -191
- package/src/components/xform/form-designer/indexMixin.js +855 -24
- package/src/components/xform/form-designer/refMixinDesign.js +27 -28
- 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 +1553 -629
- package/src/components/xform/form-designer/setting-panel/index.vue +313 -305
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +370 -12
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +585 -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/buttonIcon-editor.vue +14 -15
- 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 +124 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1154 -1048
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +281 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
- 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 +1632 -592
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
- 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 +34 -46
- 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/container-tree/tree-customClass-editor.vue +31 -2
- 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/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -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/onClick-editor.vue +23 -8
- 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-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/icon-editor.vue +14 -15
- 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-cascader/cascader-multiple-editor.vue +8 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/checkStrictly-editor.vue +11 -13
- 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-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-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +75 -21
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -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-script-input/script-input-editor.vue +55 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-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/select-export-item-button-editor.vue +71 -0
- 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 +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +107 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
- 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 +17 -16
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +25 -25
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +67 -13
- 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/name-editor.vue +127 -50
- 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/prefixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -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/showViewButton-editor.vue +29 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/suffixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +304 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +19 -0
- 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 +372 -50
- 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 +369 -324
- package/src/components/xform/form-designer/setting-panel/widgetPropertyDialogMixin.js +186 -0
- package/src/components/xform/form-designer/toolbar-panel/index.vue +267 -103
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +655 -24
- package/src/components/xform/form-designer/widget-panel/index.vue +389 -321
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +334 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4531 -3141
- 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 +404 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +221 -203
- package/src/components/xform/form-render/container-item/data-table-mixin.js +3716 -858
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +173 -172
- package/src/components/xform/form-render/container-item/detail-item.vue +287 -158
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- 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/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 +1184 -419
- package/src/components/xform/form-render/container-item/sub-form-item.vue +10 -2
- package/src/components/xform/form-render/container-item/tab-item.vue +125 -88
- 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 +7 -7
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
- package/src/components/xform/form-render/container-item/table2-item.vue +198 -99
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/dynamicDialogRender.js +238 -3
- package/src/components/xform/form-render/dynamicDrawerRender.js +229 -0
- package/src/components/xform/form-render/formDynamicFieldMixin.js +131 -0
- package/src/components/xform/form-render/index.vue +86 -21
- package/src/components/xform/form-render/indexMixin.js +5070 -37
- package/src/components/xform/form-render/refMixin.js +34 -3
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
- package/src/components/xform/lang/en-US.js +457 -438
- package/src/components/xform/lang/en-US_extension.js +4 -0
- package/src/components/xform/lang/zh-CN.js +628 -593
- package/src/components/xform/mixins/defaultHandle.js +474 -2
- package/src/components/xform/mixins/scriptHttp.js +179 -3
- package/src/components/xform/utils/dynamicSchemaUtil.js +361 -0
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/formHttp.js +162 -0
- package/src/components/xform/utils/format.js +205 -172
- package/src/components/xform/utils/formula-util.js +969 -0
- package/src/components/xform/utils/sfc-generator.js +2 -2
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/tableCellValidateUtil.js +148 -0
- package/src/components/xform/utils/tableColumnHelper.js +155 -0
- package/src/components/xform/utils/util.js +1591 -1
- package/src/components/xform/utils/validators.js +185 -4
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- package/src/components/xhsPrint/index.js +44 -1
- package/src/components/xhsPrint/mixins.js +269 -1
- package/src/directive/LimitNumber/index.js +144 -1
- package/src/directive/el-dialog-center/index.js +34 -1
- package/src/directive/el-drag-dialog/drag.js +86 -1
- package/src/directive/el-readonly/index.js +15 -1
- package/src/directive/permission/hasPermi.js +34 -1
- package/src/index.js +472 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +27 -0
- package/src/lang/locale/zh/login.js +26 -0
- package/src/layout/components/AppMain.vue +147 -111
- package/src/layout/components/Sidebar/default.vue +1655 -1222
- package/src/layout/components/Sidebar/index.vue +6 -1
- package/src/layout/components/TagsView/index.vue +57 -15
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +103 -0
- package/src/layout/components/extractedCode/viewDialog.vue +207 -0
- package/src/layout/components/langTool.vue +128 -120
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +170 -150
- package/src/microRouter/index.js +444 -0
- package/src/mixins/selectDialog/index.js +266 -1
- package/src/mixins/tableTree/index.js +199 -4
- package/src/mixins/wf/index.js +33 -1
- package/src/permission.js +158 -16
- package/src/public-path.js +38 -0
- package/src/resources/js/base/common.js +109 -109
- package/src/router/index.js +4 -7
- package/src/router/modules/customer.js +21 -18
- package/src/router/modules/system.js +4 -0
- package/src/store/config/index.js +667 -600
- package/src/store/getters.js +4 -1
- package/src/store/modules/micro.js +57 -0
- package/src/store/modules/permission.js +517 -23
- package/src/store/modules/settings.js +26 -1
- package/src/store/modules/tagsView.js +206 -5
- package/src/store/modules/user.js +418 -28
- package/src/utils/aes.js +21 -1
- package/src/utils/auth.js +27 -1
- package/src/utils/componentDialog.js +339 -0
- package/src/utils/global.js +370 -8
- package/src/utils/index.js +579 -7
- package/src/utils/keepAlive.js +185 -1
- package/src/utils/menuAdapter.js +277 -0
- package/src/utils/pddLog.js +92 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/repeatOpen.js +48 -0
- package/src/utils/request.js +417 -28
- package/src/utils/resolveViewComponent.js +198 -0
- package/src/utils/vab.js +1276 -27
- package/src/utils/validate.js +104 -1
- 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/dialog.js +84 -1
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +116 -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 +83 -0
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/compareBasicSection.vue +125 -0
- package/src/views/bd/setting/formVersion/compareCodeSection.vue +539 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +65 -0
- package/src/views/bd/setting/formVersion/compareContent.vue +63 -0
- package/src/views/bd/setting/formVersion/compareDialog.vue +88 -0
- package/src/views/bd/setting/formVersion/compareMixin.js +93 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
- package/src/views/bd/setting/formVersion/formScriptCompareView.vue +94 -0
- package/src/views/bd/setting/formVersion/formTemplateCompareView.vue +74 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -0
- package/src/views/bd/setting/formVersion/link.vue +58 -0
- package/src/views/bd/setting/formVersion/preformDialog.vue +87 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
- package/src/views/bd/setting/formVersion/tableDetailDiff.js +99 -0
- package/src/views/bd/setting/formVersion/tableModelCompareView.vue +514 -0
- package/src/views/bd/setting/formVersion/textDiff.js +102 -0
- package/src/views/bd/setting/form_import_log/edit.vue +130 -0
- package/src/views/bd/setting/form_import_log/list.vue +211 -0
- package/src/views/bd/setting/form_script/edit.vue +196 -74
- package/src/views/bd/setting/form_script/edit1.vue +410 -187
- package/src/views/bd/setting/form_script/form_list.vue +174 -85
- package/src/views/bd/setting/form_script/list.vue +95 -21
- package/src/views/bd/setting/form_script/list1.vue +205 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +265 -7
- package/src/views/bd/setting/form_script/mixins/edit1.js +259 -9
- package/src/views/bd/setting/form_script/mixins/form_list.js +320 -4
- package/src/views/bd/setting/form_script/mixins/list.js +307 -4
- package/src/views/bd/setting/form_script/mixins/list1.js +512 -14
- package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +3 -3
- package/src/views/bd/setting/form_template/edit.vue +355 -184
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
- package/src/views/bd/setting/form_template/list.vue +301 -214
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +279 -1
- package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
- package/src/views/bd/setting/form_template/mixins/edit.js +277 -9
- package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
- package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
- package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
- package/src/views/bd/setting/form_template/mixins/list.js +721 -22
- package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
- package/src/views/bd/setting/form_template/mixins/wf_list.js +421 -3
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -254
- package/src/views/bd/setting/form_template/wf_list.vue +161 -127
- 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 +139 -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 +376 -0
- package/src/views/bd/setting/menu_kind/list.vue +172 -83
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -1
- 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 +301 -0
- package/src/views/bd/setting/table_model/edit.vue +1079 -426
- package/src/views/bd/setting/table_model/list.vue +218 -128
- package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1309 -13
- package/src/views/bd/setting/table_model/mixins/list.js +463 -2
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -3
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/utils/index.js +75 -1
- package/src/views/support/form-dialog-demo/demoPickerDialog.vue +72 -0
- package/src/views/support/form-dialog-demo/index.vue +537 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +223 -117
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/list.vue +4 -1
- package/src/views/user/company_info/dialog.vue +195 -163
- package/src/views/user/extend_datasource/dialog.vue +3 -0
- package/src/views/user/extend_datasource/edit.vue +2 -1
- package/src/views/user/extend_datasource/list.vue +3 -0
- package/src/views/user/fieldTranslation/editDialog.vue +8 -8
- package/src/views/user/fieldTranslation/list.vue +33 -33
- package/src/views/user/file_view_ins/list.vue +22 -1
- package/src/views/user/form/vform/designer.vue +792 -749
- package/src/views/user/form/vform/formFieldMapping.js +2 -3
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +65 -52
- package/src/views/user/form/view/edit.vue +56 -37
- package/src/views/user/form/view/list.vue +474 -54
- package/src/views/user/home/default.vue +1117 -979
- package/src/views/user/home/default2.vue +1158 -0
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +20 -16
- package/src/views/user/login/default.vue +165 -44
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +582 -380
- package/src/views/user/menu/list.vue +50 -1
- package/src/views/user/menuFallback/index.vue +123 -0
- package/src/views/user/notify_message/dialog.vue +65 -22
- 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 +202 -211
- package/src/views/user/outLink/index.vue +62 -19
- package/src/views/user/outLink/view.vue +5 -13
- package/src/views/user/position/list.vue +4 -4
- 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/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +609 -429
- 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/system_notice/infoDialog.vue +61 -1
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1391 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/info.vue +253 -140
- package/src/views/user/user/list.vue +652 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- 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 +625 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +678 -256
- package/src/views/user/wf/wf_manage/list2.vue +875 -0
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +47 -22
- 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_transfer_setting/edit.vue +282 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
- package/src/views/user/workbench_menu/list.vue +555 -0
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +0 -1347
- package/src/utils/wf.js +0 -21
|
@@ -0,0 +1,1158 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="workbenches">
|
|
3
|
+
<div class="workbenches-head">
|
|
4
|
+
<span class="f-blue">{{ $t1("欢迎您") }}</span>
|
|
5
|
+
|
|
6
|
+
<el-link
|
|
7
|
+
class="fr"
|
|
8
|
+
icon="iconfont icon-tuichudenglu"
|
|
9
|
+
:underline="false"
|
|
10
|
+
@click="logout"
|
|
11
|
+
>{{ $t1("退出登录") }}</el-link
|
|
12
|
+
>
|
|
13
|
+
<!-- <el-link class="fr" icon="el-icon-set-up" :underline="false" @click="openCompanyDialog" style="margin-right:10px">切换组织</el-link> -->
|
|
14
|
+
<span class="fr">{{ $t1("您好") }},{{ userInfo.nickName }}</span>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="workbenches-box">
|
|
17
|
+
<el-row>
|
|
18
|
+
<el-col :span="16">
|
|
19
|
+
<div class="w-box" style="margin-right: 16px">
|
|
20
|
+
<div class="w-b-head">
|
|
21
|
+
<div class="tit fl">
|
|
22
|
+
<b>{{ $t1("应用场景") }}</b>
|
|
23
|
+
</div>
|
|
24
|
+
<!-- <div class="fr">
|
|
25
|
+
<el-link icon="iconfont icon-shuaxin" :underline="false">刷新</el-link>
|
|
26
|
+
<el-link :underline="false">查看更多 +</el-link>
|
|
27
|
+
</div> -->
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="use-cases">
|
|
31
|
+
<template v-for="workbenchMenu in workbenchMenus">
|
|
32
|
+
<div class="item" :key="workbenchMenu.id">
|
|
33
|
+
<div class="t">
|
|
34
|
+
<span>{{ workbenchMenu.menuName }}</span>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="c">
|
|
37
|
+
<div
|
|
38
|
+
class="i-block"
|
|
39
|
+
v-for="(router2, index1) in workbenchMenu.children"
|
|
40
|
+
:key="index1"
|
|
41
|
+
@click="openRoutePath(router2)"
|
|
42
|
+
>
|
|
43
|
+
<i
|
|
44
|
+
class="icon iconfont"
|
|
45
|
+
:class="router2.menuImg || 'icon-charge-fill'"
|
|
46
|
+
:style="
|
|
47
|
+
'background-color: ' +
|
|
48
|
+
(router2.menuImgColor || '#3B82F6') +
|
|
49
|
+
';'
|
|
50
|
+
"
|
|
51
|
+
></i>
|
|
52
|
+
<span>{{ router2.menuName }}</span>
|
|
53
|
+
<span class="tips" v-if="!!router2.note">{{
|
|
54
|
+
router2.note
|
|
55
|
+
}}</span>
|
|
56
|
+
</div>
|
|
57
|
+
<!-- <div class="i-block">
|
|
58
|
+
<i class="icon iconfont icon-charge-fill" style="background-color:#3B82F6"></i>
|
|
59
|
+
|
|
60
|
+
<span>研发费用付款</span>
|
|
61
|
+
<span class="tips">(技术转让费、设计开发费、检测费、试验费、信息费、标准化费用)</span>
|
|
62
|
+
</div> -->
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</template>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<!-- <template v-for="menuModule in $baseEventBus.menuModules">
|
|
69
|
+
<div class="use-cases" style="height: calc(100vh - 193px);" :key="menuModule.id" v-show="menuModule.id === $baseEventBus.currentMenuId">
|
|
70
|
+
|
|
71
|
+
<div class="item" v-for="router1 in menuModule.children" :key="router1.id">
|
|
72
|
+
<div class="t"><span>{{router1.menuName}}</span></div>
|
|
73
|
+
<div class="c">
|
|
74
|
+
<div class="i-block" v-for="(router2, index1) in router1.children"
|
|
75
|
+
:key="index1" @click="rourteTo(router2)"><i class="icon" style="background-color: #3B82F6;">{{router2.menuName.substring(0,1)}}</i><span>{{router2.menuName}}</span></div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</template> -->
|
|
80
|
+
</div>
|
|
81
|
+
</el-col>
|
|
82
|
+
<el-col :span="8">
|
|
83
|
+
<div class="w-box" style="height: 60%">
|
|
84
|
+
<div class="w-b-head">
|
|
85
|
+
<div class="tit fl">
|
|
86
|
+
<b>{{ $t1("待办事项") }}</b>
|
|
87
|
+
<i class="nums">{{ unDoWfRows.length }}</i>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="fr">
|
|
90
|
+
<el-link :underline="false" @click="toWfManageList"
|
|
91
|
+
>{{ $t1("查看更多") }} +</el-link
|
|
92
|
+
>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="agenda-box">
|
|
96
|
+
<div
|
|
97
|
+
class="item"
|
|
98
|
+
v-for="item in unDoWfRows"
|
|
99
|
+
:key="item.id"
|
|
100
|
+
@click="openWfDialog(item)"
|
|
101
|
+
>
|
|
102
|
+
<p class="name">{{ item.name }}</p>
|
|
103
|
+
<p class="info">
|
|
104
|
+
<span>{{ $t1("单据类型") }}:{{ item.objTypeName }}</span>
|
|
105
|
+
<span>{{ $t1("启动人") }}:{{ item.starterName }}</span>
|
|
106
|
+
</p>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="w-box" style="margin-top: 16px; height: calc(40% - 16px)">
|
|
111
|
+
<div class="w-b-head">
|
|
112
|
+
<div class="tit fl">
|
|
113
|
+
<b>{{ $t1("通知公告") }}</b>
|
|
114
|
+
<i class="nums">{{ systemNotices.length }}</i>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="fr">
|
|
117
|
+
<el-link :underline="false" @click="openSystemNoticeDialog()"
|
|
118
|
+
>{{ $t1("查看更多") }} +</el-link
|
|
119
|
+
>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="wnotice-box">
|
|
123
|
+
<!-- <div class="item">
|
|
124
|
+
<i class="no-read">未读</i>
|
|
125
|
+
<span class="name">紧急通知</span>
|
|
126
|
+
<span class="date">2025-10-12</span>
|
|
127
|
+
</div> -->
|
|
128
|
+
<div
|
|
129
|
+
class="item"
|
|
130
|
+
v-for="systemNotice in systemNotices"
|
|
131
|
+
:key="systemNotice.id"
|
|
132
|
+
@click="openSystemNoticeDialog(systemNotice)"
|
|
133
|
+
>
|
|
134
|
+
<span class="name">{{ systemNotice.title }}</span>
|
|
135
|
+
<span class="date">{{
|
|
136
|
+
systemNotice.modifyDate.substring(0, 10)
|
|
137
|
+
}}</span>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</el-col>
|
|
142
|
+
</el-row>
|
|
143
|
+
</div>
|
|
144
|
+
<!-- <div class="workbenches-info">
|
|
145
|
+
<div class="w-left">
|
|
146
|
+
<span>角色申请:李鹏00575023 (“项目预算与费用管理”模块:郑潇涵19010359)</span>
|
|
147
|
+
<span>运维人员:林上家A1010633 | 王瑾瑾01499274<i style="padding-left:24px"></i>©2023 海尔新能源 版权所有</span>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
-->
|
|
151
|
+
<systemNoticeInfoDialog
|
|
152
|
+
v-if="showSystemNoticeInfoDialog"
|
|
153
|
+
:visiable.sync="showSystemNoticeInfoDialog"
|
|
154
|
+
:param="csnRow"
|
|
155
|
+
:appendToTop="true"
|
|
156
|
+
></systemNoticeInfoDialog>
|
|
157
|
+
<wfContentDialog
|
|
158
|
+
v-if="showWfDialog"
|
|
159
|
+
:visible.sync="showWfDialog"
|
|
160
|
+
@close="wfClose"
|
|
161
|
+
:option.sync="wfContentOption"
|
|
162
|
+
></wfContentDialog>
|
|
163
|
+
<el-dialog
|
|
164
|
+
:title="$t1('切换组织')"
|
|
165
|
+
width="355px"
|
|
166
|
+
custom-class="dialog-style list-dialog"
|
|
167
|
+
v-if="showCompanyDialog"
|
|
168
|
+
:visible.sync="showCompanyDialog"
|
|
169
|
+
:append-to-body="true"
|
|
170
|
+
:modal-append-to-body="true"
|
|
171
|
+
:close-on-click-modal="false"
|
|
172
|
+
v-el-drag-dialog
|
|
173
|
+
v-el-dialog-center
|
|
174
|
+
@close="changeCompanyClose"
|
|
175
|
+
>
|
|
176
|
+
<div class="cont">
|
|
177
|
+
<el-input
|
|
178
|
+
:placeholder="$t1('搜索')"
|
|
179
|
+
class="search-btn"
|
|
180
|
+
v-model="filterText"
|
|
181
|
+
></el-input>
|
|
182
|
+
<el-tree
|
|
183
|
+
:props="defaultProps"
|
|
184
|
+
:load="loadNode"
|
|
185
|
+
node-key="id"
|
|
186
|
+
ref="tree"
|
|
187
|
+
highlight-current
|
|
188
|
+
lazy
|
|
189
|
+
:expand-on-click-node="true"
|
|
190
|
+
@node-click="handleNodeClick"
|
|
191
|
+
class="organization-tree"
|
|
192
|
+
icon-class="el-icon-arrow-right"
|
|
193
|
+
:filter-node-method="filterNode"
|
|
194
|
+
></el-tree>
|
|
195
|
+
</div>
|
|
196
|
+
</el-dialog>
|
|
197
|
+
</div>
|
|
198
|
+
</template>
|
|
199
|
+
|
|
200
|
+
<script>
|
|
201
|
+
import systemNoticeInfoDialog from "@base/views/user/system_notice/infoDialog.vue";
|
|
202
|
+
import commMenuDialog from "@base/views/user/commMenu/index.vue";
|
|
203
|
+
import notifyMessageDialog from "@base/views/user/notify_message/dialog.vue";
|
|
204
|
+
import notifyMessageInfoDialog from "@base/views/user/notify_message/infoDialog";
|
|
205
|
+
|
|
206
|
+
import { getToken } from "@base/utils/auth";
|
|
207
|
+
import wfContentDialog from "@base/views/user/wf/wf_manage/wfContentDialog";
|
|
208
|
+
import corejsConfig from "@/corejsConfig";
|
|
209
|
+
import { mapGetters } from "vuex";
|
|
210
|
+
|
|
211
|
+
export default {
|
|
212
|
+
name: "home",
|
|
213
|
+
props: {
|
|
214
|
+
wf_manage_url: String,
|
|
215
|
+
},
|
|
216
|
+
components: {
|
|
217
|
+
systemNoticeInfoDialog,
|
|
218
|
+
commMenuDialog,
|
|
219
|
+
notifyMessageDialog,
|
|
220
|
+
notifyMessageInfoDialog,
|
|
221
|
+
wfContentDialog,
|
|
222
|
+
},
|
|
223
|
+
data() {
|
|
224
|
+
return {
|
|
225
|
+
defaultProps: {
|
|
226
|
+
label: "label", //这里是树结构中需显示的数据(即接口返回的需展示在页面上的参数)
|
|
227
|
+
children: [],
|
|
228
|
+
isLeaf: "leaf",
|
|
229
|
+
},
|
|
230
|
+
filterText: null,
|
|
231
|
+
showCompanyDialog: false,
|
|
232
|
+
choose_company_info: "",
|
|
233
|
+
|
|
234
|
+
showNoticeDialog: false,
|
|
235
|
+
showGroupDialog: false,
|
|
236
|
+
notifyTemplates: [],
|
|
237
|
+
userInfo: {},
|
|
238
|
+
companyInfo: {},
|
|
239
|
+
systemNotices: [],
|
|
240
|
+
showSystemNoticeInfoDialog: false,
|
|
241
|
+
csnRow: null,
|
|
242
|
+
headPhotoUrl: "",
|
|
243
|
+
dialogVisible: true,
|
|
244
|
+
unDoWfRows: [],
|
|
245
|
+
wfOption: {},
|
|
246
|
+
showWfDialog: false,
|
|
247
|
+
wfContentOption: {},
|
|
248
|
+
showWfContent: true,
|
|
249
|
+
wfContent: null,
|
|
250
|
+
wfDataId: "",
|
|
251
|
+
showCommMenuDialog: false,
|
|
252
|
+
commMenus: [],
|
|
253
|
+
notifyMessages: [],
|
|
254
|
+
notifyMessageInfoIndex: null,
|
|
255
|
+
notifyMessageInfoId: null,
|
|
256
|
+
unreadMessageNum: 0,
|
|
257
|
+
activating: true,
|
|
258
|
+
wfTimer: null,
|
|
259
|
+
homeConfig: corejsConfig.homeConfig || {},
|
|
260
|
+
menuModules: [],
|
|
261
|
+
workbenchMenus: [],
|
|
262
|
+
};
|
|
263
|
+
},
|
|
264
|
+
watch: {
|
|
265
|
+
filterText(val) {
|
|
266
|
+
this.$refs.tree.filter(val);
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
computed: {
|
|
270
|
+
...mapGetters(["sidebarRouters"]),
|
|
271
|
+
},
|
|
272
|
+
activated() {
|
|
273
|
+
this.activating = true;
|
|
274
|
+
if (this.wfTimer) {
|
|
275
|
+
this.timerExcFun(true);
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
deactivated() {
|
|
279
|
+
this.activating = false;
|
|
280
|
+
},
|
|
281
|
+
beforeDestroy() {
|
|
282
|
+
this.clearTimer();
|
|
283
|
+
if (this.reloadHomeMenuHandler) {
|
|
284
|
+
this.$baseEventBus.$off("reloadHomeMenu", this.reloadHomeMenuHandler);
|
|
285
|
+
this.reloadHomeMenuHandler = null;
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
created() {
|
|
289
|
+
this.getUserInfo();
|
|
290
|
+
this.initSystemNotice();
|
|
291
|
+
this.initCommMenu();
|
|
292
|
+
this.initNotifyMessage();
|
|
293
|
+
this.initWfParam();
|
|
294
|
+
this.initWfTimer();
|
|
295
|
+
this.initMenu();
|
|
296
|
+
this.initWorkbenchMenu();
|
|
297
|
+
},
|
|
298
|
+
mounted() {
|
|
299
|
+
// setTimeout(() => {
|
|
300
|
+
// debugger
|
|
301
|
+
// this.filterRoute();
|
|
302
|
+
// }, 100);
|
|
303
|
+
},
|
|
304
|
+
methods: {
|
|
305
|
+
handleNodeClick(data, node, v) {
|
|
306
|
+
if (!data.hasChild) {
|
|
307
|
+
this.choose_company_info = data;
|
|
308
|
+
this.changeCompany();
|
|
309
|
+
} else {
|
|
310
|
+
this.choose_company_info = {};
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
// 异步树叶子节点懒加载逻辑
|
|
314
|
+
loadNode(node, resolve) {
|
|
315
|
+
let companyCode =
|
|
316
|
+
node && node.data && node.data.companyCode
|
|
317
|
+
? node.data.companyCode || ""
|
|
318
|
+
: "";
|
|
319
|
+
let url = !companyCode
|
|
320
|
+
? USER_PREFIX + "/user_company_info/getAllList"
|
|
321
|
+
: USER_PREFIX + "/user_company_info/getChildren";
|
|
322
|
+
|
|
323
|
+
this.$http({
|
|
324
|
+
url: url,
|
|
325
|
+
method: "post",
|
|
326
|
+
data: {
|
|
327
|
+
parentCompanyCode: companyCode,
|
|
328
|
+
},
|
|
329
|
+
success: (res) => {
|
|
330
|
+
let datas = res.objx || [];
|
|
331
|
+
let parentLabel = companyCode ? node.label : null;
|
|
332
|
+
datas.forEach((item) => {
|
|
333
|
+
item.leaf = !item.hasChild;
|
|
334
|
+
let label = item.companyName;
|
|
335
|
+
/*if(companyCode){
|
|
336
|
+
label = label + '('+companyTypeMap[item.companyType]+')'
|
|
337
|
+
}*/
|
|
338
|
+
item.label = label;
|
|
339
|
+
item.parentLabel = parentLabel;
|
|
340
|
+
});
|
|
341
|
+
|
|
342
|
+
if (node.level === 0) {
|
|
343
|
+
if (datas.length > 0 && datas[0].hasChild) {
|
|
344
|
+
this.$nextTick(() => {
|
|
345
|
+
let nodedata = node.childNodes[0];
|
|
346
|
+
nodedata.expanded = true;
|
|
347
|
+
nodedata.loadData();
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
resolve(datas);
|
|
352
|
+
},
|
|
353
|
+
});
|
|
354
|
+
},
|
|
355
|
+
filterNode(value, data) {
|
|
356
|
+
if (!value) return true;
|
|
357
|
+
let flag1 = data.label.indexOf(value) !== -1;
|
|
358
|
+
let flag2 = data.parentLabel && data.parentLabel.indexOf(value) !== -1;
|
|
359
|
+
return flag1 || flag2;
|
|
360
|
+
},
|
|
361
|
+
openCompanyDialog() {
|
|
362
|
+
this.filterText = null;
|
|
363
|
+
this.showCompanyDialog = true;
|
|
364
|
+
},
|
|
365
|
+
getWebPrefix(callback) {
|
|
366
|
+
this.$http({
|
|
367
|
+
url: USER_PREFIX + "/auth/getWebPrefix",
|
|
368
|
+
method: `post`,
|
|
369
|
+
data: {},
|
|
370
|
+
isLoading: true,
|
|
371
|
+
success: (res) => {
|
|
372
|
+
let webPrefix = res.objx;
|
|
373
|
+
callback && callback(webPrefix);
|
|
374
|
+
},
|
|
375
|
+
});
|
|
376
|
+
},
|
|
377
|
+
changeCompany() {
|
|
378
|
+
let row = this.choose_company_info;
|
|
379
|
+
let query = this.$route.query;
|
|
380
|
+
let flag = query && query.flag === 1 ? 1 : null;
|
|
381
|
+
this.showCompanyDialog = false;
|
|
382
|
+
if (row && row.companyCode) {
|
|
383
|
+
this.$baseLoading({ target: document.body, fullscreen: true });
|
|
384
|
+
this.$http({
|
|
385
|
+
url: USER_PREFIX + "/auth/switchCompany",
|
|
386
|
+
method: "post",
|
|
387
|
+
data: { stringOne: row.companyCode },
|
|
388
|
+
isLoading: true,
|
|
389
|
+
success: (res) => {
|
|
390
|
+
this.getWebPrefix((prefix) => {
|
|
391
|
+
let webPrefix = prefix ? "/" + prefix : window.MAIN_WEB_PREFIX;
|
|
392
|
+
sessionStorage.removeItem("out-token");
|
|
393
|
+
this.$store.dispatch("user/changeCompanyInfo", row);
|
|
394
|
+
this.$store.dispatch("tagsView/delAllViews");
|
|
395
|
+
window.location.href = webPrefix + "/index.html";
|
|
396
|
+
});
|
|
397
|
+
},
|
|
398
|
+
});
|
|
399
|
+
} else {
|
|
400
|
+
if (flag === 1) {
|
|
401
|
+
this.$router.push({
|
|
402
|
+
path: "/",
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
changeCompanyClose() {
|
|
408
|
+
let query = this.$route.query;
|
|
409
|
+
let flag = query && query.flag === 1 ? 1 : null;
|
|
410
|
+
if (flag === 1) {
|
|
411
|
+
this.$router.push({
|
|
412
|
+
path: "/",
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
this.showCompanyDialog = false;
|
|
416
|
+
},
|
|
417
|
+
initWorkbenchMenu() {
|
|
418
|
+
this.$http({
|
|
419
|
+
url: USER_PREFIX + "/workbench_menu/getAll",
|
|
420
|
+
method: "post",
|
|
421
|
+
data: {},
|
|
422
|
+
success: (res) => {
|
|
423
|
+
let workbenchMenus = res.objx || [];
|
|
424
|
+
this.workbenchMenus = workbenchMenus;
|
|
425
|
+
},
|
|
426
|
+
});
|
|
427
|
+
},
|
|
428
|
+
jumpOutLink(route) {
|
|
429
|
+
let path = route.url || route.path;
|
|
430
|
+
if (route.type === 4 && path) {
|
|
431
|
+
let params = this.getCustomReqUrlAndCleanUrl(path);
|
|
432
|
+
let reqUrl = params.custom_req_url;
|
|
433
|
+
if (reqUrl) {
|
|
434
|
+
this.$http({
|
|
435
|
+
url: reqUrl,
|
|
436
|
+
method: `post`,
|
|
437
|
+
data: { thirdUrl: params.newUrl },
|
|
438
|
+
isLoading: true,
|
|
439
|
+
success: (res) => {
|
|
440
|
+
path = res.objx;
|
|
441
|
+
window.open(path);
|
|
442
|
+
},
|
|
443
|
+
});
|
|
444
|
+
} else {
|
|
445
|
+
if (path.indexOf("token={token}") >= 0) {
|
|
446
|
+
path = path.replace("token={token}", "token=" + getToken());
|
|
447
|
+
}
|
|
448
|
+
window.open(path);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
flattenTree(data) {
|
|
453
|
+
const result = [];
|
|
454
|
+
|
|
455
|
+
// 使用深度优先遍历递归函数
|
|
456
|
+
function dfs(node) {
|
|
457
|
+
if (!node) return;
|
|
458
|
+
|
|
459
|
+
// 将当前节点添加到结果数组(排除children属性)
|
|
460
|
+
const { children, ...rest } = node;
|
|
461
|
+
result.push(rest);
|
|
462
|
+
|
|
463
|
+
// 递归处理子节点
|
|
464
|
+
if (children && children.length > 0) {
|
|
465
|
+
children.forEach((child) => dfs(child));
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
// 处理输入数据(支持数组和单个对象)
|
|
470
|
+
if (Array.isArray(data)) {
|
|
471
|
+
data.forEach((item) => dfs(item));
|
|
472
|
+
} else if (data) {
|
|
473
|
+
dfs(data);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
return result;
|
|
477
|
+
},
|
|
478
|
+
getRoute(row) {
|
|
479
|
+
let menuCode = row.menuCode;
|
|
480
|
+
let routes = this.flattenTree(this.$baseEventBus.menuModules);
|
|
481
|
+
let route = routes.find((item) => item.menuCode === menuCode);
|
|
482
|
+
return route;
|
|
483
|
+
},
|
|
484
|
+
openRoutePath(row) {
|
|
485
|
+
let menuCode = row.menuCode;
|
|
486
|
+
if (menuCode === "todo") {
|
|
487
|
+
this.$message.error(this.$t1("功能正在完善,敬请期待。"));
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
let routes = this.flattenTree(this.sidebarRouters);
|
|
491
|
+
let route = routes.find((item) => item.menuCode === menuCode);
|
|
492
|
+
if (!route) {
|
|
493
|
+
this.$message.error(this.$t1("菜单没有访问权限"));
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
this.rourteTo(route);
|
|
497
|
+
},
|
|
498
|
+
rourteTo(route) {
|
|
499
|
+
let path = route.url || route.path;
|
|
500
|
+
if (!path) {
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
this.showMenuModal = true;
|
|
504
|
+
setTimeout(() => {
|
|
505
|
+
this.showMenuModal = false;
|
|
506
|
+
}, 200);
|
|
507
|
+
try {
|
|
508
|
+
if (route.linkType === 4) {
|
|
509
|
+
this.jumpOutLink(route);
|
|
510
|
+
} else if (route.linkType === 3) {
|
|
511
|
+
this.$openView(
|
|
512
|
+
{
|
|
513
|
+
path: path,
|
|
514
|
+
query: { url: route.outLink, route: route.route },
|
|
515
|
+
},
|
|
516
|
+
route
|
|
517
|
+
);
|
|
518
|
+
} else {
|
|
519
|
+
this.$openView(path, route);
|
|
520
|
+
}
|
|
521
|
+
} catch (e) {
|
|
522
|
+
console.error(e);
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
|
|
526
|
+
initMenu() {
|
|
527
|
+
// handler 存实例属性并在销毁时 $off:home 每次登出/登录重建都会重新注册,
|
|
528
|
+
// 不解绑会累积 handler 并钉住已销毁的 home 实例(内存泄露)
|
|
529
|
+
this.reloadHomeMenuHandler = (menuId) => {
|
|
530
|
+
this.$forceUpdate();
|
|
531
|
+
};
|
|
532
|
+
this.$baseEventBus.$on("reloadHomeMenu", this.reloadHomeMenuHandler);
|
|
533
|
+
},
|
|
534
|
+
filterRoute() {
|
|
535
|
+
let oldRoutes = JSON.parse(JSON.stringify(this.sidebarRouters));
|
|
536
|
+
let nRoute1s = [];
|
|
537
|
+
oldRoutes.forEach((route1, index1) => {
|
|
538
|
+
let nRoute2s = [];
|
|
539
|
+
if (!route1.hidden) {
|
|
540
|
+
route1.children.forEach((route2, index2) => {
|
|
541
|
+
let nRoute3s = [];
|
|
542
|
+
if (!route2.hidden) {
|
|
543
|
+
route2.children.forEach((route3, index3) => {
|
|
544
|
+
if (!route3.hidden) {
|
|
545
|
+
nRoute3s.push(route3);
|
|
546
|
+
}
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
if (route2.type === 4 || route2.url || nRoute3s.length > 0) {
|
|
550
|
+
route2.children = nRoute3s;
|
|
551
|
+
nRoute2s.push(route2);
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
if (route1.type === 4 || route1.url || nRoute2s.length > 0) {
|
|
556
|
+
route1.children = nRoute2s;
|
|
557
|
+
nRoute1s.push(route1);
|
|
558
|
+
}
|
|
559
|
+
});
|
|
560
|
+
|
|
561
|
+
this.menuModules = nRoute1s || [];
|
|
562
|
+
},
|
|
563
|
+
logout() {
|
|
564
|
+
this.$store.dispatch("user/logout2").then((res) => {
|
|
565
|
+
this.$router.push(`/login?redirect=${this.$route.fullPath}`);
|
|
566
|
+
});
|
|
567
|
+
},
|
|
568
|
+
wfClose() {
|
|
569
|
+
this.timerExcFun(true);
|
|
570
|
+
},
|
|
571
|
+
initWfTimer() {
|
|
572
|
+
this.wfTimer = setInterval(() => {
|
|
573
|
+
this.timerExcFun(false);
|
|
574
|
+
}, 10000);
|
|
575
|
+
this.timerExcFun(true);
|
|
576
|
+
},
|
|
577
|
+
timerExcFun(isLoading) {
|
|
578
|
+
if (!this.activating) {
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
this.getWfInfoList(isLoading);
|
|
582
|
+
this.getUnreadMessageNum(isLoading);
|
|
583
|
+
this.$emit("timerHandle");
|
|
584
|
+
},
|
|
585
|
+
clearTimer() {
|
|
586
|
+
clearInterval(this.wfTimer);
|
|
587
|
+
this.wfTimer = null;
|
|
588
|
+
},
|
|
589
|
+
getUserInfo() {
|
|
590
|
+
this.$http({
|
|
591
|
+
url: USER_PREFIX + "/user/currentUser",
|
|
592
|
+
method: "post",
|
|
593
|
+
success: (res) => {
|
|
594
|
+
let userInfo = res.objx;
|
|
595
|
+
this.headPhotoUrl = userInfo.headPhotoUrl
|
|
596
|
+
? userInfo.headPhotoUrl
|
|
597
|
+
: require("@/resources/images" + "/default-header.png");
|
|
598
|
+
|
|
599
|
+
this.userInfo = userInfo;
|
|
600
|
+
},
|
|
601
|
+
});
|
|
602
|
+
this.$http({
|
|
603
|
+
url: USER_PREFIX + "/company_info/getCurrent",
|
|
604
|
+
method: `post`,
|
|
605
|
+
success: (res) => {
|
|
606
|
+
this.companyInfo = res.objx || {};
|
|
607
|
+
},
|
|
608
|
+
});
|
|
609
|
+
},
|
|
610
|
+
initSystemNotice() {
|
|
611
|
+
this.$http({
|
|
612
|
+
url: USER_PREFIX + "/system_notice/listPage",
|
|
613
|
+
data: { publish: true, searchCount: false },
|
|
614
|
+
method: "post",
|
|
615
|
+
success: (res) => {
|
|
616
|
+
this.systemNotices =
|
|
617
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
618
|
+
},
|
|
619
|
+
});
|
|
620
|
+
},
|
|
621
|
+
openSystemNoticeDialog(row) {
|
|
622
|
+
this.csnRow = row || null;
|
|
623
|
+
this.showSystemNoticeInfoDialog = true;
|
|
624
|
+
},
|
|
625
|
+
initUnDoWfInfo() {
|
|
626
|
+
this.$http({
|
|
627
|
+
url: AGILEBPM_PREFIX + "/wf_manage/listPage",
|
|
628
|
+
data: { type: 0, searchCount: false },
|
|
629
|
+
method: "post",
|
|
630
|
+
success: (res) => {
|
|
631
|
+
this.unDoWfRows = res.objx.records || [];
|
|
632
|
+
},
|
|
633
|
+
});
|
|
634
|
+
},
|
|
635
|
+
initWfTableList() {
|
|
636
|
+
let that = this;
|
|
637
|
+
let paramColumns = this.wfParamDTOs.map((item) => {
|
|
638
|
+
return {
|
|
639
|
+
title: this.$t1(item.paramName),
|
|
640
|
+
field: item.paramKey,
|
|
641
|
+
width: 150,
|
|
642
|
+
};
|
|
643
|
+
});
|
|
644
|
+
let statuses = {
|
|
645
|
+
running: this.$t1("审核中"),
|
|
646
|
+
back: this.$t1("已驳回"),
|
|
647
|
+
end: this.$t1("已完成"),
|
|
648
|
+
};
|
|
649
|
+
let tableOption = {
|
|
650
|
+
vue: this,
|
|
651
|
+
tableRef: "table-wf",
|
|
652
|
+
tableName: "home-table-wf",
|
|
653
|
+
config: {
|
|
654
|
+
height: "auto",
|
|
655
|
+
scrollY: {
|
|
656
|
+
enabled: false,
|
|
657
|
+
},
|
|
658
|
+
},
|
|
659
|
+
columns: [
|
|
660
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
|
661
|
+
{
|
|
662
|
+
title: this.$t1("单据类型"),
|
|
663
|
+
field: "objTypeName",
|
|
664
|
+
width: 150,
|
|
665
|
+
fixed: "left",
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
title: this.$t1("流程主题"),
|
|
669
|
+
field: "name",
|
|
670
|
+
width: 150,
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
title: this.$t1("启动人"),
|
|
674
|
+
field: "starterName",
|
|
675
|
+
width: 150,
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
title: this.$t1("当前任务"),
|
|
679
|
+
field: "taskName",
|
|
680
|
+
width: 150,
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
title: this.$t1("当前任务用户"),
|
|
684
|
+
field: "candidateNames",
|
|
685
|
+
width: 150,
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
title: this.$t1("启动时间"),
|
|
689
|
+
field: "createDate",
|
|
690
|
+
width: 150,
|
|
691
|
+
},
|
|
692
|
+
...paramColumns,
|
|
693
|
+
{
|
|
694
|
+
width: 47,
|
|
695
|
+
fixed: "right",
|
|
696
|
+
title: "",
|
|
697
|
+
sortable: false,
|
|
698
|
+
slots: {
|
|
699
|
+
default: ({ row }) => {
|
|
700
|
+
return [
|
|
701
|
+
<a
|
|
702
|
+
href="javascript:void(0);"
|
|
703
|
+
class="a-link"
|
|
704
|
+
onclick={() => {
|
|
705
|
+
this.openWfDialog(row);
|
|
706
|
+
}}
|
|
707
|
+
>
|
|
708
|
+
<el-tooltip
|
|
709
|
+
enterable={false}
|
|
710
|
+
effect="dark"
|
|
711
|
+
content={this.$t1("查看")}
|
|
712
|
+
placement="top"
|
|
713
|
+
popper-class="tooltip-skin"
|
|
714
|
+
>
|
|
715
|
+
<i class="el-icon-view" />
|
|
716
|
+
</el-tooltip>
|
|
717
|
+
</a>,
|
|
718
|
+
];
|
|
719
|
+
},
|
|
720
|
+
},
|
|
721
|
+
},
|
|
722
|
+
],
|
|
723
|
+
};
|
|
724
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
|
725
|
+
this.wfOption = opts;
|
|
726
|
+
});
|
|
727
|
+
},
|
|
728
|
+
openWfDialog(row) {
|
|
729
|
+
this.wfContentOption = {
|
|
730
|
+
objId: row.objId,
|
|
731
|
+
url: row.url,
|
|
732
|
+
objTypeCode: row.objTypeCode,
|
|
733
|
+
};
|
|
734
|
+
this.showWfDialog = true;
|
|
735
|
+
},
|
|
736
|
+
commMenuCallBack(datas) {
|
|
737
|
+
this.commMenus = datas || [];
|
|
738
|
+
},
|
|
739
|
+
initCommMenu() {
|
|
740
|
+
this.$http({
|
|
741
|
+
url: USER_PREFIX + "/comm_menu/currentList",
|
|
742
|
+
data: { longOne: 0 },
|
|
743
|
+
method: "POST",
|
|
744
|
+
}).then((resultMsg) => {
|
|
745
|
+
this.commMenus = resultMsg.objx || [];
|
|
746
|
+
});
|
|
747
|
+
},
|
|
748
|
+
initNotifyMessage() {
|
|
749
|
+
return;
|
|
750
|
+
this.$http({
|
|
751
|
+
url: USER_PREFIX + "/notify_message/listPage",
|
|
752
|
+
data: { searchCount: false },
|
|
753
|
+
method: "post",
|
|
754
|
+
success: (res) => {
|
|
755
|
+
this.notifyMessages =
|
|
756
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
757
|
+
},
|
|
758
|
+
});
|
|
759
|
+
},
|
|
760
|
+
openNotifyMessageDialog(row) {
|
|
761
|
+
if (row.jumpContent) {
|
|
762
|
+
this.$refs.notifyMessageDialog.open(row, () => {
|
|
763
|
+
row.readed = 1;
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
openMoreNotifyMessage(notifyType) {
|
|
768
|
+
let data = { notifyType: notifyType || "" };
|
|
769
|
+
let view = {
|
|
770
|
+
name: "notify_message:list",
|
|
771
|
+
query: data,
|
|
772
|
+
};
|
|
773
|
+
this.$store.dispatch("tagsView/delCachedView", view).then(() => {
|
|
774
|
+
this.$router.replace(view);
|
|
775
|
+
});
|
|
776
|
+
|
|
777
|
+
if (notifyType) {
|
|
778
|
+
this.showGroupDialog = false;
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
checkNotifyMessage(row, index) {
|
|
782
|
+
this.showNoticeDialog = true;
|
|
783
|
+
this.notifyMessageInfoIndex = index;
|
|
784
|
+
this.notifyMessageInfoId = row.id;
|
|
785
|
+
},
|
|
786
|
+
notifyMessageReadHanlde() {
|
|
787
|
+
this.notifyMessages[this.notifyMessageInfoIndex].readed = 1;
|
|
788
|
+
},
|
|
789
|
+
openNotifyTemplateGroupDialog() {
|
|
790
|
+
this.$http({
|
|
791
|
+
url: USER_PREFIX + `/notify_template/listPage`,
|
|
792
|
+
method: `post`,
|
|
793
|
+
data: { searchCount: false },
|
|
794
|
+
isLoading: true,
|
|
795
|
+
// loadingTarget: document.body,
|
|
796
|
+
success: (res) => {
|
|
797
|
+
this.notifyTemplates =
|
|
798
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
799
|
+
this.showGroupDialog = true;
|
|
800
|
+
},
|
|
801
|
+
});
|
|
802
|
+
},
|
|
803
|
+
rourteTo(route) {
|
|
804
|
+
if (route.type === 4) {
|
|
805
|
+
this.jumpOutLink(route);
|
|
806
|
+
} else if (route.type === 3) {
|
|
807
|
+
let menuCode = route.menuCode;
|
|
808
|
+
let path = "/user/outLink/index/" + menuCode;
|
|
809
|
+
this.$openView({ path: path, query: { url: route.url } }, route);
|
|
810
|
+
} else {
|
|
811
|
+
let path = this.getPath(route);
|
|
812
|
+
if (!path) return;
|
|
813
|
+
this.$openView(path, route);
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
getPath(route3) {
|
|
817
|
+
let item = null;
|
|
818
|
+
let path = null;
|
|
819
|
+
if (route3.type === 0) {
|
|
820
|
+
//普通菜单
|
|
821
|
+
if (route3.url) {
|
|
822
|
+
path = route3.route || route3.url;
|
|
823
|
+
let str = "/report/vform/render/";
|
|
824
|
+
if (path.indexOf(str) === 0) {
|
|
825
|
+
} else {
|
|
826
|
+
let pIndex = path.indexOf("?");
|
|
827
|
+
if (pIndex > 0) {
|
|
828
|
+
path = path.substring(0, pIndex);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
} else if (route3.type === 5) {
|
|
833
|
+
//动态表单
|
|
834
|
+
let url = route3.route || route3.url;
|
|
835
|
+
path = url;
|
|
836
|
+
}
|
|
837
|
+
if (path && path.startsWith("@")) {
|
|
838
|
+
path = null;
|
|
839
|
+
}
|
|
840
|
+
return path;
|
|
841
|
+
},
|
|
842
|
+
jumpOutLink(route) {
|
|
843
|
+
let path = route.url;
|
|
844
|
+
if (route.type === 4 && path) {
|
|
845
|
+
if (path.indexOf("token={token}") >= 0) {
|
|
846
|
+
path = path.replace("token={token}", "token=" + getToken());
|
|
847
|
+
}
|
|
848
|
+
window.open(path);
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
initWfParam() {
|
|
852
|
+
return this.$http({
|
|
853
|
+
url: USER_PREFIX + "/wf_param/list",
|
|
854
|
+
method: `post`,
|
|
855
|
+
data: {},
|
|
856
|
+
isLoading: true,
|
|
857
|
+
// loadingTarget: document.body,
|
|
858
|
+
modalStrictly: true,
|
|
859
|
+
success: (res) => {
|
|
860
|
+
this.wfParamDTOs = res.objx || [];
|
|
861
|
+
// this.initWfTableList();
|
|
862
|
+
},
|
|
863
|
+
});
|
|
864
|
+
},
|
|
865
|
+
getWfInfoList(isLoading) {
|
|
866
|
+
if (!this.activating) {
|
|
867
|
+
return;
|
|
868
|
+
}
|
|
869
|
+
this.$http({
|
|
870
|
+
url: USER_PREFIX + "/wf_info/listPage",
|
|
871
|
+
data: { type: 0, size: 20, searchCount: false },
|
|
872
|
+
method: "post",
|
|
873
|
+
isLoading: isLoading,
|
|
874
|
+
modal: isLoading || false,
|
|
875
|
+
// loadingTarget: document.body,
|
|
876
|
+
success: (res) => {
|
|
877
|
+
this.unDoWfRows =
|
|
878
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
879
|
+
},
|
|
880
|
+
failMsg: false,
|
|
881
|
+
errorMsg: false,
|
|
882
|
+
fail: (res, response) => {
|
|
883
|
+
if (response && response.status === 200) {
|
|
884
|
+
this.$errorMsg(res);
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
});
|
|
888
|
+
},
|
|
889
|
+
getUnreadMessageNum(isLoading) {
|
|
890
|
+
if (!this.activating) {
|
|
891
|
+
return;
|
|
892
|
+
}
|
|
893
|
+
return this.$http({
|
|
894
|
+
url: USER_PREFIX + "/notify_message/countMessage",
|
|
895
|
+
method: `post`,
|
|
896
|
+
data: {},
|
|
897
|
+
isLoading: isLoading,
|
|
898
|
+
modal: isLoading || false,
|
|
899
|
+
// loadingTarget: document.body,
|
|
900
|
+
success: (res) => {
|
|
901
|
+
this.unreadMessageNum = res.objx || 0;
|
|
902
|
+
},
|
|
903
|
+
failMsg: false,
|
|
904
|
+
errorMsg: false,
|
|
905
|
+
fail: (res, response) => {
|
|
906
|
+
if (response && response.status === 200) {
|
|
907
|
+
this.$errorMsg(res);
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
});
|
|
911
|
+
},
|
|
912
|
+
wfhandleCallback(flag) {
|
|
913
|
+
if ([1, 2, 3].includes(flag)) {
|
|
914
|
+
this.showWfDialog = false;
|
|
915
|
+
this.wfClose();
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
toWfManageList() {
|
|
919
|
+
let url = this.wf_manage_url || "/basic/wf/wf_manage/list";
|
|
920
|
+
this.$router.push(url);
|
|
921
|
+
},
|
|
922
|
+
},
|
|
923
|
+
};
|
|
924
|
+
</script>
|
|
925
|
+
<style lang="scss" scoped>
|
|
926
|
+
@import "~@/styles/variables.scss";
|
|
927
|
+
::v-deep .el-link {
|
|
928
|
+
color: rgba(0, 0, 0, 0.65);
|
|
929
|
+
.iconfont {
|
|
930
|
+
margin-right: 4px;
|
|
931
|
+
font-size: 14px;
|
|
932
|
+
}
|
|
933
|
+
&:hover {
|
|
934
|
+
color: $baseColor;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
.workbenches {
|
|
938
|
+
padding: 18px 24px 0px;
|
|
939
|
+
}
|
|
940
|
+
.workbenches-head {
|
|
941
|
+
color: rgba(0, 0, 0, 0.65);
|
|
942
|
+
margin-bottom: 16px;
|
|
943
|
+
line-height: 1;
|
|
944
|
+
font-size: 14px;
|
|
945
|
+
.icon-haier {
|
|
946
|
+
color: $baseColor;
|
|
947
|
+
font-size: 24px;
|
|
948
|
+
margin-right: 16px;
|
|
949
|
+
}
|
|
950
|
+
.logo {
|
|
951
|
+
height: 30px;
|
|
952
|
+
vertical-align: middle;
|
|
953
|
+
}
|
|
954
|
+
> span {
|
|
955
|
+
margin-right: 16px;
|
|
956
|
+
&.f-blue {
|
|
957
|
+
font-size: 16px;
|
|
958
|
+
vertical-align: middle;
|
|
959
|
+
line-height: 1;
|
|
960
|
+
display: inline-block;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
.workbenches-box {
|
|
965
|
+
height: calc(100vh - 94px); /**margin-bottom: 16px;*/
|
|
966
|
+
> .el-row {
|
|
967
|
+
height: 100%;
|
|
968
|
+
> .el-col {
|
|
969
|
+
height: 100%;
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
.w-box {
|
|
973
|
+
background: #fff;
|
|
974
|
+
border-radius: 4px;
|
|
975
|
+
overflow: hidden;
|
|
976
|
+
height: 100%;
|
|
977
|
+
.w-b-head {
|
|
978
|
+
overflow: hidden;
|
|
979
|
+
margin: 16px 24px;
|
|
980
|
+
.tit {
|
|
981
|
+
b {
|
|
982
|
+
font-size: 16px;
|
|
983
|
+
font-weight: 600;
|
|
984
|
+
vertical-align: middle;
|
|
985
|
+
}
|
|
986
|
+
.nums {
|
|
987
|
+
margin-left: 8px;
|
|
988
|
+
border-radius: 4px;
|
|
989
|
+
width: 20px;
|
|
990
|
+
height: 20px;
|
|
991
|
+
display: inline-block;
|
|
992
|
+
background-color: #ff4d4f;
|
|
993
|
+
color: #fff;
|
|
994
|
+
text-align: center;
|
|
995
|
+
line-height: 20px;
|
|
996
|
+
font-style: inherit;
|
|
997
|
+
font-size: 12px;
|
|
998
|
+
vertical-align: middle;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
.el-link {
|
|
1002
|
+
margin-left: 24px;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
.wnotice-box {
|
|
1007
|
+
padding: 0 24px 4px;
|
|
1008
|
+
overflow: auto;
|
|
1009
|
+
height: calc(100% - 52px);
|
|
1010
|
+
.item {
|
|
1011
|
+
border: solid 1px rgba(0, 0, 0, 0.15);
|
|
1012
|
+
border-radius: 4px;
|
|
1013
|
+
padding: 12px;
|
|
1014
|
+
display: flex;
|
|
1015
|
+
margin-bottom: 12px;
|
|
1016
|
+
line-height: 18px;
|
|
1017
|
+
cursor: pointer;
|
|
1018
|
+
font-size: 14px;
|
|
1019
|
+
.no-read {
|
|
1020
|
+
background-color: #faad14;
|
|
1021
|
+
border-radius: 4px;
|
|
1022
|
+
color: #fff;
|
|
1023
|
+
font-size: 12px;
|
|
1024
|
+
font-style: inherit;
|
|
1025
|
+
line-height: 18px;
|
|
1026
|
+
padding: 0 4px;
|
|
1027
|
+
margin-right: 8px;
|
|
1028
|
+
}
|
|
1029
|
+
.name {
|
|
1030
|
+
flex: 1;
|
|
1031
|
+
}
|
|
1032
|
+
.date {
|
|
1033
|
+
color: rgba(0, 0, 0, 0.45);
|
|
1034
|
+
font-size: 12px;
|
|
1035
|
+
}
|
|
1036
|
+
&:hover {
|
|
1037
|
+
border-color: $baseColor;
|
|
1038
|
+
.name {
|
|
1039
|
+
color: $baseColor;
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
.agenda-box {
|
|
1045
|
+
padding: 0 24px 4px;
|
|
1046
|
+
overflow: auto;
|
|
1047
|
+
height: calc(100% - 52px);
|
|
1048
|
+
.item {
|
|
1049
|
+
border: solid 1px rgba(0, 0, 0, 0.15);
|
|
1050
|
+
border-radius: 4px;
|
|
1051
|
+
padding: 12px;
|
|
1052
|
+
margin-bottom: 12px;
|
|
1053
|
+
cursor: pointer;
|
|
1054
|
+
p {
|
|
1055
|
+
margin: 0;
|
|
1056
|
+
}
|
|
1057
|
+
.name {
|
|
1058
|
+
margin-bottom: 8px;
|
|
1059
|
+
font-size: 14px;
|
|
1060
|
+
}
|
|
1061
|
+
.info {
|
|
1062
|
+
font-size: 12px;
|
|
1063
|
+
> span {
|
|
1064
|
+
margin-right: 32px;
|
|
1065
|
+
color: rgba(0, 0, 0, 0.45);
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
&:hover {
|
|
1069
|
+
border-color: $baseColor;
|
|
1070
|
+
.name {
|
|
1071
|
+
color: $baseColor;
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
.use-cases {
|
|
1077
|
+
overflow: auto;
|
|
1078
|
+
padding: 0 24px 4px;
|
|
1079
|
+
height: calc(100% - 52px);
|
|
1080
|
+
.item {
|
|
1081
|
+
margin-bottom: 32px;
|
|
1082
|
+
.t {
|
|
1083
|
+
&:before {
|
|
1084
|
+
content: "";
|
|
1085
|
+
width: 4px;
|
|
1086
|
+
height: 15px;
|
|
1087
|
+
border-radius: 4px;
|
|
1088
|
+
background: $baseColor;
|
|
1089
|
+
margin-right: 8px;
|
|
1090
|
+
vertical-align: middle;
|
|
1091
|
+
display: inline-block;
|
|
1092
|
+
}
|
|
1093
|
+
span {
|
|
1094
|
+
vertical-align: middle;
|
|
1095
|
+
font-size: 14px;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
.c {
|
|
1099
|
+
padding: 2px 12px;
|
|
1100
|
+
.i-block {
|
|
1101
|
+
display: inline-block;
|
|
1102
|
+
width: 84px;
|
|
1103
|
+
margin-right: 52px;
|
|
1104
|
+
text-align: center;
|
|
1105
|
+
font-size: 12px;
|
|
1106
|
+
margin-top: 18px;
|
|
1107
|
+
cursor: pointer;
|
|
1108
|
+
vertical-align: top;
|
|
1109
|
+
.icon {
|
|
1110
|
+
width: 44px;
|
|
1111
|
+
height: 44px;
|
|
1112
|
+
border-radius: 8px;
|
|
1113
|
+
color: #fff;
|
|
1114
|
+
display: block;
|
|
1115
|
+
margin: 0 auto 8px;
|
|
1116
|
+
font-size: 20px;
|
|
1117
|
+
font-style: inherit;
|
|
1118
|
+
line-height: 44px;
|
|
1119
|
+
}
|
|
1120
|
+
&:hover {
|
|
1121
|
+
color: $baseColor;
|
|
1122
|
+
}
|
|
1123
|
+
.tips {
|
|
1124
|
+
zoom: 0.8;
|
|
1125
|
+
display: inline-block;
|
|
1126
|
+
line-height: 1.2;
|
|
1127
|
+
margin: 0 -42px 8px;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
.workbenches-info {
|
|
1135
|
+
padding: 0 24px;
|
|
1136
|
+
margin: 0 -24px;
|
|
1137
|
+
background: #fff;
|
|
1138
|
+
height: 50px;
|
|
1139
|
+
display: flex;
|
|
1140
|
+
font-size: 12px;
|
|
1141
|
+
color: rgba(0, 0, 0, 0.65);
|
|
1142
|
+
.w-left {
|
|
1143
|
+
padding: 10px 0;
|
|
1144
|
+
height: 100%;
|
|
1145
|
+
text-align: right;
|
|
1146
|
+
vertical-align: middle;
|
|
1147
|
+
flex: 1;
|
|
1148
|
+
zoom: 0.9;
|
|
1149
|
+
span {
|
|
1150
|
+
margin: 3px 0px;
|
|
1151
|
+
display: block;
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
.w-right {
|
|
1155
|
+
line-height: 74px;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
</style>
|