|
@@ -1417,6 +1417,61 @@ let zTreeOprObj = {
|
|
|
} else {
|
|
|
$("#element_Flags_tplType")[0].selectedIndex = 0;
|
|
|
}
|
|
|
+
|
|
|
+ if (me.currentNode.flags.hasOwnProperty("sumLevelType")) {
|
|
|
+ let sumLvType = me.currentNode.flags["sumLevelType"];
|
|
|
+ if (sumLvType === "construct")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 1;
|
|
|
+ else if (sumLvType === "Single")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 2;
|
|
|
+ else if (sumLvType === "custom")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 3;
|
|
|
+ else if (sumLvType === "unitPriceContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 4;
|
|
|
+ else if (sumLvType === "stageUnitContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 5;
|
|
|
+ else if (sumLvType === "stageUnitFontContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 6;
|
|
|
+ else if (sumLvType === "stageUnitBackContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 7;
|
|
|
+ else if (sumLvType === "stageContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 8;
|
|
|
+ else if (sumLvType === "stageGLJContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 9;
|
|
|
+ else if (sumLvType === "stageBackContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 10;
|
|
|
+ else if (sumLvType === "stageMultipleUnitContrast")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 11;
|
|
|
+ else if (sumLvType === "complexUnit")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 12;
|
|
|
+ else if (sumLvType === "complexConstruct")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 13;
|
|
|
+ else if (sumLvType === "complexConstructMultiple")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 14;
|
|
|
+ else if (sumLvType === "complexSelfConstructMultiple")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 15;
|
|
|
+ else if (sumLvType === "businessSummary")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 16;
|
|
|
+ else if (sumLvType === "changeProjectSummary")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 17;
|
|
|
+ else if (sumLvType === "changeProjectGljSummary")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 18;
|
|
|
+ else if (sumLvType === "compareConstruct")
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 19;
|
|
|
+ else {
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 0;
|
|
|
+ }
|
|
|
+ $("#outputDesignDataBar").show();
|
|
|
+ if (me.currentNode.flags.hasOwnProperty("outputDesignData")) {
|
|
|
+ if (me.currentNode.flags.outputDesignData) {
|
|
|
+ $("#outputDesignData").attr("checked", true);
|
|
|
+ } else {
|
|
|
+ $("#outputDesignData").attr("checked", false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 0;
|
|
|
+ }
|
|
|
} else {
|
|
|
$("#element_flags_select")[0].selectedIndex = 0;
|
|
|
$("#element_constructSumFlags_select")[0].selectedIndex = 0;
|
|
@@ -1431,6 +1486,7 @@ let zTreeOprObj = {
|
|
|
$("#element_prjFlags_select")[0].value = "";
|
|
|
$("#element_prjFlags_selectStr")[0].value = "";
|
|
|
$("#valuationSelector .mutiSelector li").removeClass("checked");
|
|
|
+ $("#element_sumLv_flags")[0].selectedIndex = 0;
|
|
|
}
|
|
|
|
|
|
if (
|