diff --git a/sino-activity/src/main/resources/templates/activity/prizeInfo/info.html b/sino-activity/src/main/resources/templates/activity/prizeInfo/info.html
index 780e59673..d7e25a0fd 100644
--- a/sino-activity/src/main/resources/templates/activity/prizeInfo/info.html
+++ b/sino-activity/src/main/resources/templates/activity/prizeInfo/info.html
@@ -20,9 +20,9 @@
-
@@ -39,9 +39,9 @@
-
+
-
+
@@ -81,7 +81,8 @@
var editFlag = [[${@permission.hasPermi('activity:info:edit')}]];
var removeFlag = [[${@permission.hasPermi('activity:info:remove')}]];
var prefix = ctx + "activity/prize";
-
+ var datas = [[${@dict.getType('prizeType')}]];
+ var statusList = [[${@dict.getType('status')}]];
$(function() {
var options = {
url: prefix + "/list",
@@ -108,7 +109,10 @@
},
{
field: 'prizetype',
- title: '奖品类型'
+ title: '奖品类型',
+ formatter: function(value, row, index) {
+ return $.table.selectDictLabel(datas, value);
+ }
},
{
field: 'prizevalue',
@@ -128,8 +132,11 @@
// },
{
field: 'status',
- title: '状态'
+ title: '状态',
// 0 未启用,1 启用
+ formatter: function(value, row, index) {
+ return $.table.selectDictLabel(statusList, value);
+ }
},
{
field: 'integralprojectcode',