发布v2.5.9版本
This commit is contained in:
@@ -204,7 +204,7 @@ var c={
|
||||
return false;
|
||||
}
|
||||
if(isempt(val)){
|
||||
if(form(fid))form(fid).focus();
|
||||
if(form(fid) && flx!='hidden')form(fid).focus();
|
||||
this.showtx(''+nas+'不能为空');
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -46,12 +46,23 @@ class mode_demoClassAction extends inputAction{
|
||||
//弹出下拉选择单选
|
||||
public function tanxuan()
|
||||
{
|
||||
for($i=1;$i<=1520;$i++)
|
||||
$limit = (int)$this->get('limit', '10');
|
||||
$page = (int)$this->get('page', '1');
|
||||
$totalCount = 1520;
|
||||
$start = ($page-1)*$limit;
|
||||
for($i=$start;$i<$start + $limit && $i<=$totalCount;$i++){
|
||||
$rows[] = array(
|
||||
'name' => '第'.$i.'个数据',
|
||||
'value'=> ''.$i.''
|
||||
);
|
||||
return $rows;
|
||||
}
|
||||
|
||||
return array(
|
||||
'rows' => $rows,
|
||||
'totalCount'=> $totalCount,
|
||||
'limit' => $limit,
|
||||
'page' => $page,
|
||||
);
|
||||
}
|
||||
|
||||
//弹出下拉选择多选
|
||||
|
||||
@@ -31,6 +31,7 @@ if(atype=='all'){
|
||||
});
|
||||
}
|
||||
c.bianjila=function(){
|
||||
if(ISDEMO){js.msg('msg','演示不要操作');return;}
|
||||
var h = $.bootsform({
|
||||
title:'人员状态编辑',height:400,width:400,
|
||||
tablename:bootparams.tablename,isedit:1,
|
||||
|
||||
Reference in New Issue
Block a user