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
54511b54
authored
Oct 14, 2019
by
叶明星
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化邀请列表
parent
13c5c6da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletions
.env
public/js/web/inviteList.js
resources/views/web/inviteList.blade.php
.env
View file @
54511b54
...
...
@@ -52,5 +52,5 @@ MENU_SIGN=/web/
LOGIN_DOMAIN=user.icsales.cc
ES_URL = http://soapi.icsales.com:8001
BASE_SERVER_URL = 192.168.2
0.10
:61009
BASE_SERVER_URL = 192.168.2
.232
:61009
public/js/web/inviteList.js
View file @
54511b54
...
...
@@ -34,6 +34,7 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
,
{
field
:
'invited_user_id'
,
title
:
'被邀请用户Id'
}
,
{
field
:
'invited_user_mobile'
,
title
:
'被邀请用户手机'
}
,
{
field
:
'add_time'
,
title
:
'邀请时间'
}
,
{
field
:
'status'
,
title
:
'认证状态'
,
templet
:
'#status'
}
]]
,
id
:
'Invite'
,
page
:
{}
...
...
resources/views/web/inviteList.blade.php
View file @
54511b54
...
...
@@ -28,3 +28,20 @@
<table
class=
"layui-table"
id=
"Invite"
lay-filter=
"Invite"
></table>
</div>
</div>
<script
type=
"text/html"
id=
"status"
>
@{{
#
if
(
d
.
status
==
1
){
}}
<
button
class
=
"btn btn-xs btn-outline btn-warning"
>
<
strong
>
待认证
<
/strong
>
<
/button
>
@{{
#
}
else
if
(
d
.
status
==
2
){
}}
<
button
class
=
"btn btn-xs btn-outline btn-success"
>
<
strong
>
已认证
<
/strong
>
<
/button
>
@{{
#
}
else
{
}}
<
button
class
=
"btn btn-xs btn-outline btn-danger"
>
<
strong
>
未知
<
/strong
>
<
/button
>
@{{
#
}
}}
</script>
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