diff --git a/src/views/props/props-source-group/form-edit.vue b/src/views/props/props-source-group/form-edit.vue index f37d9ea..5ca276b 100644 --- a/src/views/props/props-source-group/form-edit.vue +++ b/src/views/props/props-source-group/form-edit.vue @@ -100,7 +100,10 @@ " >数量:{{ item.content }} - {{ item.badgeName }} 天数:{{ item.quantity }} + + + + + +
+ +
+
+ {{ pItem.name }} +
+
+
+
+
+ + + + + + + + + + + + + +
道具券 + 荣誉活动
@@ -785,6 +873,11 @@ export default { loading: false, loadData: false, list: [] + }, + HONOR_ACTIVITY: { + loading: false, + loadData: false, + list: [] } }, propsTypeMap: { @@ -865,6 +958,11 @@ export default { DATA_CARD: { value: "PROPS", name: "资料卡" + }, + + HONOR_ACTIVITY: { + value: "HONOR_ACTIVITY", + name: "荣誉-活动" } }, isChangeSource: false, @@ -1056,6 +1154,10 @@ export default { that.addContentData(type); return; } + // if (that.isHONORACTIVITY(type)) { + // that.addContentData(type); + // return; + // } if (that.propsTypeData[type].loadData === true) { that.addContentData(type); return; @@ -1207,6 +1309,10 @@ export default { if (this.isRoomBadge(type)) { return "ROOM_ACHIEVEMENT"; } + + if (this.isHONORACTIVITY(type)) { + return "HONOR_ACTIVITY"; + } return null; }, isCurrency(type) { @@ -1220,6 +1326,10 @@ export default { isPROPCOUPON(type) { return type === "PROP_COUPON"; }, + // 是否为荣誉活动 + isHONORACTIVITY(type) { + return type === "HONOR_ACTIVITY"; + }, isBadge(type) { return this.isRoomBadge(type) || this.isUserBadge(type); },