|
@@ -369,7 +369,6 @@ function renderTab(data) {
|
|
})
|
|
})
|
|
$(".appealAgain").click(function () {
|
|
$(".appealAgain").click(function () {
|
|
let i = $(this).parent().attr("data-index")
|
|
let i = $(this).parent().attr("data-index")
|
|
-
|
|
|
|
getCheckUser()
|
|
getCheckUser()
|
|
getAppealOperationType(data[i])
|
|
getAppealOperationType(data[i])
|
|
})
|
|
})
|
|
@@ -383,10 +382,10 @@ function renderTab(data) {
|
|
$(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id + "&hospitalId=" + hospitalId + "&behospitalCode=" + behospitalCode + "&casesEntryId=" + casesEntryId + "&qcresultDetailId=" + qcresultDetailId + "&appealOperationType=" + appealOperationType + "&page=" + page + "&form=" + 3)
|
|
$(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id + "&hospitalId=" + hospitalId + "&behospitalCode=" + behospitalCode + "&casesEntryId=" + casesEntryId + "&qcresultDetailId=" + qcresultDetailId + "&appealOperationType=" + appealOperationType + "&page=" + page + "&form=" + 3)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-function getAppealOperationType(data) {
|
|
|
|
- post(api.getAppealOperationType, { appealOperationType: data.appealOperationType, exampleStatus: data.exampleStatus, qcresultDetailId: data.qcresultDetailId }).then(function (res) {
|
|
|
|
|
|
+function getComplaintDetailMsg(data){
|
|
|
|
+ post(api.getComplaintDetailMsg, { behospitalCode: data.behospitalCode, casesEntryId: data.casesEntryId, id: data.qcresultDetailId }).then(function (res) {
|
|
if (res.data.code === '0') {
|
|
if (res.data.code === '0') {
|
|
- data.appealOperationType = res.data.data.appealOperationType
|
|
|
|
|
|
+ data.qcresultDetailMsg = res.data.data.qcresultDetailMsg
|
|
$("#delModal .modal-body").html("");
|
|
$("#delModal .modal-body").html("");
|
|
$("#delModal").show();
|
|
$("#delModal").show();
|
|
$("#appealDef").tmpl(data).appendTo("#delModal .modal-body");
|
|
$("#appealDef").tmpl(data).appendTo("#delModal .modal-body");
|
|
@@ -402,6 +401,26 @@ function getAppealOperationType(data) {
|
|
|
|
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+function getAppealOperationType(data) {
|
|
|
|
+ post(api.getAppealOperationType, { appealOperationType: data.appealOperationType, exampleStatus: data.exampleStatus, qcresultDetailId: data.qcresultDetailId }).then(function (res) {
|
|
|
|
+ if (res.data.code === '0') {
|
|
|
|
+ data.appealOperationType = res.data.data.appealOperationType
|
|
|
|
+ getComplaintDetailMsg(data)
|
|
|
|
+ // $("#delModal .modal-body").html("");
|
|
|
|
+ // $("#delModal").show();
|
|
|
|
+ // $("#appealDef").tmpl(data).appendTo("#delModal .modal-body");
|
|
|
|
+ // $("#delModal .confirm").text("确定").unbind("click").click(function () {
|
|
|
|
+ // addAppealInfo(data)
|
|
|
|
+ // });
|
|
|
|
+ } else {
|
|
|
|
+ $.alerModal({ "message": res.data.msg || '失败,请重试~', type: "tip", time: '1000', win: 'warn' });
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ $.alerModal({ "message": '失败,请重试~', type: "tip", time: '1000', win: 'default' });
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+}
|
|
function cancelAppealInfo(id) {
|
|
function cancelAppealInfo(id) {
|
|
post(api.cancelAppealInfo, { id: id }).then(function (res) {
|
|
post(api.cancelAppealInfo, { id: id }).then(function (res) {
|
|
if (res.data.code === '0') {
|
|
if (res.data.code === '0') {
|