n20-common-lib 1.3.40 → 1.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/g6.js +2 -2
- package/nstc-g6/assets/svg/addFile.svg +31 -31
- package/nstc-g6/assets/svg/deleteFile.svg +27 -27
- package/nstc-g6/assets/svg/filter.svg +15 -15
- package/nstc-g6/assets/svg/filterActive.svg +16 -16
- package/nstc-g6/assets/svg/hourglass.svg +18 -18
- package/nstc-g6/assets/svg/newsearch.svg +18 -18
- package/nstc-g6/assets/svg/searchActive.svg +18 -18
- package/nstc-g6/components/Calendar/index.js +8 -8
- package/nstc-g6/components/Calendar/src/basic/month-table.vue +129 -129
- package/nstc-g6/components/Calendar/src/basic/year-table.vue +126 -126
- package/nstc-g6/components/Calendar/src/main.vue +442 -442
- package/nstc-g6/components/DialogForm/index.js +8 -8
- package/nstc-g6/components/DialogForm/src/demo/index.vue +56 -56
- package/nstc-g6/components/DialogForm/src/main.vue +189 -189
- package/nstc-g6/components/Form/A_DEMO/component/originalForm.vue +280 -280
- package/nstc-g6/components/Form/A_DEMO/config/config_3.js +1222 -1222
- package/nstc-g6/components/Form/A_DEMO/index.vue +803 -803
- package/nstc-g6/components/Form/AutocompleteCustom/index.vue +72 -72
- package/nstc-g6/components/Form/BusinessSpecific/InputMultiple.vue +191 -191
- package/nstc-g6/components/Form/BusinessSpecific/InputWithUnit.vue +128 -128
- package/nstc-g6/components/Form/BusinessSpecific/SelectTreeDialog.vue +233 -233
- package/nstc-g6/components/Form/BusinessSpecific/readme.md +7 -7
- package/nstc-g6/components/Form/CascaderCustom/index.vue +101 -101
- package/nstc-g6/components/Form/CheckboxCustom/index.vue +84 -84
- package/nstc-g6/components/Form/Component.vue +661 -661
- package/nstc-g6/components/Form/ComponentSecond.vue +650 -650
- package/nstc-g6/components/Form/DatepickerCustom/index.vue +130 -130
- package/nstc-g6/components/Form/InputAndDialog/index.js +15 -15
- package/nstc-g6/components/Form/InputAndDialog/src/main.vue +394 -394
- package/nstc-g6/components/Form/InputCustom/demo/index.vue +65 -65
- package/nstc-g6/components/Form/InputCustom/index.vue +307 -307
- package/nstc-g6/components/Form/IntervalinputCustom/demo/index.vue +31 -31
- package/nstc-g6/components/Form/IntervalinputCustom/index.vue +118 -118
- package/nstc-g6/components/Form/Item.vue +330 -330
- package/nstc-g6/components/Form/ItemSecond.vue +269 -269
- package/nstc-g6/components/Form/List.vue +146 -146
- package/nstc-g6/components/Form/ListSecond.vue +130 -130
- package/nstc-g6/components/Form/RadioCustom/index.vue +73 -73
- package/nstc-g6/components/Form/SelectAccount/index.js +15 -15
- package/nstc-g6/components/Form/SelectAccount/src/demo/index.vue +57 -57
- package/nstc-g6/components/Form/SelectAccount/src/main.vue +282 -282
- package/nstc-g6/components/Form/SelectAndDialog/index.js +15 -15
- package/nstc-g6/components/Form/SelectAndDialog/src/main.vue +383 -383
- package/nstc-g6/components/Form/SelectCashFlow/index.js +15 -15
- package/nstc-g6/components/Form/SelectCashFlow/src/demo/index.vue +41 -41
- package/nstc-g6/components/Form/SelectCashFlow/src/main.vue +125 -125
- package/nstc-g6/components/Form/SelectCustom/demo/index.vue +82 -82
- package/nstc-g6/components/Form/SelectCustom/index.vue +488 -488
- package/nstc-g6/components/Form/SelectSubject/index.js +15 -15
- package/nstc-g6/components/Form/SelectSubject/src/demo/index.vue +84 -84
- package/nstc-g6/components/Form/SelectSubject/src/main.vue +181 -181
- package/nstc-g6/components/Form/SelectindialogCustom/demo/index.vue +188 -188
- package/nstc-g6/components/Form/SelectindialogCustom/index.vue +650 -650
- package/nstc-g6/components/Form/SelectindialogCustom/install.js +6 -6
- package/nstc-g6/components/Form/TableRadioCustom/demo/index.vue +53 -53
- package/nstc-g6/components/Form/TableRadioCustom/index.vue +183 -183
- package/nstc-g6/components/Form/TextCustom/index.vue +38 -38
- package/nstc-g6/components/Form/UploadCustom/demo/index.vue +31 -31
- package/nstc-g6/components/Form/UploadCustom/index.vue +506 -506
- package/nstc-g6/components/Form/configs.js +191 -191
- package/nstc-g6/components/Form/configsSecond.js +161 -161
- package/nstc-g6/components/Form/index.js +8 -8
- package/nstc-g6/components/Form/index.scss +29 -29
- package/nstc-g6/components/Form/payeePersonSelect/index.js +15 -15
- package/nstc-g6/components/Form/payeePersonSelect/src/demo/index.vue +163 -163
- package/nstc-g6/components/Form/payeePersonSelect/src/main.vue +184 -184
- package/nstc-g6/components/Form/readme.txt +4 -4
- package/nstc-g6/components/FormGroup/index.js +8 -8
- package/nstc-g6/components/FormGroup/src/demo/config.js +23 -23
- package/nstc-g6/components/FormGroup/src/demo/index.vue +85 -85
- package/nstc-g6/components/FormGroup/src/main.vue +639 -639
- package/nstc-g6/components/FormGroup/src/validate.js +22 -22
- package/nstc-g6/components/InputTag/InputTag.vue +269 -269
- package/nstc-g6/components/NstcApprovel/NstcApprovel.vue +24 -24
- package/nstc-g6/components/NstcBackToTop/NstcBackToTop.vue +150 -150
- package/nstc-g6/components/NstcBranchLazyLoad/NstcBranchLazyLoad.vue +123 -123
- package/nstc-g6/components/NstcCharts/NstcCharts.vue +162 -162
- package/nstc-g6/components/NstcCharts/define.js +74 -74
- package/nstc-g6/components/NstcCharts/mixins/resize.js +56 -56
- package/nstc-g6/components/NstcConfirm/NstcConfirm.vue +152 -152
- package/nstc-g6/components/NstcConfirm/index.js +24 -24
- package/nstc-g6/components/NstcDialog/NstcDialog.vue +184 -184
- package/nstc-g6/components/NstcDialogForm/NstcDialogForm.vue +175 -175
- package/nstc-g6/components/NstcDialogTable/NstcDialogTable.vue +280 -280
- package/nstc-g6/components/NstcDropdown/NstcDropdown.vue +52 -52
- package/nstc-g6/components/NstcDropdownTree/NstcDropdownTree.vue +396 -396
- package/nstc-g6/components/NstcElectronicFile/NstcElectronicFile.vue +591 -591
- package/nstc-g6/components/NstcExcelCustomImport/NstcExcelCustomImport.vue +475 -475
- package/nstc-g6/components/NstcExcelExport/NstcExcelExport.vue +145 -145
- package/nstc-g6/components/NstcExcelImport/NstcExcelImport.vue +1074 -1074
- package/nstc-g6/components/NstcExcelImportN/NstcExcelImportN.vue +1166 -1166
- package/nstc-g6/components/NstcExpandCollapse/NstcExpandCollapse.vue +130 -130
- package/nstc-g6/components/NstcExpandCollapse/index.scss +77 -77
- package/nstc-g6/components/NstcFileUpload/NstcFileUpload.vue +989 -989
- package/nstc-g6/components/NstcFileUpload/img/addFile.svg +31 -31
- package/nstc-g6/components/NstcFileUpload/img/delete.svg +23 -23
- package/nstc-g6/components/NstcFileUpload/img/deleteFile.svg +27 -27
- package/nstc-g6/components/NstcFileUpload/img/download.svg +23 -23
- package/nstc-g6/components/NstcFileUpload/img/inputUpload.svg +29 -29
- package/nstc-g6/components/NstcFileUpload/img/look-diabled.svg +23 -23
- package/nstc-g6/components/NstcFileUpload/img/look.svg +23 -23
- package/nstc-g6/components/NstcForm/A_DEMO/component/originalForm.vue +280 -280
- package/nstc-g6/components/NstcForm/A_DEMO/config/config_3.js +1222 -1222
- package/nstc-g6/components/NstcForm/A_DEMO/index.vue +796 -796
- package/nstc-g6/components/NstcForm/AutocompleteCustom/index.vue +68 -68
- package/nstc-g6/components/NstcForm/BusinessSpecific/InputMultiple.vue +189 -189
- package/nstc-g6/components/NstcForm/BusinessSpecific/InputWithUnit.vue +128 -128
- package/nstc-g6/components/NstcForm/BusinessSpecific/SelectTreeDialog.vue +233 -233
- package/nstc-g6/components/NstcForm/BusinessSpecific/readme.md +7 -7
- package/nstc-g6/components/NstcForm/CascaderCustom/index.vue +101 -101
- package/nstc-g6/components/NstcForm/CheckboxCustom/index.vue +84 -84
- package/nstc-g6/components/NstcForm/Component.vue +684 -684
- package/nstc-g6/components/NstcForm/ComponentSecond.vue +650 -650
- package/nstc-g6/components/NstcForm/DatepickerCustom/index.vue +130 -130
- package/nstc-g6/components/NstcForm/InputAndDialog/NstcInputAndDialog.vue +389 -389
- package/nstc-g6/components/NstcForm/InputCustom/index.vue +313 -313
- package/nstc-g6/components/NstcForm/IntervalInputCustom/index.vue +111 -111
- package/nstc-g6/components/NstcForm/Item.vue +327 -327
- package/nstc-g6/components/NstcForm/ItemSecond.vue +269 -269
- package/nstc-g6/components/NstcForm/List.vue +146 -146
- package/nstc-g6/components/NstcForm/ListSecond.vue +130 -130
- package/nstc-g6/components/NstcForm/RadioCustom/index.vue +73 -73
- package/nstc-g6/components/NstcForm/SelectAccount/NstcSelectAccount.vue +334 -334
- package/nstc-g6/components/NstcForm/SelectAndDialog/NstcSelectAndDialog.vue +377 -377
- package/nstc-g6/components/NstcForm/SelectCashFlow/NstcSelectCashFlow.vue +122 -122
- package/nstc-g6/components/NstcForm/SelectCustom/index.vue +460 -460
- package/nstc-g6/components/NstcForm/SelectSubject/NstcSelectSubject.vue +184 -184
- package/nstc-g6/components/NstcForm/SelectindialogCustom/index.vue +648 -648
- package/nstc-g6/components/NstcForm/TableRadioCustom/index.vue +183 -183
- package/nstc-g6/components/NstcForm/TextCustom/index.vue +38 -38
- package/nstc-g6/components/NstcForm/UploadCustom/index.vue +500 -500
- package/nstc-g6/components/NstcForm/configs.js +191 -191
- package/nstc-g6/components/NstcForm/configsSecond.js +161 -161
- package/nstc-g6/components/NstcForm/index.js +8 -8
- package/nstc-g6/components/NstcForm/index.scss +29 -29
- package/nstc-g6/components/NstcForm/payeePersonSelect/NstcPayeePerson.vue +187 -187
- package/nstc-g6/components/NstcForm/readme.txt +4 -4
- package/nstc-g6/components/NstcPagination/NstcPagination.vue +428 -428
- package/nstc-g6/components/NstcScreenFull/NstcScreenFull.vue +70 -70
- package/nstc-g6/components/NstcSelectTree/NstcSelectTree.vue +730 -730
- package/nstc-g6/components/NstcSelectTreeList/NstcSelectTreeList.vue +677 -677
- package/nstc-g6/components/NstcSticky/NstcSticky.vue +97 -97
- package/nstc-g6/components/NstcSvgIcon/NstcSvgIcon.vue +72 -72
- package/nstc-g6/components/NstcTab/NstcTab.vue +80 -80
- package/nstc-g6/components/NstcTabWithBadge/NstcTabWithBadge.vue +45 -45
- package/nstc-g6/components/NstcTabWithBadge/index.scss +31 -31
- package/nstc-g6/components/NstcTable/ElTableColumnCustom/index.vue +292 -292
- package/nstc-g6/components/NstcTable/NstcTable.vue +460 -460
- package/nstc-g6/components/NstcTableSet/NstcTableSet.vue +802 -802
- package/nstc-g6/components/NstcThemePicker/NstcThemePicker.vue +186 -186
- package/nstc-g6/components/NstcUploadCustomExcel/NstcUploadCustomExcel.vue +330 -330
- package/nstc-g6/components/NstcUploadExcel/NstcUploadExcel.vue +145 -145
- package/nstc-g6/components/NstcWorkBench/NstcWorkBench.vue +180 -180
- package/nstc-g6/components/Search/NstcSearch.vue +583 -583
- package/nstc-g6/components/Search/src/demo/index copy.vue +101 -101
- package/nstc-g6/components/Search/src/demo/index.vue +103 -103
- package/nstc-g6/components/Search/src/main copy.vue +607 -607
- package/nstc-g6/components/approvelTwo/main.vue +220 -220
- package/nstc-g6/components/approvelTwo/progress.vue +154 -154
- package/nstc-g6/directives/VCopy/index.js +59 -59
- package/nstc-g6/directives/VNstcNumber/index.js +14 -14
- package/nstc-g6/directives/VNstcNumber/temp.js +446 -446
- package/nstc-g6/index.js +193 -193
- package/nstc-g6/utils/auth.js +2 -2
- package/nstc-g6/utils/axios.js +2 -2
- package/nstc-g6/utils/dateAndValidator.js +649 -649
- package/nstc-g6/utils/debounce.js +40 -40
- package/nstc-g6/utils/parseTime.js +48 -48
- package/nstc-g6/utils/validate/index.js +6 -6
- package/nstc-g6/utils/vendor/Export2Excel.js +229 -229
- package/nstc-g6/utils/vendor/Export2Zip.js +24 -24
- package/nstc-g6/utils/vue-bus.js +4 -4
- package/package.json +102 -116
- package/src/_qiankun/index.js +113 -113
- package/src/_qiankun/postMessage.js +24 -24
- package/src/assets/.DS_Store +0 -0
- package/src/assets/css/_coreLib.scss +43 -43
- package/src/assets/css/alert.scss +28 -28
- package/src/assets/css/cl-anchor.scss +70 -32
- package/src/assets/css/cl-approve-card.scss +68 -68
- package/src/assets/css/cl-dialog.scss +113 -113
- package/src/assets/css/cl-drag-list.scss +24 -24
- package/src/assets/css/cl-empty.scss +10 -10
- package/src/assets/css/cl-expandable-pane.scss +37 -37
- package/src/assets/css/cl-expandable.scss +27 -27
- package/src/assets/css/cl-file-upload-table.scss +31 -31
- package/src/assets/css/cl-filter.scss +4 -4
- package/src/assets/css/cl-flow-step.scss +185 -185
- package/src/assets/css/cl-footer-box.scss +10 -10
- package/src/assets/css/cl-form-item.scss +729 -725
- package/src/assets/css/cl-general-card.scss +11 -11
- package/src/assets/css/cl-layout-aside.scss +92 -92
- package/src/assets/css/cl-layout-content.scss +16 -16
- package/src/assets/css/cl-layout-header.scss +89 -89
- package/src/assets/css/cl-layout-tabs.scss +87 -87
- package/src/assets/css/cl-layout.scss +97 -97
- package/src/assets/css/cl-login-temporary.scss +37 -37
- package/src/assets/css/cl-message.scss +159 -159
- package/src/assets/css/cl-more-tab.scss +98 -98
- package/src/assets/css/cl-nav-menu.scss +5 -5
- package/src/assets/css/cl-pagination.scss +130 -130
- package/src/assets/css/cl-secondary-tab.scss +53 -53
- package/src/assets/css/cl-showcolumn.scss +40 -40
- package/src/assets/css/cl-sifting.scss +51 -51
- package/src/assets/css/cl-statis.scss +54 -54
- package/src/assets/css/cl-step.scss +73 -73
- package/src/assets/css/cl-suspend.scss +19 -19
- package/src/assets/css/cl-tertiary-tab.scss +56 -56
- package/src/assets/css/cl-upload.scss +52 -52
- package/src/assets/css/cl-worn-pagination.scss +50 -50
- package/src/assets/css/el-button.scss +186 -186
- package/src/assets/css/el-table.scss +88 -88
- package/src/assets/css/element-variables.scss +1061 -1061
- package/src/assets/css/element.dev.scss +22 -22
- package/src/assets/css/font-icon.scss +26 -26
- package/src/assets/css/index.dev.scss +4 -4
- package/src/assets/css/index.scss +11 -11
- package/src/assets/css/normalize.scss +845 -845
- package/src/assets/css/plain-text.scss +36 -36
- package/src/assets/css/rootvar.scss +143 -143
- package/src/assets/css/select.scss +25 -25
- package/src/assets/css/title-pop.scss +23 -23
- package/src/assets/getJsonc.js +53 -53
- package/src/assets/iconFont/demo.css +539 -539
- package/src/assets/iconFont/demo_index.html +1614 -1614
- package/src/assets/iconFont/iconfont.css +263 -263
- package/src/assets/iconFont/iconfont.json +443 -443
- package/src/assets/realUrl.js +13 -13
- package/src/components/.DS_Store +0 -0
- package/src/components/Anchor/AnchorItem.vue +30 -30
- package/src/components/Anchor/index.vue +208 -185
- package/src/components/ApprovalButtons/index.vue +240 -240
- package/src/components/ApprovalCard/index.vue +132 -132
- package/src/components/ApprovalRecord/approvalImg.vue +39 -39
- package/src/components/ApprovalRecord/approvalImgPro.vue +319 -0
- package/src/components/ApprovalRecord/flowDialog.vue +47 -47
- package/src/components/ApprovalRecord/index.vue +63 -63
- package/src/components/Button/button-group.vue +148 -148
- package/src/components/Button/icon-group-button.vue +63 -63
- package/src/components/Button/index.vue +56 -56
- package/src/components/CascaderArea/index.vue +103 -103
- package/src/components/ChildRange/index.vue +169 -169
- package/src/components/ChildRange/style.scss +34 -34
- package/src/components/ContentLoading/index.vue +41 -41
- package/src/components/ContentNull/index.vue +19 -19
- package/src/components/DatePicker/index.vue +33 -33
- package/src/components/DatePicker/por.vue +171 -171
- package/src/components/Descriptions/index.vue +42 -42
- package/src/components/Dialog/index.vue +26 -26
- package/src/components/Dialog/indexO.vue +116 -116
- package/src/components/DragList/index.vue +75 -75
- package/src/components/ECharts/define.js +74 -74
- package/src/components/ECharts/index.vue +167 -167
- package/src/components/ECharts/mixins/resize.js +23 -23
- package/src/components/Empty/.DS_Store +0 -0
- package/src/components/Empty/img/.DS_Store +0 -0
- package/src/components/Empty/img/400.svg +101 -101
- package/src/components/Empty/img/401.svg +101 -101
- package/src/components/Empty/img/403.svg +101 -101
- package/src/components/Empty/img/405.svg +101 -101
- package/src/components/Empty/img/901.svg +95 -95
- package/src/components/Empty/img/902.svg +95 -95
- package/src/components/Empty/img/903.svg +95 -95
- package/src/components/Empty/img/904.svg +95 -95
- package/src/components/Empty/img/905.svg +95 -95
- package/src/components/Empty/img/906.svg +95 -95
- package/src/components/Empty/img/907.svg +95 -95
- package/src/components/Empty/img/abnormal.svg +108 -108
- package/src/components/Empty/img/dispose.svg +71 -71
- package/src/components/Empty/img/empty.svg +57 -57
- package/src/components/Empty/img/general.svg +58 -58
- package/src/components/Empty/img/lock.svg +57 -57
- package/src/components/Empty/img/network.svg +59 -59
- package/src/components/Empty/img/relevant.svg +68 -68
- package/src/components/Empty/img/search.svg +72 -72
- package/src/components/Empty/index.vue +147 -147
- package/src/components/EventBubble/demo/a.vue +29 -29
- package/src/components/EventBubble/demo/b.vue +12 -12
- package/src/components/EventBubble/demo/c.vue +18 -18
- package/src/components/EventBubble/index.vue +57 -57
- package/src/components/Expandable/index.vue +49 -49
- package/src/components/Expandable/main.vue +64 -64
- package/src/components/FileExportAsync/index.vue +191 -191
- package/src/components/FileImport/index.vue +108 -108
- package/src/components/FileUploadTable/index.vue +583 -570
- package/src/components/Filters/form-item-input.vue +185 -185
- package/src/components/Filters/index.vue +216 -216
- package/src/components/Filters/indexO.vue +106 -106
- package/src/components/FlowStep/index.vue +92 -92
- package/src/components/FooterBox/index.vue +21 -21
- package/src/components/GeneralCard/index.vue +15 -15
- package/src/components/InputNumber/index.vue +184 -184
- package/src/components/InputNumber/numberRange.vue +62 -62
- package/src/components/InputSearch/index.vue +75 -75
- package/src/components/Layout/.DS_Store +0 -0
- package/src/components/Layout/AsideNav/index.vue +120 -120
- package/src/components/Layout/AsideNav/menuItem.vue +34 -34
- package/src/components/Layout/AsideNav/submenuTitle.vue +26 -26
- package/src/components/Layout/HeaderWrap/changePwd.vue +215 -215
- package/src/components/Layout/HeaderWrap/index.vue +412 -412
- package/src/components/Layout/HeaderWrap/noticePop.vue +316 -316
- package/src/components/Layout/SubContent/index.vue +127 -127
- package/src/components/Layout/TabsNav/index.vue +169 -169
- package/src/components/Layout/index.vue +518 -518
- package/src/components/Layout/utils.js +12 -12
- package/src/components/LoginTemporary/form.vue +575 -575
- package/src/components/LoginTemporary/index.vue +199 -193
- package/src/components/LoginTemporary/qrcode.vue +90 -90
- package/src/components/LoginTemporary/retrievePw.vue +375 -375
- package/src/components/LoginTemporary/utils.js +73 -73
- package/src/components/MicroApp/index.js +67 -67
- package/src/components/MicroFrame/index.vue +95 -95
- package/src/components/MoreTab/index.vue +229 -229
- package/src/components/NavMenu/index.vue +60 -60
- package/src/components/PageHeader/index.vue +39 -39
- package/src/components/PageHeader/style.scss +44 -44
- package/src/components/PageLayout/page.vue +15 -15
- package/src/components/Pagination/index.vue +165 -165
- package/src/components/SecondaryTab/index.vue +57 -57
- package/src/components/SelectLazy/index.vue +75 -75
- package/src/components/SelectTree/SelectTreeLazy.vue +241 -241
- package/src/components/SelectTree/index.vue +206 -206
- package/src/components/ShowColumn/index.vue +252 -252
- package/src/components/Sifting/index.vue +98 -98
- package/src/components/Stamp/index.vue +75 -75
- package/src/components/Statis/index.vue +111 -111
- package/src/components/Statis/statisItem.vue +60 -60
- package/src/components/Statis/statisPopover.vue +63 -63
- package/src/components/Step/index.vue +37 -37
- package/src/components/Suspend/index.vue +72 -72
- package/src/components/Table/ThSelectHeader.vue +128 -128
- package/src/components/Table/filters.js +60 -60
- package/src/components/Table/index.vue +136 -136
- package/src/components/Table/indexO.vue +149 -149
- package/src/components/TableOperateColumn/OperateBtns.vue +73 -73
- package/src/components/TableOperateColumn/index.vue +26 -26
- package/src/components/Task/index.vue +26 -26
- package/src/components/TertiaryTab/index.vue +62 -62
- package/src/components/TimePicker/index.vue +28 -28
- package/src/components/Upload/index.vue +280 -280
- package/src/components/Upload/uploadMsg.vue +114 -114
- package/src/components/WornPagination/index.vue +73 -73
- package/src/directives/VClickOutside/index.js +27 -27
- package/src/directives/VHas/index.js +58 -58
- package/src/directives/VMove/index.js +42 -42
- package/src/directives/VRuleKey/index.js +201 -201
- package/src/directives/VTitle/index.js +109 -106
- package/src/index.js +264 -264
- package/src/plugins/.DS_Store +0 -0
- package/src/plugins/CompatibleOld/index.js +11 -11
- package/src/plugins/Print/index.js +4 -4
- package/src/plugins/Print/print-js/.babelrc +12 -12
- package/src/plugins/Print/print-js/LICENSE +21 -21
- package/src/plugins/Print/print-js/README.md +98 -98
- package/src/plugins/Print/print-js/dist/print.css +96 -96
- package/src/plugins/Print/print-js/dist/print.js +990 -990
- package/src/plugins/Print/print-js/package.json +60 -60
- package/src/plugins/Print/print-js/src/index.d.ts +45 -45
- package/src/plugins/Print/print-js/src/index.js +10 -10
- package/src/plugins/Print/print-js/src/js/browser.js +33 -33
- package/src/plugins/Print/print-js/src/js/functions.js +103 -103
- package/src/plugins/Print/print-js/src/js/html.js +70 -70
- package/src/plugins/Print/print-js/src/js/image.js +48 -48
- package/src/plugins/Print/print-js/src/js/init.js +168 -168
- package/src/plugins/Print/print-js/src/js/json.js +109 -109
- package/src/plugins/Print/print-js/src/js/modal.js +62 -62
- package/src/plugins/Print/print-js/src/js/pdf.js +62 -62
- package/src/plugins/Print/print-js/src/js/print.js +102 -102
- package/src/plugins/Print/print-js/src/js/raw-html.js +15 -15
- package/src/plugins/Print/print-js/src/sass/index.scss +13 -13
- package/src/plugins/Print/print-js/src/sass/modules/_colors.scss +9 -9
- package/src/plugins/Print/print-js/src/sass/partials/_modal.scss +40 -40
- package/src/plugins/Print/print-js/src/sass/partials/_spinner.scss +45 -45
- package/src/plugins/Print/print.js +2 -2
- package/src/plugins/Print/print.scss +1 -1
- package/src/plugins/SetMenuTree/index.vue +41 -41
- package/src/plugins/SetMenuTree/logoIcon.vue +37 -37
- package/src/plugins/SetMenuTree/setmenutree.vue +427 -427
- package/src/plugins/SetMenuTree/utils.js +74 -74
- package/src/plugins/Sign/.DS_Store +0 -0
- package/src/plugins/Sign/InfosecNetSignCNGAgent.min.js +2000 -2000
- package/src/plugins/Sign/bjca/XTXSAB.js +2395 -2395
- package/src/plugins/Sign/bjca/index.js +129 -129
- package/src/plugins/Sign/index.js +28 -28
- package/src/plugins/Sign/sign.js +64 -64
- package/src/plugins/setTabsForSub.js +2 -2
- package/src/utils/auth.js +56 -56
- package/src/utils/axios.js +205 -205
- package/src/utils/downloadBlob.js +19 -19
- package/src/utils/forEachs.js +16 -16
- package/src/utils/getScrollContainer.js +43 -43
- package/src/utils/handleTab.js +109 -109
- package/src/utils/i18n/cn2hk.json +1270 -1270
- package/src/utils/i18n/index.js +50 -50
- package/src/utils/list2tree.js +36 -36
- package/src/utils/mapper_aims.js +809 -809
- package/src/utils/msgboxPor.js +26 -26
- package/src/utils/print.js +161 -161
- package/src/utils/relaNo.js +72 -72
- package/src/utils/repairElementUI.js +169 -169
- package/src/utils/tableheaderFilterpanel.vue +248 -248
- package/src/utils/theme.config.js +22 -22
- package/src/utils/theme.js +31 -31
- package/src/utils/toExcel.js +95 -95
- package/src/utils/urlToGo.js +82 -82
- package/src/utils/xls2json.js +40 -40
- package/src/utils/xlsx2json.js +24 -24
- package/style/index.css +1 -1
- package/style/index.css.map +1 -1
- package/theme/blue.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
/* 审批进度 */
|
|
2
|
-
<template>
|
|
3
|
-
<div class="n20-approve-wrap">
|
|
4
|
-
<el-timeline :reverse="true">
|
|
5
|
-
<el-timeline-item
|
|
6
|
-
v-for="(item, i) in approvalData"
|
|
7
|
-
:key="i"
|
|
8
|
-
:type="item | typeF(status)"
|
|
9
|
-
:hide-timestamp="true"
|
|
10
|
-
>
|
|
11
|
-
<div class="n20-time">
|
|
12
|
-
<div>{{ item.endTime | dataF }}</div>
|
|
13
|
-
<div>{{ item.endTime | timeF }}</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div>
|
|
16
|
-
<div class="flex-box">
|
|
17
|
-
<div class="n20-worker flex-item m-r-s">
|
|
18
|
-
<span class="worker-icon cl-icon-user"></span>
|
|
19
|
-
<span>{{ item.assignee }}</span>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="n20-approval m-r-s">
|
|
22
|
-
<template v-if="item.result == status.submit">提交</template>
|
|
23
|
-
<template v-else-if="item.result == status.end">结束</template>
|
|
24
|
-
<template v-else-if="item.result == status.approval">
|
|
25
|
-
审批意见:<span class="color-primary">批准</span>
|
|
26
|
-
</template>
|
|
27
|
-
<template v-else-if="item.result == status.reject">
|
|
28
|
-
审批意见:<span class="n20-approval-reject"
|
|
29
|
-
>驳回</span
|
|
30
|
-
></template
|
|
31
|
-
>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
<div v-if="item.suggestion" class="n20-description-c">
|
|
35
|
-
{{ item.suggestion }}
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</el-timeline-item>
|
|
39
|
-
</el-timeline>
|
|
40
|
-
</div>
|
|
41
|
-
</template>
|
|
42
|
-
|
|
43
|
-
<script>
|
|
44
|
-
import axios from '../../utils/axios'
|
|
45
|
-
export default {
|
|
46
|
-
name: 'ApproveCard',
|
|
47
|
-
filters: {
|
|
48
|
-
typeF(item, status) {
|
|
49
|
-
let result = item.result
|
|
50
|
-
switch (result) {
|
|
51
|
-
case status.submit:
|
|
52
|
-
return 'primary'
|
|
53
|
-
case status.approval:
|
|
54
|
-
return 'primary'
|
|
55
|
-
case status.reject:
|
|
56
|
-
return 'danger'
|
|
57
|
-
default:
|
|
58
|
-
return undefined
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
dataF(_t) {
|
|
62
|
-
let t = _t || ''
|
|
63
|
-
let ts = t.split(' ') || ['', '']
|
|
64
|
-
return ts[0]
|
|
65
|
-
},
|
|
66
|
-
timeF(_t) {
|
|
67
|
-
let t = _t || ''
|
|
68
|
-
let ts = t.split(' ') || ['', '']
|
|
69
|
-
return ts[1]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
props: {
|
|
73
|
-
close: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
default: false
|
|
76
|
-
},
|
|
77
|
-
status: {
|
|
78
|
-
type: Object,
|
|
79
|
-
default: () => ({
|
|
80
|
-
waiting: 0,
|
|
81
|
-
submit: 1,
|
|
82
|
-
approval: 2,
|
|
83
|
-
reject: 3,
|
|
84
|
-
end: 4
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
approvalData: {
|
|
88
|
-
type: Array,
|
|
89
|
-
default: () => []
|
|
90
|
-
},
|
|
91
|
-
procInstId: {
|
|
92
|
-
type: String,
|
|
93
|
-
default: undefined
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
created() {
|
|
97
|
-
if (this.procInstId) {
|
|
98
|
-
axios
|
|
99
|
-
.get('/bems/activiti/sample/Q003', {
|
|
100
|
-
procInstId: this.procInstId
|
|
101
|
-
})
|
|
102
|
-
.then(({ data = [] }) => {
|
|
103
|
-
let approvalData = []
|
|
104
|
-
data.forEach((item) => {
|
|
105
|
-
let _item = {
|
|
106
|
-
endTime: item.endTime || '',
|
|
107
|
-
assignee: item.assignee,
|
|
108
|
-
suggestion: item.suggestion
|
|
109
|
-
}
|
|
110
|
-
if ('approvalState' in item) {
|
|
111
|
-
_item.result = item.approvalState
|
|
112
|
-
} else {
|
|
113
|
-
if (item.taskName === '开始') {
|
|
114
|
-
_item.result = 1
|
|
115
|
-
} else if (item.taskName === '结束') {
|
|
116
|
-
_item.result = 4
|
|
117
|
-
} else if (!item.endTime) {
|
|
118
|
-
_item.result = 0
|
|
119
|
-
} else if (item.rejectFlag === 1) {
|
|
120
|
-
_item.result = 3
|
|
121
|
-
} else {
|
|
122
|
-
_item.result = 2
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
approvalData.push(_item)
|
|
126
|
-
})
|
|
127
|
-
this.approvalData.push(...approvalData)
|
|
128
|
-
})
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
</script>
|
|
1
|
+
/* 审批进度 */
|
|
2
|
+
<template>
|
|
3
|
+
<div class="n20-approve-wrap">
|
|
4
|
+
<el-timeline :reverse="true">
|
|
5
|
+
<el-timeline-item
|
|
6
|
+
v-for="(item, i) in approvalData"
|
|
7
|
+
:key="i"
|
|
8
|
+
:type="item | typeF(status)"
|
|
9
|
+
:hide-timestamp="true"
|
|
10
|
+
>
|
|
11
|
+
<div class="n20-time">
|
|
12
|
+
<div>{{ item.endTime | dataF }}</div>
|
|
13
|
+
<div>{{ item.endTime | timeF }}</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div>
|
|
16
|
+
<div class="flex-box">
|
|
17
|
+
<div class="n20-worker flex-item m-r-s">
|
|
18
|
+
<span class="worker-icon cl-icon-user"></span>
|
|
19
|
+
<span>{{ item.assignee }}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="n20-approval m-r-s">
|
|
22
|
+
<template v-if="item.result == status.submit">提交</template>
|
|
23
|
+
<template v-else-if="item.result == status.end">结束</template>
|
|
24
|
+
<template v-else-if="item.result == status.approval">
|
|
25
|
+
审批意见:<span class="color-primary">批准</span>
|
|
26
|
+
</template>
|
|
27
|
+
<template v-else-if="item.result == status.reject">
|
|
28
|
+
审批意见:<span class="n20-approval-reject"
|
|
29
|
+
>驳回</span
|
|
30
|
+
></template
|
|
31
|
+
>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div v-if="item.suggestion" class="n20-description-c">
|
|
35
|
+
{{ item.suggestion }}
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</el-timeline-item>
|
|
39
|
+
</el-timeline>
|
|
40
|
+
</div>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<script>
|
|
44
|
+
import axios from '../../utils/axios'
|
|
45
|
+
export default {
|
|
46
|
+
name: 'ApproveCard',
|
|
47
|
+
filters: {
|
|
48
|
+
typeF(item, status) {
|
|
49
|
+
let result = item.result
|
|
50
|
+
switch (result) {
|
|
51
|
+
case status.submit:
|
|
52
|
+
return 'primary'
|
|
53
|
+
case status.approval:
|
|
54
|
+
return 'primary'
|
|
55
|
+
case status.reject:
|
|
56
|
+
return 'danger'
|
|
57
|
+
default:
|
|
58
|
+
return undefined
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
dataF(_t) {
|
|
62
|
+
let t = _t || ''
|
|
63
|
+
let ts = t.split(' ') || ['', '']
|
|
64
|
+
return ts[0]
|
|
65
|
+
},
|
|
66
|
+
timeF(_t) {
|
|
67
|
+
let t = _t || ''
|
|
68
|
+
let ts = t.split(' ') || ['', '']
|
|
69
|
+
return ts[1]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
props: {
|
|
73
|
+
close: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
status: {
|
|
78
|
+
type: Object,
|
|
79
|
+
default: () => ({
|
|
80
|
+
waiting: 0,
|
|
81
|
+
submit: 1,
|
|
82
|
+
approval: 2,
|
|
83
|
+
reject: 3,
|
|
84
|
+
end: 4
|
|
85
|
+
})
|
|
86
|
+
},
|
|
87
|
+
approvalData: {
|
|
88
|
+
type: Array,
|
|
89
|
+
default: () => []
|
|
90
|
+
},
|
|
91
|
+
procInstId: {
|
|
92
|
+
type: String,
|
|
93
|
+
default: undefined
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
created() {
|
|
97
|
+
if (this.procInstId) {
|
|
98
|
+
axios
|
|
99
|
+
.get('/bems/activiti/sample/Q003', {
|
|
100
|
+
procInstId: this.procInstId
|
|
101
|
+
})
|
|
102
|
+
.then(({ data = [] }) => {
|
|
103
|
+
let approvalData = []
|
|
104
|
+
data.forEach((item) => {
|
|
105
|
+
let _item = {
|
|
106
|
+
endTime: item.endTime || '',
|
|
107
|
+
assignee: item.assignee,
|
|
108
|
+
suggestion: item.suggestion
|
|
109
|
+
}
|
|
110
|
+
if ('approvalState' in item) {
|
|
111
|
+
_item.result = item.approvalState
|
|
112
|
+
} else {
|
|
113
|
+
if (item.taskName === '开始') {
|
|
114
|
+
_item.result = 1
|
|
115
|
+
} else if (item.taskName === '结束') {
|
|
116
|
+
_item.result = 4
|
|
117
|
+
} else if (!item.endTime) {
|
|
118
|
+
_item.result = 0
|
|
119
|
+
} else if (item.rejectFlag === 1) {
|
|
120
|
+
_item.result = 3
|
|
121
|
+
} else {
|
|
122
|
+
_item.result = 2
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
approvalData.push(_item)
|
|
126
|
+
})
|
|
127
|
+
this.approvalData.push(...approvalData)
|
|
128
|
+
})
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
</script>
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/* 审批流程图 */
|
|
2
|
-
<template>
|
|
3
|
-
<div class="approve-img">
|
|
4
|
-
<img v-if="blobUrl" :src="blobUrl" />
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import axios from '../../utils/axios'
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
name: 'ApprovalImg',
|
|
13
|
-
props: {
|
|
14
|
-
procInstId: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: ''
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
data() {
|
|
20
|
-
return {
|
|
21
|
-
blobUrl: undefined
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
created() {
|
|
25
|
-
axios
|
|
26
|
-
.get('/bems/activiti/sample/Q004', {
|
|
27
|
-
procInstId: this.procInstId || this.$route.query.procInstId
|
|
28
|
-
})
|
|
29
|
-
.then(({ data }) => {
|
|
30
|
-
if (data) {
|
|
31
|
-
let file = new File([data], '流程图.svg', {
|
|
32
|
-
type: 'image/svg+xml'
|
|
33
|
-
})
|
|
34
|
-
this.blobUrl = URL.createObjectURL(file)
|
|
35
|
-
}
|
|
36
|
-
})
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
</script>
|
|
1
|
+
/* 审批流程图 */
|
|
2
|
+
<template>
|
|
3
|
+
<div class="approve-img">
|
|
4
|
+
<img v-if="blobUrl" :src="blobUrl" />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import axios from '../../utils/axios'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: 'ApprovalImg',
|
|
13
|
+
props: {
|
|
14
|
+
procInstId: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ''
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
data() {
|
|
20
|
+
return {
|
|
21
|
+
blobUrl: undefined
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
created() {
|
|
25
|
+
axios
|
|
26
|
+
.get('/bems/activiti/sample/Q004', {
|
|
27
|
+
procInstId: this.procInstId || this.$route.query.procInstId
|
|
28
|
+
})
|
|
29
|
+
.then(({ data }) => {
|
|
30
|
+
if (data) {
|
|
31
|
+
let file = new File([data], '流程图.svg', {
|
|
32
|
+
type: 'image/svg+xml'
|
|
33
|
+
})
|
|
34
|
+
this.blobUrl = URL.createObjectURL(file)
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
</script>
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="n20-approval-img-por">
|
|
3
|
+
<svg v-pre style="display: none">
|
|
4
|
+
<symbol id="symbol_node_User">
|
|
5
|
+
<g transform="translate(13, 6)">
|
|
6
|
+
<path
|
|
7
|
+
d="M7.90909091,7.88279417 C8.63636364,8.68785247 9,9.58236169 9,10.6557728 L9,15.4861225 C9,15.5755735 9,15.6650244 8.90909091,15.8439262 C8.90909091,15.9333772 8.81818182,16.0228281 8.63636364,16.2017299 C8.45454545,16.3806318 8.18181818,16.4700827 7.90909091,16.5595336 C7.54545455,16.4700827 7.27272727,16.3806318 7.09090909,16.2017299 C6.81818182,15.9333772 6.72727273,15.7544753 6.72727273,15.4861225 L6.72727273,21.9265889 C6.72727273,22.1949417 6.63636364,22.4632945 6.36363636,22.6421963 C6.18181818,22.9105491 5.90909091,23 5.63636364,23 C5.45454545,23 5.27272727,23 5.18181818,22.9105491 C5,22.8210982 4.90909091,22.7316472 4.81818182,22.6421963 C4.63636364,22.4632945 4.45454545,22.1949417 4.45454545,21.9265889 C4.45454545,22.1949417 4.36363636,22.4632945 4.09090909,22.6421963 C4,22.7316472 3.90909091,22.8210982 3.81818182,22.9105491 C3.63636364,23 3.45454545,23 3.36363636,23 C3,23 2.81818182,22.9105491 2.54545455,22.6421963 C2.36363636,22.4632945 2.18181818,22.1949417 2.18181818,21.9265889 L2.18181818,15.4861225 C2.18181818,15.7544753 2.09090909,15.9333772 1.90909091,16.2017299 C1.63636364,16.3806318 1.36363636,16.4700827 1.09090909,16.5595336 C0.727272727,16.4700827 0.545454545,16.3806318 0.272727273,16.2017299 C0.0909090909,15.9333772 0,15.7544753 0,15.4861225 L0,10.6557728 C0,9.58236169 0.363636364,8.68785247 1.09090909,7.88279417 C1.09090909,7.79334325 1.18181818,7.79334325 1.27272727,7.79334325 C2.09090909,6.89883403 3.18181818,6.45157942 4.45454545,6.45157942 C5.72727273,6.45157942 6.81818182,6.89883403 7.63636364,7.79334325 C7.72727273,7.79334325 7.81818182,7.79334325 7.90909091,7.88279417 Z M1.32857705,2.70047865 C1.23766796,1.89542035 1.51039524,1.26926389 2.05584978,0.732558361 C2.60130433,0.195852828 3.23766796,-0.0724999378 4.05584978,0.0169509843 C4.78312251,-0.0724999378 5.41948615,0.195852828 5.96494069,0.732558361 C6.41948615,1.26926389 6.69221342,1.89542035 6.78312251,2.70047865 C6.69221342,3.41608602 6.41948615,4.04224248 5.96494069,4.57894801 C5.41948615,5.02620262 4.78312251,5.38400631 4.05584978,5.38400631 C3.23766796,5.38400631 2.60130433,5.02620262 2.05584978,4.57894801 C1.51039524,4.04224248 1.23766796,3.41608602 1.32857705,2.70047865 Z"
|
|
8
|
+
/>
|
|
9
|
+
</g>
|
|
10
|
+
</symbol>
|
|
11
|
+
<symbol id="symbol_node_Department">
|
|
12
|
+
<g transform="translate(8,8.5)">
|
|
13
|
+
<path
|
|
14
|
+
d="M18.7974851,12.756941 L18.7974851,13.0227567 C18.7974851,13.0816828 18.7974851,13.1406089 18.738559,13.2584611 C18.738559,13.3173872 18.6796329,13.3763133 18.5617807,13.4941655 C18.4439285,13.6120177 18.2671502,13.6709438 18.0903718,13.7298699 C17.8546674,13.6709438 17.6778891,13.6120177 17.5600369,13.4941655 C17.3864764,13.3206049 17.3265168,13.2038449 17.3243915,13.0323521 L17.3243915,16.9818835 C17.3243915,16.9851013 17.3243719,16.9883191 17.3243325,16.9915365 L17.3243325,17.2654359 C17.3243325,17.4422142 17.2654064,17.6189925 17.0886281,17.7368447 C16.9707759,17.913623 16.7939976,17.9725491 16.6172193,17.9725491 C16.4993671,17.9725491 16.3815149,17.9725491 16.3225888,17.913623 C16.2047366,17.8546969 16.1458105,17.7957708 16.0868844,17.7368447 C15.9690322,17.6189925 15.85118,17.4422142 15.85118,17.2654359 C15.85118,17.4422142 15.7922539,17.6189925 15.6154756,17.7368447 C15.5565495,17.7957708 15.4976234,17.8546969 15.4386973,17.913623 C15.3208451,17.9725491 15.2029929,17.9725491 15.1440668,17.9725491 C14.9083624,17.9725491 14.7905102,17.913623 14.6137319,17.7368447 C14.4958797,17.6189925 14.3780275,17.4422142 14.3780275,17.2654359 L14.3780275,13.0227567 C14.3780275,13.199535 14.3191014,13.3173872 14.2012492,13.4941655 C14.0244709,13.6120177 13.8476926,13.6709438 13.6709143,13.7298699 C13.4352099,13.6709438 13.3173577,13.6120177 13.1405794,13.4941655 C13.0227272,13.3173872 12.9638011,13.199535 12.9638011,13.0227567 L12.9638011,9.84074723 C12.9638011,9.8342922 12.9638207,9.82784699 12.96386,9.82141156 L12.96386,9.55719484 C12.96386,8.85008163 13.1995644,8.26082062 13.6709732,7.73048571 C13.6709732,7.67155961 13.7298993,7.67155961 13.7888254,7.67155961 C14.3191603,7.08229861 15.0262735,6.7876681 15.8512389,6.7876681 C16.6762044,6.7876681 17.3833176,7.08229861 17.9136525,7.67155961 C17.9725786,7.67155961 18.0315047,7.67155961 18.0904308,7.73048571 C18.5618396,8.26082062 18.797544,8.85008163 18.797544,9.55719484 L18.797544,12.7392043 C18.797544,12.7450969 18.797544,12.7509895 18.7974851,12.756941 Z M15.910224,2.95747156 C16.3816328,2.89854545 16.7941155,3.07532376 17.1476721,3.42888036 C17.4423026,3.78243697 17.6190809,4.19491967 17.6190809,4.72525458 C17.6190809,5.19666338 17.4423026,5.60914609 17.1476721,5.96270269 C16.7941155,6.3162593 16.3816328,6.4930376 15.910224,6.4930376 C15.3798891,6.4930376 14.9674064,6.3162593 14.6138498,5.96270269 C14.2602932,5.66807219 14.0835149,5.25558948 14.142441,4.72525458 C14.0835149,4.19491967 14.2602932,3.78243697 14.6138498,3.42888036 C14.9674064,3.07532376 15.3798891,2.89854545 15.910224,2.95747156 Z M14.2011313,0.482752103 C14.4957619,0.836308707 14.6725402,1.24879141 14.7314663,1.77912632 C14.7314663,2.25053512 14.554688,2.66301783 14.2011313,3.01657443 C13.8475747,3.31120494 13.435092,3.54690934 12.9636832,3.54690934 C12.4333483,3.54690934 12.0208656,3.31120494 11.667309,3.01657443 C11.3137524,2.66301783 11.1369741,2.25053512 11.1369741,1.77912632 C11.1369741,1.24879141 11.3137524,0.836308707 11.667309,0.482752103 C12.0208656,0.129195499 12.4333483,0.0113432971 12.9636832,0.0113432971 C13.435092,0.0113432971 13.8475747,0.129195499 14.2011313,0.482752103 Z M12.2566879,13.2584611 C12.2566879,13.3173872 12.1977618,13.3763133 12.0799096,13.4941655 C11.9620574,13.6120177 11.7852791,13.6709438 11.6085008,13.7298699 C11.3727964,13.6709438 11.1960181,13.6120177 11.0781659,13.4941655 C10.9013876,13.3173872 10.8424615,13.199535 10.8424615,13.0227567 L10.8424615,17.2654359 C10.8424615,17.4422142 10.7835354,17.6189925 10.6067571,17.7368447 C10.4889049,17.913623 10.3121266,17.9725491 10.1353483,17.9725491 C10.017496,17.9725491 9.89964385,17.9725491 9.84071775,17.913623 C9.72286555,17.8546969 9.66393945,17.7957708 9.60501334,17.7368447 C9.48716114,17.6189925 9.36930894,17.4422142 9.36930894,17.2654359 C9.36930894,17.4422142 9.31038284,17.6189925 9.13360454,17.7368447 C9.07467844,17.7957708 9.01575234,17.8546969 8.95682624,17.913623 C8.83897404,17.9725491 8.72112183,17.9725491 8.66219573,17.9725491 C8.42649133,17.9725491 8.30863913,17.913623 8.13186083,17.7368447 C8.01400863,17.6189925 7.89615642,17.4422142 7.89615642,17.2654359 L7.89615642,13.0227567 C7.89615642,13.199535 7.83723032,13.3173872 7.71937812,13.4941655 C7.54259982,13.6120177 7.36582152,13.6709438 7.18904322,13.7298699 C6.95333881,13.6709438 6.83548661,13.6120177 6.65870831,13.4941655 C6.54085611,13.3173872 6.48193001,13.199535 6.48193001,13.0227567 L6.48193001,9.84074723 C6.48193001,9.13363402 6.71763441,8.54437302 7.18904322,8.01403811 C7.18904322,7.95511201 7.24796932,7.95511201 7.30689542,7.95511201 C7.83723032,7.365851 8.54434353,7.0712205 9.36930894,7.0712205 C10.1942744,7.0712205 10.9013876,7.365851 11.4317225,7.95511201 C11.4906486,7.95511201 11.5495747,7.95511201 11.6085008,8.01403811 C12.0799096,8.54437302 12.315614,9.13363402 12.315614,9.84074723 L12.315614,13.0227567 C12.315614,13.0816828 12.315614,13.1406089 12.2566879,13.2584611 Z M9.42835289,2.95747156 C9.8997617,2.89854545 10.3122444,3.07532376 10.665801,3.42888036 C10.9604315,3.78243697 11.1372098,4.19491967 11.1372098,4.72525458 C11.1372098,5.19666338 10.9604315,5.60914609 10.665801,5.96270269 C10.3122444,6.3162593 9.8997617,6.4930376 9.42835289,6.4930376 C8.89801799,6.4930376 8.48553528,6.3162593 8.13197868,5.96270269 C7.77842207,5.66807219 7.60164377,5.25558948 7.66056987,4.72525458 C7.60164377,4.19491967 7.77842207,3.78243697 8.13197868,3.42888036 C8.48553528,3.07532376 8.89801799,2.89854545 9.42835289,2.95747156 Z M5.12657076,7.73054464 C5.59797957,8.26087955 5.83368397,8.85014055 5.83368397,9.55725376 L5.83368397,12.7392632 C5.83368397,12.7981893 5.83368397,12.8571154 5.77475787,12.9749676 C5.77475787,13.0338937 5.71583177,13.0928198 5.59797957,13.210672 C5.48012737,13.3285242 5.30334907,13.3874503 5.12657076,13.4463764 C4.89086636,13.3874503 4.71408806,13.3285242 4.59623586,13.210672 C4.41945755,13.0338937 4.36053145,12.9160415 4.36053145,12.7392632 L4.36053145,16.9819425 C4.36053145,17.1587208 4.30160535,17.3354991 4.12482705,17.4533513 C4.00697485,17.6301296 3.83019655,17.6890557 3.65341825,17.6890557 C3.53556604,17.6890557 3.41771384,17.6890557 3.35878774,17.6301296 C3.24093554,17.5712035 3.18200944,17.5122774 3.12308334,17.4533513 C3.00523114,17.3354991 2.88737894,17.1587208 2.88737894,16.9819425 C2.88737894,17.1587208 2.82845283,17.3354991 2.65167453,17.4533513 C2.59274843,17.5122774 2.53382233,17.5712035 2.47489623,17.6301296 C2.35704403,17.6890557 2.23919183,17.6890557 2.18026573,17.6890557 C1.94456132,17.6890557 1.82670912,17.6301296 1.64993082,17.4533513 C1.53207862,17.3354991 1.41422642,17.1587208 1.41422642,16.9819425 L1.41422642,12.7392632 C1.41422642,12.9160415 1.35530032,13.0338937 1.23744812,13.210672 C1.06066981,13.3285242 0.883891511,13.3874503 0.707113209,13.4463764 C0.471408806,13.3874503 0.353556604,13.3285242 0.176778302,13.210672 C0.0589261007,13.0338937 0,12.9160415 0,12.7392632 L0,9.55725376 C0,8.85014055 0.235704403,8.26087955 0.707113209,7.73054464 C0.707113209,7.67161854 0.766039309,7.67161854 0.82496541,7.67161854 C1.35530032,7.08235753 2.06241353,6.78772703 2.88737894,6.78772703 C3.71234435,6.78772703 4.41945755,7.08235753 4.94979246,7.67161854 C5.00871856,7.67161854 5.06764466,7.67161854 5.12657076,7.73054464 Z M1.17869879,4.72525458 C1.11977269,4.19491967 1.29655099,3.78243697 1.6501076,3.42888036 C2.0036642,3.07532376 2.41614691,2.89854545 2.94648181,2.95747156 C3.41789062,2.89854545 3.83037333,3.07532376 4.18392993,3.42888036 C4.47856043,3.78243697 4.65533874,4.19491967 4.71426484,4.72525458 C4.65533874,5.19666338 4.47856043,5.60914609 4.18392993,5.96270269 C3.83037333,6.2573332 3.41789062,6.4930376 2.94648181,6.4930376 C2.41614691,6.4930376 2.0036642,6.2573332 1.6501076,5.96270269 C1.29655099,5.60914609 1.11977269,5.19666338 1.17869879,4.72525458 Z M7.12999926,2.95747156 C6.77644266,3.31102816 6.36395995,3.48780646 5.89255115,3.48780646 C5.36221624,3.48780646 4.94973354,3.31102816 4.59617693,2.95747156 C4.24262033,2.66284105 4.06584202,2.25035835 4.12476812,1.77894954 L4.12476812,1.72002344 C4.06584202,1.18968853 4.24262033,0.777205828 4.59617693,0.482575325 C4.94973354,0.12901872 5.36221624,-0.0477595819 5.89255115,0.0111665188 C6.36395995,-0.0477595819 6.77644266,0.12901872 7.12999926,0.482575325 C7.42462977,0.836131929 7.60140807,1.24861463 7.60140807,1.77894954 C7.60140807,2.25035835 7.42462977,2.66284105 7.12999926,2.95747156 Z"
|
|
15
|
+
/>
|
|
16
|
+
</g>
|
|
17
|
+
</symbol>
|
|
18
|
+
</svg>
|
|
19
|
+
<div ref="activiti-svg-wrap" class="activiti-svg-wrap"></div>
|
|
20
|
+
<div ref="msgEl" class="activiti-msg">
|
|
21
|
+
<div>
|
|
22
|
+
<span class="color-primary">待审批: </span>{{ daishengpi.toString() }}
|
|
23
|
+
</div>
|
|
24
|
+
<div>
|
|
25
|
+
<span class="color-success">已审批: </span>{{ yishengpi.toString() }}
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
import { tipShow, tipHide } from '../../directives/VTitle/index.js'
|
|
33
|
+
|
|
34
|
+
export default {
|
|
35
|
+
data() {
|
|
36
|
+
this.svgW = undefined
|
|
37
|
+
this.svgC = undefined
|
|
38
|
+
return {
|
|
39
|
+
daishengpi: [],
|
|
40
|
+
yishengpi: []
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
async mounted() {
|
|
44
|
+
this.svgW = this.$refs['activiti-svg-wrap']
|
|
45
|
+
|
|
46
|
+
let { flowString, seqRecords, taskDefIdMap } = await this.$axios.get(
|
|
47
|
+
'/server-assets/approvalImgDate.json'
|
|
48
|
+
)
|
|
49
|
+
this.setSvgAttrs(flowString)
|
|
50
|
+
seqRecords.forEach((obj) => {
|
|
51
|
+
this.setTaskRecord(obj)
|
|
52
|
+
})
|
|
53
|
+
taskDefIdMap.forEach((obj) => {
|
|
54
|
+
this.addEvent(obj)
|
|
55
|
+
})
|
|
56
|
+
},
|
|
57
|
+
methods: {
|
|
58
|
+
Fn() {
|
|
59
|
+
tipShow(
|
|
60
|
+
document.getElementById('xxx-yyy'),
|
|
61
|
+
document.getElementById('popper-x')
|
|
62
|
+
)
|
|
63
|
+
},
|
|
64
|
+
setSvgAttrs(str) {
|
|
65
|
+
this.svgW.innerHTML = str
|
|
66
|
+
this.svgC = this.svgW.querySelector('svg')
|
|
67
|
+
let width = this.svgC.getAttribute('width')
|
|
68
|
+
let height = this.svgC.getAttribute('height')
|
|
69
|
+
let viewBox = this.svgC.getAttribute('viewBox').split(' ')
|
|
70
|
+
viewBox = [
|
|
71
|
+
Number(viewBox[0]) - 10,
|
|
72
|
+
Number(viewBox[1]) - 10,
|
|
73
|
+
Number(viewBox[2]) + 10,
|
|
74
|
+
Number(viewBox[3]) + 10
|
|
75
|
+
]
|
|
76
|
+
viewBox = viewBox.join(' ')
|
|
77
|
+
|
|
78
|
+
this.svgC.setAttribute('width', Number(width) + 10)
|
|
79
|
+
this.svgC.setAttribute('height', Number(height) + 10)
|
|
80
|
+
this.svgC.setAttribute('viewBox', viewBox)
|
|
81
|
+
},
|
|
82
|
+
setTaskRecord(obj) {
|
|
83
|
+
let {
|
|
84
|
+
resouceTaskDefId: from,
|
|
85
|
+
targetTaskDefId: to,
|
|
86
|
+
flowLine: line,
|
|
87
|
+
type: type,
|
|
88
|
+
suggestion: msg
|
|
89
|
+
} = obj
|
|
90
|
+
if (type === '0') {
|
|
91
|
+
this.svgW
|
|
92
|
+
.querySelector(`[data-element-id="${from}"]`)
|
|
93
|
+
.classList.add('activiti-node-achieve')
|
|
94
|
+
this.svgW
|
|
95
|
+
.querySelector(`[data-element-id="${to}"]`)
|
|
96
|
+
.classList.add('activiti-node-achieve')
|
|
97
|
+
this.svgW
|
|
98
|
+
.querySelector(`[data-element-id="${line}"]`)
|
|
99
|
+
.classList.add('activiti-line-achieve')
|
|
100
|
+
} else {
|
|
101
|
+
this.svgW
|
|
102
|
+
.querySelector(`[data-element-id="${from}"]`)
|
|
103
|
+
.classList.add('activiti-node-reject')
|
|
104
|
+
this.svgW
|
|
105
|
+
.querySelector(`[data-element-id="${to}"]`)
|
|
106
|
+
.classList.add('activiti-node-reject')
|
|
107
|
+
this.setRejectLink(from, to, msg)
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
setRejectLink(from, to, msg) {
|
|
111
|
+
const fromO = this.getElRect(from)
|
|
112
|
+
const toO = this.getElRect(to)
|
|
113
|
+
let oTop = Math.min(fromO.top, toO.top) - 12
|
|
114
|
+
let d = `M${fromO.left + fromO.with / 2},${fromO.top} L${
|
|
115
|
+
fromO.left + fromO.with / 2
|
|
116
|
+
},${oTop} L${toO.left + toO.with / 2},${oTop} L${
|
|
117
|
+
toO.left + toO.with / 2
|
|
118
|
+
},${toO.top}`
|
|
119
|
+
|
|
120
|
+
let path = document.createElementNS('http://www.w3.org/2000/svg', 'path')
|
|
121
|
+
path.setAttribute('class', 'activiti-line-reject')
|
|
122
|
+
path.setAttribute('d', d)
|
|
123
|
+
this.svgC.appendChild(path)
|
|
124
|
+
|
|
125
|
+
if (msg) {
|
|
126
|
+
let text = document.createElementNS(
|
|
127
|
+
'http://www.w3.org/2000/svg',
|
|
128
|
+
'text'
|
|
129
|
+
)
|
|
130
|
+
text.setAttribute('class', 'activiti-text-reject')
|
|
131
|
+
text.setAttribute(
|
|
132
|
+
'x',
|
|
133
|
+
(fromO.left + fromO.with / 2 + toO.left + toO.with / 2) / 2
|
|
134
|
+
)
|
|
135
|
+
text.setAttribute('y', oTop + 6)
|
|
136
|
+
text.textContent = msg
|
|
137
|
+
this.svgC.appendChild(text)
|
|
138
|
+
|
|
139
|
+
let textO = text.getBBox()
|
|
140
|
+
let rect = document.createElementNS(
|
|
141
|
+
'http://www.w3.org/2000/svg',
|
|
142
|
+
'rect'
|
|
143
|
+
)
|
|
144
|
+
rect.setAttribute('class', 'activiti-text-bg-reject')
|
|
145
|
+
rect.setAttribute('x', textO.x)
|
|
146
|
+
rect.setAttribute('y', textO.y)
|
|
147
|
+
rect.setAttribute('width', textO.width)
|
|
148
|
+
rect.setAttribute('height', textO.height)
|
|
149
|
+
this.svgC.insertBefore(rect, text)
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
getElRect(id) {
|
|
153
|
+
let g = this.svgW.querySelector(`[data-element-id="${id}"]`)
|
|
154
|
+
let rect = {
|
|
155
|
+
with: 100,
|
|
156
|
+
height: 80,
|
|
157
|
+
left: undefined,
|
|
158
|
+
top: undefined
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (g.querySelector('circle')) {
|
|
162
|
+
rect.with = 36
|
|
163
|
+
rect.height = 36
|
|
164
|
+
}
|
|
165
|
+
let matrix = g.getAttribute('transform')
|
|
166
|
+
if (matrix) {
|
|
167
|
+
matrix = matrix.replace(/matrix\(|\)/g, '')
|
|
168
|
+
matrix = matrix.split(' ')
|
|
169
|
+
rect.left = Number(matrix[4])
|
|
170
|
+
rect.top = Number(matrix[5])
|
|
171
|
+
}
|
|
172
|
+
return rect
|
|
173
|
+
},
|
|
174
|
+
addEvent(obj) {
|
|
175
|
+
let { taskDefId, daishengpi, yishengpi } = obj
|
|
176
|
+
let task = this.svgW.querySelector(`[data-element-id="${taskDefId}"]`)
|
|
177
|
+
task.addEventListener('mouseenter', () => {
|
|
178
|
+
this.daishengpi = daishengpi
|
|
179
|
+
this.yishengpi = yishengpi
|
|
180
|
+
this.$nextTick(() => {
|
|
181
|
+
tipShow(task, this.$refs['msgEl'])
|
|
182
|
+
})
|
|
183
|
+
})
|
|
184
|
+
task.addEventListener('mouseleave', () => {
|
|
185
|
+
tipHide(task)
|
|
186
|
+
})
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
/*
|
|
191
|
+
setRejectLink(from, to) {
|
|
192
|
+
console.log(this.getElRect(from), 444)
|
|
193
|
+
console.log(this.getElRect(to), 444)
|
|
194
|
+
const fromO = this.getElRect(from)
|
|
195
|
+
const toO = this.getElRect(to)
|
|
196
|
+
let direction = undefined
|
|
197
|
+
if (fromO.left + fromO.with < toO.left) {
|
|
198
|
+
if (fromO.top + fromO.height < toO.top) {
|
|
199
|
+
direction = '↘'
|
|
200
|
+
} else if (fromO.top > toO.top + toO.height) {
|
|
201
|
+
direction = '↗'
|
|
202
|
+
} else {
|
|
203
|
+
direction = '→'
|
|
204
|
+
}
|
|
205
|
+
} else if (fromO.left - fromO.with > toO.left) {
|
|
206
|
+
if (fromO.top + fromO.height < toO.top) {
|
|
207
|
+
direction = '↙'
|
|
208
|
+
} else if (fromO.top > toO.top + toO.height) {
|
|
209
|
+
direction = '↖'
|
|
210
|
+
} else {
|
|
211
|
+
direction = '←'
|
|
212
|
+
}
|
|
213
|
+
} else {
|
|
214
|
+
if (fromO.top < toO.top) {
|
|
215
|
+
direction = '↓'
|
|
216
|
+
} else {
|
|
217
|
+
direction = '↑'
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
console.log(direction)
|
|
221
|
+
let d = ''
|
|
222
|
+
switch (direction) {
|
|
223
|
+
case '↘':
|
|
224
|
+
d = `M${fromO.left + fromO.with / 2},${fromO.top + fromO.height}
|
|
225
|
+
L${fromO.left + fromO.with / 2},${(fromO.top + fromO.height + toO.top) / 2}
|
|
226
|
+
L${toO.left + toO.with / 2},${(fromO.top + fromO.height + toO.top) / 2}
|
|
227
|
+
L${toO.left + toO.with / 2},${toO.top}`
|
|
228
|
+
break
|
|
229
|
+
case '↗':
|
|
230
|
+
d = `M${fromO.left + fromO.with / 2},${fromO.top}
|
|
231
|
+
L${fromO.left + fromO.with / 2},${(fromO.top + toO.top + toO.height) / 2}
|
|
232
|
+
L${toO.left + toO.with / 2},${(fromO.top + toO.top + toO.height) / 2}
|
|
233
|
+
L${toO.left + toO.with / 2},${toO.top + toO.height}`
|
|
234
|
+
break
|
|
235
|
+
case '→':
|
|
236
|
+
d = `M${fromO.left + fromO.with},${fromO.top + fromO.height / 2}
|
|
237
|
+
L${(fromO.left + fromO.with + toO.left) / 2},${fromO.top + fromO.height / 2}
|
|
238
|
+
L${(fromO.left + fromO.with + toO.left) / 2},${toO.top + toO.height / 2}
|
|
239
|
+
L${toO.left},${toO.top + toO.height / 2}`
|
|
240
|
+
break
|
|
241
|
+
case '↙':
|
|
242
|
+
d = `M${fromO.left + fromO.with / 2},${fromO.top + fromO.height}
|
|
243
|
+
L${fromO.left + fromO.with / 2},${(fromO.top + fromO.height + toO.top) / 2}
|
|
244
|
+
L${toO.left + toO.with / 2},${(fromO.top + fromO.height + toO.top) / 2}
|
|
245
|
+
L${toO.left + toO.with / 2},${toO.top}`
|
|
246
|
+
break
|
|
247
|
+
case '↖':
|
|
248
|
+
d = `M${fromO.left + fromO.with / 2},${fromO.top}
|
|
249
|
+
L${fromO.left + fromO.with / 2},${(fromO.top + toO.top + toO.height) / 2}
|
|
250
|
+
L${toO.left + toO.with / 2},${(fromO.top + toO.top + toO.height) / 2}
|
|
251
|
+
L${toO.left + toO.with / 2},${toO.top + toO.height}`
|
|
252
|
+
break
|
|
253
|
+
case '←':
|
|
254
|
+
d = `M${fromO.left},${fromO.top + fromO.height / 2}
|
|
255
|
+
L${(fromO.left + toO.left + toO.with) / 2},${fromO.top + fromO.height / 2}
|
|
256
|
+
L${(fromO.left + toO.left + toO.with) / 2},${toO.top + toO.height / 2}
|
|
257
|
+
L${toO.left + toO.with},${toO.top + toO.height / 2}`
|
|
258
|
+
break
|
|
259
|
+
case '↓':
|
|
260
|
+
d = `M${fromO.left + fromO.with / 2},${fromO.top + fromO.height}
|
|
261
|
+
L${fromO.left + fromO.with / 2},${(fromO.top + fromO.height + toO.top) / 2}
|
|
262
|
+
L${toO.left + toO.with / 2},${(fromO.top + fromO.height + toO.top) / 2}
|
|
263
|
+
L${toO.left + toO.with / 2},${toO.top}`
|
|
264
|
+
break
|
|
265
|
+
case '↑':
|
|
266
|
+
d = `M${fromO.left + fromO.with / 2},${fromO.top}
|
|
267
|
+
L${fromO.left + fromO.with / 2},${(fromO.top + toO.top + toO.height) / 2}
|
|
268
|
+
L${toO.left + toO.with / 2},${(fromO.top + toO.top + toO.height) / 2}
|
|
269
|
+
L${toO.left + toO.with / 2},${toO.top + toO.height}`
|
|
270
|
+
break
|
|
271
|
+
}
|
|
272
|
+
d = d.replace(/[\s\n]+/g, ' ')
|
|
273
|
+
|
|
274
|
+
// = `M ${fromO.left},${fromO.top}L${toO.left},${toO.top}`
|
|
275
|
+
|
|
276
|
+
let path = document.createElementNS('http://www.w3.org/2000/svg', 'path')
|
|
277
|
+
path.setAttribute('class', 'activiti-line-reject')
|
|
278
|
+
path.setAttribute('d', d)
|
|
279
|
+
this.svgC.appendChild(path)
|
|
280
|
+
},
|
|
281
|
+
*/
|
|
282
|
+
</script>
|
|
283
|
+
|
|
284
|
+
<style>
|
|
285
|
+
.n20-approval-img-por .djs-hit-all,
|
|
286
|
+
.n20-approval-img-por .djs-outline {
|
|
287
|
+
display: none !important;
|
|
288
|
+
}
|
|
289
|
+
.n20-approval-img-por .activiti-msg {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.activiti-node-achieve circle,
|
|
294
|
+
.activiti-node-achieve rect,
|
|
295
|
+
.activiti-line-achieve path {
|
|
296
|
+
stroke: var(--color-primary) !important;
|
|
297
|
+
}
|
|
298
|
+
.activiti-node-reject circle,
|
|
299
|
+
.activiti-node-reject rect {
|
|
300
|
+
stroke: var(--color-danger) !important;
|
|
301
|
+
}
|
|
302
|
+
.activiti-line-reject {
|
|
303
|
+
fill: none;
|
|
304
|
+
stroke-width: 1px;
|
|
305
|
+
stroke: var(--color-danger) !important;
|
|
306
|
+
stroke-linejoin: round;
|
|
307
|
+
marker-end: url('#sequenceflow-end-white-black-3aw0mc6w8vg7jarca1qf355gu');
|
|
308
|
+
}
|
|
309
|
+
.activiti-text-reject {
|
|
310
|
+
fill: var(--color-danger) !important;
|
|
311
|
+
font-family: Arial, sans-serif;
|
|
312
|
+
font-size: 12px;
|
|
313
|
+
font-weight: normal;
|
|
314
|
+
text-anchor: middle;
|
|
315
|
+
}
|
|
316
|
+
.activiti-text-bg-reject {
|
|
317
|
+
fill: #ffffff;
|
|
318
|
+
}
|
|
319
|
+
</style>
|