Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
8f4ea258
Commit
8f4ea258
authored
Mar 21, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘活动页面国际化...’
parent
80eb1639
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
196 additions
and
100 deletions
+196
-100
App.vue
src/App.vue
+1
-1
jp.js
src/assets/common/lang/jp.js
+60
-0
zh.js
src/assets/common/lang/zh.js
+36
-0
CouponList.vue
src/components/activity/CouponList.vue
+76
-76
LuckyDraw.vue
src/components/activity/LuckyDraw.vue
+2
-2
awardList.vue
src/components/activity/awardList.vue
+21
-21
No files found.
src/App.vue
View file @
8f4ea258
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
zhaw2pckn4j
.css"
;
@import
"//at.alicdn.com/t/font_635492_
a59svrd6x1
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/assets/common/lang/jp.js
View file @
8f4ea258
...
@@ -627,3 +627,63 @@ export const advmanager = {
...
@@ -627,3 +627,63 @@ export const advmanager = {
export
const
insManage
=
{
export
const
insManage
=
{
im_acc
:
'従属アカウント'
,
im_acc
:
'従属アカウント'
,
}
}
export
const
active
=
{
ld_name
:
'受賞の名前'
,
ld_name2
:
'受賞の名前'
,
ld_status
:
'抽選の状態'
,
ld_jinyong
:
'禁用'
,
ld_addld
:
'入賞を新たにする'
,
ld_cjcs
:
'抽選回数(一人当たり)'
,
ld_editInfo
:
'抽選情報を修正する'
,
ld_seeDr
:
'賞を調べる'
,
ld_deletAC
:
'イベントを削除'
,
ld_noData
:
'あなたの必要なデータを見つけることができません。'
,
ld_cjNum
:
'抽選回数'
,
ld_cjRule
:
'抽選規則'
,
ld_djscwj
:
'クリック/引っ張る'
,
ad_addad
:
'賞を追加する'
,
ad_xuhao
:
'シリアル番号'
,
ad_adName
:
'賞の名'
,
ad_allNum
:
'賞の数'
,
ad_num
:
'当選数'
,
ad_endNum
:
'残りの数'
,
ad_status
:
'賞の状態 '
,
ad_type
:
'賞のタイプ'
,
ad_thankCome
:
'ありがとう参加'
,
ad_ybjx
:
'一般賞'
,
ad_yhq
:
'クーポン'
,
ad_jxgl
:
'賞の関連'
,
ad_ssxl
:
'所属シリーズ'
,
ad_xlmc
:
'シリーズ名'
,
cl_couponName
:
'クーポンの名前'
,
cl_yizuofei
:
'もう廃れた'
,
cl_addCoupon
:
'追加クーポン'
,
cl_couponNum
:
'クーポンの数'
,
cl_ffzongliang
:
'数を支給する'
,
cl_sytiaojian
:
'使用条件'
,
cl_miane
:
'額面'
,
cl_djshiyong
:
'重ねて使用する'
,
cl_sxriqi
:
'発効日'
,
cl_sxzhuangtai
:
'発効状態'
,
cl_gqriqi
:
'期限切れの期日'
,
cl_addPp
:
'創建者'
,
cl_dyquan
:
'相殺券'
,
cl_zkquan
:
'割引券'
,
cl_byxu
:
'許さない'
,
cl_yuncu
:
'許可する'
,
cl_sxzhong
:
'発効中'
,
cl_wsxiao
:
'未発効'
,
cl_ygqi
:
'期限が切れた'
,
cl_deleteCoupon
:
'クーポンを削除'
,
cl_couponType
:
'クーポンのタイプ'
,
cl_yhqmiane
:
'クーポンの額面'
,
cl_dkjezk
:
'金額を控除する/割引'
,
cl_mdskeyong
:
'満了する'
,
cl_yxjzhiri
:
'有効期限'
,
cl_zuofei
:
'廃棄する'
,
cl_syfanwei
:
'適用範囲'
,
cl_tongyong
:
'通用する'
,
cl_team
:
'チーム'
,
cl_qianzheng
:
'ビザ'
,
cl_jipiao
:
'航空券'
,
}
\ No newline at end of file
src/assets/common/lang/zh.js
View file @
8f4ea258
...
@@ -652,6 +652,42 @@ export const active = {
...
@@ -652,6 +652,42 @@ export const active = {
ad_status
:
'奖项状态'
,
ad_status
:
'奖项状态'
,
ad_type
:
'奖项类型'
,
ad_type
:
'奖项类型'
,
ad_thankCome
:
'谢谢参与'
,
ad_thankCome
:
'谢谢参与'
,
ad_ybjx
:
'一般奖项'
,
ad_yhq
:
'优惠券'
,
ad_jxgl
:
'奖项关联'
,
ad_ssxl
:
'所属系列'
,
ad_xlmc
:
'系列名称'
,
cl_couponName
:
'优惠券名称'
,
cl_yizuofei
:
'已作废'
,
cl_addCoupon
:
'新增优惠券'
,
cl_couponNum
:
'优惠券数量'
,
cl_ffzongliang
:
'发放数量'
,
cl_sytiaojian
:
'使用条件'
,
cl_miane
:
'面额'
,
cl_djshiyong
:
'叠加使用'
,
cl_sxriqi
:
'生效日期'
,
cl_sxzhuangtai
:
'生效状态'
,
cl_gqriqi
:
'过期日期'
,
cl_addPp
:
'创建人'
,
cl_dyquan
:
'抵用券'
,
cl_zkquan
:
'折扣券'
,
cl_byxu
:
'不允许'
,
cl_yuncu
:
'允许'
,
cl_sxzhong
:
'生效中'
,
cl_wsxiao
:
'未生效'
,
cl_ygqi
:
'已过期'
,
cl_deleteCoupon
:
'删除优惠券'
,
cl_couponType
:
'优惠券类型'
,
cl_yhqmiane
:
'优惠券面额'
,
cl_dkjezk
:
'抵扣金额/折扣'
,
cl_mdskeyong
:
'满多少可用'
,
cl_yxjzhiri
:
'有效截止日'
,
cl_zuofei
:
'作废'
,
cl_syfanwei
:
'适用范围'
,
cl_tongyong
:
'通用'
,
cl_team
:
'团队'
,
cl_qianzheng
:
'签证'
,
cl_jipiao
:
'机票'
,
}
}
export
const
rule
=
{
export
const
rule
=
{
company
:
'请选择公司'
,
company
:
'请选择公司'
,
...
...
src/components/activity/CouponList.vue
View file @
8f4ea258
This diff is collapsed.
Click to expand it.
src/components/activity/LuckyDraw.vue
View file @
8f4ea258
...
@@ -112,8 +112,8 @@
...
@@ -112,8 +112,8 @@
<em>
{{
$t
(
'active.ld_status'
)
}}
</em>
<em>
{{
$t
(
'active.ld_status'
)
}}
</em>
<el-select
filterable
v-model=
"msg.lotteryStatus"
>
<el-select
filterable
v-model=
"msg.lotteryStatus"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('pub.normalSel')"
label=
"正常"
:value=
"1"
></el-option>
<el-option
:label=
"$t('pub.normalSel')"
:value=
"1"
></el-option>
<el-option
:label=
"$t('active.ld_jinyong')"
label=
"禁用"
:value=
"2"
></el-option>
<el-option
:label=
"$t('active.ld_jinyong')"
:value=
"2"
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
...
...
src/components/activity/awardList.vue
View file @
8f4ea258
...
@@ -27,16 +27,16 @@
...
@@ -27,16 +27,16 @@
<td>
{{
item
.
awardWinningCount
}}
</td>
<td>
{{
item
.
awardWinningCount
}}
</td>
<td>
{{
item
.
awardCount
-
item
.
awardWinningCount
>=
0
?
item
.
awardCount
-
item
.
awardWinningCount
:
0
}}
</td>
<td>
{{
item
.
awardCount
-
item
.
awardWinningCount
>=
0
?
item
.
awardCount
-
item
.
awardWinningCount
:
0
}}
</td>
<td>
{{
item
.
awardStatus
==
1
?
$t
(
'pub.normalSel'
)
:
$t
(
'active.ld_jinyong'
)
}}
</td>
<td>
{{
item
.
awardStatus
==
1
?
$t
(
'pub.normalSel'
)
:
$t
(
'active.ld_jinyong'
)
}}
</td>
<td
v-if=
"item.awardType==1"
>
谢谢参与
</td>
<td
v-if=
"item.awardType==1"
>
{{
$t
(
'active.ad_thankCome'
)
}}
</td>
<td
v-if=
"item.awardType==2"
>
一般奖项
</td>
<td
v-if=
"item.awardType==2"
>
{{
$t
(
'active.ad_ybjx'
)
}}
</td>
<td
v-if=
"item.awardType==3"
>
优惠券
</td>
<td
v-if=
"item.awardType==3"
>
{{
$t
(
'active.ad_yhq'
)
}}
</td>
<td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改抽奖信息
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.ld_editInfo')
"
placement=
"top"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
circle
circle
@
click=
"outerVisible=true,dialogTitle=
'修改抽奖信息'
,updateData(item)"
@
click=
"outerVisible=true,dialogTitle=
$t('active.ld_editInfo')
,updateData(item)"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
</td>
</td>
...
@@ -57,29 +57,29 @@
...
@@ -57,29 +57,29 @@
<table
class=
"layerTable layerNoIcon"
>
<table
class=
"layerTable layerNoIcon"
>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"奖项名
"
prop=
"awardName"
>
<el-form-item
:label=
"$t('active.ad_adName')
"
prop=
"awardName"
>
<el-input
v-model=
"addMsg.awardName"
class=
"w217"
placeholder=
"奖项名
"
/>
<el-input
v-model=
"addMsg.awardName"
class=
"w217"
:placeholder=
"$t('active.ad_adName')
"
/>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td>
<el-form-item
label=
"奖项数量
"
prop=
"awardCount"
>
<el-form-item
:label=
"$t('active.ad_allNum')
"
prop=
"awardCount"
>
<el-input
v-model=
"addMsg.awardCount"
class=
"w217"
@
keyup
.
native=
"checkInteger(addMsg,'awardCount')"
placeholder=
"奖项数量"
/>
<el-input
v-model=
"addMsg.awardCount"
class=
"w217"
@
keyup
.
native=
"checkInteger(addMsg,'awardCount')"
placeholder=
"奖项数量"
/>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
</tr>
<td>
<td>
<el-form-item
label=
"奖项类型
"
prop=
"awardType"
>
<el-form-item
:label=
"$t('active.ad_type')
"
prop=
"awardType"
>
<el-select
filterable
v-model=
"addMsg.awardType"
class=
"w217"
@
change=
"getAwardRelationId(addMsg.awardType)"
>
<el-select
filterable
v-model=
"addMsg.awardType"
class=
"w217"
@
change=
"getAwardRelationId(addMsg.awardType)"
>
<el-option
label=
"谢谢参与
"
:value=
"1"
></el-option>
<el-option
:label=
"$t('active.ad_thankCome')
"
:value=
"1"
></el-option>
<el-option
label=
"一般奖项
"
:value=
"2"
></el-option>
<el-option
:label=
"$t('active.ad_ybjx')
"
:value=
"2"
></el-option>
<el-option
label=
"优惠券
"
:value=
"3"
></el-option>
<el-option
:label=
"$t('active.ad_yhq')
"
:value=
"3"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td>
<el-form-item
label=
"奖项关联
"
prop=
"awardRelationId"
v-if=
"addMsg.awardType==3"
>
<el-form-item
:label=
"$t('active.ad_jxgl')
"
prop=
"awardRelationId"
v-if=
"addMsg.awardType==3"
>
<el-select
filterable
v-model=
"addMsg.awardRelationId"
class=
"w217"
>
<el-select
filterable
v-model=
"addMsg.awardRelationId"
class=
"w217"
>
<el-option
label=
"不限
"
:value=
"0"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')
"
:value=
"0"
></el-option>
<el-option
v-for=
"item in awardRelationList"
:label=
"item.couponsName"
:value=
"item.couponId"
:key=
"item.couponId"
></el-option>
<el-option
v-for=
"item in awardRelationList"
:label=
"item.couponsName"
:value=
"item.couponId"
:key=
"item.couponId"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -87,15 +87,15 @@
...
@@ -87,15 +87,15 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"排序
"
prop=
"rank"
>
<el-form-item
:label=
"$t('system.table_rank')
"
prop=
"rank"
>
<el-input
v-model=
"addMsg.rank"
class=
"w217"
@
keyup
.
native=
"checkInteger(addMsg,'rank')"
placeholder=
"排序
"
/>
<el-input
v-model=
"addMsg.rank"
class=
"w217"
@
keyup
.
native=
"checkInteger(addMsg,'rank')"
:placeholder=
"$t('system.table_rank')
"
/>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td>
<el-form-item
label=
"奖项状态
"
prop=
"awardStatus"
>
<el-form-item
:label=
"$t('active.ad_status')
"
prop=
"awardStatus"
>
<el-select
filterable
v-model=
"addMsg.awardStatus"
class=
"w217"
>
<el-select
filterable
v-model=
"addMsg.awardStatus"
class=
"w217"
>
<el-option
label=
"正常
"
:value=
"1"
></el-option>
<el-option
:label=
"$t('pub.normalSel')
"
:value=
"1"
></el-option>
<el-option
label=
"禁用
"
:value=
"2"
></el-option>
<el-option
:label=
"$t('active.ld_jinyong')
"
:value=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
...
@@ -103,8 +103,8 @@
...
@@ -103,8 +103,8 @@
</table>
</table>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
取 消
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
>
保存
</button>
<button
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment