|
@@ -353,7 +353,7 @@ module.exports = app => {
|
|
const paymentDetail_id = ctx.params.did;
|
|
const paymentDetail_id = ctx.params.did;
|
|
// 支付审批: ctx.params.did 是 zh_payment_detail表的id, 通过这个did在 zh_payment_detail_audit表里找审核信息(td_id = ctx.params.did)
|
|
// 支付审批: ctx.params.did 是 zh_payment_detail表的id, 通过这个did在 zh_payment_detail_audit表里找审核信息(td_id = ctx.params.did)
|
|
// 没有计量期的概念!!!
|
|
// 没有计量期的概念!!!
|
|
- const paymentAuditorList = await ctx.service.paymentDetailAudit.getAuditors(paymentDetail_id);
|
|
|
|
|
|
+ // const paymentAuditorList = await ctx.service.paymentDetailAudit.getAuditors(paymentDetail_id);
|
|
const tender = ctx.paymentTender;
|
|
const tender = ctx.paymentTender;
|
|
const { treeNodes, commonArrs, custCfg } = await this._createNodes(ctx, sourceTypeConst.sourceType.payment_safe, tender.pid);
|
|
const { treeNodes, commonArrs, custCfg } = await this._createNodes(ctx, sourceTypeConst.sourceType.payment_safe, tender.pid);
|
|
const stageList = [];
|
|
const stageList = [];
|
|
@@ -379,7 +379,7 @@ module.exports = app => {
|
|
const categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
const categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
// 获取用户权限
|
|
// 获取用户权限
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
|
|
- const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
|
|
|
|
|
|
+ // const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
|
|
// 获取用户可查看的标段
|
|
// 获取用户可查看的标段
|
|
// ...
|
|
// ...
|
|
const tenderList = [];
|
|
const tenderList = [];
|
|
@@ -519,7 +519,7 @@ module.exports = app => {
|
|
const categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
const categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
// 获取用户权限
|
|
// 获取用户权限
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
|
|
- const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
|
|
|
|
|
|
+ // const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
|
|
// 获取用户可查看的标段
|
|
// 获取用户可查看的标段
|
|
// ...
|
|
// ...
|
|
const tenderList = [];
|
|
const tenderList = [];
|
|
@@ -634,7 +634,7 @@ module.exports = app => {
|
|
const pid = ctx.session.sessionProject.id;
|
|
const pid = ctx.session.sessionProject.id;
|
|
const budget_id = -1;
|
|
const budget_id = -1;
|
|
const sp_id = -1;
|
|
const sp_id = -1;
|
|
- const { treeNodes, custCfg } = await this._createNodes(ctx, source_type, tenderId);
|
|
|
|
|
|
+ const { treeNodes, custCfg } = await this._createNodes(ctx, source_type, pid);
|
|
const sorts = ctx.query.sort ? ctx.query.sort : 0;
|
|
const sorts = ctx.query.sort ? ctx.query.sort : 0;
|
|
const orders = ctx.query.order ? ctx.query.order : 0;
|
|
const orders = ctx.query.order ? ctx.query.order : 0;
|
|
const state = ctx.session.sessionProject.page_show.openChangeState && ctx.query.state ? parseInt(ctx.query.state) : 0;
|
|
const state = ctx.session.sessionProject.page_show.openChangeState && ctx.query.state ? parseInt(ctx.query.state) : 0;
|
|
@@ -662,7 +662,7 @@ module.exports = app => {
|
|
const categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
const categoryData = await this.ctx.service.category.getAllCategory(this.ctx.session.sessionProject.id);
|
|
// 获取用户权限
|
|
// 获取用户权限
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(this.ctx.session.sessionUser.accountId);
|
|
- const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
|
|
|
|
|
|
+ // const userPermission = accountInfo !== undefined && accountInfo.permission !== '' ? JSON.parse(accountInfo.permission) : null;
|
|
// 获取用户可查看的标段
|
|
// 获取用户可查看的标段
|
|
// ...
|
|
// ...
|
|
const tenderList = [];
|
|
const tenderList = [];
|