table latex update
This commit is contained in:
@@ -3112,7 +3112,7 @@ class Production extends Base
|
|||||||
|
|
||||||
public function myTableTest(){
|
public function myTableTest(){
|
||||||
$references = $this->production_article_refer_obj->where("p_article_id",3401)->where("state",0)->order("index asc")->select();
|
$references = $this->production_article_refer_obj->where("p_article_id",3401)->where("state",0)->order("index asc")->select();
|
||||||
$res = $this->tableCovertLatex(1089,$references);
|
$res = $this->tableCovertLatex(1102,$references);
|
||||||
|
|
||||||
echo $res;
|
echo $res;
|
||||||
}
|
}
|
||||||
@@ -3126,6 +3126,9 @@ class Production extends Base
|
|||||||
if (json_last_error() !== JSON_ERROR_NONE || !is_array($tableData) || empty($tableData)) {
|
if (json_last_error() !== JSON_ERROR_NONE || !is_array($tableData) || empty($tableData)) {
|
||||||
return "% 无效的JSON数据";
|
return "% 无效的JSON数据";
|
||||||
}
|
}
|
||||||
|
if(strlen($table_info['table_data'])>6000){
|
||||||
|
return "执行附表程序";
|
||||||
|
}
|
||||||
|
|
||||||
// 获取表格最大列数(遍历所有行,找到列数最大值,处理合并后列数变化的情况)
|
// 获取表格最大列数(遍历所有行,找到列数最大值,处理合并后列数变化的情况)
|
||||||
$maxColCount = 0;
|
$maxColCount = 0;
|
||||||
@@ -3190,7 +3193,7 @@ class Production extends Base
|
|||||||
$title = strip_tags($table_info['title']);
|
$title = strip_tags($table_info['title']);
|
||||||
$label = "tab-".$table_info['amt_id'];
|
$label = "tab-".$table_info['amt_id'];
|
||||||
|
|
||||||
$notes = strip_tags($table_info['note']);
|
$notes = $this->escapeLatexSpecialChars(trim(strip_tags($table_info['note']),"*. \t\n\r\0\x0B"));
|
||||||
|
|
||||||
|
|
||||||
//确定是单栏还是双栏的表格
|
//确定是单栏还是双栏的表格
|
||||||
|
|||||||
Reference in New Issue
Block a user