@indfnd/common 0.0.75
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/CHANGELOG.md +761 -0
- package/dist/ind-common.es.js +66436 -0
- package/dist/ind-common.umd.cjs +184 -0
- package/dist/styles/imgs/head.png +0 -0
- package/dist/styles/imgs/headicon2.png +0 -0
- package/dist/styles/imgs/headlogo.png +0 -0
- package/dist/styles/imgs/login/login-bg.jpg +0 -0
- package/dist/styles/imgs/logo.png +0 -0
- package/dist/styles/index.css +1 -0
- package/global.d.ts +4 -0
- package/package.json +84 -0
- package/src/styles/variables/base.less +146 -0
- package/src/styles/variables/index.less +3 -0
- package/src/styles/variables/theme1.less +115 -0
- package/src/styles/variables/theme2.less +122 -0
- package/types/api/basic/app.d.ts +13 -0
- package/types/api/basic/home.d.ts +6 -0
- package/types/api/basic/user.d.ts +19 -0
- package/types/api/common/msgreviceset.d.ts +2 -0
- package/types/api/common/todohandlerset.d.ts +2 -0
- package/types/api/iam/ac/allocation/batchverify.d.ts +16 -0
- package/types/api/iam/ac/allocation/cigar.d.ts +12 -0
- package/types/api/iam/ac/allocation/emergency.d.ts +14 -0
- package/types/api/iam/ac/allocation/weekallot.d.ts +10 -0
- package/types/api/iam/ac/allocation/weekplan.d.ts +10 -0
- package/types/api/iam/ac/contract/contract-cancel.d.ts +2 -0
- package/types/api/iam/ac/contract/contract-create.d.ts +10 -0
- package/types/api/iam/ac/contract/contract-edit.d.ts +5 -0
- package/types/api/iam/ac/contract/contract-invoice.d.ts +6 -0
- package/types/api/iam/ac/contract/contract-order.d.ts +25 -0
- package/types/api/iam/ac/contract/contract-other.d.ts +1 -0
- package/types/api/iam/ac/contract/contract-plan.d.ts +3 -0
- package/types/api/iam/ac/contract/contract-preparation.d.ts +13 -0
- package/types/api/iam/ac/contract/contract-registration.d.ts +17 -0
- package/types/api/iam/ac/contract/contract-seal.d.ts +2 -0
- package/types/api/iam/ac/contract/contract-track.d.ts +1 -0
- package/types/api/iam/ac/contract/qrtztask.d.ts +6 -0
- package/types/api/iam/ac/export/export.d.ts +3 -0
- package/types/api/iam/ac/returned/make-contract.d.ts +4 -0
- package/types/api/iam/ac/returned/returned.d.ts +7 -0
- package/types/api/iam/ac/zero/base.d.ts +15 -0
- package/types/api/iam/ac/zero/normal.d.ts +3 -0
- package/types/api/iam/ac/zero/stock.d.ts +3 -0
- package/types/api/iam/ac/zjsysalefore/zjsysalefore.d.ts +3 -0
- package/types/api/iam/am/agreement/consult.d.ts +5 -0
- package/types/api/iam/am/agreement/consultquery.d.ts +1 -0
- package/types/api/iam/am/agreement/decompose.d.ts +2 -0
- package/types/api/iam/am/basic/agreement.d.ts +5 -0
- package/types/api/iam/am/basic/agreementnew.d.ts +5 -0
- package/types/api/iam/am/basic/architecture.d.ts +3 -0
- package/types/api/iam/am/basic/com.d.ts +3 -0
- package/types/api/iam/am/basic/comaccount.d.ts +6 -0
- package/types/api/iam/am/basic/comitem.d.ts +4 -0
- package/types/api/iam/am/basic/comitemwhse.d.ts +4 -0
- package/types/api/iam/am/basic/comwhse.d.ts +7 -0
- package/types/api/iam/am/basic/contract.d.ts +4 -0
- package/types/api/iam/am/basic/item.d.ts +3 -0
- package/types/api/iam/am/basic/itemref.d.ts +5 -0
- package/types/api/iam/am/basic/nccomwhseitem.d.ts +3 -0
- package/types/api/iam/am/basic/onekeyset.d.ts +4 -0
- package/types/api/iam/am/basic/parms.d.ts +4 -0
- package/types/api/iam/am/basic/produce.d.ts +3 -0
- package/types/api/iam/am/basic/product.d.ts +3 -0
- package/types/api/iam/am/basic/whse.d.ts +4 -0
- package/types/api/iam/am/basic/whseitem.d.ts +4 -0
- package/types/api/iam/am/basic/whsenc.d.ts +4 -0
- package/types/api/iam/am/basicchange/comaccountverify.d.ts +5 -0
- package/types/api/iam/am/basicchange/comwhseverify.d.ts +5 -0
- package/types/api/iam/am/basicchange/price.d.ts +14 -0
- package/types/api/iam/am/basicchange/tax.d.ts +5 -0
- package/types/api/iam/am/month/emergsupply/centerverify.d.ts +4 -0
- package/types/api/iam/am/month/emergsupply/emergsupply.d.ts +4 -0
- package/types/api/iam/am/month/emergsupply/emergsupplyquery.d.ts +1 -0
- package/types/api/iam/am/month/emergsupply/saleorgcreate.d.ts +4 -0
- package/types/api/iam/am/month/formulate/centerbalance.d.ts +8 -0
- package/types/api/iam/am/month/formulate/itemadjust.d.ts +10 -0
- package/types/api/iam/am/month/formulate/monthplan.d.ts +7 -0
- package/types/api/iam/am/month/formulate/saleorgdecomponse.d.ts +4 -0
- package/types/api/iam/am/month/formulate/saleorgverify.d.ts +6 -0
- package/types/api/iam/am/month/param.d.ts +2 -0
- package/types/api/iam/am/month/ratelimit.d.ts +9 -0
- package/types/api/iam/am/month/secondformulate/create.d.ts +5 -0
- package/types/api/iam/am/monthXj/formulateXj/centerbalance.d.ts +8 -0
- package/types/api/iam/am/monthXj/formulateXj/create.d.ts +10 -0
- package/types/api/iam/am/monthXj/formulateXj/itemadjust.d.ts +11 -0
- package/types/api/iam/am/monthXj/formulateXj/saleorgverify.d.ts +4 -0
- package/types/api/iam/am/preweekplan/formulate/weekplan.d.ts +6 -0
- package/types/api/iam/am/preweekplan/param.d.ts +2 -0
- package/types/api/iam/am/preweekplan/ratelimit.d.ts +9 -0
- package/types/api/iam/am/report/Export2ExcelForTransferSituation.d.ts +20 -0
- package/types/api/iam/am/report/agree.d.ts +8 -0
- package/types/api/iam/am/report/agreechange.d.ts +1 -0
- package/types/api/iam/am/report/allocation.d.ts +1 -0
- package/types/api/iam/am/report/cigaragree.d.ts +8 -0
- package/types/api/iam/am/report/comstock.d.ts +1 -0
- package/types/api/iam/am/report/contractCheck.d.ts +1 -0
- package/types/api/iam/am/report/contractorder.d.ts +6 -0
- package/types/api/iam/am/report/cxb.d.ts +1 -0
- package/types/api/iam/am/report/cxbquery.d.ts +1 -0
- package/types/api/iam/am/report/dayPlan.d.ts +1 -0
- package/types/api/iam/am/report/distcalculation.d.ts +2 -0
- package/types/api/iam/am/report/dxc-day.d.ts +1 -0
- package/types/api/iam/am/report/dxc-month.d.ts +1 -0
- package/types/api/iam/am/report/execute.d.ts +1 -0
- package/types/api/iam/am/report/home.d.ts +7 -0
- package/types/api/iam/am/report/invoice.d.ts +2 -0
- package/types/api/iam/am/report/logistics.d.ts +2 -0
- package/types/api/iam/am/report/monthallocation.d.ts +1 -0
- package/types/api/iam/am/report/monthplanimp.d.ts +1 -0
- package/types/api/iam/am/report/monthplanimpxj.d.ts +1 -0
- package/types/api/iam/am/report/monthsale.d.ts +1 -0
- package/types/api/iam/am/report/nextnextmonthplan.d.ts +1 -0
- package/types/api/iam/am/report/stock.d.ts +3 -0
- package/types/api/iam/am/report/track.d.ts +2 -0
- package/types/api/iam/am/report/transfer-implement.d.ts +2 -0
- package/types/api/iam/am/report/transfer-situation.d.ts +1 -0
- package/types/api/iam/am/report/weekplan.d.ts +2 -0
- package/types/api/iam/am/report/zero.d.ts +2 -0
- package/types/api/iam/am/trans/trans.d.ts +6 -0
- package/types/api/iam/sq/report/monopoly/monopoly.d.ts +11 -0
- package/types/api/iam/sq/report/monthtransferplan.d.ts +2 -0
- package/types/api/ipm/bc/basic/bidding.d.ts +3 -0
- package/types/api/ipm/bc/basic/biddingForCigar.d.ts +3 -0
- package/types/api/ipm/bc/basic/grade.d.ts +2 -0
- package/types/api/ipm/bc/basic/item.d.ts +7 -0
- package/types/api/ipm/bc/basic/jditem.d.ts +2 -0
- package/types/api/ipm/bc/basic/manualsignature.d.ts +4 -0
- package/types/api/ipm/bc/basic/parms.d.ts +1 -0
- package/types/api/ipm/bc/basic/price.d.ts +4 -0
- package/types/api/ipm/bc/basic/regionday.d.ts +4 -0
- package/types/api/ipm/bc/basic/regioninfo.d.ts +3 -0
- package/types/api/ipm/bc/basic/series.d.ts +2 -0
- package/types/api/ipm/bc/basic/smoke.d.ts +6 -0
- package/types/api/ipm/bc/basic/supplier.d.ts +2 -0
- package/types/api/ipm/bc/basic/supplierItem.d.ts +1 -0
- package/types/api/ipm/bc/basic/tender.d.ts +5 -0
- package/types/api/ipm/bc/basic/type.d.ts +2 -0
- package/types/api/ipm/bc/basic/unit.d.ts +2 -0
- package/types/api/ipm/bc/basic/yearSupplier.d.ts +1 -0
- package/types/api/ipm/bc/invtyquery/invtyquery.d.ts +1 -0
- package/types/api/ipm/bc/statisticalquery/flowprocess.d.ts +2 -0
- package/types/api/ipm/bc/statisticalquery/itemapplydetail.d.ts +2 -0
- package/types/api/ipm/bc/statisticalquery/itemprocess.d.ts +1 -0
- package/types/api/ipm/bc/statisticalquery/purchasequery.d.ts +1 -0
- package/types/api/ipm/bc/statisticalquery/quarterprogress.d.ts +6 -0
- package/types/api/ipm/bc/statisticalquery/regiondaycompare.d.ts +5 -0
- package/types/api/ipm/bc/statisticalquery/regiondayquery.d.ts +3 -0
- package/types/api/ipm/bc/statisticalquery/schemefollow.d.ts +5 -0
- package/types/api/ipm/bc/statisticalquery/schemeoutputquery.d.ts +1 -0
- package/types/api/ipm/bc/statisticalquery/schemeprogress.d.ts +3 -0
- package/types/api/ipm/bc/statisticalquery/xqitemregion.d.ts +1 -0
- package/types/api/ipm/bc/statisticalquery/xqregiondayquery.d.ts +4 -0
- package/types/api/ipm/bc/statisticalquery/xqschemeoutput.d.ts +1 -0
- package/types/api/ipm/bc/statisticalquery/zxitemregion.d.ts +2 -0
- package/types/api/ipm/bg/budget/adjust.d.ts +7 -0
- package/types/api/ipm/bg/budget/adjustapplyverify.d.ts +4 -0
- package/types/api/ipm/bg/budget/adjustment.d.ts +9 -0
- package/types/api/ipm/bg/budget/cigaradjustapply.d.ts +6 -0
- package/types/api/ipm/bg/budget/cigarbudget/cigarbg.d.ts +7 -0
- package/types/api/ipm/bg/budget/quarter/quarterNewBg.d.ts +12 -0
- package/types/api/ipm/bg/budget/quarter/quarterbg.d.ts +6 -0
- package/types/api/ipm/bg/budget/reportData.d.ts +31 -0
- package/types/api/ipm/bg/budget/supplement.d.ts +7 -0
- package/types/api/ipm/bg/budget/supplementVerify.d.ts +2 -0
- package/types/api/ipm/bg/budget/supplementVerifyzx.d.ts +3 -0
- package/types/api/ipm/bg/budget/supplementapprove.d.ts +3 -0
- package/types/api/ipm/bg/budget/year/yearbg.d.ts +11 -0
- package/types/api/ipm/bg/ybbudget/ybbudget.d.ts +4 -0
- package/types/api/ipm/dm/demand/backup.d.ts +7 -0
- package/types/api/ipm/dm/demand/centerplan.d.ts +16 -0
- package/types/api/ipm/dm/demand/centerplanorgan.d.ts +9 -0
- package/types/api/ipm/dm/demand/demand.d.ts +6 -0
- package/types/api/ipm/dm/demand/monthneed.d.ts +9 -0
- package/types/api/ipm/dm/demand/monthneedxj.d.ts +15 -0
- package/types/api/ipm/dm/demand/pcdmd.d.ts +6 -0
- package/types/api/ipm/dm/demand/purchase.d.ts +14 -0
- package/types/api/ipm/dm/demand/quarteradd.d.ts +16 -0
- package/types/api/ipm/dm/demand/quarteraddxj.d.ts +16 -0
- package/types/api/ipm/dm/demand/quarterapply.d.ts +29 -0
- package/types/api/ipm/dm/demand/quarterapplynew.d.ts +40 -0
- package/types/api/ipm/dm/demand/quarterapplyxjnew.d.ts +34 -0
- package/types/api/ipm/dm/demand/quarteritem.d.ts +4 -0
- package/types/api/ipm/dm/demand/quarterneed.d.ts +13 -0
- package/types/api/ipm/dm/demand/supplement.d.ts +11 -0
- package/types/api/ipm/dm/demand/supplementbalance.d.ts +26 -0
- package/types/api/ipm/dm/demand/supplementverify.d.ts +2 -0
- package/types/api/ipm/qt/basic/contrast.d.ts +4 -0
- package/types/api/ipm/qt/basic/outconfirm.d.ts +16 -0
- package/types/api/ipm/qt/basic/qtapply.d.ts +7 -0
- package/types/api/ipm/qt/basic/qtitem.d.ts +6 -0
- package/types/api/ipm/qt/qtchangesheet.d.ts +15 -0
- package/types/api/ipm/qt/qtchangetable.d.ts +7 -0
- package/types/api/ipm/qt/qtdailystatement.d.ts +1 -0
- package/types/api/ipm/qt/qtreturn/edit.d.ts +3 -0
- package/types/api/ipm/qt/qtreturn.d.ts +5 -0
- package/types/api/ipm/qt/qtspareinv.d.ts +12 -0
- package/types/api/ipm/qt/qtspareinvq.d.ts +15 -0
- package/types/api/ipm/qt/stand-book.d.ts +18 -0
- package/types/api/ipm/sc/scheme/cigar/schemeapply.d.ts +56 -0
- package/types/api/ipm/sc/scheme/cigar/schemearchiving.d.ts +7 -0
- package/types/api/ipm/sc/scheme/cigar/schemechange.d.ts +17 -0
- package/types/api/ipm/sc/scheme/cigar/schemechangecheck.d.ts +2 -0
- package/types/api/ipm/sc/scheme/cigar/schemecheck.d.ts +4 -0
- package/types/api/ipm/sc/scheme/cigar/schemereporte.d.ts +2 -0
- package/types/api/ipm/sc/scheme/cigar/schemesummary.d.ts +17 -0
- package/types/api/ipm/sc/scheme/cigar/schemesummarycheck.d.ts +2 -0
- package/types/api/ipm/sc/scheme/schemeapply.d.ts +37 -0
- package/types/api/ipm/sc/scheme/schemearchiving.d.ts +9 -0
- package/types/api/ipm/sc/scheme/schemechange.d.ts +9 -0
- package/types/api/ipm/sc/scheme/schemechangecheck.d.ts +2 -0
- package/types/api/ipm/sc/scheme/schemecheck.d.ts +6 -0
- package/types/api/ipm/sc/scheme/schemereporte.d.ts +2 -0
- package/types/api/ipm/sc/scheme/schemesummary.d.ts +11 -0
- package/types/api/ipm/sc/scheme/schemesummarycheck.d.ts +2 -0
- package/types/api/ipm/sc/scheme/ybscheme.d.ts +26 -0
- package/types/api/ipm/st/stock/account.d.ts +13 -0
- package/types/api/ipm/st/stock/applyother.d.ts +12 -0
- package/types/api/ipm/st/stock/itemdistribute.d.ts +5 -0
- package/types/api/ipm/st/stock/punch.d.ts +13 -0
- package/types/api/ipm/st/stock/regioncheck.d.ts +13 -0
- package/types/api/ipm/st/stock/regioninput.d.ts +11 -0
- package/types/api/ipm/st/stock/regionlocked.d.ts +7 -0
- package/types/api/ipm/st/stock/regionoutput.d.ts +11 -0
- package/types/api/ipm/st/stock/schemeapply.d.ts +49 -0
- package/types/api/ipm/st/stock/schemeoutput.d.ts +11 -0
- package/types/api/ipm/st/stock/schemereceive.d.ts +6 -0
- package/types/api/ipm/st/stock/smokeinput.d.ts +4 -0
- package/types/components/404/back-btn-group.vue.d.ts +17 -0
- package/types/components/404/error-content.vue.d.ts +24 -0
- package/types/components/404/index.d.ts +2 -0
- package/types/components/404/index.vue.d.ts +16 -0
- package/types/components/button/button.vue.d.ts +51 -0
- package/types/components/button/index.d.ts +1 -0
- package/types/components/date-picker/half-year/half-year-date-picker.vue.d.ts +61 -0
- package/types/components/date-picker/index.d.ts +2 -0
- package/types/components/date-picker/quarter/quarter-date-picker.vue.d.ts +62 -0
- package/types/components/form/form.d.ts +34 -0
- package/types/components/form/index.d.ts +1 -0
- package/types/components/icons/common-icon.vue.d.ts +59 -0
- package/types/components/icons/index.d.ts +1 -0
- package/types/components/icons/index.vue.d.ts +34 -0
- package/types/components/index.d.ts +17 -0
- package/types/components/input-modal/brand/brand-input-modal.vue.d.ts +93 -0
- package/types/components/input-modal/com/com-input-modal.vue.d.ts +93 -0
- package/types/components/input-modal/index.d.ts +4 -0
- package/types/components/input-modal/item/item-input-modal.vue.d.ts +103 -0
- package/types/components/input-modal/tree-select/index.vue.d.ts +60 -0
- package/types/components/input-modal/tree-select/tree.vue.d.ts +190 -0
- package/types/components/layout/basic/app-menu.vue.d.ts +32 -0
- package/types/components/layout/basic/back-top.vue.d.ts +93 -0
- package/types/components/layout/basic/collect.vue.d.ts +18 -0
- package/types/components/layout/basic/custom-bread-crumb.vue.d.ts +43 -0
- package/types/components/layout/basic/error-store.vue.d.ts +35 -0
- package/types/components/layout/basic/full-screen.vue.d.ts +27 -0
- package/types/components/layout/basic/header-bar.vue.d.ts +27 -0
- package/types/components/layout/basic/index.d.ts +12 -0
- package/types/components/layout/basic/language.vue.d.ts +33 -0
- package/types/components/layout/basic/other-menu.vue.d.ts +32 -0
- package/types/components/layout/basic/side-menu-item.vue.d.ts +88 -0
- package/types/components/layout/basic/side-menu.vue.d.ts +125 -0
- package/types/components/layout/basic/sider-trigger.vue.d.ts +42 -0
- package/types/components/layout/basic/sub-header.vue.d.ts +26 -0
- package/types/components/layout/basic/tags-nav.vue.d.ts +47 -0
- package/types/components/layout/basic/user.vue.d.ts +43 -0
- package/types/components/layout/index.d.ts +3 -0
- package/types/components/layout/mixin/item-mixin.d.ts +23 -0
- package/types/components/layout/mixin/mixin.d.ts +12 -0
- package/types/components/layout/route-wrapper/basic-layout.vue.d.ts +27 -0
- package/types/components/layout/route-wrapper/empty-layout.vue.d.ts +18 -0
- package/types/components/layout/route-wrapper/index.d.ts +2 -0
- package/types/components/layout/view-wrapper/detail-view.vue.d.ts +47 -0
- package/types/components/layout/view-wrapper/index.d.ts +2 -0
- package/types/components/layout/view-wrapper/page-view.vue.d.ts +33 -0
- package/types/components/login/index.d.ts +1 -0
- package/types/components/login/login-form.vue.d.ts +88 -0
- package/types/components/login/login.vue.d.ts +16 -0
- package/types/components/modal/audit/audit-log-modal.vue.d.ts +107 -0
- package/types/components/modal/audit/audit-modal.vue.d.ts +55 -0
- package/types/components/modal/help/help-table-modal.vue.d.ts +106 -0
- package/types/components/modal/help/help-tree-modal.vue.d.ts +98 -0
- package/types/components/modal/index.d.ts +5 -0
- package/types/components/modal/material-item/material-item-modal.vue.d.ts +113 -0
- package/types/components/panel/back-top/back-top-panel.vue.d.ts +16 -0
- package/types/components/panel/index.d.ts +2 -0
- package/types/components/panel/loading/loading-panel.vue.d.ts +34 -0
- package/types/components/radio/index.d.ts +1 -0
- package/types/components/radio/unit/unit-radio.vue.d.ts +54 -0
- package/types/components/select/col/col-select.vue.d.ts +80 -0
- package/types/components/select/index.d.ts +2 -0
- package/types/components/select/item-type-combine/item-type-combine-select.vue.d.ts +88 -0
- package/types/components/step-track/index.d.ts +1 -0
- package/types/components/step-track/index.vue.d.ts +40 -0
- package/types/components/table/ag-table/index.vue.d.ts +668 -0
- package/types/components/table/ag-table/renders/button.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/date.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/enum.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/input.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/link.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/select.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/tooltip.vue.d.ts +14 -0
- package/types/components/table/ag-table/renders/tree-select.vue.d.ts +14 -0
- package/types/components/table/components/export-data.vue.d.ts +133 -0
- package/types/components/table/index.d.ts +2 -0
- package/types/components/table/iview-table/table.vue.d.ts +399 -0
- package/types/components/table/other-table/other-table.vue.d.ts +18 -0
- package/types/components/table/utils/formatter.d.ts +9 -0
- package/types/components/table/utils/table2excel.d.ts +5 -0
- package/types/components/tree/index.d.ts +2 -0
- package/types/components/tree/item/item-tree.vue.d.ts +175 -0
- package/types/components/tree/tree.vue.d.ts +181 -0
- package/types/components/tree-select/index.d.ts +2 -0
- package/types/components/tree-select/item/item-tree-select.vue.d.ts +32 -0
- package/types/components/tree-select/tree-select.vue.d.ts +38 -0
- package/types/components/upload/file/upload-file.vue.d.ts +269 -0
- package/types/components/upload/img/upload-img.vue.d.ts +280 -0
- package/types/components/upload/index.d.ts +2 -0
- package/types/config.d.ts +32 -0
- package/types/directives/click-outside/index.d.ts +4 -0
- package/types/directives/index.d.ts +2 -0
- package/types/directives/vue-print-nb/index.d.ts +1 -0
- package/types/directives/vue-print-nb/print.d.ts +5 -0
- package/types/directives/vue-print-nb/printarea.d.ts +44 -0
- package/types/index.d.ts +17 -0
- package/types/plugins/config-plugin.d.ts +11 -0
- package/types/plugins/index.d.ts +2 -0
- package/types/plugins/router-plugin.d.ts +16 -0
- package/types/router/basic-routes.d.ts +8 -0
- package/types/router/generator-routers.d.ts +29 -0
- package/types/router/guard.d.ts +11 -0
- package/types/router/index.d.ts +6 -0
- package/types/store/app.d.ts +98 -0
- package/types/store/index.d.ts +8 -0
- package/types/store/user.d.ts +45 -0
- package/types/third/index.d.ts +1 -0
- package/types/third/vxe-table/install.d.ts +2 -0
- package/types/utils/Export2Excel.d.ts +20 -0
- package/types/utils/ag-table-locale.d.ts +265 -0
- package/types/utils/agGridUtils.d.ts +39 -0
- package/types/utils/assist.d.ts +1 -0
- package/types/utils/color.d.ts +16 -0
- package/types/utils/cryptor.d.ts +6 -0
- package/types/utils/date.d.ts +11 -0
- package/types/utils/event.d.ts +2 -0
- package/types/utils/eventBus.d.ts +22 -0
- package/types/utils/excel.d.ts +63 -0
- package/types/utils/index.d.ts +10 -0
- package/types/utils/libs/sm3.d.ts +2 -0
- package/types/utils/router.d.ts +12 -0
- package/types/utils/storage.d.ts +4 -0
- package/types/utils/tableheight.d.ts +2 -0
- package/types/utils/token.d.ts +2 -0
- package/types/utils/vxeutils.d.ts +4 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
{
|
|
3
|
+
headers: {
|
|
4
|
+
type: ObjectConstructor
|
|
5
|
+
default(): {
|
|
6
|
+
token: string | boolean
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
isShowUpload: {
|
|
10
|
+
type: BooleanConstructor
|
|
11
|
+
default(): true
|
|
12
|
+
}
|
|
13
|
+
isShowDelete: {
|
|
14
|
+
type: BooleanConstructor
|
|
15
|
+
default(): true
|
|
16
|
+
}
|
|
17
|
+
isShowPreview: {
|
|
18
|
+
type: BooleanConstructor
|
|
19
|
+
default(): true
|
|
20
|
+
}
|
|
21
|
+
withCredentials: {
|
|
22
|
+
type: BooleanConstructor
|
|
23
|
+
default(): false
|
|
24
|
+
}
|
|
25
|
+
paste: {
|
|
26
|
+
type: BooleanConstructor
|
|
27
|
+
default(): false
|
|
28
|
+
}
|
|
29
|
+
webkitdirectory: {
|
|
30
|
+
type: BooleanConstructor
|
|
31
|
+
default(): false
|
|
32
|
+
}
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor
|
|
35
|
+
default(): false
|
|
36
|
+
}
|
|
37
|
+
showUploadList: {
|
|
38
|
+
type: BooleanConstructor
|
|
39
|
+
default(): false
|
|
40
|
+
}
|
|
41
|
+
isShowBorder: {
|
|
42
|
+
type: BooleanConstructor
|
|
43
|
+
default(): true
|
|
44
|
+
}
|
|
45
|
+
multiple: {
|
|
46
|
+
type: BooleanConstructor
|
|
47
|
+
default(): true
|
|
48
|
+
}
|
|
49
|
+
isThumbnail: {
|
|
50
|
+
type: BooleanConstructor
|
|
51
|
+
default(): true
|
|
52
|
+
}
|
|
53
|
+
isTable: {
|
|
54
|
+
type: BooleanConstructor
|
|
55
|
+
default(): false
|
|
56
|
+
}
|
|
57
|
+
maxSize: {
|
|
58
|
+
type: NumberConstructor
|
|
59
|
+
default(): 102400
|
|
60
|
+
}
|
|
61
|
+
name: {
|
|
62
|
+
type: StringConstructor
|
|
63
|
+
default(): 'file'
|
|
64
|
+
}
|
|
65
|
+
type: {
|
|
66
|
+
type: StringConstructor
|
|
67
|
+
default(): 'drag'
|
|
68
|
+
}
|
|
69
|
+
defaultList: {
|
|
70
|
+
type: ArrayConstructor
|
|
71
|
+
default(): any[]
|
|
72
|
+
}
|
|
73
|
+
format: {
|
|
74
|
+
type: ArrayConstructor
|
|
75
|
+
default(): string[]
|
|
76
|
+
}
|
|
77
|
+
onSuccess: {
|
|
78
|
+
type: FunctionConstructor
|
|
79
|
+
default(): () => void
|
|
80
|
+
}
|
|
81
|
+
onChangeData: {
|
|
82
|
+
type: FunctionConstructor
|
|
83
|
+
default(): () => void
|
|
84
|
+
}
|
|
85
|
+
handleFormatError: {
|
|
86
|
+
type: FunctionConstructor
|
|
87
|
+
default(): () => void
|
|
88
|
+
}
|
|
89
|
+
handleMaxSize: {
|
|
90
|
+
type: FunctionConstructor
|
|
91
|
+
default(): () => void
|
|
92
|
+
}
|
|
93
|
+
handleBeforeUpload: {
|
|
94
|
+
type: FunctionConstructor
|
|
95
|
+
default(): () => void
|
|
96
|
+
}
|
|
97
|
+
handleProgress: {
|
|
98
|
+
type: FunctionConstructor
|
|
99
|
+
default(): () => void
|
|
100
|
+
}
|
|
101
|
+
handleError: {
|
|
102
|
+
type: FunctionConstructor
|
|
103
|
+
default(): () => void
|
|
104
|
+
}
|
|
105
|
+
handlePreview: {
|
|
106
|
+
type: FunctionConstructor
|
|
107
|
+
default(): () => void
|
|
108
|
+
}
|
|
109
|
+
handleRemove: {
|
|
110
|
+
type: FunctionConstructor
|
|
111
|
+
default(): () => void
|
|
112
|
+
}
|
|
113
|
+
isOnlyOne: {
|
|
114
|
+
type: BooleanConstructor
|
|
115
|
+
default(): false
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{},
|
|
119
|
+
{
|
|
120
|
+
visible: boolean
|
|
121
|
+
uploadList: any[]
|
|
122
|
+
imgIndex: number
|
|
123
|
+
action: string
|
|
124
|
+
},
|
|
125
|
+
{},
|
|
126
|
+
{},
|
|
127
|
+
import('vue/types/v3-component-options').ComponentOptionsMixin,
|
|
128
|
+
import('vue/types/v3-component-options').ComponentOptionsMixin,
|
|
129
|
+
{},
|
|
130
|
+
string,
|
|
131
|
+
Readonly<
|
|
132
|
+
import('vue').ExtractPropTypes<{
|
|
133
|
+
headers: {
|
|
134
|
+
type: ObjectConstructor
|
|
135
|
+
default(): {
|
|
136
|
+
token: string | boolean
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
isShowUpload: {
|
|
140
|
+
type: BooleanConstructor
|
|
141
|
+
default(): true
|
|
142
|
+
}
|
|
143
|
+
isShowDelete: {
|
|
144
|
+
type: BooleanConstructor
|
|
145
|
+
default(): true
|
|
146
|
+
}
|
|
147
|
+
isShowPreview: {
|
|
148
|
+
type: BooleanConstructor
|
|
149
|
+
default(): true
|
|
150
|
+
}
|
|
151
|
+
withCredentials: {
|
|
152
|
+
type: BooleanConstructor
|
|
153
|
+
default(): false
|
|
154
|
+
}
|
|
155
|
+
paste: {
|
|
156
|
+
type: BooleanConstructor
|
|
157
|
+
default(): false
|
|
158
|
+
}
|
|
159
|
+
webkitdirectory: {
|
|
160
|
+
type: BooleanConstructor
|
|
161
|
+
default(): false
|
|
162
|
+
}
|
|
163
|
+
disabled: {
|
|
164
|
+
type: BooleanConstructor
|
|
165
|
+
default(): false
|
|
166
|
+
}
|
|
167
|
+
showUploadList: {
|
|
168
|
+
type: BooleanConstructor
|
|
169
|
+
default(): false
|
|
170
|
+
}
|
|
171
|
+
isShowBorder: {
|
|
172
|
+
type: BooleanConstructor
|
|
173
|
+
default(): true
|
|
174
|
+
}
|
|
175
|
+
multiple: {
|
|
176
|
+
type: BooleanConstructor
|
|
177
|
+
default(): true
|
|
178
|
+
}
|
|
179
|
+
isThumbnail: {
|
|
180
|
+
type: BooleanConstructor
|
|
181
|
+
default(): true
|
|
182
|
+
}
|
|
183
|
+
isTable: {
|
|
184
|
+
type: BooleanConstructor
|
|
185
|
+
default(): false
|
|
186
|
+
}
|
|
187
|
+
maxSize: {
|
|
188
|
+
type: NumberConstructor
|
|
189
|
+
default(): 102400
|
|
190
|
+
}
|
|
191
|
+
name: {
|
|
192
|
+
type: StringConstructor
|
|
193
|
+
default(): 'file'
|
|
194
|
+
}
|
|
195
|
+
type: {
|
|
196
|
+
type: StringConstructor
|
|
197
|
+
default(): 'drag'
|
|
198
|
+
}
|
|
199
|
+
defaultList: {
|
|
200
|
+
type: ArrayConstructor
|
|
201
|
+
default(): any[]
|
|
202
|
+
}
|
|
203
|
+
format: {
|
|
204
|
+
type: ArrayConstructor
|
|
205
|
+
default(): string[]
|
|
206
|
+
}
|
|
207
|
+
onSuccess: {
|
|
208
|
+
type: FunctionConstructor
|
|
209
|
+
default(): () => void
|
|
210
|
+
}
|
|
211
|
+
onChangeData: {
|
|
212
|
+
type: FunctionConstructor
|
|
213
|
+
default(): () => void
|
|
214
|
+
}
|
|
215
|
+
handleFormatError: {
|
|
216
|
+
type: FunctionConstructor
|
|
217
|
+
default(): () => void
|
|
218
|
+
}
|
|
219
|
+
handleMaxSize: {
|
|
220
|
+
type: FunctionConstructor
|
|
221
|
+
default(): () => void
|
|
222
|
+
}
|
|
223
|
+
handleBeforeUpload: {
|
|
224
|
+
type: FunctionConstructor
|
|
225
|
+
default(): () => void
|
|
226
|
+
}
|
|
227
|
+
handleProgress: {
|
|
228
|
+
type: FunctionConstructor
|
|
229
|
+
default(): () => void
|
|
230
|
+
}
|
|
231
|
+
handleError: {
|
|
232
|
+
type: FunctionConstructor
|
|
233
|
+
default(): () => void
|
|
234
|
+
}
|
|
235
|
+
handlePreview: {
|
|
236
|
+
type: FunctionConstructor
|
|
237
|
+
default(): () => void
|
|
238
|
+
}
|
|
239
|
+
handleRemove: {
|
|
240
|
+
type: FunctionConstructor
|
|
241
|
+
default(): () => void
|
|
242
|
+
}
|
|
243
|
+
isOnlyOne: {
|
|
244
|
+
type: BooleanConstructor
|
|
245
|
+
default(): false
|
|
246
|
+
}
|
|
247
|
+
}>
|
|
248
|
+
>,
|
|
249
|
+
{
|
|
250
|
+
type: string
|
|
251
|
+
name: string
|
|
252
|
+
paste: boolean
|
|
253
|
+
disabled: boolean
|
|
254
|
+
multiple: boolean
|
|
255
|
+
headers: Record<string, any>
|
|
256
|
+
format: unknown[]
|
|
257
|
+
maxSize: number
|
|
258
|
+
defaultList: unknown[]
|
|
259
|
+
isShowDelete: boolean
|
|
260
|
+
withCredentials: boolean
|
|
261
|
+
webkitdirectory: boolean
|
|
262
|
+
isTable: boolean
|
|
263
|
+
onSuccess: Function
|
|
264
|
+
onChangeData: Function
|
|
265
|
+
handleFormatError: Function
|
|
266
|
+
handleMaxSize: Function
|
|
267
|
+
handleBeforeUpload: Function
|
|
268
|
+
handleProgress: Function
|
|
269
|
+
handleError: Function
|
|
270
|
+
handlePreview: Function
|
|
271
|
+
handleRemove: Function
|
|
272
|
+
showUploadList: boolean
|
|
273
|
+
isShowUpload: boolean
|
|
274
|
+
isShowPreview: boolean
|
|
275
|
+
isShowBorder: boolean
|
|
276
|
+
isThumbnail: boolean
|
|
277
|
+
isOnlyOne: boolean
|
|
278
|
+
}
|
|
279
|
+
>
|
|
280
|
+
export default _default
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let title: string
|
|
3
|
+
let routerBase: string
|
|
4
|
+
let loginName: string
|
|
5
|
+
let homeRouteName: string
|
|
6
|
+
let impServerContext: string
|
|
7
|
+
let impOssContext: string
|
|
8
|
+
let impCommonServerContext: string
|
|
9
|
+
let iamAmServerContext: string
|
|
10
|
+
let iamAcServerContext: string
|
|
11
|
+
let iamSqServerContext: string
|
|
12
|
+
let ipmBcServerContext: string
|
|
13
|
+
let ipmBgServerContext: string
|
|
14
|
+
let ipmDmServerContext: string
|
|
15
|
+
let ipmQtServerContext: string
|
|
16
|
+
let ipmStServerContext: string
|
|
17
|
+
let ipmScServerContext: string
|
|
18
|
+
let thinkitcmsContext: string
|
|
19
|
+
let impKKfilePrevieContext: string
|
|
20
|
+
let errorMessage: string
|
|
21
|
+
let LeftLockDays: number
|
|
22
|
+
namespace labelStyle {
|
|
23
|
+
let labelWidthButton: number
|
|
24
|
+
let labelWidthSmall: number
|
|
25
|
+
let labelWidthMiddle: number
|
|
26
|
+
let labelWidthMiddleLarge: number
|
|
27
|
+
let labelWidthLarge: number
|
|
28
|
+
let labelWidthSuperLarge: number
|
|
29
|
+
}
|
|
30
|
+
let linkColor: string
|
|
31
|
+
}
|
|
32
|
+
export default _default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as print } from './print.js'
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default class _default {
|
|
2
|
+
constructor(option: any)
|
|
3
|
+
standards: {
|
|
4
|
+
strict: string
|
|
5
|
+
loose: string
|
|
6
|
+
html5: string
|
|
7
|
+
}
|
|
8
|
+
previewBody: HTMLDivElement
|
|
9
|
+
close: HTMLDivElement
|
|
10
|
+
previewBodyUtilPrintBtn: HTMLDivElement
|
|
11
|
+
selectArray: any[]
|
|
12
|
+
counter: number
|
|
13
|
+
settings: {
|
|
14
|
+
standard: string
|
|
15
|
+
ignoreClass: string
|
|
16
|
+
}
|
|
17
|
+
init(): void
|
|
18
|
+
addEvent(element: any, type: any, callback: any): void
|
|
19
|
+
previewIfrmaeLoad(): void
|
|
20
|
+
removeCanvasImg(): void
|
|
21
|
+
print(ifrmae: any): void
|
|
22
|
+
write(PADocument: any): void
|
|
23
|
+
docType(): string
|
|
24
|
+
getHead(): string
|
|
25
|
+
getBody(): string
|
|
26
|
+
elsdom: any
|
|
27
|
+
ignoreText(ele: any): any
|
|
28
|
+
handleTableStyle(ele: any): any
|
|
29
|
+
beforeHanler(elsdom: any): any
|
|
30
|
+
getFormData(ele: any): any
|
|
31
|
+
getPrintWindow(url: any): {
|
|
32
|
+
f: HTMLIFrameElement
|
|
33
|
+
win: Window | HTMLIFrameElement
|
|
34
|
+
doc: any
|
|
35
|
+
}
|
|
36
|
+
previewBoxShow(): void
|
|
37
|
+
previewBoxHide(): void
|
|
38
|
+
previewBox(): {
|
|
39
|
+
close: Element
|
|
40
|
+
previewBody: Element
|
|
41
|
+
}
|
|
42
|
+
iframeBox(frameId: any, url: any): HTMLIFrameElement
|
|
43
|
+
Iframe(url: any): HTMLIFrameElement
|
|
44
|
+
}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './components'
|
|
2
|
+
export * from './directives'
|
|
3
|
+
export * from './plugins'
|
|
4
|
+
export * from './router'
|
|
5
|
+
export * from './store'
|
|
6
|
+
export default API
|
|
7
|
+
declare namespace API {
|
|
8
|
+
export let version: any
|
|
9
|
+
export { install }
|
|
10
|
+
export { components }
|
|
11
|
+
export { directives }
|
|
12
|
+
export { plugins }
|
|
13
|
+
}
|
|
14
|
+
declare function install(Vue: any, opts?: {}): void
|
|
15
|
+
import * as components from './components'
|
|
16
|
+
import * as directives from './directives'
|
|
17
|
+
import * as plugins from './plugins'
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 筛选此应用里的权限,非微应用返回空数组
|
|
3
|
+
*
|
|
4
|
+
* @param {string} microType 微应用类型
|
|
5
|
+
* @param {Array} permissionList 全部的权限数据
|
|
6
|
+
* @returns 此应用里的权限数据
|
|
7
|
+
*/
|
|
8
|
+
export function filterMicroPermissionList(microType: string, permissionList?: any[]): any[]
|
|
9
|
+
/**
|
|
10
|
+
* 根据所有的权限组织菜单
|
|
11
|
+
*
|
|
12
|
+
* @param {Array} permissionList 权限数据
|
|
13
|
+
* @returns 菜单
|
|
14
|
+
*/
|
|
15
|
+
export function generatorMenuTree(permissionList?: any[]): any[]
|
|
16
|
+
/**
|
|
17
|
+
* 根据权限数据生成动态的树形路由表
|
|
18
|
+
*
|
|
19
|
+
* @param {Array} permissionList 权限数据
|
|
20
|
+
* @returns 路由表
|
|
21
|
+
*/
|
|
22
|
+
export function generatorDynamicRouter(permissionList?: any[]): any[]
|
|
23
|
+
/**
|
|
24
|
+
* 生成 vue-router 层级路由表
|
|
25
|
+
*
|
|
26
|
+
* @param {Array} menuData 权限的树形结构数据
|
|
27
|
+
* @returns 路由表
|
|
28
|
+
*/
|
|
29
|
+
export function generator(menuData?: any[]): any[]
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace state {
|
|
3
|
+
let appInfo: string
|
|
4
|
+
let appList: any[]
|
|
5
|
+
let permissionList: any[]
|
|
6
|
+
let permission: {}
|
|
7
|
+
let menuTreeList: any[]
|
|
8
|
+
let homeRoute: {}
|
|
9
|
+
let breadCrumbList: any[]
|
|
10
|
+
let tagNavList: any[]
|
|
11
|
+
let activeName: string
|
|
12
|
+
let collectMenuList: any[]
|
|
13
|
+
let maxTabNum: number
|
|
14
|
+
let theme: any
|
|
15
|
+
}
|
|
16
|
+
namespace getters {
|
|
17
|
+
function getAppInfo(state: any): any
|
|
18
|
+
function getAppList(state: any): any
|
|
19
|
+
function getMenuTreeList(state: any): any
|
|
20
|
+
function getMaxTabNum(state: any): any
|
|
21
|
+
function getTheme(state: any): any
|
|
22
|
+
}
|
|
23
|
+
namespace mutations {
|
|
24
|
+
function setAppList(state: any, appList: any): void
|
|
25
|
+
function setAppInfo(state: any, appId: any): void
|
|
26
|
+
function setPermission(state: any, permission: any): void
|
|
27
|
+
function setPermissionList(state: any, permissionList: any): void
|
|
28
|
+
function setMenuTreeList(state: any, menuTreeList: any): void
|
|
29
|
+
function setHomeRoute(state: any, $router: any): void
|
|
30
|
+
function setBreadCrumb(state: any, route: any): void
|
|
31
|
+
function setTagNavList(state: any, list: any): void
|
|
32
|
+
function closeTag(
|
|
33
|
+
state: any,
|
|
34
|
+
{
|
|
35
|
+
$router,
|
|
36
|
+
route,
|
|
37
|
+
}: {
|
|
38
|
+
$router: any
|
|
39
|
+
route: any
|
|
40
|
+
},
|
|
41
|
+
): void
|
|
42
|
+
function addTag(
|
|
43
|
+
state: any,
|
|
44
|
+
{
|
|
45
|
+
route,
|
|
46
|
+
type,
|
|
47
|
+
}: {
|
|
48
|
+
route: any
|
|
49
|
+
type?: string
|
|
50
|
+
},
|
|
51
|
+
): void
|
|
52
|
+
function setActiveName(state: any, activeName: any): void
|
|
53
|
+
function setCollectMenuList(state: any, list: any): void
|
|
54
|
+
function setMaxTabNum(state: any, maxTabNum?: number): void
|
|
55
|
+
function setTheme(state: any, theme: any): void
|
|
56
|
+
}
|
|
57
|
+
namespace actions {
|
|
58
|
+
function getAppListData({ commit, getters }: { commit: any; getters: any }): Promise<any>
|
|
59
|
+
function getPermissionData({ commit }: { commit: any }): Promise<any>
|
|
60
|
+
function addMenuHistory(
|
|
61
|
+
{
|
|
62
|
+
state,
|
|
63
|
+
}: {
|
|
64
|
+
state: any
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name,
|
|
68
|
+
}: {
|
|
69
|
+
name: any
|
|
70
|
+
},
|
|
71
|
+
): Promise<void>
|
|
72
|
+
function addMenuCollect(
|
|
73
|
+
{
|
|
74
|
+
state,
|
|
75
|
+
}: {
|
|
76
|
+
state: any
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name,
|
|
80
|
+
}: {
|
|
81
|
+
name: any
|
|
82
|
+
},
|
|
83
|
+
): Promise<never>
|
|
84
|
+
function removeMenuCollect(
|
|
85
|
+
{
|
|
86
|
+
state,
|
|
87
|
+
}: {
|
|
88
|
+
state: any
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name,
|
|
92
|
+
}: {
|
|
93
|
+
name: any
|
|
94
|
+
},
|
|
95
|
+
): Promise<never>
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export default _default
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace state {
|
|
3
|
+
let userName: string
|
|
4
|
+
let avatarImgPath: string
|
|
5
|
+
let token: any
|
|
6
|
+
}
|
|
7
|
+
namespace mutations {
|
|
8
|
+
function setAvatar(state: any, avatarPath: any): void
|
|
9
|
+
function setUserName(state: any, name: any): void
|
|
10
|
+
function setToken(state: any, token: any): void
|
|
11
|
+
}
|
|
12
|
+
namespace actions {
|
|
13
|
+
function handleLogin(
|
|
14
|
+
{
|
|
15
|
+
dispatch,
|
|
16
|
+
}: {
|
|
17
|
+
dispatch: any
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
userName,
|
|
21
|
+
password,
|
|
22
|
+
validCodeId,
|
|
23
|
+
validCodeInput,
|
|
24
|
+
}: {
|
|
25
|
+
userName: any
|
|
26
|
+
password: any
|
|
27
|
+
validCodeId: any
|
|
28
|
+
validCodeInput: any
|
|
29
|
+
},
|
|
30
|
+
): Promise<any>
|
|
31
|
+
function loginSuccess(
|
|
32
|
+
{
|
|
33
|
+
commit,
|
|
34
|
+
dispatch,
|
|
35
|
+
}: {
|
|
36
|
+
commit: any
|
|
37
|
+
dispatch: any
|
|
38
|
+
},
|
|
39
|
+
token: any,
|
|
40
|
+
): void
|
|
41
|
+
function handleLogout({ state, commit }: { state: any; commit: any }): Promise<void>
|
|
42
|
+
function getUserInfo({ commit }: { commit: any }): Promise<any>
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export default _default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as VxeTable } from './vxe-table/install'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 根据参数导出excel,目前系统仅支持agGrid和iviewTable,这两个表格的columns定义都是树形的,所以这里仅支持树形的列定义即可
|
|
3
|
+
* 根据每个column的树形信息,可以计算出每个column定义的单元格跨行跨列信息,直接得出excel待导出的表头
|
|
4
|
+
* 再根据列定义树形的叶子结点,可以得出每一列对应的字段名,根据这个信息组织待导出的数据
|
|
5
|
+
* 合并单元格需要单独配置,哪一列需要传参数进来,应该有一个主合并列,否则后面值全0的合并成一个了(直接拷贝slickgrid的吧)
|
|
6
|
+
* @param {
|
|
7
|
+
* title: '导出的excel名字,并excel内容的名字',
|
|
8
|
+
* columnAlign: ['center', 'left', 'right'], //'对齐方式'
|
|
9
|
+
* columnType: ['s', 'n', 'n'], // s String n Number
|
|
10
|
+
* columns: [] //'表头,列定义的树形结构',
|
|
11
|
+
* columnWidth: ['20','10'], //宽度,数组
|
|
12
|
+
* datas: [], // 数据,表格的原始数据,要处理成待导出的数据格式,[[],[]]
|
|
13
|
+
* paramLeft: '查询时间:2022年01月-2022年05月',
|
|
14
|
+
* paramRight: '箱、万元',
|
|
15
|
+
* numberFormat: ['', '0.00', '0.00'], // 数组,设置数据格式
|
|
16
|
+
* rowSpanColumns:[column1,column2……], // 需要跨行的列
|
|
17
|
+
* rowSpanIndexCol:'', // 根据哪一列进行跨行计算,如根据卷烟ITEM_NAME
|
|
18
|
+
* } excelData
|
|
19
|
+
*/
|
|
20
|
+
export function exportJsonToExcel(excelData: any): void
|