|
@@ -716,9 +716,6 @@ const pmShare = (function () {
|
|
|
//新建未分类建设项目及单项工程
|
|
//新建未分类建设项目及单项工程
|
|
|
let ungroupedProj = {ID: uuid.v1(), ParentID: -1, NextSiblingID: firstID, name: '未分类建设项目', projType: projectType.project};
|
|
let ungroupedProj = {ID: uuid.v1(), ParentID: -1, NextSiblingID: firstID, name: '未分类建设项目', projType: projectType.project};
|
|
|
let ungroupedEng = {ID: uuid.v1(), ParentID: ungroupedProj.ID, NextSiblingID: -1, name: '未分类单项工程', projType: projectType.engineering};
|
|
let ungroupedEng = {ID: uuid.v1(), ParentID: ungroupedProj.ID, NextSiblingID: -1, name: '未分类单项工程', projType: projectType.engineering};
|
|
|
- /*if (groupedDatas.length > 0) {
|
|
|
|
|
- groupedDatas[groupedDatas.length - 1].NextSiblingID = ungroupedProj.ID;
|
|
|
|
|
- }*/
|
|
|
|
|
//将未分类的数据归类
|
|
//将未分类的数据归类
|
|
|
sortSameDepthData(engs, ungroupedProj.ID);
|
|
sortSameDepthData(engs, ungroupedProj.ID);
|
|
|
sortSameDepthData(tenders, ungroupedEng.ID);
|
|
sortSameDepthData(tenders, ungroupedEng.ID);
|