| 
					
				 | 
			
			
				@@ -70,6 +70,9 @@ var SheetDataHelper = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     loadSheetHeader: function (setting, sheet) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.massOperationSheet(sheet, function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(setting.rowHeaderWidth !== undefined && setting.rowHeaderWidth !== null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                sheet.setColumnWidth(0, setting.rowHeaderWidth, GC.Spread.Sheets.SheetArea.rowHeader); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (setting.frozenCols) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 sheet.frozenColumnCount(setting.frozenCols); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -122,7 +125,13 @@ var SheetDataHelper = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         style.wordWrap = setting.data.wordWrap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return style; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getTipWidth: function(text){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const fontSize = 14.4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let widthArr = text.split('<br>'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        console.log(widthArr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     loadSheetData: function (setting, sheet, datas) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let me = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SheetDataHelper.protectdSheet(sheet); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -143,9 +152,9 @@ var SheetDataHelper = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         TipCellType.prototype.processMouseEnter = function (hitinfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let text = hitinfo.sheet.getText(hitinfo.row, hitinfo.col); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let tag = hitinfo.sheet.getTag(hitinfo.row, hitinfo.col); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            let hintHeight = datas[hitinfo.row] ? 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       /*     let hintHeight = datas[hitinfo.row] ? 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 datas[hitinfo.row].hintHeight ? datas[hitinfo.row].hintHeight : null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            : null; //定额库定额悬浮提示位置相关 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            : null; //定额库定额悬浮提示位置相关*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(tag !== undefined && tag){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 text = tag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -153,6 +162,19 @@ var SheetDataHelper = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 setting.pos = SheetDataHelper.getObjPos(sheet.getParent().qo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (setting.pos && text && text !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //固定不显示的div,存储文本获取固定div宽度,toolTipElement由于显示和隐藏,获取宽度不正确 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(!this._fixedTipElement){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    let div = $('#fixedTip')[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (!div) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        div = document.createElement("div"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        $(div).css("padding", 5) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            .attr("id", 'fixedTip'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        $(div).hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        document.body.insertBefore(div, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this._fixedTipElement = div; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $(this._fixedTipElement).html(text); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (!this._toolTipElement) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     let div = $('#autoTip')[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (!div) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -160,7 +182,7 @@ var SheetDataHelper = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         $(div).css("position", "absolute") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             .css("border", "1px #C0C0C0 solid") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             .css("box-shadow", "1px 2px 5px rgba(0,0,0,0.4)") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           // .css("font", "9pt Arial") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            .css("font", "0.9rem Calibri") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             .css("background", "white") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             .css("padding", 5) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             .attr("id", 'autoTip'); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -168,9 +190,16 @@ var SheetDataHelper = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         document.body.insertBefore(div, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this._toolTipElement = div; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    //实时读取位置信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if(hitinfo.sheet && hitinfo.sheet.getParent().qo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        setting.pos = SheetDataHelper.getObjPos(hitinfo.sheet.getParent().qo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     $(this._toolTipElement).html(text); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if(hintHeight){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        $(this._toolTipElement).css("top", setting.pos.y  + hitinfo.y - hintHeight).css("left", setting.pos.x + hitinfo.x + 15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    //定额库定额特殊处理 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if($(hitinfo.sheet.getParent().qo).attr('id') === 'stdSectionRations'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        let divWidth = $(this._fixedTipElement).width(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            divHeight = $(this._fixedTipElement).height(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        $(this._toolTipElement).css("top", setting.pos.y  + hitinfo.y - divHeight).css("left", setting.pos.x - divWidth); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         $(this._toolTipElement).css("top", setting.pos.y + hitinfo.y +15).css("left", setting.pos.x + hitinfo.x + 15); 
			 |