|
@@ -164,6 +164,20 @@ function formatInfoData(k,data){
|
|
|
//知情同意书、谈话告知书
|
|
|
function formatSpecPage(data,title){
|
|
|
$("#appointBookTmpl").tmpl({title,data}).appendTo(".flaw-table");
|
|
|
+ $(".page-anchor").on("click",function(){
|
|
|
+ const code=$(this).attr("code");
|
|
|
+ const pCode=$(this).parents("tr").attr("code");
|
|
|
+ //菜单同步状态
|
|
|
+ $(".sub-menu .page[code="+pCode+"]").parents(".list-1").click();
|
|
|
+ $(".sub-menu .page[code="+pCode+"],.menu-mini .page[code="+pCode+"").click();
|
|
|
+ //缺陷定位
|
|
|
+ const flawItem=$(".flaw-item .title a[code="+code+"]");
|
|
|
+ if(!flawItem.length){
|
|
|
+ $.alerModal({"message":'模块数据缺失~',type:"tip",time:'1000',isFather: true, fatherWrapper: $(".flaw-table", parent.document)});
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ $(".flaw-item .title a[code="+code+"]").click();
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
function initList(data){
|