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
c80137e3
Commit
c80137e3
authored
Mar 21, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多语言...
parent
90032027
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
52 deletions
+84
-52
zh.js
src/assets/common/lang/zh.js
+32
-0
LuckyDraw.vue
src/components/activity/LuckyDraw.vue
+41
-41
awardList.vue
src/components/activity/awardList.vue
+11
-11
No files found.
src/assets/common/lang/zh.js
View file @
c80137e3
...
...
@@ -629,3 +629,35 @@ export const advmanager = {
export
const
insManage
=
{
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
:
'谢谢参与'
,
}
export
const
rule
=
{
company
:
'请选择公司'
,
ldNmae
:
'请输入抽奖名称'
,
ldNum
:
'请输入抽奖次数'
,
startDate
:
'请选择开始日期'
,
endDate
:
'请选择结束日期'
,
}
\ No newline at end of file
src/components/activity/LuckyDraw.vue
View file @
c80137e3
This diff is collapsed.
Click to expand it.
src/components/activity/awardList.vue
View file @
c80137e3
...
...
@@ -3,7 +3,7 @@
<div
class=
"query-box"
>
<ul
class=
"user_time_picker"
>
<li>
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle=
'新增奖项',resetInfo()"
class=
"normalBtn"
value=
"新增
"
>
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle=
$t('active.ad_addad'),resetInfo()"
class=
"normalBtn"
:value=
"$t('pub.addBtn')
"
>
</li>
</ul>
</div>
...
...
@@ -11,14 +11,14 @@
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
序号
</th>
<th>
奖项名
</th>
<th>
奖项数量
</th>
<th>
中奖数量
</th>
<th>
剩余数量
</th>
<th>
奖项状态
</th>
<th>
奖项类型
</th>
<th>
操作
</th>
<th>
{{
$t
(
'active.ad_xuhao'
)
}}
</th>
<th>
{{
$t
(
'active.ad_adName'
)
}}
</th>
<th>
{{
$t
(
'active.ad_allNum'
)
}}
</th>
<th>
{{
$t
(
'active.ad_num'
)
}}
</th>
<th>
{{
$t
(
'active.ad_endNum'
)
}}
</th>
<th>
{{
$t
(
'active.ad_status'
)
}}
</th>
<th>
{{
$t
(
'active.ad_type'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
rank
}}
</td>
...
...
@@ -26,7 +26,7 @@
<td>
{{
item
.
awardCount
}}
</td>
<td>
{{
item
.
awardWinningCount
}}
</td>
<td>
{{
item
.
awardCount
-
item
.
awardWinningCount
>=
0
?
item
.
awardCount
-
item
.
awardWinningCount
:
0
}}
</td>
<td>
{{
item
.
awardStatus
==
1
?
'正常'
:
'禁用'
}}
</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==2"
>
一般奖项
</td>
<td
v-if=
"item.awardType==3"
>
优惠券
</td>
...
...
@@ -44,7 +44,7 @@
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
<el-dialog
custom-class=
"w800"
...
...
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