信呼OA版本v2.3.9

This commit is contained in:
雨中磐石
2022-09-05 15:58:07 +08:00
parent e3fcd913e3
commit c09f4dba40
29 changed files with 657 additions and 57 deletions

View File

@@ -28,6 +28,23 @@ class flowClassAction extends Action
return $where;
}
public function getcompanydataAjax()
{
$rows = array();
$msg = '';
if(!getconfig('platdwnum')){
$msg = '当前不是SAAS模式不需要操作';
}else{
if(!COMPANYNUM){
$rows = m('company')->getall('`iscreate`=1','id,name');
if(!$rows)$msg='没有创建过任何单位';
}else{
$msg = '请在管理模式下操作';
}
}
return returnsuccess($rows, $msg);
}
public function flowwheresave_before($table,$das)
{
$str = m('where')->checkwhere($das['setid'], $das['wheresstr']);