|
@@ -531,10 +531,10 @@ function renderTab(detailList, scale) {
|
|
|
$(".tabList").append(`<span class="tab" data-module="notice" data-title="` + noticeName + `">注意事项</span>`)
|
|
|
//$(".tabBox .title").html(noticeName);
|
|
|
}
|
|
|
- if (scale || getUrlArgObject('gauge') == 'gauge' || getUrlArgObject('type') == 8) {
|
|
|
- $(".tabList").append(`<span class="tab" data-module="scale" data-title="` + showName + `">评估内容</span>`)
|
|
|
- //$(".tabBox .title").html(noticeName);
|
|
|
- }
|
|
|
+ // if (scale || getUrlArgObject('gauge') == 'gauge' || getUrlArgObject('type') == 8) {
|
|
|
+ // $(".tabList").append(`<span class="tab" data-module="scale" data-title="` + showName + `">评估内容</span>`)
|
|
|
+ // //$(".tabBox .title").html(noticeName);
|
|
|
+ // }
|
|
|
let defaultModuleName
|
|
|
if ((getUrlArgObject('page') && getUrlArgObject('page') == 1 && scale && detailList['静态知识']) || getUrlArgObject('scale') == 'scale') {
|
|
|
$(".tabList .tab").eq(1).addClass("activeTab")
|
|
@@ -543,7 +543,7 @@ function renderTab(detailList, scale) {
|
|
|
$(".tabList .tab").eq(0).addClass("activeTab")
|
|
|
defaultModuleName = $(".tabList .tab").eq(0).attr("data-module")
|
|
|
}
|
|
|
- if (detailList['静态知识'] == undefined) {
|
|
|
+ if (!scale || detailList['静态知识'] == undefined) {
|
|
|
$(".tabList .tab").eq(0).removeClass("activeTab")
|
|
|
}
|
|
|
$(`.${defaultModuleName}`).css("display", "block")
|