This commit is contained in:
zhengzheng 2022-04-15 22:03:13 +08:00
parent e6a0268091
commit 3200777e49
2 changed files with 18 additions and 2 deletions

View File

@ -96,7 +96,7 @@
var activeEndDate = $("input[name='activeEndDate']").val();
var activeType = $("select[name='activeType']").val();
var activePic = $("input[name='activePic']").val();
var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
var status = $("select[name='status']").val();
var remark = $("input[name='remark']").val();
$.ajax({
cache : true,

View File

@ -109,7 +109,23 @@
}
},
{
field: 'activeType',
field: 'status',
title: '活动状态',
sortable: true,
formatter: function(value, item, index) {
if (item.status == '1') {
return '进行中';
}
else if (item.status == '2') {
return '报名中';
} else if (item.status == '3') {
return '已结束';
}
}
},
{
field: 'isFristPage',
title: '是否设置首页',
sortable: true,
formatter: function(value, item, index) {