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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vuecmf-table

v2.7.1

Published

基于vue2和iview的列表组件,内置添加、修改、删除、搜索、筛选、分页、导入及导出EXCEL等功能

Downloads

59

Readme

vuecmf-table

基于vue2和iview的列表组件,内置添加、修改、删除、展开、搜索、筛选、分页、导入及导出EXCEL等功能

  • 示例演示: http://www.vuecmf.com

项目中安装

# 命令行中yarn方式安装 vuecmf-table
yarn add vuecmf-table
 
# 命令行中npm方式安装 vuecmf-table
npm install vuecmf-table

后端返回JSON 数据样例:

字段数据样例

后端接收前端POST数据中 action = getField 返回JSON

{
	"data": {
        "fields": [
        {
            "prop": "id",  //字段名称
            "label": "",  //表头显示名称
            "data_type": "int", //字段值类型
            "sortable": true, //是否可排序
            "show": false, //默认是否在表格中显示
            "fixed": false, //是否固定列
            "filter": false //是否可筛选
        },
        {
            "prop": "inquiry_sheet_id",
            "label": "inquiry_sheet的id",
            "data_type": "hidden",
            "sortable": true,
            "show": false,
            "fixed": false,
            "filter": false
        },
        {
            "prop": "sku",
            "label": "sku",
            "data_type": "string",
            "sortable": true,
            "show": true,
            "fixed": false,
            "filter": true
        }]
    },
    "msg": "",
	"code": 0
}

列表数据样例

{
	"data": {
        "total": 53,
        "last_page": 3,
        "data": [
        {
            "id": "63",
            "sku": "EUR001",
            "area": "欧洲区",
            "sku_name": "VC泡腾片 樱桃味 20片",
            "upc": "5605615274539",
            "unit": "瓶",
            "currency": "1",
            "quantity": "100",
            "unit_price": "95.0000",
            "status": "10",
            "expandData":{
                "type":"table",
                "tableFields":[
                    {"label":"需求单号","prop":"order_sn"},
                    {"label":"调拨类型","prop":"type"},
                    {"label":"计划数量","prop":"num"}
                ],
                "tableList":[
                    {"order_sn":"dbd903452","type":"POP","num":300},
                    {"order_sn":"dbd123123","type":"POP","num":400},
                    {"order_sn":"dbd144155","type":"POP","num":580}
                ]
            }
        },
        {
            "id": "62",
            "sku": "EUR019",
            "area": "欧洲区",
            "sku_name": "南瓜籽蔓越莓胶囊 30粒",
            "upc": "7626600561310",
            "unit": "盒",
            "currency": "4",
            "quantity": "200",
            "unit_price": "39.0000",
            "status": "10",
            "expandData":{
                "type":"table",
                "tableFields":[
                    {"label":"需求单号","prop":"order_sn"},
                    {"label":"调拨类型","prop":"type"},
                    {"label":"计划数量","prop":"num"}
                ],
                "tableList":[
                    {"order_sn":"dbd903452","type":"POP","num":300},
                    {"order_sn":"dbd123123","type":"POP","num":400},
                    {"order_sn":"dbd144155","type":"POP","num":580}
                ]
            }
        },
        {
            "id": "60",
            "sku": "EUR002",
            "area": "欧洲区",
            "sku_name": "VC泡腾片 香橙味 微量元素 20片",
            "upc": "6805615205298",
            "unit": "瓶",
            "currency": "3",
            "quantity": "300",
            "unit_price": "59.0000",
            "status": "10",
            "expandData":{
                "type":"table",
                "tableFields":[
                    {"label":"需求单号","prop":"order_sn"},
                    {"label":"调拨类型","prop":"type"},
                    {"label":"计划数量","prop":"num"}
                ],
                "tableList":[
                    {"order_sn":"dbd903452","type":"POP","num":300},
                    {"order_sn":"dbd123123","type":"POP","num":400},
                    {"order_sn":"dbd144155","type":"POP","num":580}
                ]
            }
        }]
    },
    "msg": "",
	"code": 0
}