From 7610a2768f126e812457b78608d229471dabb41d Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Wed, 13 Nov 2024 15:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A4=BC=E7=89=A9=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=85=A8=E6=9C=8D=E9=80=9A=E7=9F=A5-=E8=B5=9B?= =?UTF-8?q?=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftManageView.vue | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) 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;