yto-jsc

更换日期组件
1,029
Install
npm install yto-jsc
Latest Version:2.5.0
Vue:2
Last Updated:Jun 8, 2021
Links: npm
Maintainer: hailigo

yto-jsc components

使用说明

# install dependencies

npm install yto-jsc -save

# 日期组件依赖于jsc 故需要在html中引入如下资源

<link rel="stylesheet" href="//jscapp.yto56.com.cn:8081/jscPackageApp/yto-package.css"/>

<script type="text/javascript" src="//jscapp.yto56.com.cn:8081/jscPackageApp/yto-package.js"></script>

本组件库已做适配,项目中不需要针对本组件库再次适配


组件列表


组件名 标签名 参数 事件
按钮组 jsc-btn
sepGrop: 按钮文案数组

type: isSepret,noSepret,scrollX,titBt

value: 绑定值

toggleTab: 点击事件(item,index)
标签组 jsc-label
search: trur/false 是否包含模糊搜索

fuzzyData: 模糊搜索结果项
search: 搜索事件(搜索值)

fuzzyClear:清空模糊搜索

choseFuzzy: 选中模糊搜索匹配项
日期 jsc-time
isLink: true/false

dateType: day/month/year/customer

dateVal: 绑定值

endDate: 结束日期

confirm: 确认事件
滚动 jsc-scroller
isLoading: true/false

hasMore: true/false

disabledScroll: true/false

nodate: true/false

scrollLoad: 滚动事件
表格 jsc-table
tableData: Array

columns: Array

emptyText: String

serverSort: true/false

isEmptyShow:true/false

columnCellClassName:Function

sort-change: 排序事件

row-click:单元格点击事件

Version History

Version Released Vue License
2.5.0 ^2.5.2
2.4.9 ^2.5.2
2.4.7 ^2.5.2
2.4.6 ^2.5.2
2.4.5 ^2.5.2