通知合并,字典标识由:on ==> noticeMergeSwitch:on
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -41,7 +41,7 @@ layui.define(['form', 'admin', 'laydate', 'common','sessions','reskpilist'], fun | @@ -41,7 +41,7 @@ layui.define(['form', 'admin', 'laydate', 'common','sessions','reskpilist'], fun | ||
41 | , async: false | 41 | , async: false |
42 | , success: function (res) { | 42 | , success: function (res) { |
43 | $.each(res.data, function (i, v) { | 43 | $.each(res.data, function (i, v) { |
44 | - if(v.ddicCode == 'on'){ | 44 | + if(v.ddicCode == 'noticeMergeSwitch:on'){ |
45 | NoticeMergeFlag= 'on'; | 45 | NoticeMergeFlag= 'on'; |
46 | $('#noticeMergeTab').show(); | 46 | $('#noticeMergeTab').show(); |
47 | } | 47 | } |
-
Please register or login to post a comment