diff --git a/public/bpic_eli/risk_history.html b/public/bpic_eli/risk_history.html index 2983af8..23e1bf6 100644 --- a/public/bpic_eli/risk_history.html +++ b/public/bpic_eli/risk_history.html @@ -1201,10 +1201,13 @@ ) { examSelect.value = '不通过' } - - // examSelect.value =detailJson.content.content.approveInfo.approveResult examTextarea.value = detailJson.content.content.approveInfo.approveOpinion + // 如果没有 + if (!detailJson.content.content.approveInfo.approveOpinion) { + examTextarea.value = '-' + } + // examSelect.value =detailJson.content.content.approveInfo.approveResult // 根据是否有审批意见来控制修改审批意见按钮的状态 if (modifyExamButton) { @@ -1217,7 +1220,7 @@ } else { modifyExamButton.disabled = true modifyExamButton.style.opacity = '0.5' - examTextarea.value = '-' + // examTextarea.value = '-' modifyExamButton.style.cursor = 'not-allowed' } }