|
@@ -171,7 +171,23 @@ $(document).ready(() => {
|
|
|
// 过滤可变更数量为0
|
|
|
$('#customCheckDisabled').click(function () {
|
|
|
self._filterEmptyChange(!this.checked);
|
|
|
- })
|
|
|
+ });
|
|
|
+ $('#show-bgl-detail').bind('click', function () {
|
|
|
+ const detail = $('#bgl-detail'), bgl=$('#bgl'), obj=$(this);
|
|
|
+ if (detail.hasClass('col-4')) {
|
|
|
+ detail.attr('class', 'col').hide();
|
|
|
+ bgl.attr('class', 'col-12');
|
|
|
+ $('a', obj).attr('title', '展开侧栏');
|
|
|
+ $('i', obj).attr('class', 'fa fa-chevron-left');
|
|
|
+ self.spread.refresh();
|
|
|
+ } else {
|
|
|
+ detail.attr('class', 'col-4').show();
|
|
|
+ bgl.attr('class', 'col-8');
|
|
|
+ $('a', obj).attr('title', '收起侧栏');
|
|
|
+ $('i', obj).attr('class', 'fa fa-chevron-right');
|
|
|
+ self.spread.refresh();
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
_loadChangeDetail(change) {
|
|
|
if (change) {
|