信呼v2.5.3版本
This commit is contained in:
@@ -475,9 +475,9 @@ class adminClassModel extends Model
|
||||
//读取我可查看权限
|
||||
if(contain($where,'1=1')){
|
||||
$where = '';
|
||||
if($this->rock->get('gtype')=='change'){
|
||||
//$this->allshow = true;
|
||||
//if(!ISMORECOM && c('cache')->get('deptuserjson'))return array();
|
||||
if($this->rock->get('gtype')=='change' && getconfig('userhoucache')=='1'){
|
||||
$this->allshow = true;
|
||||
if(!ISMORECOM && c('cache')->get('deptuserjson'))return array();
|
||||
}
|
||||
}else{
|
||||
$where = 'and ((1 '.$where.') or (`id`='.$uid.'))';
|
||||
|
||||
15
webmain/model/flow/custgysModel.php
Normal file
15
webmain/model/flow/custgysModel.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
//供应商
|
||||
class flow_custgysClassModel extends flowModel
|
||||
{
|
||||
|
||||
public function flowrsreplace($rs, $lx=0)
|
||||
{
|
||||
$rs['statusval']=$rs['status'];
|
||||
if($rs['status']=='0')$rs['status']='<font color="gray">停用</font>';
|
||||
if($rs['status']=='1')$rs['status']='<font color="green">启用</font>';
|
||||
|
||||
return $rs;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -346,6 +346,7 @@ $rstr = "".$hstart."
|
||||
$arr['crm'] = '18,17,56,19,34,35,36';
|
||||
$arr['bianjian'] = '59';
|
||||
$arr['gong'] = '3';
|
||||
$arr['wyxiaoqu'] = '67,68,69,70';
|
||||
return $arr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user