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

ch-unified-fabric-component

v1.4.4

Published

创慧 统一架构 云管平台 流程相关组件

Readme

通用流程引擎组件

说明

此组件库是在element-ui基础上进行二次开发,因此在使用组件时开发环境必须安装有element-ui

安装

npm install ch-unified-fabric-component -S

使用

import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import CH from 'ch-unified-fabric-component'
import 'ch-unified-fabric-component/lib/ch-unified-fabric-component.css'
Vue.use(ElementUI)
// baseURL是axios的baseURL,token是axios->headers的Authorization
// token是必填的,否则组件无法正常请求接口。
// 由于入口js处token还没取值,建议在oidc登录回调后设置一个localStorage.setItem('ch-component-token', 'Bearer xxx')代替token

// 如果遇到message层级问题
// import PopupManager from 'element-ui/lib/utils/popup/popup-manager'
// Vue.use(ElementUI, { zIndex: PopupManager.nextZIndex() + 10 })

// 放到最后一行
Vue.use(CH, { baseURL: 'http://...', token: 'Bearer xxx' })

说明文档

组件

使用时必须先安装 element-ui。

提示

1、由于ProcessBpmn流程定义内使用绝对定位,宽高100%,引入组件的父元素节点注意添加position: relative;如果与项目有冲突,也可以自行用CSS深度选择器修改组件内样式

2、oidc登录回调后设置localStorage.setItem('ch-component-token', 'Bearer xxx'),内部接口调用需要token

3、baseURL必传

运行

node版本10.15.3

npm install

开发环境

npm run dev

生产环境

npm run build

更新日志

[1.4.4] - 2020-12-04

修改

  • 增加请求事件类型

[1.4.3] - 2020-12-02

修复

  • 修复流程定义审批人和抄送人翻页选人bug

修改

  • 审批弹窗-用户-增加双滚动条

[1.4.2] - 2020-11-27

修复

  • 修复流程定义审批人和抄送人翻页选人bug

[1.4.1] - 2020-11-11

修复

  • 修复流程定义审批人和抄送人翻页选人bug

[1.4.0] - 2020-11-06

新增

  • process-tabs组件增加版本显示
  • 重构流程定义审批人和抄送人

修改

  • 流程表单更换js-beautify和tinymce的CDN
  • definition-cascader组件增加全数据类型

修复

  • 修复角色用户相关bug

[1.3.6] - 2020-11-03

修复

  • 去掉代码接口的/api,然后通过baseURL传入
  • 修复流程定义公式输入html转码问题
  • 修复流程定义编辑的事件新增问题

[1.3.5] - 2020-11-03

修复

  • 去掉流程表单本地缓存
  • 修复流程定义公式输入html转码问题

[1.3.4] - 2020-11-03

修复

  • 修复流程定义bug

[1.3.3] - 2020-11-02

修复

  • 修复流程定义bug

[1.3.2] - 2020-11-02

修复

  • 修复流程定义旧数据编辑报错

[1.3.1] - 2020-10-30

新增

  • 封装流程表单、流程Tabs等组件

修改

  • 重构流程定义组件
  • 优化样式

修复

  • 修复若干bug

[1.2.3] - 2020-08-17

新增

  • 封装角色管理,统一授权接入

修复

  • 修复流程定义的审批人/抄送人tree失效

[1.1.0] - 2020-07-09

修改

  • 更改内部组件接口地址,工单系统接入

修复

  • 修复Vue-router重复打包的bug

[0.1.2] - 2020-04-23

新增

  • 首次封装,云管平台专用版本号(后面更新的版本修改了接口地址)