|
@@ -185,7 +185,7 @@ function getTabData(activePage){
|
|
|
const param = {
|
|
|
"asc": data_asc,
|
|
|
"desc": data_desc,
|
|
|
- "deptName": deptId||"",
|
|
|
+ "deptName": deptIdTemp||"",
|
|
|
// "name": behospitalCode||"",
|
|
|
"doctorName": casesName =='全部'?"": casesName || '',
|
|
|
"doctorId": casesIdTemp || '',
|
|
@@ -278,7 +278,6 @@ $(".filter").on("click", function(e){
|
|
|
getTabData(1)
|
|
|
})
|
|
|
function renderTab(data,hisId,activePage){
|
|
|
- console.log(data,'渲染的页面');
|
|
|
let str = ``
|
|
|
for(let i = 0; i < data.length; i++){
|
|
|
const item = data[i]
|
|
@@ -308,16 +307,16 @@ function renderTab(data,hisId,activePage){
|
|
|
let improveType = $(this).attr("data-improve");
|
|
|
let docName =$(this).attr("doc-name");
|
|
|
name = name === "全院" ? "全部" : name;
|
|
|
- // $(parent.document).find("#contentIframe").attr("src",`./qcListCopyDept.html?defectName=${defectName}&casesId=${caseId} &defectId=${defectId}&startDate=${startDateParam}&endDate=${endDateParam}&from=2&isSingleReject=${item.isReject}&deptName=${deptName}&deptId=${deptName}`)
|
|
|
+ // $(parent.document).find("#contentIframe").attr("src",`./qcListCopyDept.html?defectName=${defectName}&casesId=${caseId} &defectId=${defectId}&startDate=${startDateParam}&endDate=${endDateParam}&from=2&isSingleReject=${item.isReject}&deptName=${deptName}&deptId=${deptName}`) +"&deptName="+deptIdTemp
|
|
|
if (checkStatus === '1') {
|
|
|
// 核查数量跳转
|
|
|
- $(parent.document).find("#contentIframe").attr("src", "qcListCopyDept.html?from=7&deptName=" + name + "&deptId=" + id + "&casesEntryId=" + casesId + "&defectName=" + casesName + "&startDate=" + startDateParam + "&endDate=" + endDateParam +"&docName=" + docName)
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "qcListCopyDept.html?from=7&deptName=" + deptIdTemp + "&deptId=" + id + "&casesEntryId=" + casesId + "&defectName=" + casesName + "&startDate=" + startDateParam + "&endDate=" + endDateParam +"&docName=" + docName)
|
|
|
// return
|
|
|
} else if(checkStatus === '0'){
|
|
|
// 质控总数跳转
|
|
|
- $(parent.document).find("#contentIframe").attr("src", "qcListCopyDept.html?from=8&deptName=" + name + "&deptId=" + id + "&casesEntryId=" + casesId + "&defectName=" + casesName + "&startDate=" + startDateParam + "&endDate=" + endDateParam +"&docName=" + docName )
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "qcListCopyDept.html?from=8&deptName=" + deptIdTemp + "&deptId=" + id + "&casesEntryId=" + casesId + "&defectName=" + casesName + "&startDate=" + startDateParam + "&endDate=" + endDateParam +"&docName=" + docName )
|
|
|
}else{
|
|
|
- $(parent.document).find("#contentIframe").attr("src", "qcListCopyDept.html?from=6&deptName=" + name + "&deptId=" + id + "&casesEntryId=" + casesId + "&defectName=" + casesName + "&startDate=" + startDateParam + "&endDate=" + endDateParam+"&docName=" + docName + "&improveType=" + improveType)
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "qcListCopyDept.html?from=6&deptName=" + deptIdTemp + "&deptId=" + id + "&casesEntryId=" + casesId + "&defectName=" + casesName + "&startDate=" + startDateParam + "&endDate=" + endDateParam+"&docName=" + docName + "&improveType=" + improveType)
|
|
|
}
|
|
|
|
|
|
})
|