Explorar o código

悬浮提示时间缩短,计算程序为请选择

zhangweicheng %!s(int64=5) %!d(string=hai) anos
pai
achega
9d479f5ce8

+ 1 - 1
public/web/tree_sheet/tree_sheet_helper.js

@@ -703,7 +703,7 @@ var TREE_SHEET_HELPER = {
         },600)
     },
     delayShowTips:function(hitinfo,setting,tips){//延时显示
-        let delayTimes = 500; //延时时间
+        let delayTimes = 200; //延时时间
         let now_timeStamp = +new Date();
         TREE_SHEET_HELPER.tipTimeStamp = now_timeStamp;
         setTimeout(function () {

+ 3 - 1
web/building_saas/main/js/views/main_tree_col.js

@@ -33,7 +33,9 @@ let MainTreeCol = {
         // CSL, 2017-11-28
         calcProgramName: function (node) {
             let programID = node.data.programID;
-            if (!programID) return
+            if (!programID){
+              return node.sourceType === projectObj.project.Bills.getSourceType()?"":"请选择…";
+            } 
             else return projectObj.project.calcProgram.compiledTemplateMaps[programID];
         },
         calcBase: function (node) {