no commit message

This commit is contained in:
雨中磐石
2023-12-21 21:15:19 +08:00
parent ad77fdd196
commit 7eaf20c8fd
28 changed files with 187 additions and 53 deletions

View File

@@ -93,8 +93,9 @@ class userinfoClassAction extends Action
$atatea = explode(',', '试用期,正式,实习生,兼职,临时工,离职');
$atrows = $this->option->getmnum('userstate');
foreach($atrows as $k1=>$rs1)if(!isempt($rs1['value']))$atatea[$rs1['value']] = $rs1['name'];
$total = 0;
foreach($rows as $k=>$rs){
$total ++;
$year = '';
if(!$this->isempt($rs['workdate'])) $year = substr($rs['workdate'],0,4);
$rows[$k]['year'] = $year;
@@ -121,7 +122,7 @@ class userinfoClassAction extends Action
}
$arr = array();
$total = $this->db->count;
//$total = $this->db->count;
foreach($rows as $k=>$rs){
$val = $rs[$type];
if($this->isempt($val))$val = '其他';
@@ -140,7 +141,7 @@ class userinfoClassAction extends Action
return array(
'rows' => $a,
'totalCound' => count($a)
'totalCount' => count($a)
);
}