Changes
This commit is contained in:
parent
e6a0268091
commit
3200777e49
|
|
@ -96,7 +96,7 @@
|
||||||
var activeEndDate = $("input[name='activeEndDate']").val();
|
var activeEndDate = $("input[name='activeEndDate']").val();
|
||||||
var activeType = $("select[name='activeType']").val();
|
var activeType = $("select[name='activeType']").val();
|
||||||
var activePic = $("input[name='activePic']").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();
|
var remark = $("input[name='remark']").val();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
cache : true,
|
cache : true,
|
||||||
|
|
|
||||||
|
|
@ -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: '是否设置首页',
|
title: '是否设置首页',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
formatter: function(value, item, index) {
|
formatter: function(value, item, index) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue