$farr=m('flow_element')->getrows("`mid`='$modeid' and `islu`=1 and `iszb`=$iszb",'`name`,`fields`,`isbt`,`fieldstype`,`savewhere`,`dev`,`data`','`sort`');
$fieldarr=m('flow_element')->getrows("`mid`='$modeid' and `iszb`=0 $stwhe",'fields,fieldstype,name,dev,data,isbt,islu,attr,iszb,issou,gongsi,placeholder','`sort`');
$rows=m('flow_element')->getrows("`mid`='$this->modeid' and `iszb`=0",'`name`,`fields`,`isbt`,`iszs`,`fieldstype`,`savewhere`,`data`,`isdr`,`iszb`,`issou`,`islu`,`islb`,`isonly`','`sort`');
...
...
@@ -200,13 +201,13 @@ class flowModel extends Model
$logrows=$this->flogmodel->getrows($this->mwhere.' and `modeid`='.$this->modeid.' and `courseid`>0 and `courseid`<88888 and `status`>0 and `valid`=1');
$tuicourse=$this->flogmodel->getall($this->mwhere.' and `courseid`>0 and `valid`=1 and `status`=1 and `step`<'.$step.'','`id`,`checkname`,`name`','`step` desc');
@@ -2462,7 +2490,7 @@ class flowModel extends Model
}
return'ok';
}
/**
* 加入日程提醒
*/
...
...
@@ -2480,7 +2508,7 @@ class flowModel extends Model
m('schedule')->insert($barr);
return'ok';
}
/*
* 获取操作菜单 $flx=0 从操作上点出来 1详情上展示的
*/
...
...
@@ -2491,7 +2519,7 @@ class flowModel extends Model
$rows=$this->db->getrows('[Q]flow_menu',"`setid`='$this->modeid' ".$where." and `status`=1",'id,wherestr,name,statuscolor,statusvalue,num,islog,issm,type,upgcont','`sort`');
$arr=array();
$bfrom=$this->rock->post('bfrom');
foreach($rowsas$k=>$rs){
$wherestr=$rs['wherestr'];
$bo=false;
...
...
@@ -2521,31 +2549,31 @@ class flowModel extends Model