n20-common-lib 1.2.46 → 1.3.2
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 +17 -2
- package/src/assets/css/_coreLib.scss +1 -0
- package/src/assets/css/alert.scss +31 -0
- package/src/assets/css/cl-anchor.scss +18 -9
- package/src/assets/css/cl-approve-card.scss +12 -2
- package/src/assets/css/cl-dialog.scss +16 -1
- package/src/assets/css/cl-drag-list.scss +4 -2
- package/src/assets/css/cl-expandable-pane.scss +15 -3
- package/src/assets/css/cl-expandable.scss +5 -2
- package/src/assets/css/cl-file-upload-table.scss +22 -1
- package/src/assets/css/cl-form-item.scss +102 -8
- package/src/assets/css/cl-message.scss +87 -2
- package/src/assets/css/cl-pagination.scss +3 -1
- package/src/assets/css/cl-showcolumn.scss +18 -1
- package/src/assets/css/cl-statis.scss +14 -1
- package/src/assets/css/cl-tertiary-tab.scss +4 -2
- package/src/assets/css/cl-upload.scss +7 -0
- package/src/assets/css/el-button.scss +24 -9
- package/src/assets/css/el-table.scss +18 -0
- package/src/assets/css/element.dev.scss +1 -0
- package/src/assets/css/font-icon.scss +0 -1
- package/src/assets/css/normalize.scss +6 -6
- package/src/assets/css/plain-text.scss +138 -0
- package/src/assets/css/title-pop.scss +20 -1
- package/src/assets/svg/404.svg +1 -0
- package/src/assets/svg/addFile.svg +32 -0
- package/src/assets/svg/bug.svg +1 -0
- package/src/assets/svg/chart.svg +1 -0
- package/src/assets/svg/clipboard.svg +1 -0
- package/src/assets/svg/component.svg +1 -0
- package/src/assets/svg/dashboard.svg +1 -0
- package/src/assets/svg/deleteFile.svg +28 -0
- package/src/assets/svg/documentation.svg +1 -0
- package/src/assets/svg/drag.svg +1 -0
- package/src/assets/svg/edit.svg +1 -0
- package/src/assets/svg/education.svg +1 -0
- package/src/assets/svg/email.svg +1 -0
- package/src/assets/svg/example.svg +1 -0
- package/src/assets/svg/excel.svg +1 -0
- package/src/assets/svg/exit-fullscreen.svg +1 -0
- package/src/assets/svg/eye-open.svg +1 -0
- package/src/assets/svg/eye.svg +1 -0
- package/src/assets/svg/favorite.svg +1 -0
- package/src/assets/svg/favorite_active.svg +1 -0
- package/src/assets/svg/favorite_x400.svg +1 -0
- package/src/assets/svg/favorite_x400_active.svg +1 -0
- package/src/assets/svg/favorite_x400_blank.svg +1 -0
- package/src/assets/svg/filter.svg +16 -0
- package/src/assets/svg/filter@2x.png +0 -0
- package/src/assets/svg/filterActive.svg +16 -0
- package/src/assets/svg/filterClose@2x.png +0 -0
- package/src/assets/svg/form.svg +1 -0
- package/src/assets/svg/fullscreen.svg +1 -0
- package/src/assets/svg/guide.svg +1 -0
- package/src/assets/svg/hourglass.svg +19 -0
- package/src/assets/svg/icon.svg +1 -0
- package/src/assets/svg/international.svg +1 -0
- package/src/assets/svg/language.svg +1 -0
- package/src/assets/svg/left-dis.svg +1 -0
- package/src/assets/svg/left.svg +1 -0
- package/src/assets/svg/link.svg +1 -0
- package/src/assets/svg/list.svg +1 -0
- package/src/assets/svg/lock.svg +1 -0
- package/src/assets/svg/message-t.svg +1 -0
- package/src/assets/svg/money.svg +1 -0
- package/src/assets/svg/money3.svg +1 -0
- package/src/assets/svg/money4.svg +1 -0
- package/src/assets/svg/moneyTwo.svg +1 -0
- package/src/assets/svg/msg_white.svg +1 -0
- package/src/assets/svg/nested.svg +1 -0
- package/src/assets/svg/newsearch.svg +19 -0
- package/src/assets/svg/password.svg +1 -0
- package/src/assets/svg/pdf.svg +1 -0
- package/src/assets/svg/people.svg +1 -0
- package/src/assets/svg/peoples.svg +1 -0
- package/src/assets/svg/phone.svg +1 -0
- package/src/assets/svg/phone_msg.svg +1 -0
- package/src/assets/svg/qq.svg +1 -0
- package/src/assets/svg/right-dis.svg +1 -0
- package/src/assets/svg/right.svg +1 -0
- package/src/assets/svg/search.svg +1 -0
- package/src/assets/svg/searchActive.svg +19 -0
- package/src/assets/svg/shopping.svg +1 -0
- package/src/assets/svg/size.svg +1 -0
- package/src/assets/svg/skill.svg +1 -0
- package/src/assets/svg/star.svg +1 -0
- package/src/assets/svg/steam.svg +1 -0
- package/src/assets/svg/tab.svg +1 -0
- package/src/assets/svg/table.svg +1 -0
- package/src/assets/svg/theme.svg +1 -0
- package/src/assets/svg/tree-table.svg +1 -0
- package/src/assets/svg/tree.svg +1 -0
- package/src/assets/svg/user.svg +1 -0
- package/src/assets/svg/wechat.svg +1 -0
- package/src/assets/svg/z-left-2-dis.svg +1 -0
- package/src/assets/svg/z-left-2.svg +1 -0
- package/src/assets/svg/z-right-2-dis.svg +1 -0
- package/src/assets/svg/z-right-2.svg +1 -0
- package/src/assets/svg/z-right.svg +1 -0
- package/src/assets/svg/zip.svg +1 -0
- package/src/components/ApprovalButtons/index.vue +16 -9
- package/src/components/ApprovalCard/index.vue +18 -14
- package/src/components/Button/button-group.vue +52 -48
- package/src/components/Button/icon-group-button.vue +2 -0
- package/src/components/ChildRange/index.vue +202 -0
- package/src/components/ECharts/define.js +74 -0
- package/src/components/ECharts/index.vue +163 -0
- package/src/components/ECharts/mixins/resize.js +56 -0
- package/src/components/Empty/img/400.svg +102 -0
- package/src/components/Empty/img/401.svg +102 -0
- package/src/components/Empty/img/403.svg +102 -0
- package/src/components/Empty/img/405.svg +102 -0
- package/src/components/Empty/img/901.svg +96 -0
- package/src/components/Empty/img/902.svg +96 -0
- package/src/components/Empty/img/903.svg +96 -0
- package/src/components/Empty/img/904.svg +96 -0
- package/src/components/Empty/img/905.svg +96 -0
- package/src/components/Empty/img/906.svg +96 -0
- package/src/components/Empty/img/907.svg +96 -0
- package/src/components/Empty/index.vue +55 -0
- package/src/components/Expandable/main.vue +4 -1
- package/src/components/FileImport/index.vue +201 -0
- package/src/components/FileUploadTable/index.vue +15 -10
- package/src/components/Filters/index.vue +2 -2
- package/src/components/Filters/indexO.vue +1 -1
- package/src/components/InputSearch/index.vue +1 -1
- package/src/components/LoginTemporary/index.vue +3 -3
- package/src/components/NstcG6Components/Calendar/index.js +8 -0
- package/src/components/NstcG6Components/Calendar/src/basic/month-table.vue +129 -0
- package/src/components/NstcG6Components/Calendar/src/basic/year-table.vue +126 -0
- package/src/components/NstcG6Components/Calendar/src/main.vue +442 -0
- package/src/components/NstcG6Components/DialogForm/index.js +8 -0
- package/src/components/NstcG6Components/DialogForm/src/demo/index.vue +56 -0
- package/src/components/NstcG6Components/DialogForm/src/main.vue +189 -0
- package/src/components/NstcG6Components/Form/A_DEMO/component/originalForm.vue +281 -0
- package/src/components/NstcG6Components/Form/A_DEMO/config/config_3.js +1222 -0
- package/src/components/NstcG6Components/Form/A_DEMO/index.vue +803 -0
- package/src/components/NstcG6Components/Form/AutocompleteCustom/index.vue +72 -0
- package/src/components/NstcG6Components/Form/BusinessSpecific/InputMultiple.vue +191 -0
- package/src/components/NstcG6Components/Form/BusinessSpecific/InputWithUnit.vue +128 -0
- package/src/components/NstcG6Components/Form/BusinessSpecific/SelectTreeDialog.vue +233 -0
- package/src/components/NstcG6Components/Form/BusinessSpecific/readme.md +7 -0
- package/src/components/NstcG6Components/Form/CascaderCustom/index.vue +101 -0
- package/src/components/NstcG6Components/Form/CheckboxCustom/index.vue +84 -0
- package/src/components/NstcG6Components/Form/Component.vue +661 -0
- package/src/components/NstcG6Components/Form/ComponentSecond.vue +650 -0
- package/src/components/NstcG6Components/Form/DatepickerCustom/index.vue +130 -0
- package/src/components/NstcG6Components/Form/InputAndDialog/index.js +15 -0
- package/src/components/NstcG6Components/Form/InputAndDialog/src/main.vue +395 -0
- package/src/components/NstcG6Components/Form/InputCustom/demo/index.vue +65 -0
- package/src/components/NstcG6Components/Form/InputCustom/index.vue +307 -0
- package/src/components/NstcG6Components/Form/IntervalinputCustom/demo/index.vue +31 -0
- package/src/components/NstcG6Components/Form/IntervalinputCustom/index.vue +118 -0
- package/src/components/NstcG6Components/Form/Item.vue +330 -0
- package/src/components/NstcG6Components/Form/ItemSecond.vue +269 -0
- package/src/components/NstcG6Components/Form/List.vue +146 -0
- package/src/components/NstcG6Components/Form/ListSecond.vue +130 -0
- package/src/components/NstcG6Components/Form/RadioCustom/index.vue +73 -0
- package/src/components/NstcG6Components/Form/SelectAccount/index.js +15 -0
- package/src/components/NstcG6Components/Form/SelectAccount/src/demo/index.vue +58 -0
- package/src/components/NstcG6Components/Form/SelectAccount/src/main.vue +283 -0
- package/src/components/NstcG6Components/Form/SelectAndDialog/index.js +15 -0
- package/src/components/NstcG6Components/Form/SelectAndDialog/src/main.vue +384 -0
- package/src/components/NstcG6Components/Form/SelectCashFlow/index.js +15 -0
- package/src/components/NstcG6Components/Form/SelectCashFlow/src/demo/index.vue +42 -0
- package/src/components/NstcG6Components/Form/SelectCashFlow/src/main.vue +126 -0
- package/src/components/NstcG6Components/Form/SelectCustom/demo/index.vue +82 -0
- package/src/components/NstcG6Components/Form/SelectCustom/index.vue +488 -0
- package/src/components/NstcG6Components/Form/SelectSubject/index.js +15 -0
- package/src/components/NstcG6Components/Form/SelectSubject/src/demo/index.vue +85 -0
- package/src/components/NstcG6Components/Form/SelectSubject/src/main.vue +182 -0
- package/src/components/NstcG6Components/Form/SelectindialogCustom/demo/index.vue +188 -0
- package/src/components/NstcG6Components/Form/SelectindialogCustom/index.vue +650 -0
- package/src/components/NstcG6Components/Form/SelectindialogCustom/install.js +7 -0
- package/src/components/NstcG6Components/Form/TableRadioCustom/demo/index.vue +53 -0
- package/src/components/NstcG6Components/Form/TableRadioCustom/index.vue +183 -0
- package/src/components/NstcG6Components/Form/TextCustom/index.vue +38 -0
- package/src/components/NstcG6Components/Form/UploadCustom/demo/index.vue +31 -0
- package/src/components/NstcG6Components/Form/UploadCustom/iconxitongshezhi-yichu.png +0 -0
- package/src/components/NstcG6Components/Form/UploadCustom/index.vue +506 -0
- package/src/components/NstcG6Components/Form/configs.js +191 -0
- package/src/components/NstcG6Components/Form/configsSecond.js +161 -0
- package/src/components/NstcG6Components/Form/index.js +8 -0
- package/src/components/NstcG6Components/Form/index.scss +29 -0
- package/src/components/NstcG6Components/Form/payeePersonSelect/index.js +15 -0
- package/src/components/NstcG6Components/Form/payeePersonSelect/src/demo/index.vue +164 -0
- package/src/components/NstcG6Components/Form/payeePersonSelect/src/main.vue +185 -0
- package/src/components/NstcG6Components/Form/readme.txt +4 -0
- package/src/components/NstcG6Components/FormGroup/index.js +8 -0
- package/src/components/NstcG6Components/FormGroup/src/demo/config.js +23 -0
- package/src/components/NstcG6Components/FormGroup/src/demo/index.vue +85 -0
- package/src/components/NstcG6Components/FormGroup/src/main.vue +639 -0
- package/src/components/NstcG6Components/FormGroup/src/validate.js +23 -0
- package/src/components/NstcG6Components/InputTag/InputTag.vue +270 -0
- package/src/components/NstcG6Components/NstcApprovel/NstcApprovel.vue +25 -0
- package/src/components/NstcG6Components/NstcBackToTop/NstcBackToTop.vue +150 -0
- package/src/components/NstcG6Components/NstcBranchLazyLoad/NstcBranchLazyLoad.vue +119 -0
- package/src/components/NstcG6Components/NstcCharts/NstcCharts.vue +162 -0
- package/src/components/NstcG6Components/NstcCharts/define.js +74 -0
- package/src/components/NstcG6Components/NstcCharts/mixins/resize.js +56 -0
- package/src/components/NstcG6Components/NstcConfirm/NstcConfirm.vue +153 -0
- package/src/components/NstcG6Components/NstcConfirm/index.js +25 -0
- package/src/components/NstcG6Components/NstcDialog/NstcDialog.vue +185 -0
- package/src/components/NstcG6Components/NstcDialogForm/NstcDialogForm.vue +176 -0
- package/src/components/NstcG6Components/NstcDialogTable/NstcDialogTable.vue +282 -0
- package/src/components/NstcG6Components/NstcDropdown/NstcDropdown.vue +52 -0
- package/src/components/NstcG6Components/NstcDropdownTree/NstcDropdownTree.vue +392 -0
- package/src/components/NstcG6Components/NstcElectronicFile/NstcElectronicFile.vue +591 -0
- package/src/components/NstcG6Components/NstcExcelCustomImport/NstcExcelCustomImport.vue +475 -0
- package/src/components/NstcG6Components/NstcExcelCustomImport/img/upload@2x.png +0 -0
- package/src/components/NstcG6Components/NstcExcelExport/NstcExcelExport.vue +145 -0
- package/src/components/NstcG6Components/NstcExcelImport/NstcExcelImport.vue +1051 -0
- package/src/components/NstcG6Components/NstcExcelImport/img/upload@2x.png +0 -0
- package/src/components/NstcG6Components/NstcExcelImportN/NstcExcelImportN.vue +1168 -0
- package/src/components/NstcG6Components/NstcExpandCollapse/NstcExpandCollapse.vue +130 -0
- package/src/components/NstcG6Components/NstcExpandCollapse/index.scss +77 -0
- package/src/components/NstcG6Components/NstcFileUpload/NstcFileUpload.vue +1011 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/addFile.svg +32 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/delete.svg +24 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/deleteFile.svg +28 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/download.svg +24 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/inputUpload.svg +30 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/look-diabled.svg +24 -0
- package/src/components/NstcG6Components/NstcFileUpload/img/look.svg +24 -0
- package/src/components/NstcG6Components/NstcForm/A_DEMO/component/originalForm.vue +281 -0
- package/src/components/NstcG6Components/NstcForm/A_DEMO/config/config_3.js +1222 -0
- package/src/components/NstcG6Components/NstcForm/A_DEMO/index.vue +796 -0
- package/src/components/NstcG6Components/NstcForm/AutocompleteCustom/index.vue +68 -0
- package/src/components/NstcG6Components/NstcForm/BusinessSpecific/InputMultiple.vue +191 -0
- package/src/components/NstcG6Components/NstcForm/BusinessSpecific/InputWithUnit.vue +128 -0
- package/src/components/NstcG6Components/NstcForm/BusinessSpecific/SelectTreeDialog.vue +233 -0
- package/src/components/NstcG6Components/NstcForm/BusinessSpecific/readme.md +7 -0
- package/src/components/NstcG6Components/NstcForm/CascaderCustom/index.vue +101 -0
- package/src/components/NstcG6Components/NstcForm/CheckboxCustom/index.vue +84 -0
- package/src/components/NstcG6Components/NstcForm/Component.vue +684 -0
- package/src/components/NstcG6Components/NstcForm/ComponentSecond.vue +650 -0
- package/src/components/NstcG6Components/NstcForm/DatepickerCustom/index.vue +130 -0
- package/src/components/NstcG6Components/NstcForm/InputAndDialog/NstcInputAndDialog.vue +389 -0
- package/src/components/NstcG6Components/NstcForm/InputCustom/index.vue +314 -0
- package/src/components/NstcG6Components/NstcForm/IntervalInputCustom/index.vue +116 -0
- package/src/components/NstcG6Components/NstcForm/Item.vue +327 -0
- package/src/components/NstcG6Components/NstcForm/ItemSecond.vue +269 -0
- package/src/components/NstcG6Components/NstcForm/List.vue +146 -0
- package/src/components/NstcG6Components/NstcForm/ListSecond.vue +130 -0
- package/src/components/NstcG6Components/NstcForm/RadioCustom/index.vue +73 -0
- package/src/components/NstcG6Components/NstcForm/SelectAccount/NstcSelectAccount.vue +334 -0
- package/src/components/NstcG6Components/NstcForm/SelectAndDialog/NstcSelectAndDialog.vue +382 -0
- package/src/components/NstcG6Components/NstcForm/SelectCashFlow/NstcSelectCashFlow.vue +123 -0
- package/src/components/NstcG6Components/NstcForm/SelectCustom/index.vue +460 -0
- package/src/components/NstcG6Components/NstcForm/SelectSubject/NstcSelectSubject.vue +185 -0
- package/src/components/NstcG6Components/NstcForm/SelectindialogCustom/index.vue +650 -0
- package/src/components/NstcG6Components/NstcForm/TableRadioCustom/index.vue +183 -0
- package/src/components/NstcG6Components/NstcForm/TextCustom/index.vue +38 -0
- package/src/components/NstcG6Components/NstcForm/UploadCustom/iconxitongshezhi-yichu.png +0 -0
- package/src/components/NstcG6Components/NstcForm/UploadCustom/index.vue +483 -0
- package/src/components/NstcG6Components/NstcForm/configs.js +191 -0
- package/src/components/NstcG6Components/NstcForm/configsSecond.js +161 -0
- package/src/components/NstcG6Components/NstcForm/index.js +8 -0
- package/src/components/NstcG6Components/NstcForm/index.scss +29 -0
- package/src/components/NstcG6Components/NstcForm/payeePersonSelect/NstcPayeePerson.vue +188 -0
- package/src/components/NstcG6Components/NstcForm/readme.txt +4 -0
- package/src/components/NstcG6Components/NstcPagination/NstcPagination.vue +430 -0
- package/src/components/NstcG6Components/NstcPagination/setPageNum.png +0 -0
- package/src/components/NstcG6Components/NstcPagination/setpagedefault.png +0 -0
- package/src/components/NstcG6Components/NstcScreenFull/NstcScreenFull.vue +70 -0
- package/src/components/NstcG6Components/NstcSelectTree/NstcSelectTree.vue +729 -0
- package/src/components/NstcG6Components/NstcSelectTreeList/NstcSelectTreeList.vue +676 -0
- package/src/components/NstcG6Components/NstcSticky/NstcSticky.vue +97 -0
- package/src/components/NstcG6Components/NstcSvgIcon/NstcSvgIcon.vue +77 -0
- package/src/components/NstcG6Components/NstcTab/NstcTab.vue +80 -0
- package/src/components/NstcG6Components/NstcTabWithBadge/NstcTabWithBadge.vue +45 -0
- package/src/components/NstcG6Components/NstcTabWithBadge/index.scss +31 -0
- package/src/components/NstcG6Components/NstcTable/ElTableColumnCustom/index.vue +292 -0
- package/src/components/NstcG6Components/NstcTable/NstcTable.vue +460 -0
- package/src/components/NstcG6Components/NstcTableSet/NstcTableSet.vue +801 -0
- package/src/components/NstcG6Components/NstcThemePicker/NstcThemePicker.vue +186 -0
- package/src/components/NstcG6Components/NstcUploadCustomExcel/NstcUploadCustomExcel.vue +330 -0
- package/src/components/NstcG6Components/NstcUploadExcel/NstcUploadExcel.vue +145 -0
- package/src/components/NstcG6Components/NstcWorkBench/NstcWorkBench.vue +167 -0
- package/src/components/NstcG6Components/Search/NstcSearch.vue +591 -0
- package/src/components/NstcG6Components/Search/src/demo/index copy.vue +101 -0
- package/src/components/NstcG6Components/Search/src/demo/index.vue +103 -0
- package/src/components/NstcG6Components/Search/src/main copy.vue +607 -0
- package/src/components/NstcG6Components/approvelTwo/main.vue +220 -0
- package/src/components/NstcG6Components/approvelTwo/progress.vue +154 -0
- package/src/components/PageHeader/index.vue +80 -0
- package/src/components/PlainText/PlainTextItem.vue +17 -0
- package/src/components/PlainText/index.vue +12 -0
- package/src/components/Search/index.vue +593 -0
- package/src/components/SelectTree/index.vue +1 -0
- package/src/components/ShowColumn/index.vue +1 -1
- package/src/components/Stamp/images/accounts.png +0 -0
- package/src/components/Stamp/images/cancellation.png +0 -0
- package/src/components/Stamp/images/clinch.png +0 -0
- package/src/components/Stamp/images/conclude.png +0 -0
- package/src/components/Stamp/images/efficacy.png +0 -0
- package/src/components/Stamp/images/termination.png +0 -0
- package/src/components/Stamp/index.vue +75 -0
- package/src/components/Statis/statisPopover.vue +1 -0
- package/src/components/Table/ThSelectHeader.vue +133 -0
- package/src/components/Table/index.vue +53 -3
- package/src/components/Upload/index.vue +6 -2
- package/src/directives/VCopy/index.js +60 -0
- package/src/directives/VNstcNumber/index.js +14 -0
- package/src/directives/VNstcNumber/temp.js +446 -0
- package/src/index.js +28 -1
- package/src/utils/dateAndValidator.js +629 -0
- package/src/utils/debounce.js +40 -0
- package/src/utils/mapper_aims.js +810 -0
- package/src/utils/parseTime.js +48 -0
- package/src/utils/validate/index.js +7 -0
- package/src/utils/vendor/Export2Excel.js +229 -0
- package/src/utils/vendor/Export2Zip.js +24 -0
- package/src/utils/vue-bus.js +5 -0
- package/style/index.css +1 -1
- package/style/index.css.map +1 -1
|
@@ -0,0 +1,1168 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-dropdown
|
|
4
|
+
trigger="click"
|
|
5
|
+
placement="bottom-start"
|
|
6
|
+
@command="handleCommand"
|
|
7
|
+
>
|
|
8
|
+
<el-button type="primary" class="drop-btn-item">
|
|
9
|
+
导入<i class="el-icon-arrow-down el-icon--right"></i>
|
|
10
|
+
</el-button>
|
|
11
|
+
<el-dropdown-menu slot="dropdown" class="drop">
|
|
12
|
+
<el-dropdown-item command="a">导入数据</el-dropdown-item>
|
|
13
|
+
<el-dropdown-item command="b">模板下载</el-dropdown-item>
|
|
14
|
+
</el-dropdown-menu>
|
|
15
|
+
</el-dropdown>
|
|
16
|
+
<NstcDialog
|
|
17
|
+
v-model="dialogVisible"
|
|
18
|
+
:title="title"
|
|
19
|
+
width="1200px"
|
|
20
|
+
append-to-body
|
|
21
|
+
v-bind="$attrs"
|
|
22
|
+
v-on="$listeners"
|
|
23
|
+
@cancel="resetAction"
|
|
24
|
+
:footer-handlers="footerHandlers"
|
|
25
|
+
class="nstc-dialog-style"
|
|
26
|
+
>
|
|
27
|
+
<div class="file-box">
|
|
28
|
+
<span class="file-box-title">导入文件</span>
|
|
29
|
+
<span class="file-name">{{ fileName }}</span>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="import-process">导入进度</div>
|
|
32
|
+
<div v-show="statisticsFlag" class="excel-upload-result-box">
|
|
33
|
+
<div class="excel-upload-result-box-head">
|
|
34
|
+
导入统计
|
|
35
|
+
<span>共计导入 {{ validateResult.totalNum }}条, </span>
|
|
36
|
+
<span
|
|
37
|
+
>其中有效数据<span class="effect-data">
|
|
38
|
+
{{ validateResult.successNum }} </span
|
|
39
|
+
>条,
|
|
40
|
+
</span>
|
|
41
|
+
<span
|
|
42
|
+
>无效数据
|
|
43
|
+
<span class="nstc-import-error-num">{{
|
|
44
|
+
validateResult.errorList.length
|
|
45
|
+
}}</span>
|
|
46
|
+
条。</span
|
|
47
|
+
>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div v-show="hasErrorFlag" class="fail-excel-import-box fail-box">
|
|
51
|
+
<div class="fail-excel-import-box-title">无效数据详情</div>
|
|
52
|
+
<el-table :data="errorListTemp" style="width: 100%">
|
|
53
|
+
<el-table-column
|
|
54
|
+
v-for="column in columnsListTemp"
|
|
55
|
+
:key="column.prop"
|
|
56
|
+
:prop="column.prop"
|
|
57
|
+
:label="column.label"
|
|
58
|
+
:align="column.align"
|
|
59
|
+
:min-width="column.width"
|
|
60
|
+
>
|
|
61
|
+
<template slot-scope="scope">
|
|
62
|
+
<span v-html="scope.row[column.prop]"></span>
|
|
63
|
+
</template>
|
|
64
|
+
</el-table-column>
|
|
65
|
+
</el-table>
|
|
66
|
+
</div>
|
|
67
|
+
<div v-show="hasErrorFlag" class="end-tips">
|
|
68
|
+
上述数据输入有误,请修改导入文件中相关信息!
|
|
69
|
+
</div>
|
|
70
|
+
<div class="footer">
|
|
71
|
+
<el-button
|
|
72
|
+
type="primary"
|
|
73
|
+
@click="cancel"
|
|
74
|
+
:disabled="excelData.tableData.length === 0 || confirmDisabledFlag"
|
|
75
|
+
>确定
|
|
76
|
+
</el-button
|
|
77
|
+
>
|
|
78
|
+
</div>
|
|
79
|
+
</NstcDialog>
|
|
80
|
+
</div>
|
|
81
|
+
</template>
|
|
82
|
+
<script>
|
|
83
|
+
import XLSX from "xlsx";
|
|
84
|
+
import axios from "@/utils/axios.js";
|
|
85
|
+
import NstcDialog from "../NstcDialog/NstcDialog";
|
|
86
|
+
|
|
87
|
+
export default {
|
|
88
|
+
name: "NstcExcelImportN",
|
|
89
|
+
props: {
|
|
90
|
+
title: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: function () {
|
|
93
|
+
return "文件导入";
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
tips: {
|
|
97
|
+
type: Array,
|
|
98
|
+
default: () => {
|
|
99
|
+
return [];
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
templateUrl: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: "",
|
|
105
|
+
},
|
|
106
|
+
downConfig: {
|
|
107
|
+
type: Object,
|
|
108
|
+
default() {
|
|
109
|
+
return {
|
|
110
|
+
isFrontDown: true,
|
|
111
|
+
fileName: "下载.xlsx",
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
footerHandlers: {
|
|
116
|
+
type: Object,
|
|
117
|
+
default: function () {
|
|
118
|
+
return {
|
|
119
|
+
// cancel: {
|
|
120
|
+
// text: '取消'
|
|
121
|
+
// },
|
|
122
|
+
// confirm: {
|
|
123
|
+
// text: '导入'
|
|
124
|
+
// }
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
beforeUpload: Function, // eslint-disable-line
|
|
129
|
+
callback: {
|
|
130
|
+
type: Function,
|
|
131
|
+
default: () => {
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
handleConfirm: {
|
|
135
|
+
type: Function,
|
|
136
|
+
default: () => {
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
// 校验结果
|
|
140
|
+
validateResult: {
|
|
141
|
+
type: Object,
|
|
142
|
+
default: () => {
|
|
143
|
+
return {
|
|
144
|
+
totalNum: 0,
|
|
145
|
+
successNum: 0,
|
|
146
|
+
columnsList: [],
|
|
147
|
+
errorList: [],
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
reset: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
default: false,
|
|
154
|
+
},
|
|
155
|
+
dialogVisible: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
default: false,
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
components: {
|
|
161
|
+
NstcDialog,
|
|
162
|
+
},
|
|
163
|
+
data() {
|
|
164
|
+
return {
|
|
165
|
+
loading: false,
|
|
166
|
+
excelData: {
|
|
167
|
+
tableHeader: [],
|
|
168
|
+
tableData: [],
|
|
169
|
+
},
|
|
170
|
+
|
|
171
|
+
analysisText: "analysis",
|
|
172
|
+
fileName: "",
|
|
173
|
+
statisticsFlag: false,
|
|
174
|
+
columnsListTemp: [],
|
|
175
|
+
errorListTemp: [],
|
|
176
|
+
successFlag: false,
|
|
177
|
+
confirmDisabledFlag: true,
|
|
178
|
+
};
|
|
179
|
+
},
|
|
180
|
+
computed: {
|
|
181
|
+
hasErrorFlag() {
|
|
182
|
+
return (
|
|
183
|
+
this.validateResult.errorList &&
|
|
184
|
+
this.validateResult.errorList.length > 0
|
|
185
|
+
);
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
watch: {
|
|
189
|
+
validateResult: {
|
|
190
|
+
handler(newValue, oldValue) {
|
|
191
|
+
console.log("值更新了", newValue, oldValue);
|
|
192
|
+
newValue.columnsList.length && (this.statisticsFlag = true);
|
|
193
|
+
|
|
194
|
+
// 获取每行字符的最大长度
|
|
195
|
+
const lengthObj = {};
|
|
196
|
+
newValue.errorList.map((item) => {
|
|
197
|
+
const keys = newValue.columnsList.map((i) => {
|
|
198
|
+
return i["prop"];
|
|
199
|
+
});
|
|
200
|
+
keys.map((k, i) => {
|
|
201
|
+
if (item[k] && (!lengthObj[i] || lengthObj[i] < item[k].length)) {
|
|
202
|
+
lengthObj[i] = item[k].length;
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
// 更新column
|
|
208
|
+
this.columnsListTemp = newValue.columnsList.map((i, index) => {
|
|
209
|
+
console.log("iiiiiii", i, i.errorList);
|
|
210
|
+
return {
|
|
211
|
+
...i,
|
|
212
|
+
width: 16 * lengthObj[index] + 60,
|
|
213
|
+
component: {
|
|
214
|
+
template: `<div v-html="scope.row['${i.prop}']"></div>`,
|
|
215
|
+
},
|
|
216
|
+
};
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
// 更新errorList的tableData
|
|
220
|
+
this.errorListTemp.length = 0;
|
|
221
|
+
newValue.errorList.map((i) => {
|
|
222
|
+
const temp = {};
|
|
223
|
+
Object.keys(i).map((k) => {
|
|
224
|
+
if (i.errorList && i.errorList.includes(k)) {
|
|
225
|
+
temp[
|
|
226
|
+
k
|
|
227
|
+
] = `<div class="nstc-g6-common-color-danger">${i[k]}</div>`;
|
|
228
|
+
} else {
|
|
229
|
+
temp[k] = i[k];
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
this.errorListTemp.push(temp);
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
console.log(this.errorListTemp, this.columnsListTemp);
|
|
236
|
+
|
|
237
|
+
this.successFlag =
|
|
238
|
+
this.validateResult.successNum !== 0 &&
|
|
239
|
+
this.validateResult.successNum === this.validateResult.totalNum;
|
|
240
|
+
|
|
241
|
+
if (this.footerHandlers.confirm) {
|
|
242
|
+
this.footerHandlers.confirm.disabled = !this.successFlag;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
this.confirmDisabledFlag = !this.successFlag;
|
|
246
|
+
|
|
247
|
+
// nstc-g6-common-color-danger
|
|
248
|
+
this.columnsList &&
|
|
249
|
+
this.columnsList.map((i) => {
|
|
250
|
+
console.log(i);
|
|
251
|
+
});
|
|
252
|
+
},
|
|
253
|
+
deep: true,
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
methods: {
|
|
257
|
+
cancel() {
|
|
258
|
+
this.handleConfirmImportExcel();
|
|
259
|
+
},
|
|
260
|
+
async handleConfirmImportExcel() {
|
|
261
|
+
await this.handleConfirm(this.excelData);
|
|
262
|
+
},
|
|
263
|
+
handleCommand(command) {
|
|
264
|
+
if (command == "a") {
|
|
265
|
+
this.seletFile();
|
|
266
|
+
} else if (command == "b") {
|
|
267
|
+
this.downloadTemplate();
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
seletFile() {
|
|
271
|
+
let input = document.createElement("input");
|
|
272
|
+
let self = this;
|
|
273
|
+
input.type = "file";
|
|
274
|
+
input.accept = ".xlsx, .xls, .csv";
|
|
275
|
+
input.addEventListener("change", function (event) {
|
|
276
|
+
const files = event.target.files;
|
|
277
|
+
const rawFile = files[0]; // only use files[0]
|
|
278
|
+
console.log("导入的文件:", rawFile);
|
|
279
|
+
self.fileName = rawFile.name;
|
|
280
|
+
if (!rawFile) return;
|
|
281
|
+
self.upload(rawFile);
|
|
282
|
+
this.value = null; // fix can't select the same excel
|
|
283
|
+
});
|
|
284
|
+
input.click();
|
|
285
|
+
},
|
|
286
|
+
/*解析传入的表格 */
|
|
287
|
+
readerData(rawFile) {
|
|
288
|
+
this.loading = true;
|
|
289
|
+
return new Promise((resolve) => {
|
|
290
|
+
const reader = new FileReader();
|
|
291
|
+
reader.onload = (e) => {
|
|
292
|
+
const data = e.target.result;
|
|
293
|
+
const workbook = XLSX.read(data, {
|
|
294
|
+
type: "array",
|
|
295
|
+
cellDates: true,
|
|
296
|
+
});
|
|
297
|
+
const firstSheetName = workbook.SheetNames[0];
|
|
298
|
+
const worksheet = workbook.Sheets[firstSheetName];
|
|
299
|
+
const header = this.getHeaderRow(worksheet);
|
|
300
|
+
const results = XLSX.utils.sheet_to_json(worksheet);
|
|
301
|
+
|
|
302
|
+
this.generateData({header, results});
|
|
303
|
+
this.loading = false;
|
|
304
|
+
resolve();
|
|
305
|
+
};
|
|
306
|
+
reader.readAsArrayBuffer(rawFile);
|
|
307
|
+
});
|
|
308
|
+
},
|
|
309
|
+
generateData({header, results}) {
|
|
310
|
+
this.excelData.tableHeader = header;
|
|
311
|
+
this.excelData.tableData = results;
|
|
312
|
+
this.callback && this.callback(this.excelData);
|
|
313
|
+
},
|
|
314
|
+
getHeaderRow(sheet) {
|
|
315
|
+
console.log(sheet);
|
|
316
|
+
const headers = [];
|
|
317
|
+
const range = XLSX.utils.decode_range(sheet["!ref"]);
|
|
318
|
+
let C;
|
|
319
|
+
const R = range.s.r;
|
|
320
|
+
/* start in the first row */
|
|
321
|
+
for (C = range.s.c; C <= range.e.c; ++C) {
|
|
322
|
+
/* walk every column in the range */
|
|
323
|
+
const cell = sheet[XLSX.utils.encode_cell({c: C, r: R})];
|
|
324
|
+
/* find the cell in the first row */
|
|
325
|
+
let hdr = "UNKNOWN " + C; // <-- replace with your desired default
|
|
326
|
+
if (cell && cell.t) hdr = XLSX.utils.format_cell(cell);
|
|
327
|
+
headers.push(hdr);
|
|
328
|
+
}
|
|
329
|
+
return headers;
|
|
330
|
+
},
|
|
331
|
+
isExcel(file) {
|
|
332
|
+
return /\.(xlsx|xls|csv)$/.test(file.name);
|
|
333
|
+
},
|
|
334
|
+
/*上传文件 */
|
|
335
|
+
upload(rawFile) {
|
|
336
|
+
if (!this.beforeUpload) {
|
|
337
|
+
this.readerData(rawFile);
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
const before = this.beforeUpload(rawFile);
|
|
341
|
+
if (before) {
|
|
342
|
+
this.readerData(rawFile);
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
// 下载文件
|
|
346
|
+
downloadTemplate() {
|
|
347
|
+
// 前端下载
|
|
348
|
+
if (this.downConfig.isFrontDown) {
|
|
349
|
+
const aEl = document.createElement("a");
|
|
350
|
+
aEl.setAttribute("href", this.templateUrl);
|
|
351
|
+
aEl.target = "_blank";
|
|
352
|
+
// aEl.download = this.templateUrl
|
|
353
|
+
aEl.click();
|
|
354
|
+
} else {
|
|
355
|
+
axios({
|
|
356
|
+
url: this.templateUrl,
|
|
357
|
+
method: "get",
|
|
358
|
+
responseType: "blob",
|
|
359
|
+
}).then((res) => {
|
|
360
|
+
const content = res;
|
|
361
|
+
const blob = new Blob([content]);
|
|
362
|
+
if ("download" in document.createElement("a")) {
|
|
363
|
+
const link = document.createElement("a");
|
|
364
|
+
link.download = this.downConfig.fileName;
|
|
365
|
+
link.style.display = "none";
|
|
366
|
+
link.href = URL.createObjectURL(blob);
|
|
367
|
+
document.body.appendChild(link);
|
|
368
|
+
link.click();
|
|
369
|
+
URL.revokeObjectURL(link.href);
|
|
370
|
+
document.body.removeChild(link);
|
|
371
|
+
} else {
|
|
372
|
+
navigator.msSaveBlob(blob, this.downConfig.fileName);
|
|
373
|
+
}
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
//关闭弹窗
|
|
378
|
+
resetAction(flag) {
|
|
379
|
+
console.log(flag)
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
};
|
|
383
|
+
</script>
|
|
384
|
+
<style lang="scss" scoped>
|
|
385
|
+
.root-class {
|
|
386
|
+
.nstc-wrap-input-hover .select-in-dialog-result:hover,
|
|
387
|
+
.nstc-wrap-input-hover .nstc-common-form-textarea textarea:hover,
|
|
388
|
+
.nstc-wrap-input-hover .el-input__inner:hover {
|
|
389
|
+
border: 1px solid #007aff;
|
|
390
|
+
box-shadow: 0 0 4px 0 #007aff;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.nstc-wrap-input-hover .select-in-dialog-result:hover {
|
|
394
|
+
.select-in-dialog-result-remote-icon {
|
|
395
|
+
border-left: 1px solid #007aff;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.nstc-wrap-input-hover .select-in-dialog-result {
|
|
400
|
+
.el-select {
|
|
401
|
+
.el-input__inner:hover {
|
|
402
|
+
border: none !important;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.select-in-dialog-result:hover {
|
|
409
|
+
border: 1px solid #007aff;
|
|
410
|
+
box-shadow: 0 0 4px 0 #007aff;
|
|
411
|
+
|
|
412
|
+
.select-in-dialog-result-remote-icon {
|
|
413
|
+
border-left: 1px solid #007aff;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.is-disabled {
|
|
418
|
+
.select-in-dialog-result:hover {
|
|
419
|
+
border: 1px solid #ccc !important;
|
|
420
|
+
box-shadow: none;
|
|
421
|
+
|
|
422
|
+
.select-in-dialog-result-remote-icon {
|
|
423
|
+
border-left: none;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.el-form-item.is-error .el-input__inner:focus,
|
|
429
|
+
.el-form-item.is-error .el-textarea__inner:focus,
|
|
430
|
+
.el-input__inner:focus,
|
|
431
|
+
.el-select .el-input.is-focus .el-input__inner,
|
|
432
|
+
.el-textarea__inner:focus {
|
|
433
|
+
box-shadow: 0 0 4px 0 #007aff;
|
|
434
|
+
border-color: #007AFF;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.el-input {
|
|
438
|
+
.el-input__suffix {
|
|
439
|
+
line-height: 32px;
|
|
440
|
+
|
|
441
|
+
.el-input__suffix-inner {
|
|
442
|
+
height: 100%;
|
|
443
|
+
display: block;
|
|
444
|
+
|
|
445
|
+
.el-input__icon {
|
|
446
|
+
line-height: 32px;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
//日期修改
|
|
453
|
+
.el-date-editor {
|
|
454
|
+
// 修改日期选择框的图片居中
|
|
455
|
+
.el-range__icon {
|
|
456
|
+
line-height: 24px;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
//修改日期选择框连接符居中
|
|
460
|
+
.el-range-separator {
|
|
461
|
+
line-height: 24px;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
//日期选择框
|
|
466
|
+
.el-date-editor {
|
|
467
|
+
.el-range__close-icon {
|
|
468
|
+
line-height: 24px;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.el-date-editor.nstc-input-small {
|
|
473
|
+
.el-range__close-icon {
|
|
474
|
+
line-height: 18px;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
//表单
|
|
479
|
+
.el-form-item__content {
|
|
480
|
+
display: flex;
|
|
481
|
+
height: 40px;
|
|
482
|
+
align-items: center;
|
|
483
|
+
|
|
484
|
+
.el-input {
|
|
485
|
+
height: 32px;
|
|
486
|
+
line-height: 32px;
|
|
487
|
+
// width: 224px;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.el-input.is-disabled .el-input__inner {
|
|
491
|
+
background-color: #f5f7fa;
|
|
492
|
+
border-color: #dddddd;
|
|
493
|
+
color: #ccc;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.input-custom {
|
|
497
|
+
display: flex;
|
|
498
|
+
align-items: center;
|
|
499
|
+
// 门户的样式.el-input__inner 设置为32px 应该是在.el-input上面设置
|
|
500
|
+
.el-input {
|
|
501
|
+
height: 32px;
|
|
502
|
+
line-height: 32px;
|
|
503
|
+
//修改input 后面单位的高度与input 不一致
|
|
504
|
+
.el-input-group__append {
|
|
505
|
+
line-height: 1;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.el-input__suffix {
|
|
509
|
+
height: 32px;
|
|
510
|
+
|
|
511
|
+
.el-input__suffix-inner {
|
|
512
|
+
height: 100%;
|
|
513
|
+
display: block;
|
|
514
|
+
|
|
515
|
+
.el-input__icon {
|
|
516
|
+
line-height: 32px;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.form-create-select-tree {
|
|
524
|
+
.el-input {
|
|
525
|
+
height: 32px;
|
|
526
|
+
line-height: 32px;
|
|
527
|
+
//修改input 后面单位的高度与input 不一致
|
|
528
|
+
.el-input-group__append {
|
|
529
|
+
line-height: 1;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.el-input__suffix {
|
|
533
|
+
height: 32px;
|
|
534
|
+
|
|
535
|
+
.el-input__suffix-inner {
|
|
536
|
+
height: 100%;
|
|
537
|
+
display: block;
|
|
538
|
+
|
|
539
|
+
.el-input__icon {
|
|
540
|
+
line-height: 32px;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.el-date-editor {
|
|
548
|
+
.el-input__prefix {
|
|
549
|
+
.el-input__icon {
|
|
550
|
+
line-height: 32px;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.el-input__suffix {
|
|
555
|
+
.el-input__icon {
|
|
556
|
+
line-height: 32px;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
// 修改联机选择器的高度
|
|
562
|
+
.el-cascader {
|
|
563
|
+
height: 32px;
|
|
564
|
+
line-height: 32px;
|
|
565
|
+
|
|
566
|
+
.el-input {
|
|
567
|
+
height: 100%;
|
|
568
|
+
|
|
569
|
+
.el-input__suffix {
|
|
570
|
+
height: 32px;
|
|
571
|
+
|
|
572
|
+
.el-input__suffix-inner {
|
|
573
|
+
height: 100%;
|
|
574
|
+
display: block;
|
|
575
|
+
|
|
576
|
+
.el-input__icon.el-icon-arrow-down {
|
|
577
|
+
line-height: 32px;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
// 修改复选框没有居中对齐
|
|
585
|
+
.el-checkbox-group {
|
|
586
|
+
display: flex;
|
|
587
|
+
align-items: center;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
// 修改上传附件
|
|
591
|
+
.upload-custom {
|
|
592
|
+
height: 32px;
|
|
593
|
+
|
|
594
|
+
button {
|
|
595
|
+
height: 100%;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
//修改下拉select 没有右边border
|
|
600
|
+
.el-select {
|
|
601
|
+
height: 32px;
|
|
602
|
+
line-height: 32px;
|
|
603
|
+
|
|
604
|
+
.el-input {
|
|
605
|
+
height: 100%;
|
|
606
|
+
margin-left: 0;
|
|
607
|
+
|
|
608
|
+
.el-input__suffix {
|
|
609
|
+
height: 32px;
|
|
610
|
+
|
|
611
|
+
.el-input__suffix-inner {
|
|
612
|
+
height: 100%;
|
|
613
|
+
display: block;
|
|
614
|
+
|
|
615
|
+
.el-input__icon {
|
|
616
|
+
line-height: 32px;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
//国际化下拉
|
|
625
|
+
.i18n-box {
|
|
626
|
+
.el-select {
|
|
627
|
+
height: 32px;
|
|
628
|
+
line-height: 32px;
|
|
629
|
+
|
|
630
|
+
.el-input {
|
|
631
|
+
height: 100%;
|
|
632
|
+
margin-left: 0;
|
|
633
|
+
|
|
634
|
+
.el-input__suffix {
|
|
635
|
+
height: 32px;
|
|
636
|
+
|
|
637
|
+
.el-input__suffix-inner {
|
|
638
|
+
height: 100%;
|
|
639
|
+
display: block;
|
|
640
|
+
|
|
641
|
+
.el-input__icon {
|
|
642
|
+
line-height: 32px;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
//按钮
|
|
651
|
+
// .el-button + .el-button {
|
|
652
|
+
// margin-left: 16px;
|
|
653
|
+
// }
|
|
654
|
+
.el-button.nstc-g6-common-btn-size-s {
|
|
655
|
+
margin: 0 4px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.el-button.nstc-g6-common-btn-size-b {
|
|
659
|
+
margin: 0 8px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.el-button--primary:not(.is-disabled) {
|
|
663
|
+
&.nstc-g6-common-btn-1 {
|
|
664
|
+
background-color: #007aff;
|
|
665
|
+
border-color: #007aff;
|
|
666
|
+
color: #fff;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.el-button--default:not(.is-disabled) {
|
|
671
|
+
&.nstc-g6-common-btn-1 {
|
|
672
|
+
border-color: #dddddd;
|
|
673
|
+
color: #333;
|
|
674
|
+
background-color: #fff;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.el-button--primary:not(.is-disabled).nstc-g6-common-btn-1:not(.is-disabled):hover {
|
|
679
|
+
background-color: #146be6;
|
|
680
|
+
border: 1px solid #146be6;
|
|
681
|
+
color: #fff;
|
|
682
|
+
opacity: 1;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.el-button--default:not(.is-disabled).nstc-g6-common-btn-1:not(.is-disabled):hover {
|
|
686
|
+
border-color: #146be6;
|
|
687
|
+
color: #146be6;
|
|
688
|
+
background-color: #fff;
|
|
689
|
+
opacity: 1;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.el-button--default:not(.is-disabled).nstc-g6-common-btn-4 {
|
|
693
|
+
padding: 0 8px;
|
|
694
|
+
height: 28px;
|
|
695
|
+
min-width: 72px;
|
|
696
|
+
font-size: 14px;
|
|
697
|
+
background-color: #fff;
|
|
698
|
+
border: 1px solid #ddd;
|
|
699
|
+
color: #ff3b30;
|
|
700
|
+
|
|
701
|
+
&:hover {
|
|
702
|
+
border: 1px solid #ff3b30;
|
|
703
|
+
opacity: 1;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.el-button--primary:not(.is-disabled, .is-plain).nstc-g6-common-btn-4 {
|
|
708
|
+
color: #fff;
|
|
709
|
+
background-color: #ff3b30;
|
|
710
|
+
border: 1px solid #ff3b30;
|
|
711
|
+
|
|
712
|
+
&:hover {
|
|
713
|
+
color: #fff;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-1,
|
|
718
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-1:hover,
|
|
719
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-1:focus,
|
|
720
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-1:active,
|
|
721
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-1,
|
|
722
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-1:hover,
|
|
723
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-1:focus,
|
|
724
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-1:active,
|
|
725
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-4,
|
|
726
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-4:hover,
|
|
727
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-4:focus,
|
|
728
|
+
.el-button--primary.is-disabled.nstc-g6-common-btn-4:active,
|
|
729
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-4,
|
|
730
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-4:hover,
|
|
731
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-4:focus,
|
|
732
|
+
.el-button--default.is-disabled.nstc-g6-common-btn-4:active {
|
|
733
|
+
color: #ccc;
|
|
734
|
+
background-color: #eee;
|
|
735
|
+
border-color: #ddd;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
// tab 标签颜色
|
|
739
|
+
.nstc-tab .el-tabs__item.is-active,
|
|
740
|
+
.el-tabs__item.is-active {
|
|
741
|
+
color: #1677ff;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.el-tabs__active-bar,
|
|
745
|
+
.el-date-table td.current:not(.disabled) span,
|
|
746
|
+
.el-slider__bar,
|
|
747
|
+
.el-month-table td.end-date .cell,
|
|
748
|
+
.el-month-table td.start-date .cell,
|
|
749
|
+
.el-pagination.is-background .el-pager li:not(.disabled).active,
|
|
750
|
+
.el-alert--info.is-dark {
|
|
751
|
+
background-color: #1677ff;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
//修改多选框的颜色
|
|
755
|
+
.el-checkbox__input.is-checked .el-checkbox__inner {
|
|
756
|
+
border-color: #007aff;
|
|
757
|
+
background-color: #007aff;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.el-checkbox__inner:hover {
|
|
761
|
+
border-color: #007aff;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.el-radio__input.is-checked:not(.is-disabled) .el-radio__inner,
|
|
765
|
+
.el-switch.is-checked .el-switch__core,
|
|
766
|
+
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
767
|
+
border-color: #007aff;
|
|
768
|
+
background: #007aff;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.el-radio__inner:hover,
|
|
772
|
+
.el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled),
|
|
773
|
+
.el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled),
|
|
774
|
+
.el-cascader .el-input.is-focus .el-input__inner {
|
|
775
|
+
border-color: #007aff;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
//上传 进度条颜色 成功失败颜色
|
|
779
|
+
.el-progress.is-success .el-progress-bar__inner {
|
|
780
|
+
background-color: #48d2a0;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.el-progress.is-success .el-progress__text {
|
|
784
|
+
color: #48d2a0;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
// 分页
|
|
788
|
+
.cl-pagination .pages {
|
|
789
|
+
color: #000;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.cl-pagination .page-jumper[data-v-58107eb6] {
|
|
793
|
+
color: #333;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.cl-pagination-total .el-input--suffix .el-input__inner {
|
|
797
|
+
color: #333;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.el-pagination__editor.el-input .el-input__inner {
|
|
801
|
+
text-align: center !important;
|
|
802
|
+
box-sizing: border-box;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.form-group-custom .expand-collapse-header > span,
|
|
806
|
+
.form-group-custom .expand-collapse-header-collapse > span {
|
|
807
|
+
font-weight: normal;
|
|
808
|
+
font-size: 14px;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.expand-collapse-header-title[data-v-15697210] {
|
|
812
|
+
font-weight: normal;
|
|
813
|
+
color: #333;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.expand-collapse-header:hover .expand-collapse-icon[data-v-15697210],
|
|
817
|
+
.expand-collapse-footer:hover .expand-collapse-icon[data-v-15697210] {
|
|
818
|
+
color: #bac4cf;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.expand-collapse-icon[data-v-15697210] {
|
|
822
|
+
color: #bac4cf;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.expand-collapse-header[data-v-15697210],
|
|
826
|
+
.expand-collapse-footer[data-v-15697210] {
|
|
827
|
+
span {
|
|
828
|
+
color: #333;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
cursor: pointer;
|
|
832
|
+
background: #F5F5F5;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
// 滚动条样式
|
|
836
|
+
::-webkit-scrollbar-thumb {
|
|
837
|
+
background-color: #eee;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// 滚动条移动上的样式
|
|
841
|
+
::-webkit-scrollbar-thumb:hover {
|
|
842
|
+
background-color: #ccc;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
// 修改input 内的选中项样式
|
|
846
|
+
.el-tag.el-tag--info {
|
|
847
|
+
background-color: #eee;
|
|
848
|
+
border-color: #eee;
|
|
849
|
+
color: #3d4a57;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
//修改表格
|
|
853
|
+
.el-table thead.is-group th {
|
|
854
|
+
background: #f5f5f5;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.el-table th.is-leaf,
|
|
858
|
+
.el-table td {
|
|
859
|
+
border-bottom: 1px solid #eee;
|
|
860
|
+
border-bottom-width: 1px;
|
|
861
|
+
border-bottom-style: solid;
|
|
862
|
+
border-bottom-color: #eee;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.el-table--border th,
|
|
866
|
+
.el-table--border td {
|
|
867
|
+
border-right: 1px solid #eee;
|
|
868
|
+
border-right-width: 1px;
|
|
869
|
+
border-right-style: solid;
|
|
870
|
+
border-right-color: #eee;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.el-table--group,
|
|
874
|
+
.el-table--border {
|
|
875
|
+
border: 1px solid #eee;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.el-table--group::after,
|
|
879
|
+
.el-table--border::after,
|
|
880
|
+
.el-table::before {
|
|
881
|
+
background-color: #eee;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
// 表格高度统一44px
|
|
885
|
+
.el-table th,
|
|
886
|
+
.el-table td {
|
|
887
|
+
padding: 0;
|
|
888
|
+
height: 44px;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.el-form-item {
|
|
892
|
+
margin-bottom: 15px;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
// 解决表格内操作按钮hover
|
|
896
|
+
.el-link.is-underline:hover:after {
|
|
897
|
+
display: none;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.nstc-file-upload .cell {
|
|
901
|
+
padding: 0px 8px 0px 0 !important;
|
|
902
|
+
color: #333;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.el-table th.is-leaf {
|
|
906
|
+
background-color: #f5f5f5;
|
|
907
|
+
font-weight: normal;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.nstc-approvel {
|
|
911
|
+
.el-form-item__content {
|
|
912
|
+
display: flex;
|
|
913
|
+
height: auto;
|
|
914
|
+
align-items: center;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
// 修改批量导入弹窗内的样式 没有root-class 覆盖 新增一个class为nstc-dialog-style
|
|
920
|
+
|
|
921
|
+
// .nstc-dialog-style {
|
|
922
|
+
|
|
923
|
+
// }
|
|
924
|
+
//修改上传input样式
|
|
925
|
+
.nstc-common-excel-import {
|
|
926
|
+
.placeholder-has-file {
|
|
927
|
+
color: #3D4A57 !important;
|
|
928
|
+
height: 22px;
|
|
929
|
+
line-height: 22px;
|
|
930
|
+
width: auto;
|
|
931
|
+
position: absolute;
|
|
932
|
+
top: 50%;
|
|
933
|
+
margin-top: -11px;
|
|
934
|
+
padding-right: 20px;
|
|
935
|
+
left: 10px;
|
|
936
|
+
background: #eee;
|
|
937
|
+
padding-left: 5px;
|
|
938
|
+
border-radius: 2px;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
// 表格内的input
|
|
943
|
+
.cell {
|
|
944
|
+
.el-input {
|
|
945
|
+
&.el-input--suffix {
|
|
946
|
+
height: 32px;
|
|
947
|
+
line-height: 32px;
|
|
948
|
+
|
|
949
|
+
.el-input__inner {
|
|
950
|
+
height: 32px;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.el-input__suffix {
|
|
954
|
+
.el-input__suffix-inner {
|
|
955
|
+
height: 100%;
|
|
956
|
+
display: block;
|
|
957
|
+
line-height: 32px;
|
|
958
|
+
|
|
959
|
+
i {
|
|
960
|
+
line-height: 32px;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
//修改弹框上面没有root-class 的按钮hover
|
|
969
|
+
.nstc-g6-common-btn-1:not(.is-disabled):hover,
|
|
970
|
+
.nstc-g6-common-btn-1:not(.is-disabled):focus:hover {
|
|
971
|
+
border-color: #146be6 !important;
|
|
972
|
+
color: #fff !important;
|
|
973
|
+
background-color: #146be6 !important;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.nstc-g6-common-btn-3:not(.is-disabled):hover {
|
|
977
|
+
color: #146be6 !important;
|
|
978
|
+
border: 1px solid #146be6 !important;
|
|
979
|
+
background-color: #fff !important;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
//修改日期picker
|
|
983
|
+
.el-picker-panel {
|
|
984
|
+
.el-date-table td {
|
|
985
|
+
span {
|
|
986
|
+
border-radius: 2px;
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.el-date-table td.today span {
|
|
991
|
+
opacity: 0.8;
|
|
992
|
+
border-radius: 2px;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.el-date-table td.in-range {
|
|
996
|
+
div {
|
|
997
|
+
background: rgba(0, 122, 255, 0.1);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
// 弹框内的table 表头表格
|
|
1003
|
+
.el-table .el-table__header th,
|
|
1004
|
+
.el-table .el-table__header td {
|
|
1005
|
+
padding: 10px 0;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
//修改下拉选择hover 问题
|
|
1009
|
+
.el-select-dropdown__item {
|
|
1010
|
+
color: #333;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.el-select-dropdown.is-multiple .el-select-dropdown__item:hover {
|
|
1014
|
+
background-color: rgba(0, 122, 255, 0.1);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.el-select-dropdown.is-multiple .el-scrollbar__view .el-select-dropdown__item.selected.hover {
|
|
1018
|
+
background-color: rgba(0, 122, 255, 0.1);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.el-select-dropdown.el-popper .el-select-dropdown__item.hover,
|
|
1022
|
+
.el-select-dropdown.el-popper .el-select-dropdown__item:hover {
|
|
1023
|
+
background-color: rgba(0, 122, 255, 0.1);
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.el-button + .el-button {
|
|
1027
|
+
margin-left: 0;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
.el-button.nstc-g6-common-btn-size-s {
|
|
1032
|
+
margin: 0 4px;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.el-button.nstc-g6-common-btn-size-b {
|
|
1036
|
+
margin: 0 8px;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.nstc-file-upload .cell {
|
|
1040
|
+
padding: 0px 8px 0px 0 !important;
|
|
1041
|
+
color: #333;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.el-table th.is-leaf {
|
|
1045
|
+
background-color: #f5f5f5;
|
|
1046
|
+
font-weight: normal;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
.el-button--default.nstc-g6-common-btn-1:not(.is-disabled):hover,
|
|
1051
|
+
.el-button--default.nstc-g6-common-btn-1:not(.is-disabled):focus:hover {
|
|
1052
|
+
border-color: #146be6 !important;
|
|
1053
|
+
color: #146be6 !important;
|
|
1054
|
+
background-color: #fff !important;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
.el-input .el-input__inner:hover {
|
|
1059
|
+
border: 1px solid #007AFF;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.el-select:hover .el-input .el-input__inner {
|
|
1063
|
+
border: 1px solid #007AFF;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.el-table th, .el-table td {
|
|
1067
|
+
padding: 0;
|
|
1068
|
+
height: 44px;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.drop.el-popper[x-placement^="bottom"] ::v-deep .popper__arrow {
|
|
1072
|
+
display: none;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.drop-btn.el-dropdown::v-deep .el-icon-arrow-down {
|
|
1076
|
+
display: none;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
.drop-btn-item {
|
|
1080
|
+
width: 72px;
|
|
1081
|
+
height: 26px;
|
|
1082
|
+
background: #007aff;
|
|
1083
|
+
border-radius: 4px;
|
|
1084
|
+
padding: 0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.nstc-import-error-num {
|
|
1088
|
+
color: #fb5555;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.excel-unload-input {
|
|
1092
|
+
position: relative;
|
|
1093
|
+
overflow: hidden;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
.placeholder-has-file {
|
|
1097
|
+
color: #242424 !important;
|
|
1098
|
+
height: 35px;
|
|
1099
|
+
width: 999px;
|
|
1100
|
+
position: absolute;
|
|
1101
|
+
top: -1px;
|
|
1102
|
+
left: 10px;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.excel-unload-input-img {
|
|
1106
|
+
position: absolute;
|
|
1107
|
+
right: 10px;
|
|
1108
|
+
top: 8px;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
.file-name {
|
|
1112
|
+
width: 141px;
|
|
1113
|
+
height: 20px;
|
|
1114
|
+
font-size: 14px;
|
|
1115
|
+
color: #333333;
|
|
1116
|
+
line-height: 20px;
|
|
1117
|
+
font-family: PingFangSC, PingFangSC-Regular;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.effect-data {
|
|
1121
|
+
color: #48d2a0;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.fail-box {
|
|
1125
|
+
margin: 16px 0;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.footer {
|
|
1129
|
+
text-align: center;
|
|
1130
|
+
|
|
1131
|
+
& .el-button {
|
|
1132
|
+
width: 74px;
|
|
1133
|
+
height: 32px;
|
|
1134
|
+
background: #1677ff;
|
|
1135
|
+
border-radius: 4px;
|
|
1136
|
+
padding: 0;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.import-process {
|
|
1141
|
+
margin: 16px 16px 14px 0;
|
|
1142
|
+
line-height: 20px;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.import-process::after {
|
|
1146
|
+
display: inline-block;
|
|
1147
|
+
content: "";
|
|
1148
|
+
width: 283px;
|
|
1149
|
+
height: 4px;
|
|
1150
|
+
background: #48d2a0;
|
|
1151
|
+
border-radius: 4px;
|
|
1152
|
+
margin-left: 16px;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.fail-excel-import-box {
|
|
1156
|
+
margin: 20px 0 14px 0;
|
|
1157
|
+
padding: 0 16px 16px 16px;
|
|
1158
|
+
box-sizing: border-box;
|
|
1159
|
+
border: 1px solid #dfe6ee;
|
|
1160
|
+
|
|
1161
|
+
&-title {
|
|
1162
|
+
height: 54px;
|
|
1163
|
+
line-height: 54px;
|
|
1164
|
+
color: #262d34;
|
|
1165
|
+
font-size: 16px;
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
</style>
|