mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-10 03:16:49 +08:00
fix(bpic_eli): 修复切换菜单后投保人右侧按钮未隐藏的问题
- 在获取详情函数中添加了对 actions 元素的显示和隐藏逻辑 -通过设置元素的 display 属性来控制按钮的显示状态
This commit is contained in:
@@ -584,7 +584,7 @@
|
||||
</div>
|
||||
<div class='action-container'>
|
||||
<h4 id="insured" style='float:left'>投保人</h4>
|
||||
<div style='float:right' class='actions'>
|
||||
<div style='float:right' class='actions' id='actions'>
|
||||
<button id='zan'>
|
||||
<img src='./zan.png' alt=''>
|
||||
</button>
|
||||
@@ -932,6 +932,8 @@
|
||||
|
||||
// 获取详情
|
||||
getDetail: function(navItem) {
|
||||
var actions = document.getElementById('actions');
|
||||
actions.style.display = '';
|
||||
console.log(navItem)
|
||||
if(navItem.checkStatus === 2){
|
||||
// 从URL获取taCode
|
||||
@@ -1144,6 +1146,8 @@
|
||||
}
|
||||
);
|
||||
} else {
|
||||
|
||||
actions.style.display = 'none';
|
||||
// 添加加载提示
|
||||
var resultDom = document.getElementById('detail-container');
|
||||
resultDom.innerHTML =
|
||||
|
||||
Reference in New Issue
Block a user