|
@@ -51,6 +51,7 @@ function initMenu(data){
|
|
|
});
|
|
|
//右侧内容切换
|
|
|
$(".page").on("click",function(){
|
|
|
+ $(".info-item .cont,.flaw-item").removeClass("active"); //清空缺陷定位背景
|
|
|
const title = $(this).attr("code");
|
|
|
if(title==="缺陷总览"||title==="谈话告知书"||title==="知情同意书"){
|
|
|
$(".flaw-table .page-item").hide();
|
|
@@ -171,6 +172,7 @@ function formatInfoData(k,data){
|
|
|
$(".sub-menu .page[code="+pCode+"]").parents(".list-1").click();
|
|
|
$(".sub-menu .page[code="+pCode+"],.menu-mini .page[code="+pCode+"").click();
|
|
|
//缺陷定位
|
|
|
+ $(".info-item .cont,.flaw-item").removeClass("active");
|
|
|
const flawItem=$(".flaw-item .title a[code="+code+"]");
|
|
|
if(!flawItem.length){
|
|
|
$.alerModal({"message":'模块数据缺失~',type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
|