优化筛选项逻辑

This commit is contained in:
cloud 2020-06-26 02:22:01 +08:00
parent 4af17c7e21
commit 909d1a00a2
1 changed files with 5 additions and 3 deletions

View File

@ -53,7 +53,8 @@ class table_theme {
'fiend' => '',
'tname' => '',
'source' => 'search',
'allnone' => 1
'allnone' => 1,
'condition' => ''
];
}
@ -302,7 +303,7 @@ class table_theme {
data-source="'.$this->select2['source'].'"
data-default="'.$value.'"
data-division=","
data-condition="p_type|||0"
data-condition="'.$this->select2['condition'].'"
data-placeholder="'.$this->select2['placeholder'].'">
<option value=""></option>
</select>
@ -870,7 +871,8 @@ class table_theme {
'fiend' => 'p_value',
'tname' => 'para',
'source' => 'search_para_eaps',
'allnone' => 0
'allnone' => 0,
'condition' => 'p_type|||0'
];
$this->search[] = self::input_select_search_multiple();
}