|
|
@@ -629,7 +629,8 @@ module.exports = app => {
|
|
|
async indexForSafeCalc(ctx) {
|
|
|
// 安全计量入口
|
|
|
try {
|
|
|
- await this._getStageAuditViewData(ctx);
|
|
|
+ // await this._getStageAuditViewData(ctx);
|
|
|
+ await this.ctx.service.safeStage.loadAuditViewData(ctx.safeStage);
|
|
|
const pageShow = ctx.session.sessionProject.page_show;
|
|
|
pageShow.showArchive = 0;
|
|
|
pageShow.closeShowAllCustomized = 0;
|
|
|
@@ -714,8 +715,10 @@ module.exports = app => {
|
|
|
measureType,
|
|
|
categoryData,
|
|
|
tenderList,
|
|
|
- auditConst: auditConst.stage,
|
|
|
+ // auditConst: auditConst.stage,
|
|
|
+ auditConst: auditConst.common,
|
|
|
ledgerAuditConst: auditConst.ledger,
|
|
|
+ auditType: auditConst.auditType,
|
|
|
jsFiles: this.app.jsFiles.common.concat(this.app.jsFiles.report.main),
|
|
|
customSelects,
|
|
|
rptCustomType: reportConst.rptCustomType,
|