Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
pseer
gxpt_web
Commits
1c05f202
Commit
1c05f202
authored
Nov 26, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抽奖日志增加查看信息,确认兑换功能
parent
60e268fe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
36 deletions
+44
-36
index.vue
src/views/system/lotteryRecordsLog/index.vue
+43
-35
index.vue
src/views/system/prize/index.vue
+1
-1
No files found.
src/views/system/lotteryRecordsLog/index.vue
View file @
1c05f202
...
...
@@ -148,24 +148,18 @@
<
/el-table-column
>
<
el
-
table
-
column
align
=
"center"
label
=
"发放结果"
prop
=
"sendMsg"
/>
<
el
-
table
-
column
align
=
"center"
label
=
"备注"
prop
=
"remark"
/>
<!--
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>-->
<!--
<
template
slot
-
scope
=
"scope"
>-->
<!--
<
el
-
button
-->
<!--
size
=
"mini"
-->
<!--
type
=
"text"
-->
<!--
icon
=
"el-icon-edit"
-->
<!--
@
click
=
"handleUpdate(scope.row)"
-->
<!--
v
-
hasPermi
=
"['system:lotteryRecordsLog:edit']"
-->
<!--
>
修改
<
/el-button>--
>
<!--
<
el
-
button
-->
<!--
size
=
"mini"
-->
<!--
type
=
"text"
-->
<!--
icon
=
"el-icon-delete"
-->
<!--
@
click
=
"handleDelete(scope.row)"
-->
<!--
v
-
hasPermi
=
"['system:lotteryRecordsLog:remove']"
-->
<!--
>
删除
<
/el-button>--
>
<!--
<
/template>--
>
<!--
<
/el-table-column>--
>
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
label
=
"操作"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
v
-
if
=
"scope.row.isHit===1 && scope.row.isSend===0"
v
-
hasPermi
=
"['system:lotteryRecordsLog:edit']"
icon
=
"el-icon-edit"
size
=
"mini"
type
=
"text"
@
click
=
"handleUpdate(scope.row)"
>
查看消息
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
pagination
...
...
@@ -179,44 +173,58 @@
<!--
添加或修改抽奖记录日志对话框
-->
<
el
-
dialog
:
title
=
"title"
:
visible
.
sync
=
"open"
append
-
to
-
body
width
=
"500px"
>
<
el
-
form
ref
=
"form"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"80px"
>
<
el
-
form
-
item
label
=
"游戏id"
prop
=
"gameId"
>
<
el
-
input
v
-
model
=
"form.gameId"
placeholder
=
"请输入游戏id"
/
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"用户id"
prop
=
"userId"
>
<
el
-
input
v
-
model
=
"form.userId"
placeholder
=
"请输入用户id"
/
>
<
/el-form-item
>
<
!--
<
el
-
form
-
item
label
=
"游戏id"
prop
=
"gameId"
>--
>
<!--
<
el
-
input
v
-
model
=
"form.gameId"
placeholder
=
"请输入游戏id"
/>--
>
<
!--
<
/el-form-item>--
>
<
!--
<
el
-
form
-
item
label
=
"用户id"
prop
=
"userId"
>--
>
<!--
<
el
-
input
v
-
model
=
"form.userId"
placeholder
=
"请输入用户id"
/>--
>
<
!--
<
/el-form-item>--
>
<
el
-
form
-
item
label
=
"用户名"
prop
=
"userName"
>
<
el
-
input
v
-
model
=
"form.userName"
placeholder
=
"请输入用户名"
/>
<
el
-
input
v
-
model
=
"form.userName"
disabled
placeholder
=
"请输入用户名"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"手机号"
prop
=
"phone"
>
<
el
-
input
v
-
model
=
"form.phone"
placeholder
=
"请输入手机号"
/>
<
el
-
input
v
-
model
=
"form.phone"
disabled
placeholder
=
"请输入手机号"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"抽奖时间"
prop
=
"drawTime"
>
<
el
-
date
-
picker
v
-
model
=
"form.drawTime"
clearable
placeholder
=
"请选择抽奖时间"
type
=
"date"
value
-
format
=
"yyyy-MM-dd"
>
disabled
value
-
format
=
"yyyy-MM-dd"
>
<
/el-date-picker
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"是否中奖 0:未中奖 1:中奖"
prop
=
"isHit"
>
<
el
-
input
v
-
model
=
"form.isHit"
placeholder
=
"请输入是否中奖 0:未中奖 1:中奖"
/>
<
el
-
form
-
item
label
=
"是否中奖"
prop
=
"isHit"
>
<
el
-
radio
-
group
v
-
model
=
"form.isHit"
disabled
>
<
el
-
radio
v
-
for
=
"dict in dict.type.store_is_use_coupon"
:
key
=
"dict.value"
:
label
=
"parseInt(dict.value)"
>
{{
dict
.
label
}}
<
/el-radio
>
<
/el-radio-group
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"中奖奖品"
prop
=
"hitPrize"
>
<
el
-
input
v
-
model
=
"form.hitPrize"
placeholder
=
"请输入中奖奖品"
/>
<
el
-
input
v
-
model
=
"form.hitPrize"
disabled
placeholder
=
"请输入中奖奖品"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
" 是否发放 1未发放,2 已发放 3 发放失败"
prop
=
"isSend"
>
<
el
-
input
v
-
model
=
"form.isSend"
placeholder
=
"请输入 是否发放 1未发放,2 已发放 3 发放失败"
/>
<
el
-
form
-
item
label
=
"是否发放"
prop
=
"isSend"
>
<
el
-
radio
-
group
v
-
model
=
"form.isSend"
>
<
el
-
radio
v
-
for
=
"dict in dict.type.store_is_use_coupon"
:
key
=
"dict.value"
:
label
=
"parseInt(dict.value)"
>
{{
dict
.
label
}}
<
/el-radio
>
<
/el-radio-group
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"发放结果"
prop
=
"sendMsg"
>
<
el
-
input
v
-
model
=
"form.sendMsg"
placeholder
=
"请输入内容"
type
=
"textarea"
/>
<
el
-
input
v
-
model
=
"form.sendMsg"
disabled
placeholder
=
"请输入内容"
type
=
"textarea"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"备注"
prop
=
"remark"
>
<
el
-
input
v
-
model
=
"form.remark"
placeholder
=
"请输入内容
"
type
=
"textarea"
/>
<
el
-
input
v
-
model
=
"form.remark"
disabled
placeholder
=
"
"
type
=
"textarea"
/>
<
/el-form-item
>
<
/el-form
>
<
div
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm"
>
确
定
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm"
>
确
认兑换
<
/el-button
>
<
el
-
button
@
click
=
"cancel"
>
取
消
<
/el-button
>
<
/div
>
<
/el-dialog
>
...
...
src/views/system/prize/index.vue
View file @
1c05f202
...
...
@@ -208,7 +208,7 @@
<el-input-number
v-model=
"form.currentNum"
:max=
"999"
:min=
"0"
disabled
/>
</el-form-item>
<el-form-item
label=
"最大中奖数"
prop=
"maxNum"
>
<el-input-number
v-model=
"form.maxNum"
:max=
"999"
:min=
"0"
disabled
/>
<el-input-number
v-model=
"form.maxNum"
:max=
"999"
:min=
"0"
/>
</el-form-item>
<el-form-item
label=
"中奖几率"
prop=
"ratio"
>
<el-input-number
v-model=
"form.ratio"
:max=
"999"
:min=
"1"
:step=
"1"
/>
...
...
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