Преглед изворни кода

量表名称无法跳转问题

1178232204@qq.com пре 3 година
родитељ
комит
f3b77ee75c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/js/cdss.js

+ 1 - 1
src/js/cdss.js

@@ -201,7 +201,7 @@ function moreInfo() {
     const type = $(this).parents(".pushItemBox").attr('data-type')
     const type = $(this).parents(".pushItemBox").attr('data-type')
     openNewWin(`staticInfo.html?type=${encodeURIComponent(type)}&position=0&name=${encodeURIComponent(name)}&mrId=${encodeURIComponent(mrId)}`)
     openNewWin(`staticInfo.html?type=${encodeURIComponent(type)}&position=0&name=${encodeURIComponent(name)}&mrId=${encodeURIComponent(mrId)}`)
   })
   })
-  $('.evaluationtitle .item-name').off("click").click(function () {
+  $('.evaluationtitle').off("click").click(function () {
     const name = $(this).parents(".pushItemBox").attr('data-name')
     const name = $(this).parents(".pushItemBox").attr('data-name')
     const type = $(this).parents(".pushItemBox").attr('data-type')
     const type = $(this).parents(".pushItemBox").attr('data-type')
     openNewWin(`staticInfo.html?type=${encodeURIComponent(type)}&position=0&name=${encodeURIComponent(name)}&page=1&mrId=${encodeURIComponent(mrId)}&gauge=gauge`)
     openNewWin(`staticInfo.html?type=${encodeURIComponent(type)}&position=0&name=${encodeURIComponent(name)}&page=1&mrId=${encodeURIComponent(mrId)}&gauge=gauge`)