Procházet zdrojové kódy

수정사항 적용

whakdo963 před 2 roky
rodič
revize
10001bad81

+ 1 - 1
src/main/webapp/js/app/oper/ITP_OPER04010.js

@@ -285,7 +285,7 @@ let listObj = {
285 285
 							const icon=sort=='asc'? '.glyphicon-triangle-bottom': '.glyphicon-triangle-top'; 
286 286
 							self['sort'+idx]=sort;
287 287
 							if(idx==2) {
288
-								field='nticeTitl';
288
+								field='saleMgrNm';
289 289
 							} else if(idx==8) {
290 290
 								field='addDt';
291 291
 							} 

+ 1 - 41
src/main/webapp/js/app/stinfo/ITP_STINFO06010.js

@@ -952,47 +952,7 @@ let createObj = {
952 952
 					viewHtml += '</span>';
953 953
 					$('#ITP_STINFO06010_DETAIL_jqGridView').html(viewHtml).show();
954 954
 					
955
-					const self=this;
956
-					if(self.sortUse) return;
957
-					self.sortUse=true;
958
-					self['sort7']='asc'; 
959
-					const th=$(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(7);
960
-					th.find('.s-ico').show();
961
-					th.find('.ui-grid-ico-sort').hide();
962
-					th.find('.glyphicon-triangle-bottom').show();//asc 는 bottom 으로 desc 는 top
963
-					//$(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
964
-					$(STINFO06010_DETAIL_GRID_LIST).find('th').eq(7).css({cursor:'pointer',background:'#FFEBCD'});
965
-					$(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels>th').on('click', function() {
966
-						const idx=$(this).index();
967
-						console.log("xxxx grid header click xxxxxxx index=="+idx, param );
968
-						if(idx==7 || idx==5 ) {
969
-							var field='',sort=self['sort'+idx];
970
-							if(sort ) {
971
-								sort=sort=='asc'?'desc':'asc';
972
-							} else {
973
-								// 등록일 내림차순, 제목 오름차순
974
-								sort=idx==7? 'asc':idx==5? 'desc': 'asc';
975
-							}
976
-							const icon=sort=='asc'? '.glyphicon-triangle-bottom': '.glyphicon-triangle-top'; 
977
-							self['sort'+idx]=sort;
978
-							if(idx==7) {
979
-								field='itemNm';
980
-							} else if(idx==5) {
981
-								field='itemNm';
982
-							} 
983
-							param.page=1;
984
-							param.sidx=field;
985
-							param.sord=sort;
986
-							
987
-							$(STINFO06010_DETAIL_GRID_ID).jqGrid('setGridParam',{
988
-								postData:JSON.stringify(param)
989
-							}).trigger('reloadGrid');
990
-							$(this).find('.s-ico').show();
991
-							$(this).find('.ui-grid-ico-sort').hide();
992
-							$(this).find(icon).show();
993
-
994
-						}
995
-					});
955
+					
996 956
 				},
997 957
 				onCellSelect: function(rowid, cellIdx, cellValue) {
998 958
 					if(fn_make_user_info.get('authTpCd') !== '50') {