0327-海宁pad走访修改

This commit is contained in:
2026-03-27 18:31:43 +08:00
parent a9ac968749
commit 3938004783
2 changed files with 2 additions and 6 deletions

View File

@@ -2197,9 +2197,6 @@ public class SysCampaignServiceImpl implements ISysCampaignService
updateDTO.setRemark(StringUtils.trimToNull(updateDTO.getRemark()));
updateDTO.setIntentionProductValue(buildIntentionProductValue(updateDTO.getFeedbackItems()));
int rows = sysCampaignMapper.updateVisitInfoFeedback(updateDTO);
if (rows <= 0) {
throw new ServiceException("走访记录不存在或无权限修改");
}
return rows;
}

View File

@@ -679,9 +679,8 @@ export default {
.join(";");
},
isFeedbackCompleted(row) {
const source = row && row.source !== null && row.source !== undefined ? String(row.source).trim() : "";
const intentionProductValue = row && row.intentionProductValue ? String(row.intentionProductValue).trim() : "";
return !!source && !!intentionProductValue;
const interRes = row && row.interRes !== null && row.interRes !== undefined ? String(row.interRes).trim() : "";
return interRes === "0";
},
formatSourceLabel(source) {
const sourceValue = source === null || source === undefined ? "" : String(source);