Browse Source

Merge branch 'xy3yuan1015' into test

1178232204@qq.com 3 years ago
parent
commit
9bfd429c72
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/js/dept/partDetailControlDept.js

+ 4 - 4
src/js/dept/partDetailControlDept.js

@@ -300,10 +300,9 @@ function renderTab(data, hisId, activePage) {
     $('.tbody').html(str ? str : emptyBox())
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function () {
-        console.log(deptId);
-        
+        let aa = undefined
         let docName = $(this).parent().attr("data-doc")
-        let docId = $(this).parent().attr("data-docId")
+        let docId = $(this).parent().attr("data-docId") || ''
         let titleName = $(this).attr("data-title")
         let ruleType = $(this).attr("data-ruleType")
         $(parent.document).find("#contentIframe").attr("src", "quexianDetailHome.html?from=10&casesId=243&deptName=" + deptName + "&deptId=" + deptId + "&docName=" + docName + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&titleName=" + titleName + "&docId=" + docId)
@@ -311,9 +310,10 @@ function renderTab(data, hisId, activePage) {
     // initScroll("partDetail","YX",1)
     // 不合格数跳转至 病历列表详情页
     $(".goHomeDetail1").click(function () {
+       
         let index = $(this).parent().attr("data-index")
         let docName = $(this).parent().attr("data-doc")
-        let docId = $(this).parent().attr("data-docId")
+        let docId = $(this).parent().attr("data-docId") || ''
         let titleName = $(this).attr("data-title")
         $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?from=2&casesId=243&deptName=" + deptName + "&deptId=" + deptId  + "&docName=" + docName + "&shijian=3" + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&titleName=" + titleName + "&docId=" + docId)
         // $(parent.document).find("#contentIframe").attr("src", "qcListCopy.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&defectName=" + defectName)