|
@@ -322,7 +322,7 @@ function copy(name) {
|
|
|
$(".copy").click(function () {
|
|
|
var texts = document.getElementById("result_title").innerText;
|
|
|
if (texts == '') {
|
|
|
- Toast('结果为空,无法复制', 500, 'warn')
|
|
|
+ Toast('温馨提示:结果为空,无法复制', 500, 'warn')
|
|
|
return
|
|
|
}
|
|
|
var inputs = document.getElementById("inputs");
|
|
@@ -393,14 +393,15 @@ function getResult(pushInfo, textType) {
|
|
|
for (var i = 0; i < pushInfo.length; i++) {
|
|
|
if (pushInfo[i].content.max >= num && num >= pushInfo[i].content.min && !tmp) {
|
|
|
result = pushInfo[i].result + '(' + num + '分' + ')'
|
|
|
- proposal = pushInfo[i].pushInfo
|
|
|
+ proposal = pushInfo[i].pushInfo + ';' + proposals.join(";");
|
|
|
break
|
|
|
} else if (pushInfo[i].content.max >= num && num >= pushInfo[i].content.min && tmp) {
|
|
|
- result = pushInfo[i].result + '(' + num + '分' + ')' + ';' + tmp
|
|
|
- proposal = pushInfo[i].pushInfo
|
|
|
+ result = pushInfo[i].result + '(' + num + '分' + ')' + ';' + tmp
|
|
|
+ proposal = pushInfo[i].pushInfo + ';' + proposals.join(";");
|
|
|
break
|
|
|
} else {
|
|
|
result = tmp
|
|
|
+ proposal = proposals.join(";");
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
@@ -466,10 +467,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['静态知识']) {
|
|
|
$(".tabList .tab").eq(1).addClass("activeTab")
|