信呼OA版本v2.3.8
This commit is contained in:
26
webmain/model/agent/scheduleModel.php
Normal file
26
webmain/model/agent/scheduleModel.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
class agent_scheduleClassModel extends agentModel
|
||||
{
|
||||
public function gettotal()
|
||||
{
|
||||
return array('stotal'=>0,'titles'=>'');
|
||||
}
|
||||
|
||||
protected function agentrows($rows, $rowd, $uid)
|
||||
{
|
||||
foreach($rowd as $k=>$rs){
|
||||
if(!isempt($rs['enddt']) && $rs['enddt']<$this->rock->now){
|
||||
$rows[$k]['ishui'] = 1;
|
||||
}
|
||||
}
|
||||
return $rows;
|
||||
}
|
||||
|
||||
protected function agentdata($uid, $lx)
|
||||
{
|
||||
//$rows = m('schedule')->getmonthdata($uid);
|
||||
//print_r($rows);
|
||||
if(contain($lx,'month'))$this->event = 'my';
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user