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 🙏

© 2024 – Pkg Stats / Ryan Hefner

mamapp

v1.0.3

Published

``` npm install ```

Downloads

8

Readme

new-app-base

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vue.use(newappbase.default,{$store});

需要校验的表单获取数据暴露出来的方法

筛选数据【不对表单进行校验】暴露出来的方法

上传文件和上传图片用的baseurl 是 process.env.VUE_APP_URL

帮助框组件

属性 |介绍| 类型 | 默认值
-|-|-|- helpType|帮助框类型 user, dept 需要在provide属性中声明 user【用户帮助框】dept【部门帮助框】|string|user actionType|tab框标签类型 1:按组织架构搜索, 2:按角色类别搜索,3:按岗位类别搜索, 4:当前所述部门 需要在provide属性中声明 |array|[1,2,3,4] echoData|数据回显对象[{name: 'AAA', id: 'w3eeed343434'}...]|array|[] helpTitle|nav显示标题|string|帮助框

梳理一下业务逻辑

  • 父级多选 下级 置灰不让进行点击
  • 底部 已选择 可点击,点击弹出一个 drawer,相当于一个购物车
  • 多选不做父子级关联,因为数据是异步获取

帮助框类型分析

一.人员帮助框

二.部门帮助框

部门帮助框需要两个接口

  • data/help/current/org 获取根节点 id
  • data/help/org/default 获取节点下的子节点 是一棵树