diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 51edbd6..6ed170c 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -283,6 +283,22 @@ +
+ +
+ + +
+
+
+ +
+ + + + +
+
@@ -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', title: '房间专属', @@ -966,6 +1012,8 @@ export default { $("input:radio[name='hasSvga']")[0].checked = true; $("input:radio[name='isLatest']")[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; $("#notifyStaySecond").val(''); $("#isSkipRoom").val(''); @@ -1217,6 +1265,8 @@ export default { $("input:radio[name='hasSvga']")[0].checked = true; $("input:radio[name='isLatest']")[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; $('#giftType').val(''); $("#notifyStaySecond").val(''); @@ -1295,6 +1345,8 @@ export default { var hasSvga = parseNum(json.entity.hasSvga); var isLatest = parseNum(json.entity.isLatest); var isTimeLimit = parseNum(json.entity.isTimeLimit); + var notifyFull = parseNum(json.entity.notifyFull); + var showAvatarType = json.entity.showAvatarType; var isWholeServer = parseNum(json.entity.isWholeServer); var roomExclude = parseNum(json.entity.roomExclude); var partitionFlag = json.entity.partitionFlag; @@ -1312,6 +1364,8 @@ export default { $("input:radio[name='hasSvga']")[hasSvga].checked = true; $("input:radio[name='isLatest']")[isLatest].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='roomExclude']")[roomExclude].checked = true;