...
|
...
|
@@ -124,6 +124,9 @@ var g = new common.grid({ |
|
|
});
|
|
|
g.init('/categorySource/queryCategorySourceList');
|
|
|
|
|
|
$("#batchChoose-btn").show();
|
|
|
$("#batchUnChoose-btn").hide();
|
|
|
|
|
|
//全部
|
|
|
$(document).on('click', '#all-btn', function () {
|
|
|
var state = $('.state-select').find('.current').find('input').val();
|
...
|
...
|
@@ -256,6 +259,8 @@ $(document).on('click', '#batchChoose-btn', function(){ |
|
|
}
|
|
|
}, function(res){
|
|
|
if (res.code == 200) {
|
|
|
batchChooseSourceIds = [];
|
|
|
batchChooseSourceNames = [];
|
|
|
g.reload();
|
|
|
}
|
|
|
})
|
...
|
...
|
@@ -285,7 +290,9 @@ $(document).on('click', '#batchUnChoose-btn', function() { |
|
|
}
|
|
|
}, function(res){
|
|
|
if (res.code == 200) {
|
|
|
g.reload();
|
|
|
batchUnChooseSourceIds = [];
|
|
|
batchUnChooseSourceNames = [];
|
|
|
sc.reload();
|
|
|
}
|
|
|
})
|
|
|
});
|
...
|
...
|
|