|
@@ -357,12 +357,19 @@ let listObj = {
|
357
|
357
|
const self=this;
|
358
|
358
|
if(self.sortUse) return;
|
359
|
359
|
self.sortUse=true;
|
|
360
|
+ self['sort8']='desc';
|
|
361
|
+ const th=$(OPER02010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(8);
|
|
362
|
+ th.find('.s-ico').show();
|
|
363
|
+ th.find('.ui-grid-ico-sort').hide();
|
|
364
|
+ th.find('.glyphicon-triangle-top').show();
|
|
365
|
+ console.log("xxxxx th xxxx", th, self)
|
|
366
|
+ //
|
360
|
367
|
$(OPER02010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
361
|
368
|
$(OPER02010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(2).css('cursor','pointer');
|
362
|
369
|
$(OPER02010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(8).css('cursor','pointer');
|
363
|
370
|
$(OPER02010_GRID_LIST).find('.ui-jqgrid-labels>th').on('click', function() {
|
364
|
371
|
const idx=$(this).index();
|
365
|
|
- console.log("xxxx grid header click xxxxxxx index=="+idx, param );
|
|
372
|
+ // console.log("xxxx grid header click xxxxxxx index=="+idx, param );
|
366
|
373
|
if(idx==2 || idx==8 ) {
|
367
|
374
|
var field='',sort=self['sort'+idx];
|
368
|
375
|
if(sort ) {
|