mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 19:06:49 +08:00
fix(public):修复风险审批历史页面的展示问题- 当没有审批意见时,在文本域中显示 '-'- 移除了多余的重复代码-优化了审批意见文本域的逻辑处理
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user