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

gt-ehr-app-component

v1.0.2

Published

``` <gt-progress :handList="handList" :formatNullTime="false" :titleImgSrc="require('@/assets/images/flow.png')"></gt-progress> ```

Readme

gtProgress(需要提前引入dialog,steps)

<gt-progress :handList="handList" :formatNullTime="false" :titleImgSrc="require('@/assets/images/flow.png')"></gt-progress>

组件参数: | handList | formatNullTime | titleImgSrc | | -----| ---- | ---- | | 流程数据 | 时间为空是否使用'--'替换 | 标题旁边图标 |

handList结构:

| handleStatus | handleType | taskCode | handlePeople | handleTime | handleDepartment | approvalOpinions | remark | | -------------| ---------- | -------- | -------------| ---------- | ---------------- | ---------------- | ------ | | 需要元素border和字体高亮,设置为2 | 流程当前处理阶段(左上角) | 任务状态,会签(issuesApproveJoin|issuesHandleJoin)或抢单(issuesApproveSingle|issuesHandleSingle) | 处理人 | 处理时间 | 处理人部门 | 审批意见,当handleType !=='经办' 且 approvalOpinions 有数据时展示 | 审批意见,当handleType === '经办' 且 remark 有数据时展示 |

测试数据:
handList: [
    {
        handleStatus: '1',
        handleType: '经办',
        taskCode: 'issuesHandleJoin',
        handlePeople: '处理人',
        handleTime: '2020-02-02 12:12:12',
        handleDepartment: '数据安全部',
        approvalOpinions: '意见',
        remark: '备注'
    }
]

gtLoading(需要提前引入loading)

<gt-loading :title="加载中..." :showBg="false"></gt-loading>

组件参数: | title | showBg | | -----| ---- | | 提示内容 | 是否显示背景 |

gtUploadList(需要提前引入loading)

<gt-upload-list @upLoad="afterUpload" :imageData="imageData" isDeleteBtnFlag></gt-upload-list>

组件参数: | imageData | isDeleteBtnFlag | fileMaxLength | fileMaxSizeSingle | | -----| ---- | -----| ---- | | 图片数组 | 是否显示删除按钮 | 附件最大数量 (个) | 单个文件尺寸 (M) |

事件: | upLoad | viewHandle | | -----| ---- | | 上传后回调 | 点击查看后回调 |

gtJobPositionPage(需要提前引入 nav-bar,icon,list,button,popup,picker)

<gt-job-position-page :businessUnit="businessUnit" :getJobCodeListReq="getJobCodeListReqFun" :getSearchEsJobLevelReq="getSearchEsJobLevelReq" @jobConfirm="confirmFun" @pathBack="pathBack"></gt-job-position-page>

组件参数: | businessUnit | getJobCodeListReq | getSearchEsJobLevelReq | | -----| ---- | -----| | 业务单位id | 职级类型筛选条件接口Promise | 查下职位接口Promise |

事件: | jobConfirm | pathBack | | ----- | ----- | | 选中职位后回调 | 返回按钮回调 | | 返回Params | |

Params: | jobName | jobCode | businessJobLevel | businessJobLevelName | | ----- | ----- | ----- | ----- | | 职位名称 | 职位代码 | 业务职位等级 | 业务职位等级名称 |

gtLetterTip (需要提前引入 dialog)

<gt-letter-tip :showLetter="showLetter" :name="name" :content="content" @closeHandle="closeHandle" @noRemind="noRemind" ></gt-letter-tip>

showLetter: true,
name: 'name',
content: 'content',

组件参数: | showLetter | name | content | | -----| ---- | -----| | 是否展示 | 姓名 | 祝福文案 |

事件: | closeHandle | noRemind | | ----- | ----- | | 关闭回调 | 不再提醒回调 |

gtSearchPeople (需要提前引入 nav-bar, icon, button, list, radio-group, cell)

<gt-search-people :searchPeopleListReq="searchPeopleListReq" :defaultMaleImage="defaultMaleImage" :defaultFemaleImage="defaultFemaleImage" @peopleConfirm="peopleConfirm" @pathBack="pathBack" ></gt-search-people>

defaultMaleImage: '@/assets/male.png',
defaultFemaleImage: '@/assets/female.png',

组件参数: | defaultMaleImage | defaultFemaleImage | searchPeopleListReq | | -----| ---- | -----| | 默认图 | 默认图 | 搜索api Promise |

事件: | peopleConfirm | pathBack | | ----- | ----- | | 确定回调 | 返回页面 |

gtAppSearch (需要提前引入 icon)

<gt-app-search :defaultValue="defaultValue" @inputSearch="inputSearch"></gt-app-search>

defaultValue: 'asdf'

组件参数: | defaultValue | | -----| | 初始值 |

事件: | inputSearch | | ----- | | 确认与清空回调 |