mode_officiaAction.php 744 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * 此文件是流程模块【officia.发文单】对应接口文件。
  4. * 可在页面上创建更多方法如:public funciton testactAjax(),用js.getajaxurl('testact','mode_officia|input','flow')调用到对应方法
  5. */
  6. class mode_officiaClassAction extends inputAction{
  7. protected function savebefore($table, $arr, $id, $addbo){
  8. }
  9. protected function saveafter($table, $arr, $id, $addbo){
  10. }
  11. public function getfilenumAjax()
  12. {
  13. $type = $this->post('type');
  14. $num = ''.$type.'〔Year〕';
  15. return $this->db->sericnum($num,'[Q]official','num', 1).'号';
  16. }
  17. //读取主送单位
  18. public function getofficiaunit()
  19. {
  20. return $this->option->getdata('officiaunit');
  21. }
  22. }
粤ICP备19079148号