|
@@ -137,7 +137,7 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
state = ""
|
|
|
operationType = ""
|
|
|
moduleName = "",
|
|
|
- data_desc = ["leave_hospital_date"]
|
|
|
+ data_desc = ["leave_hospital_date"]
|
|
|
if (isPlacefile != 1) {
|
|
|
data_desc = ["behospital_date"]
|
|
|
}
|
|
@@ -185,9 +185,9 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
$(".modularList").css("display", "none")
|
|
|
$(".selectModular").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
// $('.selectModular ').addClass('unSelect')
|
|
|
- $('.fpSelectCheck').html('全部')
|
|
|
- $(".fpCheckList").css("display", "none")
|
|
|
- $(".fpSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.selectType').html('全部')
|
|
|
+ $(".typeList ").css("display", "none")
|
|
|
+ $(".selectType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$('.qcSelectCheck').html('全部')
|
|
|
$(".qcCheckList").css("display", "none")
|
|
|
$(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
@@ -350,7 +350,7 @@ function renderTab(data) {
|
|
|
<td >${item.exampleStatus == 0 ? '<span class="review"><i></i>待审核</span>' : item.exampleStatus == 1 ? '<span class="rejected"><i></i>已驳回</span>' : '<span class="approved"><i></i>审核通过</span>'}</td>
|
|
|
<td data-id="${item.id || ""}" data-hos="${item.hospitalId || ""}" data-behospitalCode="${item.behospitalCode || ""}" data-casesEntryId="${item.casesEntryId || ""}" data-qcresultDetailId="${item.qcresultDetailId || ""}" data-appealOperationType="${item.appealOperationType || ""}" data-index=${i}>
|
|
|
${item.exampleStatus == 0 ? `<span class="appealBtn goHomeDetail1">查看</span><span class="appealBtn withdraw" >撤回</span>` : ''}
|
|
|
- ${item.exampleStatus == 1 || item.exampleStatus == 2 ? `<span class="appealBtn appealAgain">再次申诉</span>` : ''}
|
|
|
+ ${item.exampleStatus == 1 || item.exampleStatus == 2 ? `<span class="appealBtn goHomeDetail1">查看</span><span class="appealBtn appealAgain">再次申诉</span>` : ''}
|
|
|
</td>
|
|
|
</tr>
|
|
|
`
|
|
@@ -358,8 +358,12 @@ function renderTab(data) {
|
|
|
$('.tbody').html(str)
|
|
|
$(".withdraw").click(function () {
|
|
|
let id = $(this).parent().attr("data-id")
|
|
|
- console.log(id);
|
|
|
- cancelAppealInfo(id)
|
|
|
+ $("#delModal .modal-body").html("确定撤回该申诉?<br/>注:第一次提交的申诉撤回后,记录将被删除。");
|
|
|
+ $("#delModal").show();
|
|
|
+ $("#delModal .confirm").text("确定").unbind("click").click(function () {
|
|
|
+ cancelAppealInfo(id)
|
|
|
+ });
|
|
|
+
|
|
|
})
|
|
|
$(".appealAgain").click(function () {
|
|
|
let i = $(this).parent().attr("data-index")
|
|
@@ -395,6 +399,7 @@ function cancelAppealInfo(id) {
|
|
|
post(api.cancelAppealInfo, { id: id }).then(function (res) {
|
|
|
if (res.data.code === '0') {
|
|
|
getTabData(1)
|
|
|
+ $("#delModal").hide();
|
|
|
$.alerModal({ "message": "撤回成功", type: "tip", time: '1000', win: true });
|
|
|
} else {
|
|
|
$.alerModal({ "message": res.data.msg || '失败,请重试~', type: "tip", time: '1000', win: 'default' });
|
|
@@ -408,7 +413,6 @@ function cancelAppealInfo(id) {
|
|
|
|
|
|
//再次申诉
|
|
|
function addAppealInfo(data) {
|
|
|
-
|
|
|
$(".warning").hide();
|
|
|
let val = $(".textarea").val()
|
|
|
let num = 500
|
|
@@ -452,15 +456,13 @@ $(document).on("click", ".infoItem", (e) => {
|
|
|
const name = $(this).attr("data-name")
|
|
|
$("#delModal ul").css("display", "none")
|
|
|
});
|
|
|
-//选择病历等级
|
|
|
+//选择申诉模块
|
|
|
$('.selectModular').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
+ $(".typeList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
$(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
- $(".checkList ").css("display", "none")
|
|
|
- $(".selectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpCheckList ").css("display", "none")
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
$(".qcCheckList ").css("display", "none")
|
|
|
const showList = $(".modularList ").css("display")
|
|
@@ -478,12 +480,10 @@ $('.selectType').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
$(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
- $(".checkList ").css("display", "none")
|
|
|
- $(".selectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpCheckList ").css("display", "none")
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
$(".qcCheckList ").css("display", "none")
|
|
|
+ $(".modularList ").css("display", "none")
|
|
|
+ $(".selectModular .arrow").attr("src", iconDown)
|
|
|
const showList = $(".typeList ").css("display")
|
|
|
if (showList == "none" || !showList) {
|
|
|
$(".typeList ").css("display", "block")
|
|
@@ -497,12 +497,12 @@ $('.selectType').on("click", function (e) {
|
|
|
//选择状态
|
|
|
$('.qcSelectCheck').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
+ $(".typeList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
$(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
$(".modularList ").css("display", "none")
|
|
|
$(".selectModular .arrow").attr("src", iconDown)
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpCheckList ").css("display", "none")
|
|
|
const showList = $(".qcCheckList ").css("display")
|
|
|
if (showList == "none" || !showList) {
|
|
|
$(".qcCheckList ").css("display", "block")
|
|
@@ -514,16 +514,12 @@ $('.qcSelectCheck').on("click", function (e) {
|
|
|
})
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
$('.selectDept').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
+ $(".typeList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
$(".modularList ").css("display", "none")
|
|
|
$(".selectModular .arrow").attr("src", iconDown)
|
|
|
- $(".checkList ").css("display", "none")
|
|
|
- $(".selectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpCheckList ").css("display", "none")
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
$(".qcCheckList ").css("display", "none")
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
const showList = $(".deptList ").css("display")
|
|
@@ -915,16 +911,14 @@ function renderPagination(totalPage, activePage, totalNum) {
|
|
|
}
|
|
|
|
|
|
$(document).on("click", function () {
|
|
|
+ $(".typeList ").css("display", "none")
|
|
|
$(".modularList ").css("display", "none")
|
|
|
$(".deptList").css("display", "none")
|
|
|
- $(".checkList").css("display", "none")
|
|
|
- $(".fpCheckList").css("display", "none")
|
|
|
$(".qcCheckList").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
$(".selectModular .arrow").attr("src", iconDown)
|
|
|
- $(".selectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
$("#delModal ul").css("display", "none")
|
|
|
})
|
|
|
|