npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

yc-accounting

v1.0.0-beta.9

Published

湖南优创财务模块

Downloads

627

Readme

v1.0.0 更新内容

安装命令:npm install yc-accounting

src/store/modules/permission.js

// 引入组件
import YcAcc from "yc-accounting";
import "yc-accounting/dist/yc-accounting.css";

// 需要可自定义接口
// YcAcc.financeUrl('自定义财务接口')
// YcAcc.cashUrl('自定义保证金接口')


// route.component = loadView(route.component)
// 上句注释代码修改为
route.component = YcAcc.router(route.component) || loadView(route.component)

路由配置

// 参考如下:
{
    "name": "PzSet",
    "path": "pzSet",
    "hidden": false,
    "component": "paramsSet-pzSet",
    "meta": { "title": "业务参数设置", "icon": "#", "noCache": false }
}

| component | Title | | -- | -- | | paramsSet-pzSet | 业务参数设置 | | mainBusiness-beginningBalance | 期初余额 | | mainBusiness-zhglPz | 填制凭证 | | mainBusiness-bookKeeping | 凭证记账 | | mainBusiness-zhglPzCheck | 查询凭证 | | mainBusiness-subjectsSummary | 科目汇总 | | mainBusiness-cashJournal | 现金日记账 | | mainBusiness-bankJournal | 银行日记账 | | mainBusiness-capitalDaily | 资金日报 | | mainBusiness-customizeTransfer | 自定义转账 | | mainBusiness-periodTransfer | 期间损益 | | mainBusiness-transferGranral | 期间损益 | | mainBusiness-checkout | 结账 | | accountingBooks-statSum | 科目总账 | | accountingBooks-subjectDetailAccount | 科目明细账 | | accountingBooks-subjectDailyAccount | 科目日记账 | | accountingBooks-subjectBalance | 科目余额表 | | departAccount-departAssist | 部门辅助总账 | | departAccount-departSubjectDetail | 部门科目明细账 | | departAccount-departDetail | 部门明细账 | | departAccount-departSubjectBalance | 部门科目余额账 | | departAccount-departBalance | 部门余额账 | | personalAccount-personAssist | 个人辅助总账 | | personalAccount-subjectDetailAccount | 个人科目明细账 | | personalAccount-personalDetailAccount | 个人明细账 | | personalAccount-subjectBalance | 个人科目余额账 | | personalAccount-departBalance | 个人部门余额账 | | personalAccount-personalBalance | 个人余额账 | | contactsAccount-contactsSubjectBalance | 往来科目余额表 | | contactsAccount-contactsSubjectDetail | 往来科目明细账 | | contactsAccount-contactsDetail | 往来明细账 | | contactsAccount-contactsBalance | 往来余额账 | | projectAccount-projecttAccount | 项目总账 | | projectAccount-projectDetail | 项目明细账 | | projectAccount-projectSubjectDetail | 项目科目明细账 | | assetsLiabilities-assetsList | 资产负债表 |