Sfoglia il codice sorgente

删除调试信息

zhangweicheng 6 anni fa
parent
commit
f4e30c1f67

+ 0 - 1
web/building_saas/main/html/main.html

@@ -41,7 +41,6 @@
         let userID = '<%- userID %>';
         let projectReadOnly = JSON.parse('<%- projectReadOnly %>');
         let projectCooperate = JSON.parse('<%- projectCooperate %>');
-        console.log(projectCooperate);
         const G_SHOW_BLOCK_LIB = false;
 //        const G_SHOW_BLOCK_LIB = false;
     </script>

+ 0 - 1
web/building_saas/main/js/models/quantity_detail.js

@@ -193,7 +193,6 @@ var quantity_detail = {
             let treeNode = gljOprObj.updateDataNodeProperty(node.ID,node.data);
             if(treeNode){//触发计算
                 if(treeNode.sourceType === project.Bills.getSourceType()){
-                    console.log(treeNode.data.quantity);
                     this.updateBillQuantity(treeNode.data.quantity,treeNode,treeNode.data.quantityEXP);
                 }else {//更新定额所使用的值要用还没转换前的
                     node.data? this.updateRationQuantity(node.data.r_quantity,treeNode,treeNode.data.quantityEXP):"";

+ 0 - 1
web/building_saas/main/js/views/fee_rate_view.js

@@ -626,7 +626,6 @@ var feeRateObject={
                  }
              }
          }
-         console.log(updateDatas);
         if(updateDatas.length > 0){
             $.bootstrapLoading.start();
             feeRate.updateFeeRatesByIDs(updateDatas,function () {

+ 0 - 3
web/building_saas/main/js/views/glj_view.js

@@ -123,10 +123,8 @@ var gljOprObj = {
     onRationGLJSelectionChange:function(sender,args){
         let me = gljOprObj;
         let selected = args.newSelections[0] ? args.newSelections[0] : {row: 0, col: 0};
-        console.log("selected changed-------");
         //这主要记录是否点击了sheet以外的地方,如果点击了sheet里的单元格,则将cancelUpdate设置为true不触发提交更新操作
         me.cancelUpdate = true;//取消延时任务由这里进行判断处理
-        console.log("change to true");
         me.sheetInitSelection(selected);
         if(me.rationGljEditObj){
             if(ifNeedUpdate(selected)){
@@ -1082,7 +1080,6 @@ var gljOprObj = {
                 distTypeTree.comboDatas.push({text: distTypeObj.data.fullName, value: distTypeObj.data.ID});
             }
         });
-        console.log(distTypeTree);
         return distTypeTree;
     },
     doInsertGLJ: function () {

+ 0 - 1
web/building_saas/main/js/views/glj_view_contextMenu.js

@@ -377,7 +377,6 @@ function getGLJData(actionType) {
     $('#actionType').val(actionType);
     $.bootstrapLoading.start();
     projectObj.project.ration_glj.getGLJData(function (result) {
-        console.log(+new Date());
         gljOprObj.treeData =  result.datas.treeData;
         //zTreeHelper.createTree(result.datas.treeData, gljOprObj.gljTreeSetting, "gljTree", gljOprObj);
         gljOprObj.initClassTree('std', gljOprObj.treeData.std);

+ 0 - 7
web/building_saas/main/js/views/project_view.js

@@ -873,11 +873,9 @@ var projectObj = {
         var that = this;
         this.project = PROJECT.createNew(scUrlUtil.GetQueryString('project'), userID);
         let startTime = +new Date();
-        console.log("开始加载-----"+startTime);
         $.bootstrapLoading.start();
         this.project.loadDatas(function (err) {
             let mTime = +new Date();
-            console.log(`get data时间——${mTime - startTime}`);
             //快速列设置
             if(!colSettingObj.getVisible('itemCharacterText')){
                 switchTznrHtml(true);
@@ -891,7 +889,6 @@ var projectObj = {
                 subObj.initSubSpread();//初始化主界面下方的表格
 
                 let quantityTime = +new Date();
-                console.log(`计算quantity时间——${quantityTime - mTime}`);
                 that.project.property = projectInfoObj.projectInfo.property;
                 if (typeof overwriteRationCalcBases === 'function')
                     overwriteRationCalcBases(that.project.property.taxType);
@@ -901,7 +898,6 @@ var projectObj = {
                 // that.project.initCalcFields();
                 let str = JSON.stringify(that.project.projSetting.main_tree_col);
                 that.project.projSetting.mainGridSetting = JSON.parse(str);
-                console.log(that.project.projSetting.mainGridSetting);
                 that.project.projSetting.mainGridSetting.frozenCols = 4;
                 TREE_SHEET_HELPER.initSetting($('#billsSpread')[0], that.project.projSetting.mainGridSetting);
                 that.project.projSetting.mainGridSetting.setAutoFitRow = MainTreeCol.getEvent("setAutoFitRow");
@@ -949,7 +945,6 @@ var projectObj = {
                 that.mainController = TREE_SHEET_CONTROLLER.createNew(that.project.mainTree, that.mainSpread.getActiveSheet(), that.project.projSetting.mainGridSetting);
                 that.mainController.showTreeData();
                 let endShowTime = +new Date();
-                console.log(`show data时间——${endShowTime - startShowTime}`);
                 that.mainController.bind('refreshBaseActn', that.refreshBaseActn);
                 that.mainController.bind(TREE_SHEET_CONTROLLER.eventName.beforeTreeSelectedChange, that.beforeMainTreeSelectedChange);
                 that.mainController.bind(TREE_SHEET_CONTROLLER.eventName.treeSelectedChanged, that.treeSelectedChanged);
@@ -980,8 +975,6 @@ var projectObj = {
                 //}
                 socketObject.connect();//连接socket服务器
                 let endTime = +new Date();
-                console.log(`其它时间——${endTime - endShowTime}`);
-                console.log("加载完成-----"+endTime);
                 console.log(`时间——${endTime - startTime}`);
                 that.project.projectMarkChecking();//是否需要重新进行造价计算
                 autoFlashHeight();