change group view report-review by huangtao
Showing
1 changed file
with
5 additions
and
1 deletions
@@ -70,8 +70,12 @@ class ResourceShowYasRpter { | @@ -70,8 +70,12 @@ class ResourceShowYasRpter { | ||
70 | let cacheTheShowSkns = []; // 暂存此次上报的楼层,上报后复制给 lastReportSkns | 70 | let cacheTheShowSkns = []; // 暂存此次上报的楼层,上报后复制给 lastReportSkns |
71 | let tabParams = {}; | 71 | let tabParams = {}; |
72 | 72 | ||
73 | + let $tapDom = $('.guess-like-tab-active'); | ||
74 | + | ||
75 | + $tapDom = $tapDom.length ? $tapDom.parent() : $('.guess-tab-active').parent(); | ||
76 | + | ||
73 | tabParams.TAB_NAME = $('.guess-like-tab-active').parent().data('tab-name') || $('.guess-tab-active').parent().data('tab-name'); | 77 | tabParams.TAB_NAME = $('.guess-like-tab-active').parent().data('tab-name') || $('.guess-tab-active').parent().data('tab-name'); |
74 | - tabParams.TAB_ID = $('.guess-like-tab-active').parent().data('item-idx') || $('.guess-tab-active').parent().data('item-idx'); | 78 | + tabParams.TAB_ID = $tapDom.data('item-idx'); |
75 | tabParams.P_PARAM = $('.guess-like-tab-active').parent().data('code') || $('.guess-tab-active').parent().data('code'); | 79 | tabParams.P_PARAM = $('.guess-like-tab-active').parent().data('code') || $('.guess-tab-active').parent().data('code'); |
76 | 80 | ||
77 | $('.templates').each((floorIndex, theFloor) => { | 81 | $('.templates').each((floorIndex, theFloor) => { |
-
Please register or login to post a comment