diff --git a/public/bpic_eli/risk_history.html b/public/bpic_eli/risk_history.html index 59734b4..42c4c47 100644 --- a/public/bpic_eli/risk_history.html +++ b/public/bpic_eli/risk_history.html @@ -701,6 +701,7 @@ var StateManager = { navList: [], // 侧边列表 navCheckRecord: {}, + navItem:{}, resultId: '', isLike: 0, taCode: Utils.getQueryParam('taCode') || 'C123504032025600027' // 默认值作为后备 @@ -940,6 +941,7 @@ // 获取详情 getDetail: function(navItem) { var actions = document.getElementById('actions'); + StateManager.navItem = navItem; actions.style.display = ''; if(navItem.checkStatus === 2){ // 从URL获取taCode @@ -1226,7 +1228,6 @@ var noPadding = Utils.getQueryParam('noPT'); ping.onclick = function() { DialogHandler.showDialog(); - var error = document.getElementById('error-msg') error.innerHTML = '' @@ -1234,7 +1235,7 @@ var saveBtn = document.getElementById('saveBtn') commentText.removeAttribute('disabled') - + commentText.value = StateManager.navItem.commentContent saveBtn.style.display = '' if(noNav || noPadding){ commentText.setAttribute('disabled',true)