|
@@ -164,9 +164,10 @@ $(function () {
|
|
mItems.parents(".list-1").addClass("slide-up");
|
|
mItems.parents(".list-1").addClass("slide-up");
|
|
mItems.parents("ul").show()
|
|
mItems.parents("ul").show()
|
|
// //显示对应内容
|
|
// //显示对应内容
|
|
- getQcCasesEntry();
|
|
|
|
|
|
+
|
|
//initModuleData();
|
|
//initModuleData();
|
|
global_activeTab = $(".sub-menu .page.active").attr("code");
|
|
global_activeTab = $(".sub-menu .page.active").attr("code");
|
|
|
|
+ getQcCasesEntry();
|
|
showFlawList();
|
|
showFlawList();
|
|
$("#contentInfo").scrollTop(0)
|
|
$("#contentInfo").scrollTop(0)
|
|
} else {
|
|
} else {
|
|
@@ -219,7 +220,6 @@ $(function () {
|
|
//填充患者信息
|
|
//填充患者信息
|
|
function initPatientInfo(data) {
|
|
function initPatientInfo(data) {
|
|
const obj = Object.assign({}, data, { checkState: global_check, checkStateHome: global_check_home });
|
|
const obj = Object.assign({}, data, { checkState: global_check, checkStateHome: global_check_home });
|
|
-
|
|
|
|
$("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
|
|
$("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
|
|
/*$(".check").on("click", function(){
|
|
/*$(".check").on("click", function(){
|
|
checkQc()
|
|
checkQc()
|
|
@@ -506,6 +506,7 @@ $(function () {
|
|
if (flag === '0') { //申诉
|
|
if (flag === '0') { //申诉
|
|
const flawsList = formatFlawKeys(global_flawData);
|
|
const flawsList = formatFlawKeys(global_flawData);
|
|
const info = JSON.parse(JSON.stringify(flawsList[global_activeTab])) && JSON.parse(JSON.stringify(flawsList[global_activeTab][i]))
|
|
const info = JSON.parse(JSON.stringify(flawsList[global_activeTab])) && JSON.parse(JSON.stringify(flawsList[global_activeTab][i]))
|
|
|
|
+ let defectContent
|
|
if (info.appealOperationType == 1) {
|
|
if (info.appealOperationType == 1) {
|
|
if (info.exampleStatus == 2) {
|
|
if (info.exampleStatus == 2) {
|
|
info.appealOperationType = 0
|
|
info.appealOperationType = 0
|
|
@@ -517,11 +518,16 @@ $(function () {
|
|
} else if (info.isDeleted == 'Y') {
|
|
} else if (info.isDeleted == 'Y') {
|
|
info.appealOperationType = 3
|
|
info.appealOperationType = 3
|
|
}
|
|
}
|
|
|
|
+ if(info.pageKeyList[0]){
|
|
|
|
+ defectContent = $("#anchor" + info.pageKeyList[0] + " p").html()
|
|
|
|
+ }
|
|
$("#delModal .title").text("申诉");
|
|
$("#delModal .title").text("申诉");
|
|
$("#delModal .modal-box").css("margin-top", "-215px");
|
|
$("#delModal .modal-box").css("margin-top", "-215px");
|
|
$("#editTmpl").tmpl(info).appendTo("#delModal .modal-body");
|
|
$("#editTmpl").tmpl(info).appendTo("#delModal .modal-body");
|
|
$("#flawDropTmpl").tmpl({ info: global_checkers }).appendTo("#delModal .modal-body ul");
|
|
$("#flawDropTmpl").tmpl({ info: global_checkers }).appendTo("#delModal .modal-body ul");
|
|
$("#qcInfo").off("input");
|
|
$("#qcInfo").off("input");
|
|
|
|
+
|
|
|
|
+
|
|
//申诉说明输入验证
|
|
//申诉说明输入验证
|
|
const num = 500;
|
|
const num = 500;
|
|
$("#qcInfo").on("input", function () {
|
|
$("#qcInfo").on("input", function () {
|
|
@@ -560,6 +566,7 @@ $(function () {
|
|
$(".edit-box .warning").show();
|
|
$(".edit-box .warning").show();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+
|
|
const obj = {
|
|
const obj = {
|
|
appealExplain: $("#delModal #qcInfo").val(),
|
|
appealExplain: $("#delModal #qcInfo").val(),
|
|
appealOperationType: info.appealOperationType ? info.appealOperationType : 0,
|
|
appealOperationType: info.appealOperationType ? info.appealOperationType : 0,
|
|
@@ -573,7 +580,8 @@ $(function () {
|
|
casesEntryId: info.casesEntryId,
|
|
casesEntryId: info.casesEntryId,
|
|
isReject: info.isReject,
|
|
isReject: info.isReject,
|
|
qcresultDetaiValue: info.score,
|
|
qcresultDetaiValue: info.score,
|
|
- qcresultDetailMsg: info.standardMsg
|
|
|
|
|
|
+ qcresultDetailMsg: info.standardMsg,
|
|
|
|
+ defectContent:defectContent
|
|
};
|
|
};
|
|
appealItem(obj);
|
|
appealItem(obj);
|
|
});
|
|
});
|