titans-react
**普通查询组件**
Last updated 7 hours ago by jtitmsdf .
ISC · Original npm · Tarball · package.json
$ cnpm install titans-react 
SYNC missed versions from official npm registry.

CommonTableList

普通查询组件

参数说明:

参数 类型 说明
config object 配置信息
dispatch function dispatch方法
modelState object 使用该组件的业务页面state对象
addInitValue array 【可选参数】新增弹出框初始化数据
addExtraParan object 【可选参数】调用新增保存接口时附加传参
dictAddBlackOption object 【可选参数】下拉框添加空白选项的字段数组
languageId string 【可选参数】国际化标识,接口调用时附加参数
searchInitValue object 【可选参数】普通查询栏初始化表单数据
importInitValue object 【可选参数】导入excel时附加传参
unShowImportData boolean 【可选参数】是否显示导入excel数据,默认是
pageAble boolean 【可选参数】表格是否显示分页,默认显示(true)
tableColsWidth object 【可选参数】表格自定义显示列宽

说明:

1、buttonDisabled

// 下面buttonDisabled参数定义了当字段moduleCode值为“uaa”时,按钮update不可用
const buttonDisabled = {
    update: {
        moduleCode: '/^uaa$/'
    }
}

TableSearch

普通查询组件

参数说明:

参数 类型 说明
config object 配置信息
dispatch function dispatch方法
dicts array 字典数据
columns array 查询列信息(通过解析器解析后的列信息格式)
searchInitValue object 【可选参数】普通查询栏初始化表单数据
form
languageId string 【可选参数】国际化标识,接口调用时附加参数

StandardTable

antd表格组件

参数说明:

参数 类型 说明
config object 配置信息
dispatch function dispatch方法
dicts array 字典数据
columns array 表格列信息(通过解析器解析后的列信息格式)
loading boolean 表格loading显隐标识
data object 表格数据信息对象,包含list数据信息,pagination分页信息
form
id array 【可选参数】表格的id字段,可设置多个字段,默认为['id']
selectedRows array 【可选参数】表格勾选数据,表格可勾选时传入
tableButtons array 【可选参数】表格按钮信息(通过解析器解析后的表格按钮格式)
tableColsWidth object 【可选参数】表格自定义显示列宽
defaultColWidth number 【可选参数】表格默认列宽
pageAble boolean 【可选参数】表格是否显示分页,默认显示(true)

CommonOperation

操作栏组件

参数说明:

参数 类型 说明
config object 配置信息
dispatch function dispatch方法
dicts array 字典数据
columns array 表格列信息(通过解析器解析后的列信息格式)
loading boolean 按钮禁用控制标识,true时禁用
form
id array 表格的id字段,可设置多个字段
selectedRows array 表格勾选数据
buttons array 操作栏按钮信息(通过解析器解析后的表格按钮格式)
publicPath string web url,导入api url部分
importInitValue any 【可选参数】导入excel时附加传参
unShowImportData boolean 【可选参数】是否显示导入excel数据,默认是

CommonAdd

新增弹出框组件

参数说明:

参数 类型 说明
config object 配置信息
dispatch function dispatch方法
dicts array 字典数据
columns array 新增字段列信息(通过解析器解析后的列信息格式)
showAdd boolean 新增弹出框显隐
addInitValue object 【可选参数】新增弹出框初始化数据
addExtraParan object 【可选参数】调用新增保存接口时附加传参
dictAddBlackOption array 【可选参数】下拉框添加空白选项的字段数组

CommonUpdate

修改弹出框组件

参数说明:

参数 类型 说明
config object 配置信息
dispatch function dispatch方法
dicts array 字典数据
columns array 修改字段列信息(通过解析器解析后的列信息格式)
showUpdate boolean 修改弹出框显隐
addExtraParan object 表格字段列信息(通过解析器解析后的列信息格式)
dictAddBlackOption array 【可选参数】下拉框添加空白选项的字段数组

Current Tags

  • 0.4.11-beta.0                                ...           beta (2 months ago)
  • 0.4.18                                ...           latest (7 hours ago)

87 Versions

  • 0.4.18                                ...           7 hours ago
  • 0.4.17                                ...           3 days ago
  • 0.4.16                                ...           4 days ago
  • 0.4.15                                ...           8 days ago
  • 0.4.14                                ...           24 days ago
  • 0.4.13                                ...           24 days ago
  • 0.4.12                                ...           a month ago
  • 0.4.11                                ...           2 months ago
  • 0.4.11-beta.0                                ...           2 months ago
  • 0.4.10                                ...           2 months ago
  • 0.4.9                                ...           2 months ago
  • 0.4.8                                ...           2 months ago
  • 0.4.7                                ...           2 months ago
  • 0.4.7-beta.2                                ...           2 months ago
  • 0.4.7-beta.1                                ...           2 months ago
  • 0.4.6                                ...           2 months ago
  • 0.4.5                                ...           2 months ago
  • 0.4.5-beta.1                                ...           2 months ago
  • 0.4.5-beta.0                                ...           2 months ago
  • 0.4.4                                ...           2 months ago
  • 0.4.4-beta.3                                ...           2 months ago
  • 0.4.4-beta.2                                ...           2 months ago
  • 0.4.4-beta.1                                ...           2 months ago
  • 0.4.4-beta.0                                ...           2 months ago
  • 0.4.3                                ...           2 months ago
  • 0.4.2                                ...           2 months ago
  • 0.4.1                                ...           3 months ago
  • 0.4.0                                ...           3 months ago
  • 0.3.42                                ...           3 months ago
  • 0.3.41                                ...           3 months ago
  • 0.3.40                                ...           3 months ago
  • 0.3.38                                ...           3 months ago
  • 0.3.37                                ...           3 months ago
  • 0.3.36                                ...           3 months ago
  • 0.3.35                                ...           4 months ago
  • 0.3.34                                ...           4 months ago
  • 0.3.33                                ...           4 months ago
  • 0.3.32                                ...           4 months ago
  • 0.3.31                                ...           4 months ago
  • 0.3.30                                ...           4 months ago
  • 0.3.29                                ...           4 months ago
  • 0.3.28                                ...           4 months ago
  • 0.3.27                                ...           4 months ago
  • 0.3.26                                ...           4 months ago
  • 0.3.25                                ...           4 months ago
  • 0.3.24                                ...           4 months ago
  • 0.3.23                                ...           4 months ago
  • 0.3.22                                ...           4 months ago
  • 0.3.21                                ...           4 months ago
  • 0.3.20                                ...           4 months ago
  • 0.3.19                                ...           4 months ago
  • 0.3.18                                ...           4 months ago
  • 0.3.17                                ...           5 months ago
  • 0.3.16                                ...           5 months ago
  • 0.3.15                                ...           5 months ago
  • 0.3.14                                ...           5 months ago
  • 0.3.13                                ...           5 months ago
  • 0.3.12                                ...           5 months ago
  • 0.3.11                                ...           5 months ago
  • 0.3.10                                ...           5 months ago
  • 0.3.9                                ...           5 months ago
  • 0.3.8                                ...           5 months ago
  • 0.3.7                                ...           5 months ago
  • 0.3.6                                ...           6 months ago
  • 0.3.5                                ...           6 months ago
  • 0.3.4                                ...           6 months ago
  • 0.3.3                                ...           6 months ago
  • 0.3.2                                ...           6 months ago
  • 0.3.1                                ...           6 months ago
  • 0.3.0                                ...           6 months ago
  • 0.2.9                                ...           7 months ago
  • 0.2.8                                ...           7 months ago
  • 0.2.7                                ...           7 months ago
  • 0.2.6                                ...           7 months ago
  • 0.2.5                                ...           7 months ago
  • 0.2.4                                ...           7 months ago
  • 0.2.3                                ...           7 months ago
  • 0.2.2                                ...           7 months ago
  • 0.2.1                                ...           8 months ago
  • 0.1.1                                ...           8 months ago
  • 0.1.9                                ...           8 months ago
  • 0.0.9                                ...           8 months ago
  • 0.0.8                                ...           8 months ago
  • 0.0.7                                ...           8 months ago
  • 0.0.6                                ...           8 months ago
  • 0.0.5                                ...           8 months ago
  • 0.0.1                                ...           8 months ago
Maintainers (1)
Downloads
Today 21
This Week 116
This Month 339
Last Day 8
Last Week 127
Last Month 359
Dependencies (16)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |