信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,22 @@
<?php
/**
文档协作
*/
class agent_wordxieClassModel extends agentModel
{
protected function agentrows($rows, $rowd, $uid){
foreach($rowd as $k=>$rs){
$rows[$k]['fileid'] = $rs['fileid'];
if($rs['xiebool']){
$rows[$k]['statuscolor'] = 'green';
$rows[$k]['statustext'] = '协作';
}else{
$rows[$k]['statuscolor'] = 'gray';
$rows[$k]['statustext'] = '只读';
}
}
return $rows;
}
}