Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f1307c7c
authored
Aug 19, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复兑换设置类型显示问题
parent
39c4c89a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
public/js/web/exchangeSettingList.js
resources/views/web/exchangeSettingList.blade.php
public/js/web/exchangeSettingList.js
View file @
f1307c7c
...
@@ -33,7 +33,7 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
...
@@ -33,7 +33,7 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
{
type
:
'checkbox'
}
{
type
:
'checkbox'
}
,
{
field
:
'id'
,
title
:
'序号'
}
,
{
field
:
'id'
,
title
:
'序号'
}
,
{
field
:
'name'
,
title
:
'商品名称'
}
,
{
field
:
'name'
,
title
:
'商品名称'
}
,
{
field
:
'type'
,
title
:
'商品类型'
}
,
{
field
:
'type'
,
title
:
'商品类型'
,
templet
:
'#type'
}
,
{
field
:
'amount'
,
title
:
'兑换所需金额'
}
,
{
field
:
'amount'
,
title
:
'兑换所需金额'
}
,
{
field
:
'status'
,
title
:
'配置状态'
,
templet
:
'#status'
}
,
{
field
:
'status'
,
title
:
'配置状态'
,
templet
:
'#status'
}
,
{
field
:
'update_time'
,
title
:
'配置更新时间'
,
templet
:
'#update_time'
}
,
{
field
:
'update_time'
,
title
:
'配置更新时间'
,
templet
:
'#update_time'
}
...
...
resources/views/web/exchangeSettingList.blade.php
View file @
f1307c7c
...
@@ -59,6 +59,18 @@
...
@@ -59,6 +59,18 @@
@{{
d
.
status
}}
@{{
d
.
status
}}
</script>
</script>
<script
type=
"text/html"
id=
"type"
>
@{{
#
if
(
d
.
type
==
1
){
}}
话费充值
@{{
#
}
}}
@{{
#
if
(
d
.
type
==
2
){
}}
微信兑换
@{{
#
}
}}
@{{
#
if
(
d
.
type
==
0
){
}}
无
@{{
#
}
}}
</script>
<script
type=
"text/html"
id=
"toolbarLeft"
>
<script
type=
"text/html"
id=
"toolbarLeft"
>
<
div
class
=
"layui-btn-container"
>
<
div
class
=
"layui-btn-container"
>
<
button
class
=
"layui-btn layui-btn-danger layui-btn-sm"
lay
-
event
=
"batchDisableStatus"
>
禁用所选中行
<
/button
>
<
button
class
=
"layui-btn layui-btn-danger layui-btn-sm"
lay
-
event
=
"batchDisableStatus"
>
禁用所选中行
<
/button
>
...
...
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