|
@@ -28,7 +28,8 @@ let srcUrl = $("#contentIframe", parent.document).attr("src")
|
|
|
let statisticsType = getUrlArgObjectNew("dateType", srcUrl) || getUrlArgObjectNew("shijian", srcUrl) || ""
|
|
|
let startDateParam = getUrlArgObjectNew("startDateParam", srcUrl) || ""
|
|
|
let endDateParam = getUrlArgObjectNew("endDateParam", srcUrl) || ""
|
|
|
-let tabList = [], deptName = "", deptNameTemp = "", behosDateStart = "", behosDateEnd = "", nameTemp = "", casesName = "", operationType = "",
|
|
|
+let page = getUrlArgObjectNew("page", srcUrl) || 1
|
|
|
+let tabList = [], deptName = "", deptNameTemp = "", behosDateStart = "", behosDateEnd = "", nameTemp = "", casesName = "", operationType = "",
|
|
|
deptId = "", deptIdTemp = "",
|
|
|
fpCheckStatusTemp = "", fpCheckNameTemp = "", qcCheckNameTemp = "", state = "";
|
|
|
let isPlacefile = getCookie('isPlacefile') || 1
|
|
@@ -61,7 +62,7 @@ function getTabData(activePage) {
|
|
|
name: nameTemp,
|
|
|
complaintDateEnd: behosDateEnd.replace(/\//g, '-'),
|
|
|
complaintDateStart: behosDateStart.replace(/\//g, '-'),
|
|
|
- "desc":['claimant_gmt_create']
|
|
|
+ "desc": ['claimant_gmt_create']
|
|
|
}
|
|
|
$('.pagination').html("")
|
|
|
$('.tbody').html(emptyBox('努力加载中...', '',))
|
|
@@ -113,10 +114,11 @@ $(".filter").on("click", function (e) {
|
|
|
qcCheckName = qcCheckNameTemp
|
|
|
fpCheckStatus = fpCheckStatusTemp
|
|
|
qcCheckStatus = state
|
|
|
- getTabData(1)
|
|
|
+ getTabData(page)
|
|
|
})
|
|
|
|
|
|
$(".abnormalClear").on("click", function (e) {
|
|
|
+ page = 1
|
|
|
tabList = [];
|
|
|
behospitalCode = "";
|
|
|
scoreSum = 0;
|
|
@@ -184,7 +186,7 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
$(".modularList").css("display", "none")
|
|
|
$(".selectModular").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
// $('.selectModular ').addClass('unSelect')
|
|
|
- $('.selectType').html('全部')
|
|
|
+ $('.selectType').html('全部')
|
|
|
$(".typeList ").css("display", "none")
|
|
|
$(".selectType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$('.qcSelectCheck').html('全部')
|
|
@@ -204,7 +206,7 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
if (behosDateEnd) {
|
|
|
behosDateEnd = behosDateEnd.replace(/\//g, '-') + ' 23:59:59'
|
|
|
}
|
|
|
- getTabData(1)
|
|
|
+ getTabData(page)
|
|
|
})
|
|
|
|
|
|
function renderTab(data) {
|
|
@@ -243,7 +245,7 @@ function renderTab(data) {
|
|
|
let casesEntryId = $(this).parent().attr("data-casesEntryId")
|
|
|
let qcresultDetailId = $(this).parent().attr("data-qcresultDetailId")
|
|
|
let appealOperationType = $(this).parent().attr("data-appealOperationType")
|
|
|
- $(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id + "&hospitalId=" + hospitalId + "&behospitalCode=" + behospitalCode + "&casesEntryId=" + casesEntryId + "&qcresultDetailId=" + qcresultDetailId + "&appealOperationType=" + appealOperationType + "&form=" + 1)
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id + "&hospitalId=" + hospitalId + "&behospitalCode=" + behospitalCode + "&casesEntryId=" + casesEntryId + "&qcresultDetailId=" + qcresultDetailId + "&appealOperationType=" + appealOperationType + "&page=" + page + "&form=" + 1)
|
|
|
})
|
|
|
$(".goHomeDetail1").click(function () {
|
|
|
let id = $(this).parent().attr("data-id")
|
|
@@ -252,7 +254,7 @@ function renderTab(data) {
|
|
|
let casesEntryId = $(this).parent().attr("data-casesEntryId")
|
|
|
let qcresultDetailId = $(this).parent().attr("data-qcresultDetailId")
|
|
|
let appealOperationType = $(this).parent().attr("data-appealOperationType")
|
|
|
- $(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id + "&hospitalId=" + hospitalId + "&behospitalCode=" + behospitalCode + "&casesEntryId=" + casesEntryId + "&qcresultDetailId=" + qcresultDetailId + "&appealOperationType=" + appealOperationType + "&form=" + 2)
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id + "&hospitalId=" + hospitalId + "&behospitalCode=" + behospitalCode + "&casesEntryId=" + casesEntryId + "&qcresultDetailId=" + qcresultDetailId + "&appealOperationType=" + appealOperationType + "&page=" + page + "&form=" + 2)
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -317,7 +319,7 @@ getmoduleList()
|
|
|
|
|
|
//获取模块类型
|
|
|
function getmoduleList() {
|
|
|
- post(api.getAppealMode,{pageType:2}).then(res => {
|
|
|
+ post(api.getAppealMode, { pageType: 2 }).then(res => {
|
|
|
if (res.data.code == '0') {
|
|
|
const moduleTypeList = res.data.data
|
|
|
renderModuleList(moduleTypeList)
|
|
@@ -425,7 +427,7 @@ $('.selectDept').on("click", function (e) {
|
|
|
//获取科室列表
|
|
|
getDeptList()
|
|
|
function getDeptList() {
|
|
|
- post(api.getAppealDept, { inputStr: "",pageType:2}).then(res => {
|
|
|
+ post(api.getAppealDept, { inputStr: "", pageType: 2 }).then(res => {
|
|
|
if (res.data.code == '0') {
|
|
|
const deptList = res.data.data
|
|
|
rendeDeptList(deptList)
|
|
@@ -729,7 +731,7 @@ $(function () {
|
|
|
changeYear: true,
|
|
|
dateFormat: "yy/mm/dd"
|
|
|
}).datepicker("setDate", "");
|
|
|
- getTabData(1)
|
|
|
+ getTabData(page)
|
|
|
});
|
|
|
|
|
|
//分页渲染
|
|
@@ -771,11 +773,13 @@ function renderPagination(totalPage, activePage, totalNum) {
|
|
|
$('.page' + activePage).addClass('activePage')
|
|
|
$(".pageNum").on("click", function (e) {
|
|
|
const activePageNow = Number($(this).attr('data-page'))
|
|
|
+ page = activePageNow
|
|
|
getTabData(activePageNow)
|
|
|
// renderPagination(totalPage,activePageNow,totalNum)
|
|
|
})
|
|
|
$(".prePage").on("click", function (e) {
|
|
|
let activePageNow = Number($(".activePage").attr('data-page'))
|
|
|
+ page = activePageNow
|
|
|
if (activePageNow > 1) {
|
|
|
activePageNow--
|
|
|
getTabData(activePageNow)
|
|
@@ -784,6 +788,7 @@ function renderPagination(totalPage, activePage, totalNum) {
|
|
|
})
|
|
|
$(".nextPage").on("click", function (e) {
|
|
|
let activePageNow = Number($(".activePage").attr('data-page'))
|
|
|
+ page = activePageNow
|
|
|
if (activePageNow < totalPage) {
|
|
|
activePageNow++
|
|
|
getTabData(activePageNow)
|
|
@@ -825,7 +830,7 @@ $((function ($) {
|
|
|
name: nameTemp,
|
|
|
complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
|
|
|
complaintDateStart: behosDateStart.replaceAll("/", "-"),
|
|
|
- "desc":['claimant_gmt_create']
|
|
|
+ "desc": ['claimant_gmt_create']
|
|
|
}
|
|
|
expJson(api.getAppealReviewExport, param).then(res => {
|
|
|
downloadExportedData(res.data, "申诉审核.xls")
|