信呼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,25 @@
<?php
class mode_meetClassAction extends inputAction{
protected function savebefore($table, $arr, $id, $addbo){
if(arrvalue($arr,'type')=='1')return ''; //固定会议不需要判断
return m('meet')->isapplymsg($arr['startdt'], $arr['enddt'], $arr['hyname'], $id);
}
protected function saveafter($table, $arr, $id, $addbo){
}
//打印二维码判断
public function getpewmAjax()
{
$mid = (int)$this->get('mid','0');
$rs = m('meet')->getone($mid);
if($rs['type']!='0')return '不需要打印';
if($rs['optid']!=$this->adminid)return '你不是发起人无法显示二维码';
return 'ok';
}
}