|
@@ -112,7 +112,6 @@ $(function () {
|
|
|
// initScroll("subMenu","Y",2)
|
|
|
}
|
|
|
function iframeShow(title) {
|
|
|
- console.log(title)
|
|
|
if (title === '医嘱信息') {
|
|
|
$("#pacsIframeIn,#assistIframeIn,#pacsDetailIframeIn,#contentNursing").css("display", "none")
|
|
|
$("#contentIframeIn").css({ display: 'block' }).attr("src", 'advice.html').contents().find(".adviceWrp").height(window.innerHeight - $("#patientInfo").height() - 20 + 'px')
|
|
@@ -342,10 +341,10 @@ $(function () {
|
|
|
function initList(data, type) {
|
|
|
//$("#flawTotalList").tmpl({title:"缺陷总览",data:data}).appendTo(".flaw-table");
|
|
|
formatSpecPage(data, "缺陷总览", type);
|
|
|
- if(form == 44){
|
|
|
+ if (form == 44) {
|
|
|
$(".flaw-table").hide();
|
|
|
$(".flaw-table .page-item[code=" + global_activeTab + "]").hide();
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$(".flaw-table").show();
|
|
|
$(".flaw-table .page-item[code=" + global_activeTab + "]").show();
|
|
|
}
|
|
@@ -508,7 +507,7 @@ $(function () {
|
|
|
}
|
|
|
} else if (info.appealOperationType == 3) {
|
|
|
info.appealOperationType = 0
|
|
|
- }else if(info.isDeleted == 'Y'){
|
|
|
+ } else if (info.isDeleted == 'Y') {
|
|
|
info.appealOperationType = 3
|
|
|
}
|
|
|
$("#delModal .title").text("申诉");
|
|
@@ -532,14 +531,14 @@ $(function () {
|
|
|
return;
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
$("#delModal .confirm").unbind("click").click(function () {
|
|
|
if ($(".edit-box .warning").is(":visible")) {
|
|
|
return;
|
|
|
}
|
|
|
const obj = {
|
|
|
appealExplain: $("#delModal #qcInfo").val(),
|
|
|
- appealOperationType: info.appealOperationType?info.appealOperationType:0,
|
|
|
+ appealOperationType: info.appealOperationType ? info.appealOperationType : 0,
|
|
|
appealType: 1,
|
|
|
checkId: $(".checker-drop-input").attr("code"),
|
|
|
modeId: info.modelId,
|
|
@@ -550,7 +549,7 @@ $(function () {
|
|
|
casesEntryId: info.casesEntryId,
|
|
|
casesId: info.casesId,
|
|
|
isReject: info.isReject,
|
|
|
- qcresultDetaiValue:info.score
|
|
|
+ qcresultDetaiValue: info.score
|
|
|
};
|
|
|
appealItem(obj);
|
|
|
});
|
|
@@ -679,7 +678,7 @@ $(function () {
|
|
|
const param = {};
|
|
|
post(api.getReviewer, param).then(function (res) {
|
|
|
if (res.data.code === '0') {
|
|
|
- const data = res.data.data; console.log(223, data)
|
|
|
+ const data = res.data.data;
|
|
|
global_checkers = data;
|
|
|
$("#delModal .checker-drop-box ul").html("");
|
|
|
$("#flawDropTmpl").tmpl({ info: data }).appendTo("#delModal .checker-drop-box ul");
|
|
@@ -716,7 +715,8 @@ $(function () {
|
|
|
}
|
|
|
//审核人下拉事件
|
|
|
function userDropEvent(domSelector, selectEvent) {
|
|
|
- $("body").on("click", domSelector, function () {
|
|
|
+ $("body").on("click", domSelector, function (e) {
|
|
|
+ e.stopPropagation()
|
|
|
$(domSelector).parents(".drop-box").toggleClass("show");
|
|
|
});
|
|
|
$("body").on("click", ".checker-drop-box li", function () {
|
|
@@ -727,6 +727,10 @@ $(function () {
|
|
|
$(domSelector).parents(".drop-box").removeClass("show");
|
|
|
});
|
|
|
}
|
|
|
+ $(document).on("click", function () {
|
|
|
+ $(".checker-drop-box").removeClass("show");
|
|
|
+
|
|
|
+ })
|
|
|
//增加条目弹窗元素事件
|
|
|
function flawDropEvent(domSelector, getData, selectEvent) {
|
|
|
$("body").off("click,blur,input");
|