mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-21 15:58:52 +00:00
修改资产管理
This commit is contained in:
@@ -70,17 +70,17 @@ function move(from, to, from_o, to_o) {
|
||||
});
|
||||
}
|
||||
|
||||
function move_left(from, to, from_o, to_o) {
|
||||
$("#" + from + " option").each(function () {
|
||||
if ($(this).prop("selected") == true) {
|
||||
$("#" + to).append(this);
|
||||
if( typeof from_o !== 'undefined'){
|
||||
$("#"+to_o).append($("#"+from_o +" option[value='"+this.value+"']"));
|
||||
}
|
||||
}
|
||||
$(this).attr("selected",'true');
|
||||
});
|
||||
}
|
||||
//function move_left(from, to, from_o, to_o) {
|
||||
// $("#" + from + " option").each(function () {
|
||||
// if ($(this).prop("selected") == true) {
|
||||
// $("#" + to).append(this);
|
||||
// if( typeof from_o !== 'undefined'){
|
||||
// $("#"+to_o).append($("#"+from_o +" option[value='"+this.value+"']"));
|
||||
// }
|
||||
// }
|
||||
// $(this).attr("selected",'true');
|
||||
// });
|
||||
//}
|
||||
|
||||
//function move_all(from, to) {
|
||||
// $("#" + from).children().each(function () {
|
||||
|
Reference in New Issue
Block a user