Explorar o código

模块到条目地址加科室

luolei %!s(int64=5) %!d(string=hai) anos
pai
achega
8dcb38ae92
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/js/mukuai.js

+ 2 - 1
src/js/mukuai.js

@@ -290,7 +290,8 @@ function renderTab(data,activePage){
     $(".goHomeDetail").click(function(){
         let model = $(this).attr("data-model")
         focusMenuItem("YH-KSZR-TMQXZB_XQ");
-        $(parent.document).find("#contentIframe").attr("src","./singleVeto.html?from=2&special=1&model="+model+"&shijian=3"+"&startDateParam="+startDateParam+"&endDateParam="+endDateParam)
+        let deptName = deptId||(deptList.length>0?deptList[0].deptName:'')
+        $(parent.document).find("#contentIframe").attr("src","./singleVeto.html?from=2&deptName="+deptName+"&special=1&model="+model+"&shijian=3"+"&startDateParam="+startDateParam+"&endDateParam="+endDateParam)
     })
 }