|
@@ -620,7 +620,7 @@ module.exports = app => {
|
|
|
async _returnRptProjectList(ctx, formProcess = false) {
|
|
|
// 获取报表表单列表
|
|
|
if (ctx.payment.auditPermission.view_all || ctx.paymentTender.uid === ctx.session.sessionUser.accountId || formProcess) {
|
|
|
- const rptProject = await ctx.service.rptTreeNode.getDataByCondition({ pid: ctx.session.sessionProject.id, name: '01.支付审批报表' });
|
|
|
+ const rptProject = await ctx.service.rptTreeNode.getDataByCondition({ pid: ctx.session.sessionProject.id, source_type: 100 });
|
|
|
const rptProjectList = [];
|
|
|
const newRptList = rptProject && rptProject.items ? JSON.parse(rptProject.items) : [];
|
|
|
ctx.rptListNum = 0;
|