|
@@ -53,8 +53,8 @@ $(".abnormalClear").click(function () {
|
|
$('.patientNumInp').val('')
|
|
$('.patientNumInp').val('')
|
|
$("th[code]").removeClass("asc desc")
|
|
$("th[code]").removeClass("asc desc")
|
|
//behospitalCode =behospitalCodeTemp= ""
|
|
//behospitalCode =behospitalCodeTemp= ""
|
|
- getTabData(1)
|
|
|
|
getDeptList()
|
|
getDeptList()
|
|
|
|
+ getTabData(1)
|
|
|
|
|
|
})
|
|
})
|
|
$(".partTitle a").click(function () {
|
|
$(".partTitle a").click(function () {
|
|
@@ -82,7 +82,7 @@ function getTabData(activePage) {
|
|
const dateEnd = getPickerDate($("#datepicker2"), 2)
|
|
const dateEnd = getPickerDate($("#datepicker2"), 2)
|
|
const start = new Date(dateStatrt).getTime()
|
|
const start = new Date(dateStatrt).getTime()
|
|
const end = new Date(dateEnd).getTime()
|
|
const end = new Date(dateEnd).getTime()
|
|
- if (start > end) {
|
|
|
|
|
|
+ if (start > end) {
|
|
$.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
|
|
}
|
|
}
|
|
@@ -96,7 +96,7 @@ function getTabData(activePage) {
|
|
//"type": 0, //1-本月,2-本年,0-自定义时间(现在所有都是自定义时间,都会传开始日期和结束日期)
|
|
//"type": 0, //1-本月,2-本年,0-自定义时间(现在所有都是自定义时间,都会传开始日期和结束日期)
|
|
"startDate": dateStatrt.replace(/\//g, '-'),
|
|
"startDate": dateStatrt.replace(/\//g, '-'),
|
|
"endDate": dateEnd.replace(/\//g, '-'),
|
|
"endDate": dateEnd.replace(/\//g, '-'),
|
|
- "casesEntryIds": [timelinessId]
|
|
|
|
|
|
+ "casesEntryIds":[timelinessId]
|
|
}
|
|
}
|
|
startDateParam = dateStatrt
|
|
startDateParam = dateStatrt
|
|
endDateParam = dateEnd
|
|
endDateParam = dateEnd
|
|
@@ -154,7 +154,7 @@ function formatTableData(data) {
|
|
function renderTab(data, hisId, activePage) {
|
|
function renderTab(data, hisId, activePage) {
|
|
let formatColumns = formatTableData(data.columns)
|
|
let formatColumns = formatTableData(data.columns)
|
|
data = data.data;
|
|
data = data.data;
|
|
- console.log("renderTab", data);
|
|
|
|
|
|
+ // console.log("renderTab", data);
|
|
|
|
|
|
let str = ``
|
|
let str = ``
|
|
|
|
|
|
@@ -164,10 +164,10 @@ function renderTab(data, hisId, activePage) {
|
|
str += `
|
|
str += `
|
|
<tr data-index=${i}>
|
|
<tr data-index=${i}>
|
|
<td class="textCenter">${(activePage - 1) * 15 + i + 1}</td>
|
|
<td class="textCenter">${(activePage - 1) * 15 + i + 1}</td>
|
|
- <td>${item.hospitalId || "-"}</td>
|
|
|
|
|
|
+ <td>${item.behospitalCode || "-"}</td>
|
|
<td>${item.name || "-"}</td>
|
|
<td>${item.name || "-"}</td>
|
|
<td>${item.sex || "-"}</td>
|
|
<td>${item.sex || "-"}</td>
|
|
- <td>${item.behospitalCode || "-"}</td>
|
|
|
|
|
|
+ <td>${item.fileCode || "-"}</td>
|
|
<td>${item.doctorName || "-"}</td>
|
|
<td>${item.doctorName || "-"}</td>
|
|
<td>${item.behDeptName || "-"}</td>
|
|
<td>${item.behDeptName || "-"}</td>
|
|
<td>${item.ruleName || "-"}</td>
|
|
<td>${item.ruleName || "-"}</td>
|
|
@@ -180,14 +180,14 @@ function renderTab(data, hisId, activePage) {
|
|
str += `
|
|
str += `
|
|
<tr data-index=${i}>
|
|
<tr data-index=${i}>
|
|
<td class="textCenter">${(activePage - 1) * 15 + i + 1}</td>
|
|
<td class="textCenter">${(activePage - 1) * 15 + i + 1}</td>
|
|
- <td>${item.hospitalId || "-"}</td>
|
|
|
|
|
|
+ <td>${item.behospitalCode || "-"}</td>
|
|
<td>${item.name || "-"}</td>
|
|
<td>${item.name || "-"}</td>
|
|
<td>${item.sex || "-"}</td>
|
|
<td>${item.sex || "-"}</td>
|
|
- <td>${item.behospitalCode || "-"}</td>
|
|
|
|
|
|
+ <td>${item.fileCode || "-"}</td>
|
|
<td>${item.doctorName || "-"}</td>
|
|
<td>${item.doctorName || "-"}</td>
|
|
<td>${item.behDeptName || "-"}</td>
|
|
<td>${item.behDeptName || "-"}</td>
|
|
<td>${item.ruleName || "-"}</td>
|
|
<td>${item.ruleName || "-"}</td>
|
|
- <td>${item.wardName || "-"}</td>
|
|
|
|
|
|
+ <td>${item.remark || "-"}</td>
|
|
<td>${item.behospitalDate || "-"}</td>
|
|
<td>${item.behospitalDate || "-"}</td>
|
|
<td>${item.isPlacefile || "-"}</td>
|
|
<td>${item.isPlacefile || "-"}</td>
|
|
</tr>
|
|
</tr>
|