API
Component

BizFilter ($UI/system/components/justep/bizFilter/bizFilter)

使用范围:UI2

Contents

component BizFilter ($UI/system/components/justep/bizFilter/bizFilter) extends ViewComponent

业务过滤组件

	
		BizFilter组件通过简单的属性设置就可以给数据增加综合过滤的能力,关键属性有:
			filterData: 过滤数据
			filterCols: 过滤关系
		BizFilter可以为数据设置任意复杂的查询条件,还可以存储为可重用的查询模板
		BizFilter的查询模板存储在SA_FilterPattern中,每个组件以sProcess、sActivity、sInstance(xid)做数据过滤,获取自身的模板列表
	

Constructor Top

  BizFilter ()
  BizFilter ( options)

Attributes Top

string activity

默认使用当前环境中的activity

boolean autoRefresh

是否自动刷新 - 默认是true

string filterCols

过滤列,多个用逗号分隔

string filterData

过滤数据,必须是bizData

string process

默认使用当前环境中的process

string xid

组件标识

Static Methods Top

void loadPattern ()

Methods Top

void show ()

Operations Top

void loadPattern ()
void menu ()
void show ()

Events Top

void onFilter (FilterEvent event)

Constructor details Top

public BizFilter ()

业务过滤组件

	
		BizFilter组件通过简单的属性设置就可以给数据增加综合过滤的能力,关键属性有:
			filterData: 过滤数据
			filterCols: 过滤关系
		BizFilter可以为数据设置任意复杂的查询条件,还可以存储为可重用的查询模板
		BizFilter的查询模板存储在SA_FilterPattern中,每个组件以sProcess、sActivity、sInstance(xid)做数据过滤,获取自身的模板列表
	

public BizFilter ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Static Methods Detail Top

static public void loadPattern ()

显示查询模板对话框

Return Value

void

Attributes Detail Top

public string activity

默认使用当前环境中的activity

public boolean autoRefresh

是否自动刷新 - 默认是true

public string filterCols

过滤列,多个用逗号分隔

public string filterData

过滤数据,必须是bizData

public string process

默认使用当前环境中的process

public string xid

组件标识

Methods Detail Top

public void show ()

显示查询条件对话框

Return Value

void

Operations Detail Top

public void loadPattern ()

编辑查询模版

See LoadPattern

Return Value

void

显示查询菜单

See Menu

Return Value

void

public void show ()

编辑查询条件

See Show

Return Value

void

Events Detail Top

public void onFilter (FilterEvent event)

过滤事件

Parameters

FilterEvent event


结构如下:

{ "source" : 组件的js对象, "filter" : 过滤条件 }

Return Value

void