发布v2.5.9版本

This commit is contained in:
雨中磐石
2023-07-12 16:27:03 +08:00
parent 17e1d6ed22
commit 983cd0d3ea
29 changed files with 551 additions and 118 deletions

View File

@@ -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;
}

View File

@@ -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,
);
}
//弹出下拉选择多选

View File

@@ -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,