|
@@ -1,3 +1,4 @@
|
|
|
|
+
|
|
const $ = require('jquery');
|
|
const $ = require('jquery');
|
|
require("../css/appealHistory.less");
|
|
require("../css/appealHistory.less");
|
|
require('./modal.js');
|
|
require('./modal.js');
|
|
@@ -12,7 +13,6 @@ const iconCalenBlue = require("./../images/icon_calen_blue.png")
|
|
const iconCalenGrey = require("./../images/icon_calen_grey.png")
|
|
const iconCalenGrey = require("./../images/icon_calen_grey.png")
|
|
const iconDown = require("./../images/arrow_down.png")
|
|
const iconDown = require("./../images/arrow_down.png")
|
|
const iconUp = require("./../images/arrow_up.png")
|
|
const iconUp = require("./../images/arrow_up.png")
|
|
-const loadingImg = require("./../images/loading.gif")
|
|
|
|
const arrowLeft = require("./../images/arrow_left.png")
|
|
const arrowLeft = require("./../images/arrow_left.png")
|
|
const arrowRight = require("./../images/arrow_right.png")
|
|
const arrowRight = require("./../images/arrow_right.png")
|
|
const goUpG = require("./../images/arrow_up_grey.png")
|
|
const goUpG = require("./../images/arrow_up_grey.png")
|
|
@@ -31,10 +31,10 @@ let srcUrl = $("#contentIframe", parent.document).attr("src")
|
|
let statisticsType = getUrlArgObjectNew("dateType", srcUrl) || getUrlArgObjectNew("shijian", srcUrl) || ""
|
|
let statisticsType = getUrlArgObjectNew("dateType", srcUrl) || getUrlArgObjectNew("shijian", srcUrl) || ""
|
|
let startDateParam = getUrlArgObjectNew("startDateParam", srcUrl) || ""
|
|
let startDateParam = getUrlArgObjectNew("startDateParam", srcUrl) || ""
|
|
let endDateParam = getUrlArgObjectNew("endDateParam", srcUrl) || ""
|
|
let endDateParam = getUrlArgObjectNew("endDateParam", srcUrl) || ""
|
|
-let tabList = [], name = "", behospitalCode = "", deptName = "", deptNameTemp = "", behosDateStart = "", level = "", behosDateEnd = "", nameTemp = "", moduleName = "", operationType = "",
|
|
|
|
- behospitalCodeTemp = "", levelTemp = "", deptId = "", deptIdTemp = "", doctorName = "", doctorNameTemp = "", doctorNum = "", doctorNumTemp = "",
|
|
|
|
- fpCheckStatus = "", fpCheckStatusTemp = "", fpCheckName = "", fpCheckNameTemp = "", qcCheckName = "", qcCheckNameTemp = "", qcCheckMain = "", qcCheckStatus = "", state = "",
|
|
|
|
- data_desc = ["leave_hospital_date"], data_asc = [], global_checkers = []; //审核人列表;
|
|
|
|
|
|
+let tabList = [], deptName = "", deptNameTemp = "", behosDateStart = "", behosDateEnd = "", moduleName = "", operationType = "",
|
|
|
|
+ deptId = "", deptIdTemp = "",
|
|
|
|
+ fpCheckStatusTemp = "", fpCheckNameTemp = "", qcCheckNameTemp = "", state = "",
|
|
|
|
+ global_checkers = []; //审核人列表;
|
|
let isPlacefile = getCookie('isPlacefile') || 1
|
|
let isPlacefile = getCookie('isPlacefile') || 1
|
|
|
|
|
|
$('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
|
|
$('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
|
|
@@ -63,8 +63,8 @@ function getTabData(activePage) {
|
|
state: state,
|
|
state: state,
|
|
size: 15,
|
|
size: 15,
|
|
name: $('.patientNameInp').val(),
|
|
name: $('.patientNameInp').val(),
|
|
- complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
|
|
|
|
- complaintDateStart: behosDateStart.replaceAll("/", "-"),
|
|
|
|
|
|
+ complaintDateEnd: behosDateEnd.replace(/\//g, '-'),
|
|
|
|
+ complaintDateStart: behosDateStart.replace(/\//g, '-'),
|
|
}
|
|
}
|
|
$('.pagination').html("")
|
|
$('.pagination').html("")
|
|
$('.tbody').html(emptyBox('努力加载中...', '',))
|
|
$('.tbody').html(emptyBox('努力加载中...', '',))
|
|
@@ -101,7 +101,7 @@ $(".filter").on("click", function (e) {
|
|
const behosDateStartTime = new Date(behosDateStart).getTime()
|
|
const behosDateStartTime = new Date(behosDateStart).getTime()
|
|
const behosDateEndTime = new Date(behosDateEnd).getTime()
|
|
const behosDateEndTime = new Date(behosDateEnd).getTime()
|
|
if (behosDateStartTime > behosDateEndTime) {
|
|
if (behosDateStartTime > behosDateEndTime) {
|
|
- $.alerModal({ "message": '出院日期开始时间不能大于结束时间~', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
|
|
|
|
+ $.alerModal({ "message": '申诉时间开始时间不能大于结束时间~', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if (behosDateStart) {
|
|
if (behosDateStart) {
|
|
@@ -110,17 +110,10 @@ $(".filter").on("click", function (e) {
|
|
if (behosDateEnd) {
|
|
if (behosDateEnd) {
|
|
behosDateEnd = behosDateEnd.replace(/\//g, '-') + ' 23:59:59'
|
|
behosDateEnd = behosDateEnd.replace(/\//g, '-') + ' 23:59:59'
|
|
}
|
|
}
|
|
- name = nameTemp
|
|
|
|
- behospitalCode = behospitalCodeTemp
|
|
|
|
- level = levelTemp === "全部" ? "" : levelTemp
|
|
|
|
deptId = deptIdTemp
|
|
deptId = deptIdTemp
|
|
deptName = deptNameTemp
|
|
deptName = deptNameTemp
|
|
- doctorName = doctorNameTemp
|
|
|
|
fpCheckName = fpCheckNameTemp
|
|
fpCheckName = fpCheckNameTemp
|
|
qcCheckName = qcCheckNameTemp
|
|
qcCheckName = qcCheckNameTemp
|
|
-
|
|
|
|
-
|
|
|
|
- doctorNum = doctorNumTemp
|
|
|
|
fpCheckStatus = fpCheckStatusTemp
|
|
fpCheckStatus = fpCheckStatusTemp
|
|
qcCheckStatus = state
|
|
qcCheckStatus = state
|
|
getTabData(1)
|
|
getTabData(1)
|
|
@@ -128,23 +121,13 @@ $(".filter").on("click", function (e) {
|
|
|
|
|
|
$(".abnormalClear").on("click", function (e) {
|
|
$(".abnormalClear").on("click", function (e) {
|
|
tabList = [];
|
|
tabList = [];
|
|
- name = "";
|
|
|
|
- behospitalCode = "";
|
|
|
|
- level = "";
|
|
|
|
scoreSum = 0;
|
|
scoreSum = 0;
|
|
- nameTemp = "";
|
|
|
|
- behospitalCodeTemp = "";
|
|
|
|
- levelTemp = "";
|
|
|
|
deptId = "";
|
|
deptId = "";
|
|
deptIdTemp = "";
|
|
deptIdTemp = "";
|
|
deptName = deptNameTemp = "";
|
|
deptName = deptNameTemp = "";
|
|
- doctorName = "";
|
|
|
|
fpCheckName = "";
|
|
fpCheckName = "";
|
|
qcCheckName = "";
|
|
qcCheckName = "";
|
|
qcCheckMain = "";
|
|
qcCheckMain = "";
|
|
- doctorNum = "";
|
|
|
|
- doctorNameTemp = "";
|
|
|
|
- doctorNumTemp = "";
|
|
|
|
fpCheckNameTemp = "";
|
|
fpCheckNameTemp = "";
|
|
qcCheckNameTemp = "";
|
|
qcCheckNameTemp = "";
|
|
qcCheckMainTemp = "";
|
|
qcCheckMainTemp = "";
|
|
@@ -153,6 +136,7 @@ $(".abnormalClear").on("click", function (e) {
|
|
qcCheckStatus = "";
|
|
qcCheckStatus = "";
|
|
state = ""
|
|
state = ""
|
|
operationType = ""
|
|
operationType = ""
|
|
|
|
+ moduleName = "",
|
|
data_desc = ["leave_hospital_date"]
|
|
data_desc = ["leave_hospital_date"]
|
|
if (isPlacefile != 1) {
|
|
if (isPlacefile != 1) {
|
|
data_desc = ["behospital_date"]
|
|
data_desc = ["behospital_date"]
|
|
@@ -224,6 +208,95 @@ $(".abnormalClear").on("click", function (e) {
|
|
getTabData(1)
|
|
getTabData(1)
|
|
})
|
|
})
|
|
|
|
|
|
|
|
+getmoduleList()
|
|
|
|
+
|
|
|
|
+//获取模块类型
|
|
|
|
+function getmoduleList() {
|
|
|
|
+ post(api.getQcCasesAll).then(res => {
|
|
|
|
+ if (res.data.code == '0') {
|
|
|
|
+ const moduleTypeList = res.data.data
|
|
|
|
+ renderModuleList(moduleTypeList)
|
|
|
|
+ } else { }
|
|
|
|
+ }).catch((e) => {
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+function renderModuleList(moduleTypeList) {
|
|
|
|
+ let str = `<li class="modularItem " data-id="" data-name="全部">全部</li>`
|
|
|
|
+ for (let i = 0; i < moduleTypeList.length; i++) {
|
|
|
|
+ str += `<li class="modularItem ellipsis" title=${moduleTypeList[i].name} data-id=${moduleTypeList[i].id} data-name=${moduleTypeList[i].name}> ${moduleTypeList[i].name}</li>`
|
|
|
|
+ }
|
|
|
|
+ $('.modularList').html(str)
|
|
|
|
+ bindModuleSelect()
|
|
|
|
+}
|
|
|
|
+//模块类型选择
|
|
|
|
+function bindModuleSelect() {
|
|
|
|
+ $('.modularItem').on("click", function () {
|
|
|
|
+ const modularItemName = $(this).attr("data-name")
|
|
|
|
+ const modularItemItemId = $(this).attr("data-id")
|
|
|
|
+ moduleName = modularItemName
|
|
|
|
+ $('.selectModular').html(modularItemName)
|
|
|
|
+ $(".modularList").css("display", "none")
|
|
|
|
+ $(".selectModular").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
|
+ $('.selectModular').removeClass('unSelect')
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+getAppealReviewDictionary()
|
|
|
|
+//获取操作类型
|
|
|
|
+function getAppealReviewDictionary() {
|
|
|
|
+ post(api.getAppealReviewDictionary).then(res => {
|
|
|
|
+ if (res.data.code == '0') {
|
|
|
|
+ const typeList = res.data.data['操作类型']
|
|
|
|
+ const statusList = res.data.data['状态']
|
|
|
|
+ renderTypeList(typeList)
|
|
|
|
+ renderStatusList(statusList)
|
|
|
|
+ } else { }
|
|
|
|
+ }).catch((e) => {
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+function renderTypeList(data) {
|
|
|
|
+ let str = `<li class="typeItem " data-id="" data-name="全部">全部</li>`
|
|
|
|
+ for (var i in data) {
|
|
|
|
+ str += `<li class="typeItem ellipsis" title=${data[i]} data-id=${i} data-name=${data[i]}> ${data[i]}</li>`
|
|
|
|
+ }
|
|
|
|
+ $('.typeList').html(str)
|
|
|
|
+ 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')
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+function renderStatusList(data) {
|
|
|
|
+ let str = `<li class="qcCheckItem " data-id="" data-name="全部">全部</li>`
|
|
|
|
+ for (var i in data) {
|
|
|
|
+ str += `<li class="qcCheckItem ellipsis" title=${data[i]} data-id=${i} data-name=${data[i]}> ${data[i]}</li>`
|
|
|
|
+ }
|
|
|
|
+ $('.qcCheckList').html(str)
|
|
|
|
+ bindCheckedSelectQc()
|
|
|
|
+}
|
|
|
|
+//状态
|
|
|
|
+function bindCheckedSelectQc() {
|
|
|
|
+ $('.qcCheckItem').on("click", function () {
|
|
|
|
+ const qcCheckItemName = $(this).attr("data-name")
|
|
|
|
+ const qcCheckItemItemId = $(this).attr("data-id") || ""
|
|
|
|
+ state = qcCheckItemItemId
|
|
|
|
+ $('.qcSelectCheck').html(qcCheckItemName)
|
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
|
+ $(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
|
+ $('.qcSelectCheck').removeClass('unSelect')
|
|
|
|
+ })
|
|
|
|
+}
|
|
//获取审核人下拉列表
|
|
//获取审核人下拉列表
|
|
function getCheckUser() {
|
|
function getCheckUser() {
|
|
const param = {};
|
|
const param = {};
|
|
@@ -270,14 +343,14 @@ function renderTab(data) {
|
|
<td >${item.behospitalCode}</td>
|
|
<td >${item.behospitalCode}</td>
|
|
<td >${item.name || "-"}</td>
|
|
<td >${item.name || "-"}</td>
|
|
<td >${item.casesName || "-"}</td>
|
|
<td >${item.casesName || "-"}</td>
|
|
- <td >${item.defectContent || "-"}</td>
|
|
|
|
|
|
+ <td >${item.qcresultDetailMsg || "-"}</td>
|
|
<td >${item.checkName || "-"}</td>
|
|
<td >${item.checkName || "-"}</td>
|
|
<td >${item.checkGmtCreate || "-"}</td>
|
|
<td >${item.checkGmtCreate || "-"}</td>
|
|
<td >${item.appealOperationType == 0 ? '删改条目' : item.appealOperationType == 1 ? '新增已有条目' : item.appealOperationType == 2 ? '新增缺失条目' : '恢复条目'}</td>
|
|
<td >${item.appealOperationType == 0 ? '删改条目' : item.appealOperationType == 1 ? '新增已有条目' : item.appealOperationType == 2 ? '新增缺失条目' : '恢复条目'}</td>
|
|
<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 >${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}>
|
|
<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 == 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 appealAgain">再次申诉</span>` : ''}
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
`
|
|
`
|
|
@@ -293,6 +366,15 @@ function renderTab(data) {
|
|
$("#delModal .modal-body").html("");
|
|
$("#delModal .modal-body").html("");
|
|
$("#delModal").show();
|
|
$("#delModal").show();
|
|
getCheckUser()
|
|
getCheckUser()
|
|
|
|
+ if (data[i].appealOperationType == 1) {
|
|
|
|
+ if (data[i].exampleStatus == 2) {
|
|
|
|
+ data[i].appealOperationType = 0
|
|
|
|
+ } else {
|
|
|
|
+ data[i].appealOperationType = 1
|
|
|
|
+ }
|
|
|
|
+ } else if (data[i].appealOperationType == 3) {
|
|
|
|
+ data[i].appealOperationType = 0
|
|
|
|
+ }
|
|
$("#appealDef").tmpl(data[i]).appendTo("#delModal .modal-body");
|
|
$("#appealDef").tmpl(data[i]).appendTo("#delModal .modal-body");
|
|
$("#delModal .confirm").text("确定").unbind("click").click(function () {
|
|
$("#delModal .confirm").text("确定").unbind("click").click(function () {
|
|
addAppealInfo(data[i])
|
|
addAppealInfo(data[i])
|
|
@@ -324,17 +406,9 @@ function cancelAppealInfo(id) {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
-//再次申述
|
|
|
|
|
|
+//再次申诉
|
|
function addAppealInfo(data) {
|
|
function addAppealInfo(data) {
|
|
- if (data.appealOperationType == 1) {
|
|
|
|
- if (data.exampleStatus == 2) {
|
|
|
|
- data.appealOperationType = 0
|
|
|
|
- } else {
|
|
|
|
- data.appealOperationType = 1
|
|
|
|
- }
|
|
|
|
- } else if (data.appealOperationType == 3) {
|
|
|
|
- data.appealOperationType = 0
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
$(".warning").hide();
|
|
$(".warning").hide();
|
|
let val = $(".textarea").val()
|
|
let val = $(".textarea").val()
|
|
let num = 500
|
|
let num = 500
|
|
@@ -353,12 +427,13 @@ function addAppealInfo(data) {
|
|
behospitalCode: data.behospitalCode,
|
|
behospitalCode: data.behospitalCode,
|
|
checkId: $(".checker-drop-input").attr("code"),
|
|
checkId: $(".checker-drop-input").attr("code"),
|
|
appealType: 1,
|
|
appealType: 1,
|
|
|
|
+ qcresultDetailId: data.qcresultDetailId,
|
|
}
|
|
}
|
|
post(api.addAppealInfo, param).then(function (res) {
|
|
post(api.addAppealInfo, param).then(function (res) {
|
|
if (res.data.code === '0') {
|
|
if (res.data.code === '0') {
|
|
getTabData(1)
|
|
getTabData(1)
|
|
$("#delModal").hide();
|
|
$("#delModal").hide();
|
|
- $.alerModal({ "message": "申述成功", type: "tip", time: '1000', win: true });
|
|
|
|
|
|
+ $.alerModal({ "message": "申诉成功", type: "tip", time: '1000', win: true });
|
|
} else {
|
|
} else {
|
|
$.alerModal({ "message": res.data.msg || '失败,请重试~', type: "tip", time: '1000', win: 'default' });
|
|
$.alerModal({ "message": res.data.msg || '失败,请重试~', type: "tip", time: '1000', win: 'default' });
|
|
|
|
|
|
@@ -419,7 +494,6 @@ $('.selectType').on("click", function (e) {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
-
|
|
|
|
//选择状态
|
|
//选择状态
|
|
$('.qcSelectCheck').on("click", function (e) {
|
|
$('.qcSelectCheck').on("click", function (e) {
|
|
e.stopPropagation()
|
|
e.stopPropagation()
|
|
@@ -439,48 +513,8 @@ $('.qcSelectCheck').on("click", function (e) {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
-bindLeveldSelect()
|
|
|
|
-//病历等级选择
|
|
|
|
-function bindLeveldSelect() {
|
|
|
|
- $('.modularItem').on("click", function () {
|
|
|
|
- const modularItemName = $(this).attr("data-name")
|
|
|
|
- const modularItemItemId = $(this).attr("data-id")
|
|
|
|
- moduleName = modularItemItemId
|
|
|
|
- $('.selectModular').html(modularItemName)
|
|
|
|
- $(".modularList").css("display", "none")
|
|
|
|
- $(".selectModular").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
|
- $('.selectModular').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')
|
|
|
|
- })
|
|
|
|
-}
|
|
|
|
|
|
|
|
-bindCheckedSelectQc()
|
|
|
|
-//病历核查状态选择
|
|
|
|
-function bindCheckedSelectQc() {
|
|
|
|
- $('.qcCheckItem').on("click", function () {
|
|
|
|
- const qcCheckItemName = $(this).attr("data-name")
|
|
|
|
- const qcCheckItemItemId = $(this).attr("data-id") || ""
|
|
|
|
- state = qcCheckItemItemId
|
|
|
|
- $('.qcSelectCheck').html(qcCheckItemName)
|
|
|
|
- $(".qcCheckList").css("display", "none")
|
|
|
|
- $(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
|
- $('.qcSelectCheck').removeClass('unSelect')
|
|
|
|
- })
|
|
|
|
-}
|
|
|
|
|
|
|
|
$('.selectDept').on("click", function (e) {
|
|
$('.selectDept').on("click", function (e) {
|
|
e.stopPropagation()
|
|
e.stopPropagation()
|
|
@@ -726,23 +760,6 @@ 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) {
|
|
$(".fpCheckPeople").on("input", function (e) {
|
|
const val = $(this).val().trim()
|
|
const val = $(this).val().trim()
|
|
fpCheckNameTemp = val
|
|
fpCheckNameTemp = val
|
|
@@ -755,10 +772,6 @@ $(".qcCheckMain").on("input", function (e) {
|
|
const val = $(this).val().trim()
|
|
const val = $(this).val().trim()
|
|
qcCheckMain = qcCheckMainTemp = val
|
|
qcCheckMain = qcCheckMainTemp = val
|
|
})
|
|
})
|
|
-$(".doctorNumInp").on("input", function (e) {
|
|
|
|
- const val = $(this).val().trim();
|
|
|
|
- doctorNumTemp = val
|
|
|
|
-})
|
|
|
|
$(function () {
|
|
$(function () {
|
|
$.datepicker.regional['zh-CN'] = {
|
|
$.datepicker.regional['zh-CN'] = {
|
|
clearText: '清除',
|
|
clearText: '清除',
|
|
@@ -938,7 +951,7 @@ $((function ($) {
|
|
complaintDateStart: behosDateStart.replaceAll("/", "-"),
|
|
complaintDateStart: behosDateStart.replaceAll("/", "-"),
|
|
}
|
|
}
|
|
expJson(api.getComplaintRecordExport, param).then(res => {
|
|
expJson(api.getComplaintRecordExport, param).then(res => {
|
|
- downloadExportedData(res.data, "申述记录.xls")
|
|
|
|
|
|
+ downloadExportedData(res.data, "申诉记录.xls")
|
|
})
|
|
})
|
|
})
|
|
})
|
|
})($));
|
|
})($));
|