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

yancode-test

v4.3.5

Published

封装的Egw组件

Downloads

3

Readme

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

instruction for use

功能和参数描述

  表格组件 egw-table、搜索表单组件 egw-search-form、 新增编辑表单组件 egw-cu-form
  均使用若依同风格样式
  1.egw-search-form.vue
  使用该组件需要传递参数
    formOptions,类型为Array,表示查询表单的数据
  需要提供自定义方法
    search,参数queryForm,类型为{},表示表单查询的参数
  2.egw-cu-form.vue
  使用该组件需要传递参数
    type,类型为String,表示为表单的类型,可选为add和edit,用于区分编辑和新增表单
    form,类型为Array,表示显示的表单字段数据
    formData,类型为Object,表示表单信息数据
    rules,类型为Object,表示表单规则
    title,类型为String,表示表单标题
    open,类型为Boolean,用于控制表单弹出显示
  3.egw-table.vue
  使用该组件需要传递参数
    formOptions,类型为Array,表示表格上方显示搜索表单的数据
    selection,类型为Boolean,表示表格是否显示选框
    index,类型为Boolean,表示表格是否显示序号
    columns,类型为Array,表示表格表头数据
    isRowClick,类型为Boolean,表示是否需要点击某一行显示详细信息
    isOperation,类型为Boolean,表示表格是否需要显示操作列
    operates,类型为Array,表示表格操作列
    showPage,类型为Boolean,表示是否需要显示页码
    page,类型为Object,表示分页对象
    pageSize,类型为Array,表示每页显示个数选择器的选项设置
    infoTitle,类型为String,表示详情信息表单的标题
    infoTitle2,类型为String,表示第二个详情信息表单的标题
    drawerform,类型为Array,表示详情信息的类型和label
    drawerform2,类型为Array,表示第二个详情信息表单的标题
    addTitle,类型为String,表示新增表单的标题
    editTitle,类型为String,表示编辑表单的标题
    form,类型为Array,表示编辑和新增的表单
    rules,类型为Array,表示编辑和新增表单的限制规则
    exportFileName,类型为String,表示导出的文件名