|
|
@ -195,7 +195,7 @@ layui.use(['dropdown', 'gtable', 'laydate', 'form'], function () { |
|
|
|
let id = $(this).data('id'); |
|
|
|
let id = $(this).data('id'); |
|
|
|
$condition_list.find(`li[id="li_${id}"]`).remove(); |
|
|
|
$condition_list.find(`li[id="li_${id}"]`).remove(); |
|
|
|
$condition_list.find(`li:first a[name="${LOGIC_JOIN}"]`).addClass("layui-hide").data('value', 'and'); |
|
|
|
$condition_list.find(`li:first a[name="${LOGIC_JOIN}"]`).addClass("layui-hide").data('value', 'and'); |
|
|
|
if ($condition_list.find('li').length == 0) { |
|
|
|
if ($condition_list.find('li').length === 0) { |
|
|
|
$condition_list.find('p.condition-none').removeClass('layui-hide'); |
|
|
|
$condition_list.find('p.condition-none').removeClass('layui-hide'); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|