MaiXinRong 1 день назад
Родитель
Сommit
06104022ef
3 измененных файлов с 3 добавлено и 2 удалено
  1. 1 1
      app/service/cost_stage_analysis.js
  2. 1 1
      config/config.default.js
  3. 1 0
      sql/update.sql

+ 1 - 1
app/service/cost_stage_analysis.js

@@ -114,7 +114,7 @@ module.exports = app => {
             }
             const detail = costStage.stage_type === 'book'
                 ? await this.ctx.service.costStageBookDetail.getEndData(costStage)
-                : await this.ctx.service.costStageDetail.getEndData(costStage);
+                : await this.ctx.service.costStageDetail.getEndData(costStage.relaStage);
             const ledger = new Ledger.baseTree(this.ctx, {
                 id: 'tree_id', pid: 'tree_pid', order: 'tree_order',
                 level: 'tree_level', isLeaf: 'tree_is_leaf', fullPath: 'tree_full_path',

+ 1 - 1
config/config.default.js

@@ -276,6 +276,6 @@ module.exports = appInfo => {
         algorithm: 'aes-256-cbc',
     };
 
-    config.kkfileUrl = 'http://jlqa.smartcost.com.cn:8012/onlinePreview?url=';
+    config.kkfileUrl = '/onlinePreview?url=';
     return config;
 };

+ 1 - 0
sql/update.sql

@@ -4,7 +4,7 @@
 -- 3. 表结构部分,新添加的表,不可先创建后修改!!!
 --
 -- Version
+-- uat 2026-05-26
 -- prod
 
 ------------------------------------