发布v2.5.6版本

This commit is contained in:
雨中磐石
2023-04-26 15:46:53 +08:00
parent 33ce4c6298
commit 8145b2df84
55 changed files with 1193 additions and 223 deletions

View File

@@ -124,6 +124,7 @@ class modeClassAction extends ActionNot
$stype = $this->get('stype');
$path = ''.P.'/flow/page/view_'.$num.'_2.html';
if(COMPANYNUM && !file_exists($path))$path = ''.P.'/flow/page/view_'.$num.'_'.COMPANYNUM.'_2.html';
if(!file_exists($path))return '没有设置打印模版';
$arr = m('flow')->initflow($num, $mid)->getdatalog(0, 2);
@@ -140,6 +141,7 @@ class modeClassAction extends ActionNot
$this->smartydata['spagepath'] = $spagepath;
$this->smartydata['pagetitle'] = $pagetitle;
$this->assign('stype', $stype);
$this->assign('printlx', $this->get('printlx'));
if($stype=='word'){
m('file')->fileheader($arr['modename'].'.doc');
}