Explorar o código

磁贴配置修改,增加磁贴入口字段

yanym hai 2 semanas
pai
achega
45b4e11709

+ 10 - 0
suishenbang-wxportal/suishenbang-wxportal-manager/src/main/resources/templates/wxportal/magnet/wxMagnet.html

@@ -75,6 +75,7 @@
 	var datas = [[${@dict.getType('sys_show_hide')}]];
 	var magnetSizeList = [[${@dict.getType('wx_magnet_size')}]];
 	var magnetTypeDatas = [[${@dict.getType('sys_magnet_type')}]];
+    var userTypeDatas = [[${@dict.getType('sys_lantern_permission')}]];
 	var prefix = ctx + "wxportal/magnet";
 
 	$(function() {
@@ -141,6 +142,15 @@
 						return $.table.selectDictLabel(magnetTypeDatas, item.magnetType);
 					}
 				},
+                {
+                    title: '磁贴入口',
+                    field: 'userType',
+                    width: '10%',
+                    align: "left",
+                    formatter: function(value, item, index) {
+                        return $.table.selectDictLabel(userTypeDatas, item.userType);
+                    }
+                },
 				{
 					title: '磁贴尺寸',
 					field: 'magnetType',