mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 10:56:50 +08:00
refactor(bpic_eli):移除风险历史页面中的 console.log 语句
- 删除了多处不必要的 console.log 语句,包括: - jsonData - index - navList[index].checkSummary
This commit is contained in:
@@ -451,8 +451,6 @@
|
||||
var jsonData = JSON.parse(data)
|
||||
navList = jsonData.content.content.resultList
|
||||
navCheckRecord = jsonData.content.content.riskCheckRecord
|
||||
console.log(jsonData)
|
||||
|
||||
var custom = document.getElementById('custom')
|
||||
var docs = document.getElementById('docs')
|
||||
custom.innerHTML = navCheckRecord.orgName || '未知客户'
|
||||
@@ -491,8 +489,6 @@
|
||||
}
|
||||
// 防止冒泡(可选)
|
||||
if (window.event) window.event.cancelBubble = true
|
||||
console.log(index)
|
||||
|
||||
// 移除所有已存在的active类
|
||||
var links = document.querySelectorAll
|
||||
? document.querySelectorAll('.link')
|
||||
@@ -524,7 +520,6 @@
|
||||
} else {
|
||||
navList[index].checkSummary = '<p>暂无风险摘要信息</p>' // 防止报错
|
||||
}
|
||||
console.log(navList[index].checkSummary)
|
||||
docs.innerHTML = navList[index].checkSummary
|
||||
|
||||
getDetail(navList[index])
|
||||
@@ -643,9 +638,6 @@
|
||||
treeItem.style.background = '#f0f4fa'
|
||||
treeItem.style.cursor = 'pointer'
|
||||
// treeItem.style.border = '1px solid #d6dde6'
|
||||
|
||||
console.log(resultDetail, 'resultDetail')
|
||||
|
||||
treeItem.innerHTML = resultDetail.typeName
|
||||
? resultDetail.typeName
|
||||
: resultDetail.dictLabel
|
||||
@@ -713,7 +705,6 @@
|
||||
// 绑定点击事件展开/收起内容
|
||||
treeItem.onclick = (function(index, item) {
|
||||
return function() {
|
||||
console.log(index)
|
||||
var resultContainer = document.getElementById(
|
||||
'result-container-' + index
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user