信呼v2.5.3版本

This commit is contained in:
雨中磐石
2023-02-16 16:04:13 +08:00
parent 6bd0ce491e
commit 117f629dcc
26 changed files with 217 additions and 23 deletions

View File

@@ -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.'))';

View 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

View File

@@ -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;
}
}