|
@@ -725,9 +725,11 @@ const projTreeObj = {
|
|
imgWidth = 14;
|
|
imgWidth = 14;
|
|
}
|
|
}
|
|
else if(node.data.projType === projectType.tender){
|
|
else if(node.data.projType === projectType.tender){
|
|
- img = document.getElementById('tender_pic');
|
|
|
|
|
|
+ //如果单位工程不是实时计算结果,则显示刷新标记
|
|
|
|
+ img = node.data.changeMark && node.data.changeMark!=""? document.getElementById('refresh_pic'):document.getElementById('tender_pic');
|
|
imgWidth = 14;
|
|
imgWidth = 14;
|
|
}
|
|
}
|
|
|
|
+
|
|
ctx.drawImage(img, centerX+indent/2+3, centerY - 7, imgWidth,imgHeight);
|
|
ctx.drawImage(img, centerX+indent/2+3, centerY - 7, imgWidth,imgHeight);
|
|
}
|
|
}
|
|
// Draw Vertical Line
|
|
// Draw Vertical Line
|
|
@@ -1659,6 +1661,7 @@ function init() {
|
|
billValuation = billValuation.replace(/\n/g, '\\n');
|
|
billValuation = billValuation.replace(/\n/g, '\\n');
|
|
rationValuation = rationValuation.replace(/\n/g, '\\n');
|
|
rationValuation = rationValuation.replace(/\n/g, '\\n');
|
|
//init spread and pmTree
|
|
//init spread and pmTree
|
|
|
|
+ socketObject.connect('pm');//socket 连接;
|
|
$.bootstrapLoading.start();
|
|
$.bootstrapLoading.start();
|
|
GetAllProjectData(function (datas) {
|
|
GetAllProjectData(function (datas) {
|
|
CommonAjax.post('/options/getOptions', [], function (rstData) {
|
|
CommonAjax.post('/options/getOptions', [], function (rstData) {
|
|
@@ -3377,6 +3380,8 @@ function refreshProjSummary(project, summaryInfo) {
|
|
node.data.rate = nodeInfo.rate;
|
|
node.data.rate = nodeInfo.rate;
|
|
node.data.buildingArea = nodeInfo.buildingArea;
|
|
node.data.buildingArea = nodeInfo.buildingArea;
|
|
node.data.perCost = nodeInfo.perCost;
|
|
node.data.perCost = nodeInfo.perCost;
|
|
|
|
+ node.data.changeMark = nodeInfo.changeMark;
|
|
|
|
+ if(nodeInfo.property) node.data.property = nodeInfo.property;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
projTreeObj.refreshNodeData(refreshNodes);
|
|
projTreeObj.refreshNodeData(refreshNodes);
|