新增礼物管理全服通知-赛头像
This commit is contained in:
@@ -283,6 +283,22 @@
|
|||||||
<label class="radio-inline"><input type="radio" name="isLatest" value="1">是</label>
|
<label class="radio-inline"><input type="radio" name="isLatest" value="1">是</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">是否需要全服通知</label>
|
||||||
|
<div class="col-sm-3">
|
||||||
|
<label class="radio-inline"><input type="radio" name="notifyFull" value="0" checked>否</label>
|
||||||
|
<label class="radio-inline"><input type="radio" name="notifyFull" value="1">是</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label">是否需要塞头像</label>
|
||||||
|
<div class="col-sm-3">
|
||||||
|
<label class="radio-inline"><input type="radio" name="showAvatarType" value="0" checked>否</label>
|
||||||
|
<label class="radio-inline"><input type="radio" name="showAvatarType" value="1">送礼者</label>
|
||||||
|
<label class="radio-inline"><input type="radio" name="showAvatarType" value="2">收礼者</label>
|
||||||
|
<label class="radio-inline"><input type="radio" name="showAvatarType" value="3">左送右收</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label">限时礼物</label>
|
<label class="col-sm-2 control-label">限时礼物</label>
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
@@ -774,6 +790,36 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'notifyFull',
|
||||||
|
title: '是否需要全服通知',
|
||||||
|
align: 'center',
|
||||||
|
width: '10%',
|
||||||
|
formatter: function (val, row, index) {
|
||||||
|
if (val == 1) {
|
||||||
|
return '是';
|
||||||
|
} else {
|
||||||
|
return '否'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'showAvatarType',
|
||||||
|
title: '是否需要塞头像',
|
||||||
|
align: 'center',
|
||||||
|
width: '10%',
|
||||||
|
formatter: function (val, row, index) {
|
||||||
|
if (val == 0) {
|
||||||
|
return '否';
|
||||||
|
}else if (val == 1) {
|
||||||
|
return '送礼者';
|
||||||
|
} else if (val == 2) {
|
||||||
|
return '收礼者';
|
||||||
|
}else {
|
||||||
|
return '左送右收'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'roomExclude',
|
field: 'roomExclude',
|
||||||
title: '房间专属',
|
title: '房间专属',
|
||||||
@@ -966,6 +1012,8 @@ export default {
|
|||||||
$("input:radio[name='hasSvga']")[0].checked = true;
|
$("input:radio[name='hasSvga']")[0].checked = true;
|
||||||
$("input:radio[name='isLatest']")[0].checked = true;
|
$("input:radio[name='isLatest']")[0].checked = true;
|
||||||
$("input:radio[name='isTimeLimit']")[0].checked = true;
|
$("input:radio[name='isTimeLimit']")[0].checked = true;
|
||||||
|
$("input:radio[name='notifyFull']")[0].checked = true;
|
||||||
|
$("input:radio[name='showAvatarType']")[0].checked = true;
|
||||||
$("input:radio[name='roomExclude']")[0].checked = true;
|
$("input:radio[name='roomExclude']")[0].checked = true;
|
||||||
$("#notifyStaySecond").val('');
|
$("#notifyStaySecond").val('');
|
||||||
$("#isSkipRoom").val('');
|
$("#isSkipRoom").val('');
|
||||||
@@ -1217,6 +1265,8 @@ export default {
|
|||||||
$("input:radio[name='hasSvga']")[0].checked = true;
|
$("input:radio[name='hasSvga']")[0].checked = true;
|
||||||
$("input:radio[name='isLatest']")[1].checked = true;
|
$("input:radio[name='isLatest']")[1].checked = true;
|
||||||
$("input:radio[name='isTimeLimit']")[1].checked = true;
|
$("input:radio[name='isTimeLimit']")[1].checked = true;
|
||||||
|
$("input:radio[name='notifyFull']")[0].checked = true;
|
||||||
|
$("input:radio[name='showAvatarType']")[0].checked = true;
|
||||||
$("input:radio[name='roomExclude']")[0].checked = true;
|
$("input:radio[name='roomExclude']")[0].checked = true;
|
||||||
$('#giftType').val('');
|
$('#giftType').val('');
|
||||||
$("#notifyStaySecond").val('');
|
$("#notifyStaySecond").val('');
|
||||||
@@ -1295,6 +1345,8 @@ export default {
|
|||||||
var hasSvga = parseNum(json.entity.hasSvga);
|
var hasSvga = parseNum(json.entity.hasSvga);
|
||||||
var isLatest = parseNum(json.entity.isLatest);
|
var isLatest = parseNum(json.entity.isLatest);
|
||||||
var isTimeLimit = parseNum(json.entity.isTimeLimit);
|
var isTimeLimit = parseNum(json.entity.isTimeLimit);
|
||||||
|
var notifyFull = parseNum(json.entity.notifyFull);
|
||||||
|
var showAvatarType = json.entity.showAvatarType;
|
||||||
var isWholeServer = parseNum(json.entity.isWholeServer);
|
var isWholeServer = parseNum(json.entity.isWholeServer);
|
||||||
var roomExclude = parseNum(json.entity.roomExclude);
|
var roomExclude = parseNum(json.entity.roomExclude);
|
||||||
var partitionFlag = json.entity.partitionFlag;
|
var partitionFlag = json.entity.partitionFlag;
|
||||||
@@ -1312,6 +1364,8 @@ export default {
|
|||||||
$("input:radio[name='hasSvga']")[hasSvga].checked = true;
|
$("input:radio[name='hasSvga']")[hasSvga].checked = true;
|
||||||
$("input:radio[name='isLatest']")[isLatest].checked = true;
|
$("input:radio[name='isLatest']")[isLatest].checked = true;
|
||||||
$("input:radio[name='isTimeLimit']")[isTimeLimit].checked = true;
|
$("input:radio[name='isTimeLimit']")[isTimeLimit].checked = true;
|
||||||
|
$("input:radio[name='notifyFull']")[notifyFull].checked = true;
|
||||||
|
$("input:radio[name='showAvatarType']")[showAvatarType].checked = true;
|
||||||
$("input:radio[name='isWholeServerLabel']")[isWholeServer].checked = true;
|
$("input:radio[name='isWholeServerLabel']")[isWholeServer].checked = true;
|
||||||
$("input:radio[name='roomExclude']")[roomExclude].checked = true;
|
$("input:radio[name='roomExclude']")[roomExclude].checked = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user