|
|
@@ -558,7 +558,7 @@ const query = function getQueryForm(data) {
|
|
|
|
|
|
let ul_div = $("<div class='pl-0 tooltipTarget' style='position: absolute;left: 100px;top:25px; max-height: 150px; overflow-y: scroll; border: 1px solid rgb(221, 221, 221); border-radius: 5px; text-align: center; transform: scale(0.9);z-index:1' tabindex='1'></div>");
|
|
|
let ul = $("<ul name='" + condition.name + "' class='list-group pl-0 m-0 p-0 bg-white' style='list-style-type: none;width: 150px;top:35px; z-index: 100' ></ul>");
|
|
|
- let check = $("<input type = 'checkbox' style='z-index:101;position:fixed;top:0;right: 0;border:1px green' >");
|
|
|
+ let check = $("<input id='multipleCheckBox' type = 'checkbox' style='z-index:101;position:fixed;top:0;right: 0;border:1px green' >");
|
|
|
let isMouseenterCheckBox = false;
|
|
|
|
|
|
select_div.append(input).append(ul_div.append(ul).append(check));
|
|
|
@@ -656,8 +656,10 @@ const query = function getQueryForm(data) {
|
|
|
ul_div.mouseenter(function () {
|
|
|
if(_data[condition.name].value.length>0){
|
|
|
setTimeout(()=> {
|
|
|
- ul_div.attr("title","移出多选区域即可自动提交");
|
|
|
- ul_div.tooltip('show');
|
|
|
+ if (ul_div.is(':visible')){
|
|
|
+ ul_div.attr("title","移出多选区域即可自动提交");
|
|
|
+ ul_div.tooltip('show');
|
|
|
+ }
|
|
|
},1000);
|
|
|
}
|
|
|
});
|
|
|
@@ -1042,7 +1044,10 @@ const query = function getQueryForm(data) {
|
|
|
dom.style.backgroundColor = "#FFFFFF";
|
|
|
$(dom).removeClass('active');
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
+ if (lis.length === select.length) {
|
|
|
+ $("#multipleCheckBox").prop("checked", true);
|
|
|
+ }
|
|
|
isMultiple(ul.attr('name'));
|
|
|
}
|
|
|
}
|