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

component-public-company

v2.7.8

Published

公司公共组件库

Downloads

376

Readme

A Vue.js project

Build Setup

//1.
npm install component-public-company
//2.
import companyComponents from 'component-public-company'
import 'component-public-company/src/lib/css/allStyle.css'
Vue.use(companyComponents)

For detailed explanation on how things work, consult the docs for vue-loader

  1. 一级导入logo的引入方式 改完 require,原因是import在IE下会崩 ,部门选取时当前部门也显示、样式更改`

  2. 一级导航增加回调监听事件,changeNav, 搜索框样式修改,修改列样式的事件方法

  3. 二级导航增加3级4级导航 type = thirdmenu && fourthmenu

  4. 树的样式更改

  5. 一级导航bug修复、组织选取框bug修改

  6. table新增行列合并方法

  7. table 搜索条件(月份范围选择)

  8. table 搜索条件调整

  9. 二级导航标记添加

    showbadge:true,//是否显示
    badge:{
      color:'#f56c6c',//背景颜色
      value:'12',//提示条数
      marginL:'20px'//左边间距
    },
  1. 二级导航不能跳转bug更改

  2. table 列表 align属性

  3. table 行显示文字过长,换行 textWrap: true(tip 如果遇到空格,回车,换行转移符就会自动换行)

  4. 一级导航样式更改

  5. 面包屑样式修复, 二级导航新增,attr(uniqueOpened(true,false)是否永远只展开一个;defaultOpeneds(Array/String) ['2_0_1_0' ] 分别是1~4级 )默认展开),method(open(function('index')展开一个节点))

  6. 搜索条件自定义,高度自定义 操作按钮的显示隐藏,默认显示

  7. 行复选框状态

  8. 数据默认空的话,显示横杠

  9. 数据默认空的话,显示横杠(优化)

  10. 二级导航打印去除

  11. 选人员key值变成下标,因为人员有重复的code

  12. 二级导航新增点击事件

  13. table加插槽自定义内容,name==prop

  14. 一级导航加是否显示红色标记 isShowBadge

  15. table样式调整

  16. table.dolayout

  17. table新增rowKey

  18. table新增row、cell的Style、Class