Files
xinhu/webmain/model/flow/scheduldModel.php
2022-08-14 16:47:40 +08:00

34 lines
823 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
//日程待办
class flow_scheduldClassModel extends flowModel
{
protected function flownexttodo($type){
if($type=='daiban'){
$btn[] = array(
'key' => 1,
'name' => '已完成',
'replace_name' => '已完成',
'color' => 'blue',
'is_bold' => true
);
$btn[] = array(
'key' => 2,
'name' => '未完成',
'replace_name' => '未完成',
'color' => 'red'
);
$this->flowweixinarr = array(
//'task_id' => ''.$this->mtable.'_'.$this->id.'',
//'btn' => $btn
);
$cont = '发起人:{optname}'.chr(10).'时间:{startdt}';
if(!isempt($this->rs['explain']))$cont.= '\n说明{explain}';
$cont.= '\n请尽快去处理';
return array(
'title' => '日程待办:{title}',
'cont' => $cont
);
}
}
}