|
@@ -20,44 +20,21 @@ const goDownG = require("./../images/arrow_down_grey.png")
|
|
|
const goDownB = require("./../images/arrow_down_blue.png")
|
|
|
listenScroll()
|
|
|
let pageSet = [], pageSetCopy = [], showNum = 0, scrollTop = 0;
|
|
|
-$(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+$(".selectModular").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+$(".selectType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$(".fpSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
let srcUrl = $("#contentIframe", parent.document).attr("src")
|
|
|
let statisticsType = getUrlArgObjectNew("dateType", srcUrl) || getUrlArgObjectNew("shijian", srcUrl) || ""
|
|
|
-let chengdu = getUrlArgObjectNew("chengdu", srcUrl) || ""
|
|
|
-let deptIdPram = getUrlArgObjectNew("deptId", srcUrl) || ""
|
|
|
-let deptNamePram = getUrlArgObjectNew("deptName", srcUrl) || ""
|
|
|
-let docName = getUrlArgObjectNew("docName", srcUrl) || ""
|
|
|
let startDateParam = getUrlArgObjectNew("startDateParam", srcUrl) || ""
|
|
|
let endDateParam = getUrlArgObjectNew("endDateParam", srcUrl) || ""
|
|
|
-let tabList = [], name = "", behospitalCode = "", deptName = "", deptNameTemp = "", behosDateStart = "", level = "", behosDateEnd = "", scoreSum = 0, nameTemp = "",
|
|
|
+let tabList = [], name = "", behospitalCode = "", deptName = "", deptNameTemp = "", behosDateStart = "", level = "", behosDateEnd = "", nameTemp = "", casesName = "", operationType = "",
|
|
|
behospitalCodeTemp = "", levelTemp = "", deptId = "", deptIdTemp = "", doctorName = "", doctorNameTemp = "", doctorNum = "", doctorNumTemp = "",
|
|
|
- fpCheckStatus = "", fpCheckStatusTemp = "", fpCheckName = "", fpCheckNameTemp = "", qcCheckName = "", qcCheckNameTemp = "", qcCheckMain = "", qcCheckMainTemp = "", qcCheckStatus = "", qcCheckStatusTemp = "",
|
|
|
+ fpCheckStatus = "", fpCheckStatusTemp = "", fpCheckName = "", fpCheckNameTemp = "", qcCheckName = "", qcCheckNameTemp = "", qcCheckMain = "", qcCheckStatus = "", state = "",
|
|
|
data_desc = ["leave_hospital_date"], data_asc = [];
|
|
|
let isPlacefile = getCookie('isPlacefile') || 1
|
|
|
|
|
|
-if (chengdu) {
|
|
|
- levelTemp = chengdu
|
|
|
- level = chengdu
|
|
|
- $('.selectLevel').html(chengdu)
|
|
|
- $(".levelList").css("display", "none")
|
|
|
- $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
-}
|
|
|
-
|
|
|
-if (deptNamePram) {
|
|
|
- deptIdTemp = deptId = deptIdPram
|
|
|
- deptName = deptNameTemp = deptNamePram
|
|
|
- if (deptNamePram.length > 10) {
|
|
|
- $('.selectDept').html(deptNamePram.substring(0, 8) + '...')
|
|
|
- } else {
|
|
|
- $('.selectDept').html(deptNamePram)
|
|
|
- }
|
|
|
- $('.selectDept ').attr('title', deptNamePram)
|
|
|
- $(".deptList").css("display", "none")
|
|
|
- $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
-}
|
|
|
$('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
|
|
|
$('.iconCalen').on("mouseenter", function (e) {
|
|
|
$(this).attr("src", iconCalenBlue)
|
|
@@ -70,9 +47,9 @@ $('.iconCalen').on("click", function (e) {
|
|
|
})
|
|
|
|
|
|
$(".menu .page", parent.document).removeClass("active")
|
|
|
-$(parent.document).find(".menu .page[code=YH-SSXX-SSJL]").addClass("active")
|
|
|
+$(parent.document).find(".menu .page[code=YH-SSXX-SSSH]").addClass("active")
|
|
|
|
|
|
-function getTabData(activePage, qcCheckMain) {
|
|
|
+function getTabData(activePage) {
|
|
|
const behosDateStart = getPickerDate($("#datepicker"), 1)
|
|
|
const behosDateEnd = getPickerDate($("#datepicker2"), 2)
|
|
|
const param = {
|
|
@@ -80,21 +57,18 @@ function getTabData(activePage, qcCheckMain) {
|
|
|
deptId: deptId.trim(),
|
|
|
asc: data_asc, //升序
|
|
|
desc: data_desc, //降序
|
|
|
- doctorName: doctorName,
|
|
|
deptName: deptName == "全部" ? "" : deptName || '',
|
|
|
+ casesName: casesName,
|
|
|
+ operationType: operationType,
|
|
|
+ state: state,
|
|
|
size: 15,
|
|
|
+ name: nameTemp,
|
|
|
complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
|
|
|
complaintDateStart: behosDateStart.replaceAll("/", "-"),
|
|
|
- statisticsType: statisticsType,
|
|
|
- checkStatus: qcCheckStatus ? Number(qcCheckStatus) : qcCheckStatus, //病历核查状态
|
|
|
- mrStatus: fpCheckStatus ? Number(fpCheckStatus) : fpCheckStatus, //首页核查状态(1:已核查,0:未核查)
|
|
|
- chName: qcCheckName, //病历核查人员
|
|
|
- diagnose: qcCheckMain, //病历主症状..........
|
|
|
- mrName: fpCheckName, //首页核查人员
|
|
|
}
|
|
|
$('.pagination').html("")
|
|
|
- $('.tbody').html(emptyBox('努力加载中...', '', 1))
|
|
|
- return post(api.getComplaintRecord, param).then(res => {
|
|
|
+ $('.tbody').html(emptyBox('努力加载中...', '',))
|
|
|
+ return post(api.getAppealReview, param).then(res => {
|
|
|
if (res.data.code == '0') {
|
|
|
tabList = res.data.data.data.records
|
|
|
const totalPage = res.data.data.data.pages
|
|
@@ -124,7 +98,6 @@ function getTabData(activePage, qcCheckMain) {
|
|
|
$(".filter").on("click", function (e) {
|
|
|
behosDateStart = $("#datepicker").val()
|
|
|
behosDateEnd = $("#datepicker2").val()
|
|
|
- console.log(behosDateStart);
|
|
|
const behosDateStartTime = new Date(behosDateStart).getTime()
|
|
|
const behosDateEndTime = new Date(behosDateEnd).getTime()
|
|
|
if (behosDateStartTime > behosDateEndTime) {
|
|
@@ -146,12 +119,11 @@ $(".filter").on("click", function (e) {
|
|
|
fpCheckName = fpCheckNameTemp
|
|
|
qcCheckName = qcCheckNameTemp
|
|
|
|
|
|
- qcCheckMain = qcCheckMainTemp
|
|
|
|
|
|
doctorNum = doctorNumTemp
|
|
|
fpCheckStatus = fpCheckStatusTemp
|
|
|
- qcCheckStatus = qcCheckStatusTemp
|
|
|
- getTabData(1, qcCheckMain)
|
|
|
+ qcCheckStatus = state
|
|
|
+ getTabData(1)
|
|
|
})
|
|
|
|
|
|
$(".abnormalClear").on("click", function (e) {
|
|
@@ -179,20 +151,15 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
fpCheckStatus = "";
|
|
|
fpCheckStatusTemp = "";
|
|
|
qcCheckStatus = "";
|
|
|
- qcCheckStatusTemp = ""
|
|
|
+ state = ""
|
|
|
+ operationType = ""
|
|
|
data_desc = ["leave_hospital_date"]
|
|
|
if (isPlacefile != 1) {
|
|
|
data_desc = ["behospital_date"]
|
|
|
}
|
|
|
data_asc = [];
|
|
|
- $('.patientNumInp').val('')
|
|
|
$('.patientNameInp').val('')
|
|
|
- $('.doctorInp').val('')
|
|
|
- $('.doctorNumInp').val('')
|
|
|
- $('.doctorInp').val('')
|
|
|
- $('.fpCheckPeople').val('')
|
|
|
- $('.qcCheckPeople').val('')
|
|
|
- $('.qcCheckMain').val('')
|
|
|
+
|
|
|
// $('#datepicker').val('')
|
|
|
// $('#datepicker2').val('')
|
|
|
//默认日期为近一周
|
|
@@ -230,10 +197,10 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
$(".deptList").css("display", "none")
|
|
|
$(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
// $('.selectDept ').addClass('unSelect')
|
|
|
- $('.selectLevel').html('全部')
|
|
|
- $(".levelList").css("display", "none")
|
|
|
- $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
- // $('.selectLevel ').addClass('unSelect')
|
|
|
+ $('.selectModular').html('全部')
|
|
|
+ $(".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="下拉">`)
|
|
@@ -260,112 +227,88 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
function renderTab(data) {
|
|
|
let str = ``
|
|
|
if (data.length === 0) {
|
|
|
- $('.tbody').html(emptyBox(null, showNum + 2))
|
|
|
+ $('.tbody').html(emptyBox(null, showNum + 12))
|
|
|
return;
|
|
|
}
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
const item = data[i]
|
|
|
str += `
|
|
|
- <tr data-index=${i} data-doc="${item.doctorName || ""}" data-docId="${item.doctorId || ""}">
|
|
|
+ <tr data-index=${i} data-doc="${item.doctorName || ""}" >
|
|
|
<td >${item.claimantName || "-"}</td>
|
|
|
<td >${item.behDeptName || "-"}</td>
|
|
|
<td >${item.claimantGmtCreate}</td>
|
|
|
<td >${item.behospitalCode}</td>
|
|
|
<td >${item.name || "-"}</td>
|
|
|
- <td >${item.modeName || "-"}</td>
|
|
|
+ <td >${item.casesName || "-"}</td>
|
|
|
<td >${item.defectContent || "-"}</td>
|
|
|
<td >${item.checkName || "-"}</td>
|
|
|
<td >${item.checkGmtCreate || "-"}</td>
|
|
|
<td >${item.appealOperationType == 0 ? '删改条目' : item.appealOperationType == 1 ? '新增已有条目' : item.appealOperationType == 2 ? '新增缺失条目' : '恢复条目'}</td>
|
|
|
- <td >${item.exampleStatus == 0 ? '待审核' : item.exampleStatus == 1 ? '驳回' : '通过'}</td>
|
|
|
- <td >
|
|
|
- ${item.exampleStatus == 0 ? `<span class="appealBtn">查看</span><span class="appealBtn">撤回</span>` : ''}
|
|
|
- ${item.exampleStatus == 1 || item.exampleStatus == 2 ? `<span class="appealBtn">再次申述</span>` : ''}
|
|
|
+ <td >${item.exampleStatus == 0 ? '<span class="review">待审核</span>' : item.exampleStatus == 1 ? '<span class="rejected">已驳回</span>' : '<span class="approved">审核通过</span>'}</td>
|
|
|
+ <td data-id="${item.id || ""}">
|
|
|
+ ${item.exampleStatus == 0 ? `<span class="appealBtn goExamine">审核</span><span class="appealBtn goHomeDetail1">查看</span>` : ''}
|
|
|
+ ${item.exampleStatus == 1 || item.exampleStatus == 2 ? `<span class="appealBtn goHomeDetail1">查看</span>` : ''}
|
|
|
</td>
|
|
|
</tr>
|
|
|
`
|
|
|
}
|
|
|
-
|
|
|
$('.tbody').html(str)
|
|
|
- bindScoreDetail();
|
|
|
-}
|
|
|
-
|
|
|
-function isTextCenter(name) {
|
|
|
- const textCenterList = ['level', 'scoreRes', 'sex', 'age', 'behospitalDate', 'leaveHospitalDate', 'placefileDate', 'gradeTime', 'checkStatus', 'mrStatus', 'mrTime', 'chTime', 'chName', 'mrName', 'diagnose', 'behDoctorName', 'directorDoctorName', 'doctorName', 'name']
|
|
|
- return textCenterList.findIndex(item => item == name) > -1
|
|
|
-}
|
|
|
-
|
|
|
-function scoreDetail(id, age, code, name) {
|
|
|
- const logoParam = getLogoParam();
|
|
|
- window.open(`./appealUserPage.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}` + logoParam)
|
|
|
-}
|
|
|
-function bindScoreDetail() {
|
|
|
- $('.patientNameSpan').on('click', function (e) {
|
|
|
- const index = $(this).attr("data-index")
|
|
|
- const id = tabList[index].behospitalCode
|
|
|
- const age = tabList[index].age
|
|
|
- const noScore = tabList[index].level == '未评分'
|
|
|
- const checkStatus = tabList[index].checkStatus
|
|
|
- if (noScore) {
|
|
|
- $.alerModal({ "message": '请先进行评分!', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
|
- return
|
|
|
- } else {
|
|
|
- scoreDetail(id, age, 'YH-BLZK-ZKSSKS', tabList[index].name)
|
|
|
- }
|
|
|
-
|
|
|
- })
|
|
|
+ $(".goExamine").click(function () {
|
|
|
+ let id = $(this).parent().attr("data-id")
|
|
|
+ console.log(id);
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "appealExamine.html?id=" + id)
|
|
|
+ })
|
|
|
+
|
|
|
}
|
|
|
|
|
|
//选择病历等级
|
|
|
-$('.selectLevel').on("click", function (e) {
|
|
|
+$('.selectModular').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)
|
|
|
+ $(".deptList").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
+ $(".typeList").css("display", "none")
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".qcCheckList ").css("display", "none")
|
|
|
- const showList = $(".levelList ").css("display")
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
+ const showList = $(".modularList ").css("display")
|
|
|
if (showList == "none" || !showList) {
|
|
|
- $(".levelList ").css("display", "block")
|
|
|
- $(".selectLevel .arrow").attr("src", iconUp)
|
|
|
+ $(".modularList ").css("display", "block")
|
|
|
+ $(".selectModular .arrow").attr("src", iconUp)
|
|
|
} else {
|
|
|
- $(".levelList ").css("display", "none")
|
|
|
- $(".selectLevel .arrow").attr("src", iconDown)
|
|
|
+ $(".modularList ").css("display", "none")
|
|
|
+ $(".selectModular .arrow").attr("src", iconDown)
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-
|
|
|
-//选择病案首页核查状态
|
|
|
-$('.fpSelectCheck').on("click", function (e) {
|
|
|
+//操作类型
|
|
|
+$('.selectType').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
- $(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
- $(".levelList ").css("display", "none")
|
|
|
- $(".selectLevel .arrow").attr("src", iconDown)
|
|
|
+ $(".deptList").css("display", "none")
|
|
|
+ $(".selectModular .arrow").attr("src", iconDown)
|
|
|
+ $(".modularList ").css("display", "none")
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".qcCheckList ").css("display", "none")
|
|
|
- const showList = $(".fpCheckList ").css("display")
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
+ const showList = $(".typeList ").css("display")
|
|
|
if (showList == "none" || !showList) {
|
|
|
- $(".fpCheckList ").css("display", "block")
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconUp)
|
|
|
+ $(".typeList ").css("display", "block")
|
|
|
+ $(".selectType .arrow").attr("src", iconUp)
|
|
|
} else {
|
|
|
- $(".fpCheckList ").css("display", "none")
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
+ $(".typeList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-//选择病历核查状态
|
|
|
+
|
|
|
+//选择状态
|
|
|
$('.qcSelectCheck').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
- $(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
- $(".levelList ").css("display", "none")
|
|
|
- $(".selectLevel .arrow").attr("src", iconDown)
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpCheckList ").css("display", "none")
|
|
|
+ $(".deptList").css("display", "none")
|
|
|
+ $(".selectModular .arrow").attr("src", iconDown)
|
|
|
+ $(".modularList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
+ $(".typeList").css("display", "none")
|
|
|
const showList = $(".qcCheckList ").css("display")
|
|
|
if (showList == "none" || !showList) {
|
|
|
$(".qcCheckList ").css("display", "block")
|
|
@@ -379,28 +322,29 @@ $('.qcSelectCheck').on("click", function (e) {
|
|
|
bindLeveldSelect()
|
|
|
//病历等级选择
|
|
|
function bindLeveldSelect() {
|
|
|
- $('.levelItem').on("click", function () {
|
|
|
- const levelItemName = $(this).attr("data-name")
|
|
|
- const levelItemItemId = $(this).attr("data-id")
|
|
|
- levelTemp = levelItemItemId
|
|
|
- $('.selectLevel').html(levelItemName)
|
|
|
- $(".levelList").css("display", "none")
|
|
|
- $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
- $('.selectLevel').removeClass('unSelect')
|
|
|
+ $('.modularItem').on("click", function () {
|
|
|
+ const modularItemName = $(this).attr("data-name")
|
|
|
+ const modularItemItemId = $(this).attr("data-id")
|
|
|
+ casesName = modularItemItemId
|
|
|
+ $('.selectModular').html(modularItemName)
|
|
|
+ $(".modularList").css("display", "none")
|
|
|
+ $(".selectModular").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.selectModular').removeClass('unSelect')
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-bindCheckedSelectFp()
|
|
|
-//病案首页核查状态选择
|
|
|
-function bindCheckedSelectFp() {
|
|
|
- $('.fpCheckItem').on("click", function () {
|
|
|
- const fpCheckItemName = $(this).attr("data-name")
|
|
|
- const fpCheckItemItemId = $(this).attr("data-id") || ""
|
|
|
- fpCheckStatusTemp = fpCheckItemItemId
|
|
|
- $('.fpSelectCheck').html(fpCheckItemName)
|
|
|
- $(".fpCheckList").css("display", "none")
|
|
|
- $(".fpSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
- $('.fpSelectCheck').removeClass('unSelect')
|
|
|
+
|
|
|
+bindTypedSelect()
|
|
|
+//操作类型
|
|
|
+function bindTypedSelect() {
|
|
|
+ $('.typeItem').on("click", function () {
|
|
|
+ const typeItemName = $(this).attr("data-name")
|
|
|
+ const typeItemItemId = $(this).attr("data-id")
|
|
|
+ operationType = typeItemItemId
|
|
|
+ $('.selectType').html(typeItemName)
|
|
|
+ $(".typeList").css("display", "none")
|
|
|
+ $(".selectType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.selectType').removeClass('unSelect')
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -410,7 +354,7 @@ function bindCheckedSelectQc() {
|
|
|
$('.qcCheckItem').on("click", function () {
|
|
|
const qcCheckItemName = $(this).attr("data-name")
|
|
|
const qcCheckItemItemId = $(this).attr("data-id") || ""
|
|
|
- qcCheckStatusTemp = qcCheckItemItemId
|
|
|
+ state = qcCheckItemItemId
|
|
|
$('.qcSelectCheck').html(qcCheckItemName)
|
|
|
$(".qcCheckList").css("display", "none")
|
|
|
$(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
@@ -420,14 +364,12 @@ function bindCheckedSelectQc() {
|
|
|
|
|
|
$('.selectDept').on("click", function (e) {
|
|
|
e.stopPropagation()
|
|
|
- $(".levelList ").css("display", "none")
|
|
|
- $(".selectLevel .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")
|
|
|
+ $(".selectModular .arrow").attr("src", iconDown)
|
|
|
+ $(".modularList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
+ $(".typeList").css("display", "none")
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
const showList = $(".deptList ").css("display")
|
|
|
if (showList == "none" || !showList) {
|
|
|
$(".deptList ").css("display", "block")
|
|
@@ -662,39 +604,11 @@ function bindColOrder() {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-$(".patientNumInp").on("input", function (e) {
|
|
|
- const val = $(this).val().trim()
|
|
|
- let beCode = behospitalCode;
|
|
|
- const patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/g;
|
|
|
- beCode = val.replace(patrn, function (x) {
|
|
|
- return "\\" + x;
|
|
|
- });
|
|
|
- behospitalCodeTemp = beCode
|
|
|
-})
|
|
|
+
|
|
|
$(".patientNameInp").on("input", function (e) {
|
|
|
const val = $(this).val().trim()
|
|
|
nameTemp = val
|
|
|
})
|
|
|
-$(".doctorInp").on("input", function (e) {
|
|
|
- const val = $(this).val().trim()
|
|
|
- doctorNameTemp = val
|
|
|
-})
|
|
|
-$(".fpCheckPeople").on("input", function (e) {
|
|
|
- const val = $(this).val().trim()
|
|
|
- fpCheckNameTemp = val
|
|
|
-})
|
|
|
-$(".qcCheckPeople").on("input", function (e) {
|
|
|
- const val = $(this).val().trim()
|
|
|
- qcCheckNameTemp = val
|
|
|
-})
|
|
|
-$(".qcCheckMain").on("input", function (e) {
|
|
|
- const val = $(this).val().trim()
|
|
|
- qcCheckMain = qcCheckMainTemp = val
|
|
|
-})
|
|
|
-$(".doctorNumInp").on("input", function (e) {
|
|
|
- const val = $(this).val().trim();
|
|
|
- doctorNumTemp = val
|
|
|
-})
|
|
|
$(function () {
|
|
|
$.datepicker.regional['zh-CN'] = {
|
|
|
clearText: '清除',
|
|
@@ -838,16 +752,14 @@ function renderPagination(totalPage, activePage, totalNum) {
|
|
|
}
|
|
|
|
|
|
$(document).on("click", function () {
|
|
|
- $(".levelList ").css("display", "none")
|
|
|
- $(".deptList").css("display", "none")
|
|
|
- $(".checkList").css("display", "none")
|
|
|
- $(".fpCheckList").css("display", "none")
|
|
|
- $(".qcCheckList").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src", iconDown)
|
|
|
- $(".selectLevel .arrow").attr("src", iconDown)
|
|
|
- $(".selectCheck .arrow").attr("src", iconDown)
|
|
|
- $(".fpSelectCheck .arrow").attr("src", iconDown)
|
|
|
+ $(".deptList").css("display", "none")
|
|
|
+ $(".selectModular .arrow").attr("src", iconDown)
|
|
|
+ $(".modularList ").css("display", "none")
|
|
|
+ $(".selectType .arrow").attr("src", iconDown)
|
|
|
+ $(".typeList").css("display", "none")
|
|
|
$(".qcSelectCheck .arrow").attr("src", iconDown)
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
})
|
|
|
|
|
|
|