瀏覽代碼

医生ID为空处理

1178232204@qq.com 3 年之前
父節點
當前提交
12301e8ec5
共有 1 個文件被更改,包括 4 次插入4 次删除
  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)