|
@@ -10,15 +10,17 @@
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="!detailSettingFlag" label="活動票券" prop="eventType">
|
|
|
- <el-radio-group v-model="eventType" @change="setEventType" style="max-width: 1000px;max-height: 115px;overflow-y:scroll;">
|
|
|
+ <el-radio-group v-model="eventType" @change="setEventType" style="max-width: 1000px;max-height: 160px;overflow-y:scroll;">
|
|
|
<el-radio class="event1" label="hiteach50-3" border>Hiteach 50 第三階段</el-radio>
|
|
|
<el-radio class="event1" label="hiteach333-1" border>HiTeach 333 第一階段</el-radio>
|
|
|
<el-radio class="event1" label="hiteach333-3" border>HiTeach 333 第三階段</el-radio>
|
|
|
<el-radio class="event2" label="giftWebIRS501M" border>贈送WEBIRS50一個月</el-radio>
|
|
|
<el-radio class="event2" label="giftWebIRS503M" border>贈送WEBIRS50三個月</el-radio>
|
|
|
<el-radio class="event2" label="giftWebIRS501Y" border>贈送WEBIRS50一年</el-radio>
|
|
|
+ <el-radio class="event3" label="giftSmart1M" border>贈送智慧評分一個月</el-radio>
|
|
|
<el-radio class="event3" label="giftSmart3M" border>贈送智慧評分三個月</el-radio>
|
|
|
<el-radio class="event3" label="giftSmart1Y" border>贈送智慧評分一年</el-radio>
|
|
|
+ <el-radio class="event4" label="gifCollaboration1M" border>贈送協作一個月</el-radio>
|
|
|
<el-radio class="event4" label="gifCollaboration3M" border>贈送協作三個月</el-radio>
|
|
|
<el-radio class="event4" label="gifCollaboration1Y" border>贈送協作一年</el-radio>
|
|
|
<el-radio class="event5" label="gifAIGPT1M" border>贈送AI/GPT一個月</el-radio>
|
|
@@ -27,8 +29,6 @@
|
|
|
<el-radio class="event5" label="gifAIGPT1Y" border>贈送AI/GPT一年</el-radio>
|
|
|
<el-radio label="gifVoiceToText1Y" border>贈送語音轉錄文字一年</el-radio>
|
|
|
<el-radio label="gifAITXTAnalysis3M" border>贈送AI文句分析三個月</el-radio>
|
|
|
- <el-radio label="hiteachBookSPLicense" border>HiTeach專書贈送授權</el-radio>
|
|
|
- <el-radio label="fbGroupOpening" border>HiTeach社團開幕活動</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="detailSettingFlag" label="票券類型" prop="couponType" >
|
|
@@ -341,34 +341,6 @@ const setEventType = (type)=>{
|
|
|
crtCouponForm.info[2].n = 'HiTeach 333 Stage 3'
|
|
|
crtCouponForm.info[2].u = 'https://www.habook.com/en/event.php?act=view&id=162'
|
|
|
break
|
|
|
- case 'hiteachBookSPLicense':
|
|
|
- crtCouponForm.couponType = 'Event'
|
|
|
- crtCouponForm.eventName = 'hiteachBookSPLicense'
|
|
|
- crtCouponForm.rule[0].b = '901003'
|
|
|
- crtCouponForm.info[0].l = 'zh-tw'
|
|
|
- crtCouponForm.info[0].n = 'HiTeach專書贈送授權'
|
|
|
- crtCouponForm.info[0].u = 'https://www.habook.com/zh-tw'
|
|
|
- crtCouponForm.info[1].l = 'zh-cn'
|
|
|
- crtCouponForm.info[1].n = 'HiTeach专书赠送授权'
|
|
|
- crtCouponForm.info[1].u = 'https://www.habook.com.cn/'
|
|
|
- crtCouponForm.info[2].l = 'en-us'
|
|
|
- crtCouponForm.info[2].n = 'HiTeach Book Special License'
|
|
|
- crtCouponForm.info[2].u = 'https://www.habook.com/en/'
|
|
|
- break
|
|
|
- case 'fbGroupOpening':
|
|
|
- crtCouponForm.couponType = 'Event'
|
|
|
- crtCouponForm.eventName = 'fbGroupOpening'
|
|
|
- crtCouponForm.rule[0].b = '901008'
|
|
|
- crtCouponForm.info[0].l = 'zh-tw'
|
|
|
- crtCouponForm.info[0].n = 'HiTeach社團開幕活動'
|
|
|
- crtCouponForm.info[0].u = 'https://www.habook.com/zh-tw'
|
|
|
- crtCouponForm.info[1].l = 'zh-cn'
|
|
|
- crtCouponForm.info[1].n = 'HiTeach社团开幕活动'
|
|
|
- crtCouponForm.info[1].u = 'https://www.habook.com.cn/'
|
|
|
- crtCouponForm.info[2].l = 'en-us'
|
|
|
- crtCouponForm.info[2].n = 'Facebook Group Opening'
|
|
|
- crtCouponForm.info[2].u = 'https://www.habook.com/en/'
|
|
|
- break
|
|
|
case 'giftWebIRS501M':
|
|
|
crtCouponForm.couponType = 'Event'
|
|
|
crtCouponForm.eventName = 'giftWebIRS501M'
|
|
@@ -402,6 +374,16 @@ const setEventType = (type)=>{
|
|
|
crtCouponForm.info[2].l = 'en-us'
|
|
|
crtCouponForm.info[2].u = 'https://www.habook.com/en/'
|
|
|
break
|
|
|
+ case 'giftSmart1M':
|
|
|
+ crtCouponForm.couponType = 'Event'
|
|
|
+ crtCouponForm.eventName = 'giftSmart1M'
|
|
|
+ crtCouponForm.rule[0].b = '901020'
|
|
|
+ crtCouponForm.info[0].l = 'zh-tw'
|
|
|
+ crtCouponForm.info[0].u = 'https://www.habook.com/zh-tw'
|
|
|
+ crtCouponForm.info[1].l = 'zh-cn'
|
|
|
+ crtCouponForm.info[1].u = 'https://www.habook.com.cn/'
|
|
|
+ crtCouponForm.info[2].l = 'en-us'
|
|
|
+ crtCouponForm.info[2].u = 'https://www.habook.com/en/'
|
|
|
case 'giftSmart3M':
|
|
|
crtCouponForm.couponType = 'Event'
|
|
|
crtCouponForm.eventName = 'giftSmart3M'
|
|
@@ -434,6 +416,17 @@ const setEventType = (type)=>{
|
|
|
crtCouponForm.info[1].u = 'https://www.habook.com.cn/'
|
|
|
crtCouponForm.info[2].l = 'en-us'
|
|
|
crtCouponForm.info[2].u = 'https://www.habook.com/en/'
|
|
|
+ break
|
|
|
+ case 'gifCollaboration1M':
|
|
|
+ crtCouponForm.couponType = 'Event'
|
|
|
+ crtCouponForm.eventName = 'gifCollaboration1M'
|
|
|
+ crtCouponForm.rule[0].b = '901019'
|
|
|
+ crtCouponForm.info[0].l = 'zh-tw'
|
|
|
+ crtCouponForm.info[0].u = 'https://www.habook.com/zh-tw'
|
|
|
+ crtCouponForm.info[1].l = 'zh-cn'
|
|
|
+ crtCouponForm.info[1].u = 'https://www.habook.com.cn/'
|
|
|
+ crtCouponForm.info[2].l = 'en-us'
|
|
|
+ crtCouponForm.info[2].u = 'https://www.habook.com/en/'
|
|
|
break
|
|
|
case 'gifCollaboration3M':
|
|
|
crtCouponForm.couponType = 'Event'
|