信呼OA版本v2.3.8
This commit is contained in:
22
webmain/flow/input/mode_hrtransferAction.php
Normal file
22
webmain/flow/input/mode_hrtransferAction.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
//人事调动
|
||||
class mode_hrtransferClassAction extends inputAction{
|
||||
|
||||
|
||||
protected function savebefore($table, $arr, $id, $addbo){
|
||||
$tranuid = $arr['tranuid'];
|
||||
if(m($table)->rows("`tranuid`='$tranuid' and `id`<>'$id' and `status` not in(1,5)")>0)return '该人员已申请过了';
|
||||
}
|
||||
|
||||
protected function saveafter($table, $arr, $id, $addbo){
|
||||
|
||||
}
|
||||
|
||||
public function chenguserAjax()
|
||||
{
|
||||
$sid = $this->post('sid','0');
|
||||
$rs = m('admin')->getone($sid, 'ranking,deptname,workdate');
|
||||
$this->returnjson($rs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user