|
@@ -36,6 +36,7 @@ const multiparty = require("multiparty");
|
|
|
let logger = require("../../../logs/log_helper").logger;
|
|
|
let rp = require('request-promise');
|
|
|
const commonUtil = require('../../../public/common_util');
|
|
|
+const { BudgetType } = require('../../../public/common_constants');
|
|
|
//统一回调函数
|
|
|
let callback = function (req, res, err, message, data) {
|
|
|
res.json({ error: err, message: message, data: data });
|
|
@@ -254,6 +255,8 @@ module.exports = {
|
|
|
projInfo.property.basicInformation = constructionProperty && constructionProperty.basicInformation ? constructionProperty.basicInformation : [];
|
|
|
//编制说明
|
|
|
projInfo.property.compilationIllustrationProject = constructionProperty && constructionProperty.compilationIllustration ? constructionProperty.compilationIllustration : '';
|
|
|
+ // 概算类型
|
|
|
+ projInfo.property.budgetType = constructionProperty && constructionProperty.budgetType || BudgetType.BUILDING;
|
|
|
//获取单位工程完整目录结构
|
|
|
let fullPath = await pm_facade.getFullPath(projectID);
|
|
|
projInfo.fullPath = fullPath;
|