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
一级导入logo的引入方式 改完 require,原因是import在IE下会崩 ,部门选取时当前部门也显示、样式更改`
一级导航增加回调监听事件,changeNav, 搜索框样式修改,修改列样式的事件方法
二级导航增加3级4级导航 type = thirdmenu && fourthmenu
树的样式更改
一级导航bug修复、组织选取框bug修改
table新增行列合并方法
table 搜索条件(月份范围选择)
table 搜索条件调整
二级导航标记添加
showbadge:true,//是否显示
badge:{
color:'#f56c6c',//背景颜色
value:'12',//提示条数
marginL:'20px'//左边间距
},
二级导航不能跳转bug更改
table 列表 align属性
table 行显示文字过长,换行 textWrap: true(tip 如果遇到空格,回车,换行转移符就会自动换行)
一级导航样式更改
面包屑样式修复, 二级导航新增,attr(uniqueOpened(true,false)是否永远只展开一个;defaultOpeneds(Array/String) ['2_0_1_0' ] 分别是1~4级 )默认展开),method(open(function(
'index'
)展开一个节点))搜索条件自定义,高度自定义 操作按钮的显示隐藏,默认显示
行复选框状态
数据默认空的话,显示横杠
数据默认空的话,显示横杠(优化)
二级导航打印去除
选人员key值变成下标,因为人员有重复的code
二级导航新增点击事件
table加插槽自定义内容,name==prop
一级导航加是否显示红色标记 isShowBadge
table样式调整
table.dolayout
table新增rowKey
table新增row、cell的Style、Class