|
@@ -235,6 +235,8 @@ module.exports = app => {
|
|
|
cConnector = c_code_rules && c_code_rules[data.type + '_connector'] ? c_code_rules[data.type + '_connector'] : null;
|
|
|
if (data.type === codeRuleConst.ruleField[codeRuleConst.ruleType.apply]) {
|
|
|
changeCount = await ctx.service.changeApply.count({ tid: tenderId });
|
|
|
+ } else if (data.type === codeRuleConst.ruleField[codeRuleConst.ruleType.plan]) {
|
|
|
+ changeCount = await ctx.service.changePlan.count({ tid: tenderId });
|
|
|
} else {
|
|
|
changeCount = await ctx.service.changeProject.count({ tid: tenderId, type: codeRuleConst.ruleType[data.type] });
|
|
|
}
|